blob: c336dbade75e88db978750d09ba95ea9353fe4f0 [file] [log] [blame]
Dees_Troya13d74f2013-03-24 08:54:55 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1080" height="1920" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Condensed-40" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-40" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troya13d74f2013-03-24 08:54:55 -050043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="565" />
48 <variable name="col_center_x" value="288" />
49 <variable name="col_center_medium_x" value="414" />
50 <variable name="center_x" value="540" />
51 <variable name="row1_y" value="255" />
52 <variable name="row2_y" value="615" />
53 <variable name="row3_y" value="975" />
54 <variable name="row4_y" value="1335" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="1140" />
60 <variable name="row1_header_y" value="180" />
61 <variable name="row1_text_y" value="255" />
62 <variable name="row2_text_y" value="330" />
63 <variable name="row3_text_y" value="405" />
64 <variable name="row4_text_y" value="480" />
65 <variable name="row5_text_y" value="555" />
66 <variable name="row6_text_y" value="630" />
67 <variable name="row7_text_y" value="705" />
68 <variable name="row8_text_y" value="780" />
69 <variable name="row9_text_y" value="855" />
70 <variable name="row10_text_y" value="930" />
71 <variable name="row11_text_y" value="1005" />
72 <variable name="row12_text_y" value="1080" />
73 <variable name="row13_text_y" value="1155" />
74 <variable name="row14_text_y" value="1230" />
75 <variable name="row15_text_y" value="1305" />
76 <variable name="row16_text_y" value="1380" />
77 <variable name="row17_text_y" value="1455" />
78 <variable name="row18_text_y" value="1530" />
79 <variable name="zip_status_y" value="922" />
80 <variable name="tz_selected_y" value="240" />
81 <variable name="tz_set_y" value="1500" />
82 <variable name="tz_current_y" value="1425" />
83 <variable name="col_progressbar_x" value="351" />
84 <variable name="row_progressbar_y" value="1650" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="282" />
87 <variable name="col3_medium_x" value="545" />
88 <variable name="col4_medium_x" value="817" />
89 <variable name="row1_medium_y" value="195" />
90 <variable name="row2_medium_y" value="345" />
91 <variable name="row3_medium_y" value="392" />
92 <variable name="row4_medium_y" value="645" />
93 <variable name="row5_medium_y" value="795" />
94 <variable name="row6_medium_y" value="1260" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="101" />
97 <variable name="slider_y" value="1575" />
98 <variable name="slider_text_y" value="1676" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
103 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600104 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500105 <variable name="home_button_x" value="10" />
106 <variable name="home_button_y" value="1839" />
107 <variable name="back_button_x" value="944" />
108 <variable name="back_button_y" value="1839" />
109 <variable name="sort_text_x" value="10" />
110 <variable name="sort_asc_text_y" value="1635" />
111 <variable name="sort_asc_button_y" value="1620" />
112 <variable name="sort_desc_text_y" value="1725" />
113 <variable name="sort_desc_button_y" value="1710" />
114 <variable name="sort_col1_button_x" value="390" />
115 <variable name="sort_col2_button_x" value="540" />
116 <variable name="sort_col3_button_x" value="690" />
117 <variable name="input_width" value="1060" />
118 <variable name="input_height" value="75" />
119 <variable name="input_background_color" value="#303030" />
120 <variable name="input_cursor_color" value="#33B5E5" />
121 <variable name="input_cursor_width" value="4" />
122 <variable name="console_x" value="0" />
123 <variable name="console_width" value="1080" />
124 <variable name="console_foreground" value="#A0A0A0" />
125 <variable name="console_background" value="#303030" />
126 <variable name="console_scroll" value="#303030" />
127 <variable name="console_action_height" value="705" />
128 <variable name="console_install_height" value="900" />
129 <variable name="console_installdone_height" value="660" />
130 <variable name="fileselector_x" value="5" />
131 <variable name="fileselector_width" value="1070" />
132 <variable name="fileselector_install_height" value="1170" />
133 <variable name="fileselector_header_background" value="#202020" />
134 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
135 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
136 <variable name="fileselector_header_separatorheight" value="4" />
137 <variable name="fileselector_separatorcolor" value="#505050" />
138 <variable name="fileselector_separatorheight" value="3" />
139 <variable name="fileselector_background" value="#303030" />
140 <variable name="fileselector_highlight_color" value="#505050" />
141 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
142 <variable name="fileselector_spacing" value="48" />
143 <variable name="fastscroll_linecolor" value="#808080" />
144 <variable name="fastscroll_rectcolor" value="#808080" />
145 <variable name="fastscroll_w" value="90" />
146 <variable name="fastscroll_linew" value="3" />
147 <variable name="fastscroll_rectw" value="60" />
148 <variable name="fastscroll_recth" value="105" />
149 <variable name="listbox_x" value="5" />
150 <variable name="listbox_width" value="1070" />
151 <variable name="listbox_tz_height" value="885" />
152 <variable name="listbox_background" value="#303030" />
153 <variable name="listbox_spacing" value="24" />
154 <variable name="sd_plus_x" value="525" />
155 <variable name="sdext_text_x" value="165" />
156 <variable name="sdext_text_y" value="270" />
157 <variable name="sdswap_button_y" value="390" />
158 <variable name="sdswap_text_x" value="165" />
159 <variable name="sdswap_text_y" value="405" />
160 <variable name="sdfilesystem_text_y" value="510" />
161 <variable name="sdfilesystem_button_y" value="570" />
162 <variable name="lock_x" value="240" />
163 <variable name="lock_y" value="600" />
164 <variable name="filemanager_select_x" value="840" />
165 <variable name="filemanager_select_y" value="1620" />
166 <variable name="backup_name_y" value="825" />
167 <variable name="terminal_console_height" value="1050" />
168 <variable name="terminal_text_y" value="1095" />
169 <variable name="terminal_button_y" value="1050" />
170 <variable name="row_dst_text_y" value="1080" />
171 <variable name="row_offset_text_y" value="1155" />
172 <variable name="row_offset_medium_y" value="1260" />
173 <variable name="button_fill_color" value="#303030" />
174 <variable name="button_fill_full_width" value="1060" />
175 <variable name="button_fill_main_width" value="505" />
176 <variable name="button_fill_main_height" value="324" />
177 <variable name="button_fill_half_height" value="162" />
178 <variable name="button_fill_quarter_height" value="81" />
Dees_Troy7abb7a52013-08-30 02:07:19 +0000179 <variable name="backup_list_height" value="780" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="backup_button_row1" value="1118" />
181 <variable name="backup_button_row2" value="1220" />
182 <variable name="mount_list_height" value="1035" />
183 <variable name="mount_storage_row" value="1240" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000184 <variable name="storage_list_height" value="1000" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500185 <variable name="wipe_list_height" value="1305" />
186 <variable name="wipe_button_y" value="975" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200187 <variable name="slidervalue_w" value="1060" />
188 <variable name="slidervalue_line_clr" value="#FFFFFF" />
189 <variable name="slidervalue_slider_clr" value="#33B5E5" />
190 <variable name="slidervalue_lineh" value="3" />
191 <variable name="slidervalue_padding" value="30" />
192 <variable name="slidervalue_sliderw" value="15" />
193 <variable name="slidervalue_sliderh" value="90" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500194 </variables>
195
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100196 <mousecursor>
197 <placement w="15" h="15" />
198 <background color="#FFFF00FF" resource="cursor" />
199 <speed multiplier="2.5" />
200 </mousecursor>
201
Dees_Troya13d74f2013-03-24 08:54:55 -0500202 <templates>
203 <template name="header">
204 <background color="#000000FF" />
205
206 <object type="image">
207 <image resource="top_bar" />
208 <placement x="0" y="0" />
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="180" y="15" />
214 <text>Team Win Recovery Project v%tw_version%</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <condition var1="tw_simulate_actions" var2="1" />
219 <font resource="font" />
220 <placement x="180" y="60" />
221 <text>SIMULATING ACTIONS</text>
222 </object>
223
224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="180" y="114" />
227 <text>%tw_time%</text>
228 </object>
229
230 <object type="text" color="%text_color%">
231 <font resource="font" />
232 <placement x="405" y="114" />
233 <conditions>
234 <condition var1="tw_no_battery_percent" var2="0" />
235 <condition var1="tw_battery" op=">" var2="0" />
236 <condition var1="tw_battery" op="<" var2="101" />
237 </conditions>
238 <text>Battery: %tw_battery%</text>
239 </object>
240
241 <object type="button">
242 <highlight color="%highlight_color%" />
243 <placement x="%home_button_x%" y="%home_button_y%" />
244 <font resource="font" color="%button_text_color%" />
245 <text></text>
246 <image resource="home_icon" />
247 <condition var1="tw_busy" var2="0" />
248 <action function="key">home</action>
249 </object>
250
251 <object type="button">
252 <highlight color="%highlight_color%" />
253 <placement x="%back_button_x%" y="%back_button_y%" />
254 <font resource="font" color="%button_text_color%" />
255 <text></text>
256 <image resource="back_icon" />
257 <condition var1="tw_busy" var2="0" />
258 <action function="key">back</action>
259 </object>
260
261 <object type="action">
262 <touch key="power" />
263 <action function="overlay">lock</action>
264 </object>
265 </template>
266
267 <template name="progress_bar">
268 <object type="progressbar">
269 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
270 <resource empty="progress_empty" full="progress_full" />
271 <data name="ui_progress" />
272 </object>
273
274 <object type="animation">
275 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
276 <resource name="progress" />
277 <speed fps="15" render="2" />
278 <loop frame="1" />
279 </object>
280 </template>
281
282 <template name="sort_options">
283 <object type="text" color="%text_color%">
284 <font resource="font" />
285 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
286 <text>Sort Ascending:</text>
287 </object>
288
289 <object type="button">
290 <highlight color="%highlight_color%" />
291 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
292 <font resource="font" color="%button_text_color%" />
293 <text>Name</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=1</action>
296 </object>
297
298 <object type="button">
299 <highlight color="%highlight_color%" />
300 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
301 <font resource="font" color="%button_text_color%" />
302 <text>Date</text>
303 <image resource="sort_button" />
304 <action function="set">tw_gui_sort_order=2</action>
305 </object>
306
307 <object type="button">
308 <highlight color="%highlight_color%" />
309 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
310 <font resource="font" color="%button_text_color%" />
311 <text>Size</text>
312 <image resource="sort_button" />
313 <action function="set">tw_gui_sort_order=3</action>
314 </object>
315
316 <object type="text" color="%text_color%">
317 <font resource="font" />
318 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
319 <text>Sort Descending:</text>
320 </object>
321
322 <object type="button">
323 <highlight color="%highlight_color%" />
324 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
325 <font resource="font" color="%button_text_color%" />
326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=-1</action>
329 </object>
330
331 <object type="button">
332 <highlight color="%highlight_color%" />
333 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
334 <font resource="font" color="%button_text_color%" />
335 <text>Date</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-2</action>
338 </object>
339
340 <object type="button">
341 <highlight color="%highlight_color%" />
342 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
343 <font resource="font" color="%button_text_color%" />
344 <text>Size</text>
345 <image resource="sort_button" />
346 <action function="set">tw_gui_sort_order=-3</action>
347 </object>
348 </template>
349
350 <template name="action_page_console">
351 <object type="console">
352 <placement x="0" y="%row2_y%" w="1080" h="705" />
353 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
354 <font resource="fixed" />
355 </object>
356 </template>
357
358 <template name="footer">
359 <object type="console">
360 <slideout resource="slideout" x="500" y="1841" />
361 <placement x="%console_x%" y="0" w="%console_width%" h="1841" />
362 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
363 <font resource="fixed" />
364 </object>
365 </template>
366
367 <template name="keyboardtemplate">
368 <object type="keyboard">
369 <placement x="0" y="1200" />
370 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
371 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600372 <capshighlight color="%caps_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500373 <layout1>
374 <keysize height="161" width="108" />
375 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
376 <row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
377 <row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" />
378 <row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" />
379 </layout1>
380 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600381 <keysize height="161" width="108" capslock="0" revert_layout="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500382 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
383 <row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
384 <row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" />
385 <row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" />
386 </layout2>
387 <layout3>
388 <keysize height="161" width="108" />
389 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
390 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
391 <row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" />
392 <row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" />
393 </layout3>
394 <layout4>
395 <keysize height="161" width="108" />
396 <row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" />
397 <row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" />
398 <row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" />
399 <row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" />
400 </layout4>
401 </object>
402 </template>
403 </templates>
404
405 <pages>
406 <page name="main">
407 <object type="action">
408 <actions>
409 <action function="set">tw_clear_destination=main2</action>
410 <action function="page">clear_vars</action>
411 </actions>
412 </object>
413 </page>
414
415 <page name="main2">
416 <object type="template" name="header" />
417
418 <object type="button">
419 <highlight color="%highlight_color%" />
420 <placement x="%col1_x%" y="%row1_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Install</text>
423 <image resource="main_button" />
424 <actions>
425 <action function="queueclear"></action>
426 <action function="page">install</action>
427 </actions>
428 </object>
429
430 <object type="button">
431 <highlight color="%highlight_color%" />
432 <placement x="%col2_x%" y="%row1_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Wipe</text>
435 <image resource="main_button" />
436 <action function="page">wipe</action>
437 </object>
438
439 <object type="button">
440 <highlight color="%highlight_color%" />
441 <placement x="%col1_x%" y="%row2_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Backup</text>
444 <image resource="main_button" />
445 <action function="page">backup</action>
446 </object>
447
448 <object type="button">
449 <highlight color="%highlight_color%" />
450 <placement x="%col2_x%" y="%row2_y%" />
451 <font resource="font" color="%button_text_color%" />
452 <text>Restore</text>
453 <image resource="main_button" />
454 <action function="page">restore</action>
455 </object>
456
457 <object type="button">
458 <highlight color="%highlight_color%" />
459 <placement x="%col1_x%" y="%row3_y%" />
460 <font resource="font" color="%button_text_color%" />
461 <text>Mount</text>
462 <image resource="main_button" />
463 <action function="page">mount</action>
464 </object>
465
466 <object type="button">
467 <highlight color="%highlight_color%" />
468 <placement x="%col2_x%" y="%row3_y%" />
469 <font resource="font" color="%button_text_color%" />
470 <text>Settings</text>
471 <image resource="main_button" />
472 <action function="page">settings</action>
473 </object>
474
475
476 <object type="button">
477 <highlight color="%highlight_color%" />
478 <placement x="%col1_x%" y="%row4_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Advanced</text>
481 <image resource="main_button" />
482 <action function="page">advanced</action>
483 </object>
484
485 <object type="button">
486 <highlight color="%highlight_color%" />
487 <placement x="%col2_x%" y="%row4_y%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Reboot</text>
490 <image resource="main_button" />
491 <action function="page">reboot</action>
492 </object>
493
494 <object type="template" name="footer" />
495 </page>
496
497 <page name="install">
498 <object type="template" name="header" />
499
500 <object type="text" color="%text_color%">
501 <font resource="font" />
502 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
503 <text>Select Zip to Install</text>
504 </object>
505
506 <object type="button">
507 <highlight color="%highlight_color%" />
508 <fill color="%button_fill_color%" />
509 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
510 <font resource="font" color="%button_text_color%" />
511 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
512 <actions>
513 <action function="set">tw_back=install</action>
514 <action function="page">selectstorage</action>
515 </actions>
516 </object>
517
518 <object type="fileselector">
519 <highlight color="%fileselector_highlight_color%" />
520 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
521 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
522 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
523 <text>%tw_zip_location%</text>
524 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
525 <sort name="tw_gui_sort_order" />
526 <icon folder="folder_icon" file="file_icon" />
527 <background color="%fileselector_background%" />
528 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
529 <filter extn=".zip" folders="1" files="1" />
530 <path name="tw_zip_location" default="/sdcard" />
531 <data name="tw_filename" />
532 <selection name="tw_file" />
533 </object>
534
535 <object type="template" name="sort_options" />
536
537 <object type="action">
538 <condition var1="tw_filename" op="modified" />
539 <actions>
540 <action function="queuezip"></action>
541 <action function="page">flash_confirm</action>
542 </actions>
543 </object>
544
545 <object type="action">
546 <touch key="back" />
547 <action function="page">main</action>
548 </object>
549
550 <object type="action">
551 <touch key="home" />
552 <action function="page">main</action>
553 </object>
554
555 <object type="template" name="footer" />
556 </page>
557
558 <page name="flash_confirm">
559 <object type="template" name="header" />
560
561 <object type="text" color="%text_color%">
562 <font resource="font" />
563 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
564 <text>This operation may install incompatible</text>
565 </object>
566
567 <object type="text" color="%text_color%">
568 <font resource="font" />
569 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
570 <text>software and render your device unusable.</text>
571 </object>
572
573 <object type="text" color="%text_color%">
574 <font resource="font" />
575 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
576 <text>Folder:</text>
577 </object>
578
579 <object type="text" color="%text_color%">
580 <font resource="mediumfont" />
581 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
582 <text>%tw_zip_location%</text>
583 </object>
584
585 <object type="text" color="%text_color%">
586 <font resource="font" />
587 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
588 <text>File to flash:</text>
589 </object>
590
591 <object type="text" color="%text_color%">
592 <font resource="mediumfont" />
593 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
594 <text>%tw_file%</text>
595 </object>
596
597 <object type="text" color="%text_color%">
598 <font resource="font" />
599 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
600 <text>Press back to cancel adding this zip.</text>
601 </object>
602
603 <object type="checkbox">
604 <placement x="%col1_x%" y="%row8_text_y%" />
605 <font resource="font" color="%text_color%" />
606 <text>Zip file signature verification.</text>
607 <data variable="tw_signed_zip_verify" />
608 <image checked="checkbox_true" unchecked="checkbox_false" />
609 </object>
610
611 <object type="checkbox">
612 <condition var1="tw_has_injecttwrp" var2="1" />
613 <placement x="%col1_x%" y="%row10_text_y%" />
614 <font resource="font" color="%text_color%" />
615 <text>Inject TWRP after install.</text>
616 <data variable="tw_inject_after_zip" />
617 <image checked="checkbox_true" unchecked="checkbox_false" />
618 </object>
619
620 <object type="text" color="%text_color%">
621 <font resource="font" />
622 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
623 <text>File %tw_zip_queue_count% of max of 10</text>
624 </object>
625
626 <object type="slider">
627 <placement x="%slider_x%" y="%slider_y%" placement="5" />
628 <resource base="slider" used="slider-used" touch="slider-touch" />
629 <action function="flash">flash_zip</action>
630 </object>
631
632 <object type="text" color="%text_color%">
633 <font resource="font" />
634 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
635 <text>Swipe to Confirm Flash</text>
636 </object>
637
638 <object type="button">
639 <highlight color="%highlight_color%" />
640 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
641 <placement x="%col1_x%" y="%row_queue_y%" />
642 <font resource="font" color="%button_text_color%" />
643 <text>Add More Zips</text>
644 <image resource="main_button" />
645 <action function="page">install</action>
646 </object>
647
648 <object type="button">
649 <highlight color="%highlight_color%" />
650 <placement x="%col2_x%" y="%row_queue_y%" />
651 <font resource="font" color="%button_text_color%" />
652 <text>Clear Zip Queue</text>
653 <image resource="main_button" />
654 <actions>
655 <action function="queueclear"></action>
656 <action function="page">install</action>
657 </actions>
658 </object>
659
660 <object type="action">
661 <touch key="back" />
662 <actions>
663 <action function="cancelzip"></action>
664 <action function="page">install</action>
665 </actions>
666 </object>
667
668 <object type="action">
669 <touch key="home" />
670 <action function="page">main</action>
671 </object>
672
673 <object type="template" name="footer" />
674 </page>
675
676 <page name="flash_zip">
677 <object type="template" name="header" />
678
679 <object type="console">
680 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
681 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
682 <font resource="fixed" />
683 </object>
684
685 <object type="text" color="%text_color%">
686 <font resource="font" />
687 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
688 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
689 </object>
690
691 <object type="text" color="%text_color%">
692 <font resource="mediumfont" />
693 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
694 <text>%tw_filename%</text>
695 </object>
696
697 <object type="template" name="progress_bar" />
698
699 <object type="action">
700 <condition var1="tw_operation_state" var2="1" />
701 <action function="page">flash_done</action>
702 </object>
703 </page>
704
705 <page name="flash_done">
706 <object type="template" name="header" />
707
708 <object type="text" color="%text_color%">
709 <font resource="font" />
710 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
711 <text>Zip Install Complete</text>
712 </object>
713
714 <object type="console">
715 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
716 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
717 <font resource="fixed" />
718 </object>
719
720 <object type="button">
721 <highlight color="%highlight_color%" />
722 <placement x="%col1_x%" y="%row4_y%" />
723 <font resource="font" color="%button_text_color%" />
724 <text>Wipe cache/dalvik</text>
725 <image resource="main_button" />
726 <actions>
727 <action function="set">tw_back=flash_done</action>
728 <action function="set">tw_action=wipe</action>
729 <action function="set">tw_action_param=/cache</action>
730 <action function="set">tw_has_action2=1</action>
731 <action function="set">tw_action2=wipe</action>
732 <action function="set">tw_action2_param=dalvik</action>
733 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
734 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
735 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
736 <action function="set">tw_slider_text=Swipe to Wipe</action>
737 <action function="page">confirm_action</action>
738 </actions>
739 </object>
740
741 <object type="button">
742 <highlight color="%highlight_color%" />
743 <placement x="%col2_x%" y="%row4_y%" />
744 <font resource="font" color="%button_text_color%" />
745 <text>Reboot System</text>
746 <image resource="main_button" />
747 <actions>
748 <action function="set">tw_back=main2</action>
749 <action function="set">tw_action=reboot</action>
750 <action function="set">tw_action_param=system</action>
751 <action function="set">tw_has_action2=0</action>
752 <action function="set">tw_text1=No OS Installed! Are you</action>
753 <action function="set">tw_text2=sure you wish to reboot?</action>
754 <action function="set">tw_text3=</action>
755 <action function="set">tw_text4=</action>
756 <action function="set">tw_action_text1=Rebooting...</action>
757 <action function="set">tw_action_text2=</action>
758 <action function="set">tw_complete_text1=Rebooting...</action>
759 <action function="set">tw_slider_text=Swipe to Reboot</action>
760 <action function="page">rebootcheck</action>
761 </actions>
762 </object>
763
764 <object type="button">
765 <highlight color="%highlight_color%" />
766 <placement x="%col_center_x%" y="%row3_y%" />
767 <font resource="font" color="%button_text_color%" />
768 <text>Home</text>
769 <image resource="main_button" />
770 <actions>
771 <action function="set">tw_clear_destination=main2</action>
772 <action function="page">clear_vars</action>
773 </actions>
774 </object>
775
776 <object type="text" color="%text_fail_color%">
777 <condition var1="tw_operation_status" op="!=" var2="0" />
778 <font resource="font" />
779 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
780 <text>Failed</text>
781 </object>
782
783 <object type="text" color="%text_success_color%">
784 <condition var1="tw_operation_status" var2="0" />
785 <font resource="font" />
786 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
787 <text>Successful</text>
788 </object>
789
790 <object type="action">
791 <touch key="back" />
792 <actions>
793 <action function="set">tw_clear_destination=install</action>
794 <action function="page">clear_vars</action>
795 </actions>
796 </object>
797
798 <object type="action">
799 <touch key="home" />
800 <actions>
801 <action function="set">tw_clear_destination=main2</action>
802 <action function="page">clear_vars</action>
803 </actions>
804 </object>
805 </page>
806
807 <page name="clear_vars">
808 <object type="action">
809 <action function="set">tw_operation_state=0</action>
810 <action function="set">tw_text1=</action>
811 <action function="set">tw_text2=</action>
812 <action function="set">tw_text3=</action>
813 <action function="set">tw_text4=</action>
814 <action function="set">tw_action_text1=</action>
815 <action function="set">tw_action_text2=</action>
816 <action function="set">tw_action_param=</action>
817 <action function="set">tw_has_action2=0</action>
818 <action function="set">tw_action2=</action>
819 <action function="set">tw_action2_param=</action>
820 <action function="set">tw_has_cancel=0</action>
821 <action function="set">tw_cancel_action=</action>
822 <action function="set">tw_cancel_param=</action>
823 <action function="set">tw_show_exclamation=0</action>
824 <action function="set">tw_show_reboot=0</action>
825 <action function="page">%tw_clear_destination%</action>
826 </object>
827 </page>
828
829 <page name="confirm_action">
830 <object type="template" name="header" />
831
832 <object type="text" color="%text_color%">
833 <font resource="font" />
834 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
835 <text>%tw_text1%</text>
836 </object>
837
838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
841 <text>%tw_text2%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
846 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
847 <text>%tw_text3%</text>
848 </object>
849
850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
853 <text>%tw_text4%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
858 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
859 <text>Press back button to cancel.</text>
860 </object>
861
862 <object type="slider">
863 <placement x="%slider_x%" y="%slider_y%" />
864 <resource base="slider" used="slider-used" touch="slider-touch" />
865 <action function="page">action_page</action>
866 </object>
867
868 <object type="text" color="%text_color%">
869 <font resource="font" />
870 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
871 <text>%tw_slider_text%</text>
872 </object>
873
874 <object type="action">
875 <touch key="back" />
876 <actions>
877 <action function="set">tw_clear_destination=%tw_back%</action>
878 <action function="page">clear_vars</action>
879 </actions>
880 </object>
881
882 <object type="action">
883 <touch key="home" />
884 <action function="page">main</action>
885 </object>
886
887 <object type="template" name="footer" />
888 </page>
889
890 <page name="action_page">
891 <object type="template" name="header" />
892
893 <object type="text" color="%text_color%">
894 <font resource="font" />
895 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
896 <text>%tw_action_text1%</text>
897 </object>
898
899 <object type="text" color="%text_color%">
900 <font resource="font" />
901 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
902 <text>%tw_action_text2%</text>
903 </object>
904
905 <object type="template" name="action_page_console" />
906
907 <object type="button">
908 <highlight color="%highlight_color%" />
909 <condition var1="tw_has_cancel" var2="1" />
910 <placement x="%col_center_medium_x%" y="%row4_y%" />
911 <font resource="font" color="%button_text_color%" />
912 <text>Cancel</text>
913 <image resource="medium_button" />
914 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
915 </object>
916
917 <object type="template" name="progress_bar" />
918
919 <object type="action">
920 <condition var1="tw_operation_state" var2="1" />
921 <actions>
922 <action function="page">action_complete</action>
923 </actions>
924 </object>
925
926 <object type="action">
927 <condition var1="tw_has_action2" var2="0" />
928 <actions>
929 <action function="%tw_action%">%tw_action_param%</action>
930 </actions>
931 </object>
932
933 <object type="action">
934 <condition var1="tw_has_action2" var2="1" />
935 <actions>
936 <action function="%tw_action%">%tw_action_param%</action>
937 <action function="%tw_action2%">%tw_action2_param%</action>
938 </actions>
939 </object>
940 </page>
941
942 <page name="singleaction_page">
943 <object type="template" name="header" />
944
945 <object type="text" color="%text_color%">
946 <font resource="font" />
947 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
948 <text>%tw_action_text1%</text>
949 </object>
950
951 <object type="text" color="%text_color%">
952 <font resource="font" />
953 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
954 <text>%tw_action_text2%</text>
955 </object>
956
957 <object type="template" name="action_page_console" />
958
959 <object type="template" name="progress_bar" />
960
961 <object type="action">
962 <condition var1="tw_operation_state" var2="1" />
963 <actions>
964 <action function="set">tw_page_done=1</action>
965 </actions>
966 </object>
967
968 <object type="action">
969 <condition var1="tw_has_action2" var2="0" />
970 <actions>
971 <action function="%tw_action%">%tw_action_param%</action>
972 </actions>
973 </object>
974
975 <object type="action">
976 <condition var1="tw_has_action2" var2="1" />
977 <actions>
978 <action function="%tw_action%">%tw_action_param%</action>
979 <action function="%tw_action2%">%tw_action2_param%</action>
980 </actions>
981 </object>
982 </page>
983
984 <page name="action_complete">
985 <object type="template" name="header" />
986
987 <object type="text" color="%text_color%">
988 <font resource="font" />
989 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
990 <text>%tw_complete_text1%</text>
991 </object>
992
993 <object type="text" color="%text_fail_color%">
994 <condition var1="tw_operation_status" op="!=" var2="0" />
995 <font resource="font" />
996 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
997 <text>Failed</text>
998 </object>
999
1000 <object type="text" color="%text_success_color%">
1001 <condition var1="tw_operation_status" var2="0" />
1002 <font resource="font" />
1003 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1004 <text>Successful</text>
1005 </object>
1006
1007 <object type="template" name="action_page_console" />
1008
1009 <object type="button">
1010 <highlight color="%highlight_color%" />
1011 <condition var1="tw_show_reboot" var2="0" />
1012 <placement x="%col_center_x%" y="%row4_y%" />
1013 <font resource="font" color="%button_text_color%" />
1014 <text>Back</text>
1015 <image resource="main_button" />
1016 <actions>
1017 <action function="set">tw_clear_destination=%tw_back%</action>
1018 <action function="page">clear_vars</action>
1019 </actions>
1020 </object>
1021
1022 <object type="button">
1023 <highlight color="%highlight_color%" />
1024 <condition var1="tw_show_reboot" var2="1" />
1025 <placement x="%col_center_x%" y="%row4_y%" />
1026 <font resource="font" color="%button_text_color%" />
1027 <text>Reboot System</text>
1028 <image resource="main_button" />
1029 <actions>
1030 <action function="set">tw_back=main2</action>
1031 <action function="set">tw_action=reboot</action>
1032 <action function="set">tw_action_param=system</action>
1033 <action function="set">tw_has_action2=0</action>
1034 <action function="set">tw_text1=No OS Installed! Are you</action>
1035 <action function="set">tw_text2=sure you wish to reboot?</action>
1036 <action function="set">tw_text3=</action>
1037 <action function="set">tw_text4=</action>
1038 <action function="set">tw_action_text1=Rebooting...</action>
1039 <action function="set">tw_action_text2=</action>
1040 <action function="set">tw_complete_text1=Rebooting...</action>
1041 <action function="set">tw_slider_text=Swipe to Reboot</action>
1042 <action function="page">rebootcheck</action>
1043 </actions>
1044 </object>
1045
1046 <object type="action">
1047 <touch key="home" />
1048 <actions>
1049 <action function="set">tw_clear_destination=main2</action>
1050 <action function="page">clear_vars</action>
1051 </actions>
1052 </object>
1053
1054 <object type="action">
1055 <touch key="back" />
1056 <actions>
1057 <action function="set">tw_clear_destination=%tw_back%</action>
1058 <action function="page">clear_vars</action>
1059 </actions>
1060 </object>
1061 </page>
1062
1063 <page name="filecheck">
1064 <object type="action">
1065 <action function="fileexists">%tw_filecheck%</action>
1066 </object>
1067
1068 <object type="action">
1069 <conditions>
1070 <condition var1="tw_operation_state" var2="1" />
1071 <condition var1="tw_operation_status" var2="0" />
1072 </conditions>
1073 <actions>
1074 <action function="set">tw_fileexists=1</action>
1075 <action function="page">%tw_existpage%</action>
1076 </actions>
1077 </object>
1078
1079 <object type="action">
1080 <conditions>
1081 <condition var1="tw_operation_state" var2="1" />
1082 <condition var1="tw_operation_status" var2="1" />
1083 </conditions>
1084 <actions>
1085 <action function="set">tw_fileexists=0</action>
1086 <action function="page">%tw_notexistpage%</action>
1087 </actions>
1088 </object>
1089 </page>
1090
1091 <page name="rebootcheck">
1092 <object type="action">
1093 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1094 <action function="reboot">%tw_action_param%</action>
1095 </object>
1096
1097 <object type="action">
1098 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1099 <action function="page">confirm_action</action>
1100 </object>
1101 </page>
1102
1103 <page name="wipe">
1104 <object type="template" name="header" />
1105
1106 <object type="text" color="%text_color%">
1107 <font resource="font" />
1108 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1109 <text>Factory Reset</text>
1110 </object>
1111
1112 <object type="text" color="%text_color%">
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1115 <text>Wipes Data, Cache, and Dalvik</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <condition var1="tw_has_data_media" var2="0" />
1120 <font resource="font" />
1121 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1122 <text>.android_secure</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <condition var1="tw_has_data_media" var2="1" />
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1129 <text>(not including internal storage)</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <condition var1="tw_has_sdext_partition" var2="1" />
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1136 <text>SD-EXT</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1142 <text>Most of the time this is</text>
1143 </object>
1144
1145 <object type="text" color="%text_color%">
1146 <font resource="font" />
1147 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1148 <text>the only wipe that you need.</text>
1149 </object>
1150
1151 <object type="text" color="%text_color%">
1152 <font resource="font" />
1153 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1154 <text>Press back button to cancel.</text>
1155 </object>
1156
1157 <object type="button">
1158 <highlight color="%highlight_color%" />
1159 <placement x="%col1_x%" y="%wipe_button_y%" />
1160 <font resource="font" color="%button_text_color%" />
1161 <text>Advanced Wipe</text>
1162 <image resource="main_button" />
1163 <action function="page">advancedwipe</action>
1164 </object>
1165
1166 <object type="button">
1167 <conditions>
1168 <condition var1="tw_has_internal" var2="1" />
1169 <condition var1="tw_has_data_media" var2="1" />
1170 </conditions>
1171 <highlight color="%highlight_color%" />
1172 <placement x="%col2_x%" y="%wipe_button_y%" />
1173 <font resource="font" color="%button_text_color%" />
1174 <text>Format Data</text>
1175 <image resource="main_button" />
1176 <actions>
1177 <action function="page">formatdata</action>
1178 </actions>
1179 </object>
1180
1181 <object type="slider">
1182 <placement x="%slider_x%" y="%slider_y%" />
1183 <resource base="slider" used="slider-used" touch="slider-touch" />
1184 <actions>
1185 <action function="set">tw_back=wipe</action>
1186 <action function="set">tw_action=wipe</action>
1187 <action function="set">tw_action_param=data</action>
1188 <action function="set">tw_action_text1=Factory Reset...</action>
1189 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1190 <action function="page">action_page</action>
1191 </actions>
1192 </object>
1193
1194 <object type="text" color="%text_color%">
1195 <font resource="font" />
1196 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1197 <text>Swipe to Factory Reset</text>
1198 </object>
1199
1200 <object type="action">
1201 <touch key="back" />
1202 <action function="page">main</action>
1203 </object>
1204
1205 <object type="action">
1206 <touch key="home" />
1207 <action function="page">main</action>
1208 </object>
1209
1210 <object type="template" name="footer" />
1211 </page>
1212
1213 <page name="advancedwipe">
1214 <object type="template" name="header" />
1215
1216 <object type="text" color="%text_color%">
1217 <font resource="font" />
1218 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1219 <text>Wipe Menu</text>
1220 </object>
1221
1222 <object type="partitionlist">
1223 <highlight color="%fileselector_highlight_color%" />
1224 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1225 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1226 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1227 <text>Select Partitions to Wipe:</text>
1228 <icon selected="checkbox_true" unselected="checkbox_false" />
1229 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1230 <background color="%listbox_background%" />
1231 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1232 <data name="tw_wipe_list" />
1233 <listtype name="wipe" />
1234 </object>
1235
1236 <object type="slider">
1237 <placement x="%slider_x%" y="%slider_y%" />
1238 <resource base="slider" used="slider-used" touch="slider-touch" />
1239 <actions>
1240 <action function="set">tw_back=advancedwipe</action>
1241 <action function="set">tw_action=wipe</action>
1242 <action function="set">tw_action_param=LIST</action>
1243 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1244 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1245 <action function="set">tw_complete_text1=Wipe Complete</action>
1246 <action function="page">action_page</action>
1247 </actions>
1248 </object>
1249
1250 <object type="text" color="%text_color%">
1251 <font resource="font" />
1252 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1253 <text>Swipe to Wipe</text>
1254 </object>
1255
1256 <object type="action">
1257 <touch key="home" />
1258 <action function="page">main</action>
1259 </object>
1260
1261 <object type="action">
1262 <touch key="back" />
1263 <action function="page">wipe</action>
1264 </object>
1265
1266 <object type="template" name="footer" />
1267 </page>
1268
1269 <page name="formatdata">
1270 <object type="template" name="header" />
1271
1272 <object type="text" color="%text_color%">
1273 <font resource="font" />
1274 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1275 <text>Format Data will wipe all of your apps,</text>
1276 </object>
1277
1278 <object type="text" color="%text_color%">
1279 <font resource="font" />
1280 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1281 <text>backups, pictures, videos, media, and</text>
1282 </object>
1283
1284 <object type="text" color="%text_color%">
1285 <font resource="font" />
1286 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1287 <text>removes encryption on internal storage.</text>
1288 </object>
1289
1290 <object type="text" color="%text_color%">
1291 <font resource="font" />
1292 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1293 <text>This cannot be undone. Press back to cancel.</text>
1294 </object>
1295
1296 <object type="text" color="%text_color%">
1297 <font resource="font" />
1298 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1299 <text>Type yes to continue.</text>
1300 </object>
1301
1302 <object type="input">
1303 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1304 <background color="%input_background_color%" />
1305 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1306 <font resource="font" color="%text_color%" />
1307 <text>%tw_confirm_formatdata%</text>
1308 <data name="tw_confirm_formatdata" />
1309 <restrict minlen="3" maxlen="3" allow="yes" />
1310 <action function="page">formatdata_confirm</action>
1311 </object>
1312
1313 <object type="template" name="keyboardtemplate" />
1314
1315 <object type="action">
1316 <touch key="home" />
1317 <action function="page">main</action>
1318 </object>
1319
1320 <object type="action">
1321 <touch key="back" />
1322 <action function="page">wipe</action>
1323 </object>
1324
1325 <object type="template" name="footer" />
1326 </page>
1327
1328 <page name="formatdata_confirm">
1329 <object type="action">
1330 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1331 <actions>
1332 <action function="set">tw_back=formatdata</action>
1333 <action function="set">tw_action=wipe</action>
1334 <action function="set">tw_action_param=DATAMEDIA</action>
1335 <action function="set">tw_action_text1=Formatting Data...</action>
1336 <action function="set">tw_complete_text1=Data Format Complete</action>
1337 <action function="page">action_page</action>
1338 </actions>
1339 </object>
1340
1341 <object type="action">
1342 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1343 <action function="page">formatdata</function>
1344 </object>
1345 </page>
1346
1347 <page name="backup">
1348 <object type="template" name="header" />
1349
Dees_Troy83bd4832013-05-04 12:39:56 +00001350 <object type="button">
1351 <highlight color="%highlight_color%" />
1352 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001353 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001354 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001355 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001356 <actions>
1357 <action function="set">tw_fileexists=0</action>
1358 <action function="page">backupname1</action>
1359 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001360 </object>
1361
1362 <object type="partitionlist">
1363 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001365 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1366 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1367 <text>Select Partitions to Back Up:</text>
1368 <icon selected="checkbox_true" unselected="checkbox_false" />
1369 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1370 <background color="%listbox_background%" />
1371 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1372 <data name="tw_backup_list" />
1373 <listtype name="backup" />
1374 </object>
1375
1376 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001377 <conditions>
1378 <condition var1="tw_include_encrypted_backup" var2="1" />
1379 <condition var1="tw_encrypt_backup" var2="0" />
1380 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001381 <highlight color="%highlight_color%" />
1382 <fill color="%button_fill_color%" />
1383 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1384 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001385 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001386 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001387 <action function="page">backupencryption</action>
1388 </actions>
1389 </object>
1390
1391 <object type="button">
1392 <conditions>
1393 <condition var1="tw_include_encrypted_backup" var2="1" />
1394 <condition var1="tw_encrypt_backup" var2="1" />
1395 </conditions>
1396 <highlight color="%highlight_color%" />
1397 <fill color="%button_fill_color%" />
1398 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1399 <font resource="font" color="%button_text_color%" />
1400 <text>Using Encryption</text>
1401 <actions>
1402 <action function="set">tw_password_not_match=0</action>
1403 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001404 </actions>
1405 </object>
1406
1407 <object type="button">
1408 <highlight color="%highlight_color%" />
1409 <fill color="%button_fill_color%" />
1410 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1411 <font resource="font" color="%button_text_color%" />
1412 <text>Refresh Sizes</text>
1413 <action function="refreshsizes"></action>
1414 </object>
1415
1416 <object type="button">
1417 <highlight color="%highlight_color%" />
1418 <fill color="%button_fill_color%" />
1419 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1420 <font resource="font" color="%button_text_color%" />
1421 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1422 <actions>
1423 <action function="set">tw_back=backup</action>
1424 <action function="page">selectstorage</action>
1425 </actions>
1426 </object>
1427
1428 <object type="checkbox">
1429 <placement x="%col1_x%" y="%row15_text_y%" />
1430 <font resource="font" color="%text_color%" />
1431 <text>Enable compression.</text>
1432 <data variable="tw_use_compression" />
1433 <image checked="checkbox_true" unchecked="checkbox_false" />
1434 </object>
1435
1436 <object type="checkbox">
1437 <placement x="%col1_x%" y="%row16_text_y%" />
1438 <font resource="font" color="%text_color%" />
1439 <text>Skip MD5 generation during backup.</text>
1440 <data variable="tw_skip_md5_generate" />
1441 <image checked="checkbox_true" unchecked="checkbox_false" />
1442 </object>
1443
1444 <object type="slider">
1445 <placement x="%slider_x%" y="slider_y" />
1446 <resource base="slider" used="slider-used" touch="slider-touch" />
1447 <action function="page">backup_run</action>
1448 </object>
1449
1450 <object type="text" color="%text_color%">
1451 <font resource="font" />
1452 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1453 <text>Swipe to Back Up</text>
1454 </object>
1455
1456 <object type="action">
1457 <touch key="home" />
1458 <action function="page">main</action>
1459 </object>
1460
1461 <object type="action">
1462 <touch key="back" />
1463 <action function="page">main</action>
1464 </object>
1465
1466 <object type="template" name="footer" />
1467 </page>
1468
1469 <page name="backupname1">
1470 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001471 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1472 <action function="generatebackupname"></function>
Dees_Troya13d74f2013-03-24 08:54:55 -05001473 </object>
1474
1475 <object type="action">
1476 <action function="page">backupname2</function>
1477 </object>
1478 </page>
1479
1480 <page name="backupname2">
1481 <object type="template" name="header" />
1482
1483 <object type="text" color="%text_color%">
1484 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1485 <font resource="font" />
1486 <text>Please Enter a Backup Name</text>
1487 </object>
1488
1489 <object type="input">
1490 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1491 <background color="%input_background_color%" />
1492 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1493 <font resource="font" color="%text_color%" />
1494 <text>%tw_backup_name%</text>
1495 <data name="tw_backup_name" />
1496 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1497 <actions>
1498 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1499 <action function="set">tw_existpage=backupname2</action>
1500 <action function="set">tw_notexistpage=backup</action>
1501 <action function="page">filecheck</action>
1502 </actions>
1503 </object>
1504
1505 <object type="text" color="%text_fail_color%">
1506 <condition var1="tw_fileexists" var2="1" />
1507 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1508 <font resource="font" />
1509 <text>A backup with that name already exists!</text>
1510 </object>
1511
1512 <object type="button">
1513 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001514 <placement x="%col1_x%" y="%row2_y%" />
1515 <font resource="font" color="%button_text_color%" />
1516 <text>Append Date</text>
1517 <image resource="main_button" />
1518 <action function="appenddatetobackupname"></action>
1519 </object>
1520
1521 <object type="button">
1522 <highlight color="%highlight_color%" />
1523 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001524 <font resource="font" color="%button_text_color%" />
1525 <text>Cancel</text>
1526 <image resource="main_button" />
1527 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001528 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001529 <action function="page">backup</action>
1530 </actions>
1531 </object>
1532
1533 <object type="template" name="keyboardtemplate" />
1534
1535 <object type="action">
1536 <touch key="home" />
1537 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001538 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001539 <action function="page">main</action>
1540 </actions>
1541 </object>
1542
1543 <object type="action">
1544 <touch key="back" />
1545 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001546 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001547 <action function="page">backup</action>
1548 </actions>
1549 </object>
1550
1551 <object type="template" name="footer" />
1552 </page>
1553
Dees_Troy83bd4832013-05-04 12:39:56 +00001554 <page name="backupencryption">
1555 <object type="template" name="header" />
1556
1557 <object type="text" color="%text_color%">
1558 <font resource="font" />
1559 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1560 <text>Encrypt your backup?</text>
1561 </object>
1562
1563 <object type="text" color="%text_color%">
1564 <font resource="font" />
1565 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1566 <text>Please Enter A Password:</text>
1567 </object>
1568
1569 <object type="input">
1570 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1571 <background color="%input_background_color%" />
1572 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1573 <font resource="font" color="%text_color%" />
1574 <text>%tw_backup_encrypt_display%</text>
1575 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1576 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1577 <action function="page">backupencryption2</action>
1578 </object>
1579
1580 <object type="text" color="%text_fail_color%">
1581 <condition var1="tw_password_not_match" var2="1" />
1582 <font resource="font" />
1583 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1584 <text>Passwords Do Not Match</text>
1585 </object>
1586
1587 <object type="button">
1588 <highlight color="%highlight_color%" />
1589 <placement x="%col_center_x%" y="%row2_y%" />
1590 <font resource="font" color="%button_text_color%" />
1591 <text>Cancel</text>
1592 <image resource="main_button" />
1593 <actions>
1594 <action function="set">tw_encrypt_backup=0</action>
1595 <action function="set">tw_backup_password=</action>
1596 <action function="set">tw_backup_password2=</action>
1597 <action function="set">tw_backup_encrypt_display=</action>
1598 <action function="set">tw_backup_encrypt_display2=</action>
1599 <action function="page">backup</action>
1600 </actions>
1601 </object>
1602
1603 <object type="template" name="keyboardtemplate" />
1604
1605 <object type="action">
1606 <touch key="home" />
1607 <action function="page">main</action>
1608 </object>
1609
1610 <object type="action">
1611 <touch key="back" />
1612 <action function="page">backup</action>
1613 </object>
1614
1615 <object type="template" name="footer" />
1616 </page>
1617
1618 <page name="backupencryption2">
1619 <object type="template" name="header" />
1620
1621 <object type="text" color="%text_color%">
1622 <font resource="font" />
1623 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1624 <text>Encrypt your backup?</text>
1625 </object>
1626
1627 <object type="text" color="%text_color%">
1628 <font resource="font" />
1629 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1630 <text>Please Enter Password Again:</text>
1631 </object>
1632
1633 <object type="input">
1634 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1635 <background color="%input_background_color%" />
1636 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1637 <font resource="font" color="%text_color%" />
1638 <text>%tw_backup_encrypt_display2%</text>
1639 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1640 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1641 <actions>
1642 <action function="page">checkbackuppassword</action>
1643 </actions>
1644 </object>
1645
1646 <object type="button">
1647 <highlight color="%highlight_color%" />
1648 <placement x="%col_center_x%" y="%row2_y%" />
1649 <font resource="font" color="%button_text_color%" />
1650 <text>Cancel</text>
1651 <image resource="main_button" />
1652 <actions>
1653 <action function="set">tw_encrypt_backup=0</action>
1654 <action function="set">tw_backup_password=</action>
1655 <action function="set">tw_backup_password2=</action>
1656 <action function="set">tw_backup_encrypt_display=</action>
1657 <action function="set">tw_backup_encrypt_display2=</action>
1658 <action function="page">backup</action>
1659 </actions>
1660 </object>
1661
1662 <object type="template" name="keyboardtemplate" />
1663
1664 <object type="action">
1665 <touch key="home" />
1666 <action function="page">main</action>
1667 </object>
1668
1669 <object type="action">
1670 <touch key="back" />
1671 <action function="page">backup</action>
1672 </object>
1673
1674 <object type="template" name="footer" />
1675 </page>
1676
1677 <page name="checkbackuppassword">
1678 <object type="action">
1679 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1680 <actions>
1681 <action function="set">tw_encrypt_backup=1</action>
1682 <action function="page">backup</action>
1683 </actions>
1684 </object>
1685
1686 <object type="action">
1687 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1688 <actions>
1689 <action function="set">tw_encrypt_backup=0</action>
1690 <action function="set">tw_password_not_match=1</action>
1691 <action function="set">tw_backup_password=</action>
1692 <action function="set">tw_backup_password2=</action>
1693 <action function="set">tw_backup_encrypt_display=</action>
1694 <action function="set">tw_backup_encrypt_display2=</action>
1695 <action function="page">backupencryption</action>
1696 </actions>
1697 </object>
1698 </page>
1699
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <page name="backup_run">
1701 <object type="template" name="header" />
1702
1703 <object type="text" color="%text_color%">
1704 <font resource="font" />
1705 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1706 <text>%tw_operation% %tw_partition%</text>
1707 </object>
1708
1709 <object type="template" name="action_page_console" />
1710
1711 <object type="template" name="progress_bar" />
1712
1713 <object type="action">
1714 <action function="nandroid">backup</action>
1715 </object>
1716
1717 <object type="action">
1718 <condition var1="tw_operation_state" var2="1" />
1719 <actions>
1720 <action function="set">tw_back=backup</action>
1721 <action function="set">tw_complete_text1=Backup Complete</action>
1722 <action function="set">tw_show_reboot=1</action>
1723 <action function="page">action_complete</action>
1724 </actions>
1725 </object>
1726 </page>
1727
1728 <page name="restore">
1729 <object type="template" name="header" />
1730
1731 <object type="button">
1732 <highlight color="%highlight_color%" />
1733 <fill color="%button_fill_color%" />
1734 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1735 <font resource="font" color="%button_text_color%" />
1736 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1737 <actions>
1738 <action function="set">tw_back=restore</action>
1739 <action function="page">selectstorage</action>
1740 </actions>
1741 </object>
1742
1743 <object type="fileselector">
1744 <highlight color="%fileselector_highlight_color%" />
1745 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1746 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1747 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1748 <text>Select Package to Restore:</text>
1749 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1750 <sort name="tw_gui_sort_order" />
1751 <icon folder="folder_icon" file="file_icon" />
1752 <background color="%fileselector_background%" />
1753 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1754 <filter folders="1" files="0" nav="0" />
1755 <path name="tw_backups_folder" />
1756 <data name="tw_restore" default="" />
1757 <selection name="tw_restore_name" />
1758 </object>
1759
1760 <object type="template" name="sort_options" />
1761
1762 <object type="action">
1763 <condition var1="tw_restore" op="modified" />
1764 <actions>
1765 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001766 <action function="page">restore_read</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001767 </actions>
1768 </object>
1769
1770 <object type="action">
1771 <touch key="home" />
1772 <action function="page">main</action>
1773 </object>
1774
1775 <object type="action">
1776 <touch key="back" />
1777 <action function="page">main</action>
1778 </object>
1779
1780 <object type="template" name="footer" />
1781 </page>
1782
Dees_Troy83bd4832013-05-04 12:39:56 +00001783 <page name="restore_read">
1784 <object type="action">
1785 <condition var1="tw_restore_encrypted" var2="1" />
1786 <actions>
1787 <action function="set">tw_password_fail=0</action>
1788 <action function="page">restore_decrypt</action>
1789 </actions>
1790 </object>
1791
1792 <object type="action">
1793 <condition var1="tw_restore_encrypted" var2="0" />
1794 <actions>
1795 <action function="page">restore_select</action>
1796 </actions>
1797 </object>
1798 </page>
1799
1800 <page name="restore_decrypt">
1801 <object type="template" name="header" />
1802
1803 <object type="text" color="%text_color%">
1804 <font resource="font" />
1805 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1806 <text>Backup Encrypted</text>
1807 </object>
1808
1809 <object type="text" color="%text_color%">
1810 <font resource="font" />
1811 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1812 <text>Please Enter Your Password:</text>
1813 </object>
1814
1815 <object type="input">
1816 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1817 <background color="%input_background_color%" />
1818 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1819 <font resource="font" color="%text_color%" />
1820 <text>%tw_restore_display%</text>
1821 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1822 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1823 <actions>
1824 <action function="page">try_restore_decrypt</action>
1825 </actions>
1826 </object>
1827
1828 <object type="text" color="%text_fail_color%">
1829 <condition var1="tw_password_fail" var2="1" />
1830 <font resource="font" />
1831 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1832 <text>Password Failed, Please Try Again</text>
1833 </object>
1834
1835 <object type="button">
1836 <highlight color="%highlight_color%" />
1837 <placement x="%col1_x%" y="%row2_y%" />
1838 <font resource="font" color="%button_text_color%" />
1839 <text>Cancel</text>
1840 <image resource="main_button" />
1841 <actions>
1842 <action function="set">tw_page_done=1</action>
1843 <action function="page">restore</action>
1844 </actions>
1845 </object>
1846
1847 <object type="button">
1848 <highlight color="%highlight_color%" />
1849 <placement x="%col2_x%" y="%row2_y%" />
1850 <font resource="font" color="%button_text_color%" />
1851 <text>Delete</text>
1852 <image resource="main_button" />
1853 <actions>
1854 <action function="set">tw_back=restore</action>
1855 <action function="set">tw_action=cmd</action>
1856 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1857 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1858 <action function="set">tw_text2=This cannot be undone!</action>
1859 <action function="set">tw_action_text1=Deleting Backup...</action>
1860 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1861 <action function="set">tw_slider_text=Swipe to Delete</action>
1862 <action function="page">confirm_action</action>
1863 </actions>
1864 </object>
1865
1866 <object type="template" name="keyboardtemplate" />
1867
1868 <object type="action">
1869 <touch key="home" />
1870 <action function="page">main</action>
1871 </object>
1872
1873 <object type="action">
1874 <touch key="back" />
1875 <action function="page">restore</action>
1876 </object>
1877
1878 <object type="template" name="footer" />
1879 </page>
1880
1881 <page name="try_restore_decrypt">
1882 <object type="template" name="header" />
1883
1884 <object type="text" color="%text_color%">
1885 <font resource="font" />
1886 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1887 <text>Trying Decryption with Your Password</text>
1888 </object>
1889
1890 <object type="template" name="action_page_console" />
1891
1892 <object type="template" name="progress_bar" />
1893
1894 <object type="action">
1895 <action function="decrypt_backup"></action>
1896 </object>
1897
1898 <object type="action">
1899 <conditions>
1900 <condition var1="tw_operation_state" var2="1" />
1901 <condition var1="tw_operation_status" op="!=" var2="0" />
1902 </conditions>
1903 <actions>
1904 <action function="set">tw_password_fail=1</action>
1905 <action function="page">restore_decrypt</action>
1906 </actions>
1907 </object>
1908
1909 <object type="action">
1910 <conditions>
1911 <condition var1="tw_operation_state" var2="1" />
1912 <condition var1="tw_operation_status" op="=" var2="0" />
1913 </conditions>
1914 <actions>
1915 <action function="set">tw_page_done=1</action>
1916 <action function="page">restore_select</action>
1917 </actions>
1918 </object>
1919 </page>
1920
Dees_Troya13d74f2013-03-24 08:54:55 -05001921 <page name="restore_select">
1922 <object type="template" name="header" />
1923
1924 <object type="partitionlist">
1925 <highlight color="%fileselector_highlight_color%" />
1926 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1927 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1928 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1929 <text>Restoring: %tw_restore_name%</text>
1930 <icon selected="checkbox_true" unselected="checkbox_false" />
1931 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1932 <background color="%listbox_background%" />
1933 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1934 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1935 <listtype name="restore" />
1936 </object>
1937
1938 <object type="button">
1939 <highlight color="%highlight_color%" />
1940 <fill color="%button_fill_color%" />
1941 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1942 <font resource="font" color="%button_text_color%" />
1943 <text>Rename Backup</text>
1944 <actions>
1945 <action function="set">tw_backup_rename=</action>
1946 <action function="set">tw_fileexists=0</action>
1947 <action function="page">renamebackup</action>
1948 </actions>
1949 </object>
1950
1951 <object type="button">
1952 <highlight color="%highlight_color%" />
1953 <fill color="%button_fill_color%" />
1954 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1955 <font resource="font" color="%button_text_color%" />
1956 <text>Delete Backup</text>
1957 <actions>
1958 <action function="set">tw_back=restore</action>
1959 <action function="set">tw_action=cmd</action>
1960 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1961 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1962 <action function="set">tw_text2=This cannot be undone!</action>
1963 <action function="set">tw_action_text1=Deleting Backup...</action>
1964 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1965 <action function="set">tw_slider_text=Swipe to Delete</action>
1966 <action function="page">confirm_action</action>
1967 </actions>
1968 </object>
1969
1970 <object type="checkbox">
1971 <placement x="%col1_x%" y="%row15_text_y%" />
1972 <font resource="font" color="%text_color%" />
1973 <text>Enable MD5 verification of backup files.</text>
1974 <data variable="tw_skip_md5_check" />
1975 <image checked="checkbox_true" unchecked="checkbox_false" />
1976 </object>
1977
1978 <object type="text" color="%text_color%">
1979 <font resource="font" />
1980 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1981 <text>Package Date: %tw_restore_file_date%</text>
1982 </object>
1983
1984 <object type="slider">
1985 <placement x="%slider_x%" y="%slider_y%" />
1986 <resource base="slider" used="slider-used" touch="slider-touch" />
1987 <action function="page">restore_run</action>
1988 </object>
1989
1990 <object type="text" color="%text_color%">
1991 <font resource="font" />
1992 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1993 <text>Swipe to Restore</text>
1994 </object>
1995
1996 <object type="action">
1997 <touch key="home" />
1998 <action function="page">main</action>
1999 </object>
2000
2001 <object type="action">
2002 <touch key="back" />
2003 <action function="page">restore</action>
2004 </object>
2005
2006 <object type="template" name="footer" />
2007 </page>
2008
2009 <page name="renamebackup">
2010 <object type="template" name="header" />
2011
2012 <object type="text" color="%text_color%">
2013 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2014 <font resource="font" />
2015 <text>Please Enter a New Backup Name</text>
2016 </object>
2017
2018 <object type="input">
2019 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2020 <background color="%input_background_color%" />
2021 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2022 <font resource="font" color="%text_color%" />
2023 <text>%tw_backup_rename%</text>
2024 <data name="tw_backup_rename" />
2025 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2026 <actions>
2027 <action function="set">tw_back=restore</action>
2028 <action function="set">tw_action=cmd</action>
2029 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2030 <action function="set">tw_text1=Rename Backup?</action>
2031 <action function="set">tw_text2=This cannot be undone!</action>
2032 <action function="set">tw_action_text1=Renaming Backup...</action>
2033 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2034 <action function="set">tw_slider_text=Swipe to Rename</action>
2035 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2036 <action function="set">tw_existpage=renamebackup</action>
2037 <action function="set">tw_notexistpage=confirm_action</action>
2038 <action function="page">filecheck</action>
2039 </actions>
2040 </object>
2041
2042 <object type="text" color="%text_fail_color%">
2043 <condition var1="tw_fileexists" var2="1" />
2044 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2045 <font resource="font" />
2046 <text>A backup with that name already exists!</text>
2047 </object>
2048
2049 <object type="button">
2050 <highlight color="%highlight_color%" />
2051 <placement x="%col_center_x%" y="%row2_y%" />
2052 <font resource="font" color="%button_text_color%" />
2053 <text>Cancel</text>
2054 <image resource="main_button" />
2055 <action function="page">restore_select</action>
2056 </object>
2057
2058 <object type="template" name="keyboardtemplate" />
2059
2060 <object type="action">
2061 <touch key="home" />
2062 <action function="page">main</action>
2063 </object>
2064
2065 <object type="action">
2066 <touch key="back" />
2067 <action function="page">restore_select</action>
2068 </object>
2069
2070 <object type="template" name="footer" />
2071 </page>
2072
2073 <page name="restore_run">
2074 <object type="template" name="header" />
2075
2076 <object type="text" color="%text_color%">
2077 <font resource="font" />
2078 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2079 <text>%tw_operation% %tw_partition%</text>
2080 </object>
2081
2082 <object type="template" name="action_page_console" />
2083
2084 <object type="template" name="progress_bar" />
2085
2086 <object type="action">
2087 <condition var1="tw_operation_state" var2="1" />
2088 <actions>
2089 <action function="set">tw_back=restore_select</action>
2090 <action function="set">tw_complete_text1=Restore Complete</action>
2091 <action function="set">tw_show_reboot=1</action>
2092 <action function="page">action_complete</action>
2093 </actions>
2094 </object>
2095
2096 <object type="action">
2097 <action function="nandroid">restore</action>
2098 </object>
2099 </page>
2100
2101 <page name="selectstorage">
2102 <object type="template" name="header" />
2103
2104 <object type="partitionlist">
2105 <highlight color="%fileselector_highlight_color%" />
2106 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2107 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2108 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2109 <text>Select Storage:</text>
2110 <icon selected="radio_true" unselected="radio_false" />
2111 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2112 <background color="%listbox_background%" />
2113 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2114 <data name="tw_storage_path" />
2115 <listtype name="storage" />
2116 </object>
2117
Dees_Troye7e0ae82013-07-05 14:46:07 +00002118 <object type="button">
2119 <highlight color="%highlight_color%" />
2120 <placement x="%col_center_x%" y="%row4_y%" />
2121 <font resource="font" color="%button_text_color%" />
2122 <text>OK</text>
2123 <image resource="main_button" />
2124 <actions>
2125 <action function="set">tw_clear_destination=%tw_back%</action>
2126 <action function="page">clear_vars</action>
2127 </actions>
2128 </object>
2129
Dees_Troya13d74f2013-03-24 08:54:55 -05002130 <object type="action">
2131 <touch key="home" />
2132 <action function="page">main</action>
2133 </object>
2134
2135 <object type="action">
2136 <touch key="back" />
2137 <actions>
2138 <action function="page">%tw_back%</action>
2139 </actions>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
2145 <page name="mount">
2146 <object type="template" name="header" />
2147
2148 <object type="partitionlist">
2149 <highlight color="%fileselector_highlight_color%" />
2150 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2151 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2152 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2153 <text>Select Partitions to Mount:</text>
2154 <icon selected="checkbox_true" unselected="checkbox_false" />
2155 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2156 <background color="%listbox_background%" />
2157 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2158 <listtype name="mount" />
2159 </object>
2160
2161 <object type="button">
2162 <highlight color="%highlight_color%" />
2163 <fill color="%button_fill_color%" />
2164 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2165 <font resource="font" color="%button_text_color%" />
2166 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2167 <actions>
2168 <action function="set">tw_back=mount</action>
2169 <action function="page">selectstorage</action>
2170 </actions>
2171 </object>
2172
2173 <object type="button">
2174 <highlight color="%highlight_color%" />
2175 <condition var1="tw_has_usb_storage" var2="1" />
2176 <placement x="%col1_x%" y="row4_y" />
2177 <font resource="font" color="%button_text_color%" />
2178 <text>Mount USB Storage</text>
2179 <image resource="main_button" />
2180 <action function="page">usb_mount</action>
2181 </object>
2182
2183 <object type="button">
2184 <highlight color="%highlight_color%" />
2185 <conditions>
2186 <condition var1="tw_is_encrypted" var2="1" />
2187 <condition var1="tw_is_decrypted" var2="0" />
2188 </conditions>
2189 <placement x="%col2_x%" y="row4_y" />
2190 <font resource="font" color="%button_text_color%" />
2191 <text>Decrypt Data</text>
2192 <image resource="main_button" />
2193 <action function="page">decrypt</action>
2194 </object>
2195
2196 <object type="action">
2197 <touch key="home" />
2198 <action function="page">main</action>
2199 </object>
2200
2201 <object type="action">
2202 <touch key="back" />
2203 <action function="page">main</action>
2204 </object>
2205
2206 <object type="template" name="footer" />
2207 </page>
2208
2209 <page name="usb_mount">
2210 <object type="template" name="header" />
2211
2212 <object type="text" color="%text_color%">
2213 <font resource="font" />
2214 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2215 <text>USB Storage Mounted</text>
2216 </object>
2217
2218 <object type="text" color="%text_color%">
2219 <placement x="%col1_x%" y="%row1_text_y%" />
2220 <font resource="font" />
2221 <text>Be sure to safely remove your device</text>
2222 </object>
2223
2224 <object type="text" color="%text_color%">
2225 <placement x="%col1_x%" y="%row2_text_y%" />
2226 <font resource="font" />
2227 <text>from your computer before unmounting!</text>
2228 </object>
2229
2230 <object type="button">
2231 <highlight color="%highlight_color%" />
2232 <placement x="%col1_x%" y="%row3_y%" />
2233 <font resource="font" color="%button_text_color%" />
2234 <text>Unmount</text>
2235 <image resource="main_button" />
2236 <action function="page">usb_umount</action>
2237 </object>
2238
2239 <object type="action">
2240 <action function="mount">usb</action>
2241 </object>
2242
2243 <object type="template" name="footer" />
2244 </page>
2245
2246 <page name="usb_umount">
2247 <object type="action">
2248 <action function="unmount">usb</action>
2249 </object>
2250
2251 <object type="action">
2252 <action function="page">mount</action>
2253 </object>
2254 </page>
2255
2256 <page name="reboot">
2257 <object type="template" name="header" />
2258
2259 <object type="text" color="%text_color%">
2260 <font resource="font" />
2261 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2262 <text>Reboot Menu</text>
2263 </object>
2264
2265 <object type="button">
2266 <highlight color="%highlight_color%" />
2267 <condition var1="tw_reboot_system" var2="1" />
2268 <placement x="%col1_x%" y="%row1_y%" />
2269 <font resource="font" color="%button_text_color%" />
2270 <text>System</text>
2271 <image resource="main_button" />
2272 <actions>
2273 <action function="set">tw_back=reboot</action>
2274 <action function="set">tw_action=reboot</action>
2275 <action function="set">tw_action_param=system</action>
2276 <action function="set">tw_has_action2=0</action>
2277 <action function="set">tw_text1=No OS Installed! Are you</action>
2278 <action function="set">tw_text2=sure you wish to reboot?</action>
2279 <action function="set">tw_action_text1=Rebooting...</action>
2280 <action function="set">tw_complete_text1=Rebooting...</action>
2281 <action function="set">tw_slider_text=Swipe to Reboot</action>
2282 <action function="page">rebootcheck</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
2287 <highlight color="%highlight_color%" />
2288 <condition var1="tw_reboot_poweroff" var2="1" />
2289 <placement x="%col2_x%" y="%row1_y%" />
2290 <font resource="font" color="%button_text_color%" />
2291 <text>Power Off</text>
2292 <image resource="main_button" />
2293 <actions>
2294 <action function="set">tw_back=reboot</action>
2295 <action function="set">tw_action=reboot</action>
2296 <action function="set">tw_action_param=poweroff</action>
2297 <action function="set">tw_has_action2=0</action>
2298 <action function="set">tw_text1=No OS Installed! Are you</action>
2299 <action function="set">tw_text2=sure you wish to power off?</action>
2300 <action function="set">tw_action_text1=Turning Off...</action>
2301 <action function="set">tw_complete_text1=Turning Off...</action>
2302 <action function="set">tw_slider_text=Swipe to Power Off</action>
2303 <action function="page">rebootcheck</action>
2304 </actions>
2305 </object>
2306
2307 <object type="button">
2308 <highlight color="%highlight_color%" />
2309 <condition var1="tw_reboot_recovery" var2="1" />
2310 <placement x="%col1_x%" y="%row2_y%" />
2311 <font resource="font" color="%button_text_color%" />
2312 <text>Recovery</text>
2313 <image resource="main_button" />
2314 <actions>
2315 <action function="set">tw_back=reboot</action>
2316 <action function="set">tw_action=reboot</action>
2317 <action function="set">tw_action_param=recovery</action>
2318 <action function="set">tw_has_action2=0</action>
2319 <action function="set">tw_text1=No OS Installed! Are you</action>
2320 <action function="set">tw_text2=sure you wish to reboot?</action>
2321 <action function="set">tw_action_text1=Rebooting...</action>
2322 <action function="set">tw_complete_text1=Rebooting...</action>
2323 <action function="set">tw_slider_text=Swipe to Reboot</action>
2324 <action function="page">rebootcheck</action>
2325 </actions>
2326 </object>
2327
2328 <object type="button">
2329 <highlight color="%highlight_color%" />
2330 <condition var1="tw_reboot_bootloader" var2="1" />
2331 <placement x="%col2_x%" y="%row2_y%" />
2332 <font resource="font" color="%button_text_color%" />
2333 <text>Bootloader</text>
2334 <image resource="main_button" />
2335 <actions>
2336 <action function="set">tw_back=reboot</action>
2337 <action function="set">tw_action=reboot</action>
2338 <action function="set">tw_action_param=bootloader</action>
2339 <action function="set">tw_has_action2=0</action>
2340 <action function="set">tw_text1=No OS Installed! Are you</action>
2341 <action function="set">tw_text2=sure you wish to reboot?</action>
2342 <action function="set">tw_action_text1=Rebooting...</action>
2343 <action function="set">tw_complete_text1=Rebooting...</action>
2344 <action function="set">tw_slider_text=Swipe to Reboot</action>
2345 <action function="page">rebootcheck</action>
2346 </actions>
2347 </object>
2348
2349 <object type="button">
2350 <highlight color="%highlight_color%" />
2351 <condition var1="tw_download_mode" var2="1" />
2352 <placement x="%col1_x%" y="%row3_y%" />
2353 <font resource="font" color="%button_text_color%" />
2354 <text>Download</text>
2355 <image resource="main_button" />
2356 <actions>
2357 <action function="set">tw_back=reboot</action>
2358 <action function="set">tw_action=reboot</action>
2359 <action function="set">tw_action_param=download</action>
2360 <action function="set">tw_has_action2=0</action>
2361 <action function="set">tw_text1=No OS Installed! Are you</action>
2362 <action function="set">tw_text2=sure you wish to reboot?</action>
2363 <action function="set">tw_action_text1=Rebooting...</action>
2364 <action function="set">tw_complete_text1=Rebooting...</action>
2365 <action function="set">tw_slider_text=Swipe to Reboot</action>
2366 <action function="page">rebootcheck</action>
2367 </actions>
2368 </object>
2369
2370 <object type="action">
2371 <touch key="home" />
2372 <action function="page">main</action>
2373 </object>
2374
2375 <object type="action">
2376 <touch key="back" />
2377 <action function="page">main</action>
2378 </object>
2379
2380 <object type="template" name="footer" />
2381 </page>
2382
2383 <page name="settings">
2384 <object type="template" name="header" />
2385
2386 <object type="text" color="%text_color%">
2387 <font resource="font" />
2388 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2389 <text>Settings</text>
2390 </object>
2391
2392 <object type="checkbox">
2393 <placement x="%col1_x%" y="%row1_text_y%" />
2394 <font resource="font" color="%text_color%" />
2395 <text>Zip file signature verification.</text>
2396 <data variable="tw_signed_zip_verify" />
2397 <image checked="checkbox_true" unchecked="checkbox_false" />
2398 </object>
2399
2400 <object type="checkbox">
2401 <placement x="%col1_x%" y="%row2_text_y%" />
2402 <font resource="font" color="%text_color%" />
2403 <text>Use rm -rf instead of formatting.</text>
2404 <data variable="tw_rm_rf" />
2405 <image checked="checkbox_true" unchecked="checkbox_false" />
2406 </object>
2407
2408 <object type="checkbox">
2409 <placement x="%col1_x%" y="%row3_text_y%" />
2410 <font resource="font" color="%text_color%" />
2411 <text>Skip MD5 generation during backup.</text>
2412 <data variable="tw_skip_md5_generate" />
2413 <image checked="checkbox_true" unchecked="checkbox_false" />
2414 </object>
2415
2416 <object type="checkbox">
2417 <placement x="%col1_x%" y="%row4_text_y%" />
2418 <font resource="font" color="%text_color%" />
2419 <text>Enable MD5 verification of backup files.</text>
2420 <data variable="tw_skip_md5_check" />
2421 <image checked="checkbox_true" unchecked="checkbox_false" />
2422 </object>
2423
2424 <object type="checkbox">
2425 <placement x="%col1_x%" y="%row5_text_y%" />
2426 <font resource="font" color="%text_color%" />
2427 <text>Use Military Time.</text>
2428 <data variable="tw_military_time" />
2429 <image checked="checkbox_true" unchecked="checkbox_false" />
2430 </object>
2431
2432 <object type="checkbox">
2433 <placement x="%col1_x%" y="%row6_text_y%" />
2434 <font resource="font" color="%text_color%" />
2435 <text>Simulate actions for theme testing.</text>
2436 <data variable="tw_simulate_actions" />
2437 <image checked="checkbox_true" unchecked="checkbox_false" />
2438 </object>
2439
2440 <object type="checkbox">
2441 <condition var1="tw_simulate_actions" var2="1" />
2442 <placement x="%col1_x%" y="%row7_text_y%" />
2443 <font resource="font" color="%text_color%" />
2444 <text>Simulate failure for actions.</text>
2445 <data variable="tw_simulate_fail" />
2446 <image checked="checkbox_true" unchecked="checkbox_false" />
2447 </object>
2448
2449 <object type="button">
2450 <highlight color="%highlight_color%" />
2451 <placement x="%col1_x%" y="%row3_y%" />
2452 <font resource="font" color="%button_text_color%" />
2453 <text>Time Zone</text>
2454 <image resource="main_button" />
2455 <action function="page">timezone</action>
2456 </object>
2457
2458 <object type="button">
2459 <highlight color="%highlight_color%" />
2460 <placement x="%col2_x%" y="%row3_y%" />
2461 <font resource="font" color="%button_text_color%" />
2462 <text>Screen</text>
2463 <image resource="main_button" />
2464 <action function="page">screen</action>
2465 </object>
2466
2467 <object type="button">
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002468 <highlight color="%highlight_color%" />
2469 <placement x="%col2_x%" y="%row4_y%" />
2470 <font resource="font" color="%button_text_color%" />
2471 <text>Vibration Duration</text>
2472 <image resource="main_button" />
2473 <action function="page">Vibrate</action>
2474 </object>
2475
2476 <object type="button">
2477 <placement x="%col_x%" y="%row4_y%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002478 <font resource="font" color="%button_text_color%" />
2479 <text>Restore Defaults</text>
2480 <image resource="main_button" />
2481 <action function="restoredefaultsettings"></action>
2482 </object>
2483
2484 <object type="action">
2485 <touch key="home" />
2486 <action function="page">main</action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="back" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="template" name="footer" />
2495 </page>
2496
2497 <page name="timezone">
2498 <object type="template" name="header" />
2499
2500 <object type="listbox">
2501 <highlight color="%fileselector_highlight_color%" />
2502 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2503 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2504 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2505 <text>Select Time Zone:</text>
2506 <icon selected="radio_true" unselected="radio_false" />
2507 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2508 <background color="%listbox_background%" />
2509 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2510 <data name="tw_time_zone_guisel" />
2511 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2512 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2513 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2514 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2515 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2516 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2517 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2518 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2519 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2520 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2521 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2522 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2523 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2524 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2525 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2526 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2527 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2528 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2529 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2530 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2531 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2532 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2533 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2534 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2535 </object>
2536
2537 <object type="checkbox">
2538 <placement x="%col1_x%" y="%row_dst_text_y%" />
2539 <font resource="font" color="%text_color%" />
2540 <text>Do you use daylight savings time (DST)?</text>
2541 <data variable="tw_time_zone_guidst" />
2542 <image checked="checkbox_true" unchecked="checkbox_false" />
2543 </object>
2544
2545 <object type="text" color="%text_color%">
2546 <font resource="font" />
2547 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2548 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2549 </object>
2550
2551 <object type="button">
2552 <highlight color="%highlight_color%" />
2553 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
2554 <font resource="font" color="%button_text_color%" />
2555 <text>None</text>
2556 <image resource="medium_button" />
2557 <action function="set">tw_time_zone_guioffset=0</action>
2558 </object>
2559
2560 <object type="button">
2561 <highlight color="%highlight_color%" />
2562 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
2563 <font resource="font" color="%button_text_color%" />
2564 <text>15</text>
2565 <image resource="medium_button" />
2566 <action function="set">tw_time_zone_guioffset=15</action>
2567 </object>
2568
2569 <object type="button">
2570 <highlight color="%highlight_color%" />
2571 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
2572 <font resource="font" color="%button_text_color%" />
2573 <text>30</text>
2574 <image resource="medium_button" />
2575 <action function="set">tw_time_zone_guioffset=30</action>
2576 </object>
2577
2578 <object type="button">
2579 <highlight color="%highlight_color%" />
2580 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
2581 <font resource="font" color="%button_text_color%" />
2582 <text>45</text>
2583 <image resource="medium_button" />
2584 <action function="set">tw_time_zone_guioffset=45</action>
2585 </object>
2586
2587 <object type="button">
2588 <highlight color="%highlight_color%" />
2589 <placement x="%col_center_x%" y="%tz_set_y%" />
2590 <font resource="font" color="%button_text_color%" />
2591 <text>Set Time Zone</text>
2592 <image resource="main_button" />
2593 <action function="setguitimezone"></action>
2594 </object>
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2599 <text>Current Time Zone: %tw_time_zone%</text>
2600 </object>
2601
2602 <object type="action">
2603 <touch key="home" />
2604 <action function="page">main</action>
2605 </object>
2606
2607 <object type="action">
2608 <touch key="back" />
2609 <action function="page">settings</action>
2610 </object>
2611
2612 <object type="template" name="footer" />
2613 </page>
2614
2615 <page name="screen">
2616 <object type="template" name="header" />
2617
2618 <object type="text" color="%text_color%">
2619 <font resource="font" />
2620 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2621 <text>Screen Settings</text>
2622 </object>
2623
Dees_Troya13d74f2013-03-24 08:54:55 -05002624 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <placement x="%col1_x%" y="%row2_text_y%" />
2626 <font resource="font" color="%text_color%" />
2627 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002628 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002629 <text>Enable screen timeout.</text>
2630 <image resource="checkbox_false" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002631 <action function="set">tw_screen_timeout_secs=60</action>
2632 </object>
2633
2634 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="%col1_x%" y="%row2_text_y%" />
2636 <font resource="font" color="%text_color%" />
2637 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002638 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002639 <text>Enable screen timeout.</text>
2640 <image resource="checkbox_true" />
2641 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002642 </object>
2643
Vojtech Bocek85932342013-04-01 22:11:33 +02002644 <object type="slidervalue">
2645 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002646 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002647 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2648 <font resource="font" color="%text_color%" />
2649 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2650 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2651 <text>Screen timeout in seconds:</text>
2652 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002653 </object>
2654
Vojtech Bocek85932342013-04-01 22:11:33 +02002655 <object type="slidervalue">
Dees_Troya13d74f2013-03-24 08:54:55 -05002656 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002657 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2658 <font resource="font" color="%text_color%" />
2659 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2660 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2661 <text>Brightness: %tw_brightness_pct%%</text>
2662 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002663 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002664 <action function="set">tw_brightness=%tw_brightness_max%</action>
2665 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2666 <action function="compute">tw_brightness/100</action>
2667 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002668 </actions>
2669 </object>
2670
2671 <object type="action">
2672 <touch key="home" />
2673 <action function="page">main</action>
2674 </object>
2675
2676 <object type="action">
2677 <touch key="back" />
2678 <action function="page">settings</action>
2679 </object>
2680
2681 <object type="template" name="footer" />
2682 </page>
2683
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002684 <page name="Vibrate">
2685 <object type="template" name="header" />
2686
2687 <object type="text" color="%text_color%">
2688 <font resource="font" />
2689 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2690 <text>Vibration Settings :</text>
2691 </object>
2692
2693 <object type="slidervalue">
2694 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2695 <font resource="font" color="%text_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002696 <text>Button Vibration:</text>
2697 <data variable="tw_button_vibrate" min="0" max="300" />
2698 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2699 </object>
2700
2701 <object type="slidervalue">
2702 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2703 <font resource="font" color="%text_color%" />
2704 <text>Keyboard Vibration:</text>
2705 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2706 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2707 </object>
2708
2709 <object type="slidervalue">
2710 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2711 <font resource="font" color="%text_color%" />
2712 <text>Action Vibration:</text>
2713 <data variable="tw_action_vibrate" min="0" max="500" />
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002714 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2715 </object>
2716
2717 <object type="action">
2718 <touch key="home" />
2719 <action function="page">main</action>
2720 </object>
2721
2722 <object type="action">
2723 <touch key="back" />
2724 <action function="page">settings</action>
2725 </object>
2726
2727 <object type="template" name="footer" />
2728 </page>
2729
Dees_Troya13d74f2013-03-24 08:54:55 -05002730 <page name="advanced">
2731 <object type="template" name="header" />
2732
2733 <object type="text" color="%text_color%">
2734 <font resource="font" />
2735 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2736 <text>Advanced</text>
2737 </object>
2738
2739 <object type="button">
2740 <highlight color="%highlight_color%" />
2741 <placement x="%col1_x%" y="%row1_y%" />
2742 <font resource="font" color="%button_text_color%" />
2743 <text>Copy Log to SD</text>
2744 <image resource="main_button" />
2745 <actions>
2746 <action function="set">tw_back=advanced</action>
2747 <action function="set">tw_action=copylog</action>
2748 <action function="set">tw_text1=Copy Log to SD Card?</action>
2749 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2750 <action function="set">tw_complete_text1=Log Copy Complete</action>
2751 <action function="set">tw_slider_text=Swipe to Confirm</action>
2752 <action function="page">confirm_action</action>
2753 </actions>
2754 </object>
2755
2756 <object type="button">
2757 <highlight color="%highlight_color%" />
2758 <placement x="%col2_x%" y="%row1_y%" />
2759 <font resource="font" color="%button_text_color%" />
2760 <text>Fix Permissions</text>
2761 <image resource="main_button" />
2762 <actions>
2763 <action function="set">tw_back=advanced</action>
2764 <action function="set">tw_action=fixpermissions</action>
2765 <action function="set">tw_text1=Fix Permissions?</action>
2766 <action function="set">tw_action_text1=Fixing Permissions...</action>
2767 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2768 <action function="set">tw_slider_text=Swipe to Confirm</action>
2769 <action function="set">tw_show_reboot=1</action>
2770 <action function="page">confirm_action</action>
2771 </actions>
2772 </object>
2773
2774 <object type="button">
2775 <highlight color="%highlight_color%" />
2776 <condition var1="tw_allow_partition_sdcard" var2="1" />
2777 <placement x="%col1_x%" y="%row2_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>Partition SD Card</text>
2780 <image resource="main_button" />
2781 <action function="page">partsdcard</action>
2782 </object>
2783
2784 <object type="button">
2785 <highlight color="%highlight_color%" />
2786 <placement x="%col2_x%" y="%row2_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>File Manager</text>
2789 <image resource="main_button" />
2790 <action function="page">filemanagerlist</action>
2791 </object>
2792
2793 <object type="button">
2794 <highlight color="%highlight_color%" />
2795 <placement x="%col1_x%" y="%row3_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>Terminal Command</text>
2798 <image resource="main_button" />
2799 <action function="page">terminalfolder</action>
2800 </object>
2801
2802 <object type="button">
2803 <highlight color="%highlight_color%" />
2804 <placement x="%col2_x%" y="%row3_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Reload Theme</text>
2807 <image resource="main_button" />
2808 <action function="reload"></action>
2809 </object>
2810
2811 <object type="button">
2812 <highlight color="%highlight_color%" />
2813 <placement x="%col1_x%" y="%row4_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>ADB Sideload</text>
2816 <image resource="main_button" />
2817 <action function="page">sideload</action>
2818 </object>
2819
2820 <object type="button">
2821 <highlight color="%highlight_color%" />
2822 <condition var1="tw_show_dumlock" var2="1" />
2823 <placement x="%col2_x%" y="%row4_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>HTC Dumlock</text>
2826 <image resource="main_button" />
2827 <action function="page">htcdumlock</action>
2828 </object>
2829
2830 <object type="button">
2831 <highlight color="%highlight_color%" />
2832 <condition var1="tw_has_injecttwrp" var2="1" />
2833 <placement x="%col2_x%" y="%row4_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text>Re-Inject TWRP</text>
2836 <image resource="main_button" />
2837 <actions>
2838 <action function="set">tw_back=advanced</action>
2839 <action function="set">tw_action=reinjecttwrp</action>
2840 <action function="set">tw_text1=Re-Inject TWRP?</action>
2841 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2842 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2843 <action function="set">tw_slider_text=Swipe to Confirm</action>
2844 <action function="page">confirm_action</action>
2845 </actions>
2846 </object>
2847
2848 <object type="action">
2849 <touch key="home" />
2850 <action function="page">main</action>
2851 </object>
2852
2853 <object type="action">
2854 <touch key="back" />
2855 <action function="page">main</action>
2856 </object>
2857
2858 <object type="template" name="footer" />
2859 </page>
2860
2861 <page name="partsdcard">
2862 <object type="template" name="header" />
2863
2864 <object type="text" color="%text_color%">
2865 <font resource="font" />
2866 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2867 <text>Partition SD Card</text>
2868 </object>
2869
2870 <object type="button">
2871 <highlight color="%highlight_color%" />
2872 <placement x="%col1_x%" y="%row1_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text></text>
2875 <image resource="minus_button" />
2876 <action function="addsubtract">tw_sdext_size-128</action>
2877 </object>
2878
2879 <object type="button">
2880 <highlight color="%highlight_color%" />
2881 <placement x="%sd_plus_x%" y="%row1_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="plus_button" />
2885 <action function="addsubtract">tw_sdext_size+128</action>
2886 </object>
2887
2888 <object type="text" color="%text_color%">
2889 <font resource="font" />
2890 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2891 <text>EXT Size: %tw_sdext_size%</text>
2892 </object>
2893
2894 <object type="button">
2895 <highlight color="%highlight_color%" />
2896 <placement x="%col1_x%" y="%sdswap_button_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text></text>
2899 <image resource="minus_button" />
2900 <action function="addsubtract">tw_swap_size-32</action>
2901 </object>
2902
2903 <object type="button">
2904 <highlight color="%highlight_color%" />
2905 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text></text>
2908 <image resource="plus_button" />
2909 <action function="addsubtract">tw_swap_size+32</action>
2910 </object>
2911
2912 <object type="text" color="%text_color%">
2913 <font resource="font" />
2914 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2915 <text>Swap Size: %tw_swap_size%</text>
2916 </object>
2917
2918 <object type="text" color="%text_color%">
2919 <font resource="font" />
2920 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2921 <text>File system: %tw_sdpart_file_system%</text>
2922 </object>
2923
2924 <object type="button">
2925 <highlight color="%highlight_color%" />
2926 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2927 <font resource="font" color="%button_text_color%" />
2928 <text>EXT3</text>
2929 <image resource="main_button" />
2930 <action function="set">tw_sdpart_file_system=ext3</action>
2931 </object>
2932
2933 <object type="button">
2934 <highlight color="%highlight_color%" />
2935 <condition var1="tw_sdext_disable_ext4" var2="0" />
2936 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2937 <font resource="font" color="%button_text_color%" />
2938 <text>EXT4</text>
2939 <image resource="main_button" />
2940 <action function="set">tw_sdpart_file_system=ext4</action>
2941 </object>
2942
2943 <object type="text" color="%text_color%">
2944 <font resource="font" />
2945 <placement x="%col1_x%" y="%row12_text_y%" />
2946 <text>You will lose all files on your SD card!</text>
2947 </object>
2948
2949 <object type="text" color="%text_color%">
2950 <font resource="font" />
2951 <placement x="%col1_x%" y="%row13_text_y%" />
2952 <text>This action cannot be undone!</text>
2953 </object>
2954
2955 <object type="slider">
2956 <placement x="%slider_x%" y="%slider_y%" />
2957 <resource base="slider" used="slider-used" touch="slider-touch" />
2958 <action function="page">partsdcardaction</action>
2959 <actions>
2960 <action function="set">tw_back=partsdcard</action>
2961 <action function="set">tw_action=partitionsd</action>
2962 <action function="set">tw_has_action2=1</action>
2963 <action function="set">tw_action2=set</action>
2964 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2965 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2966 <action function="set">tw_action_text2=This will take a few minutes.</action>
2967 <action function="set">tw_complete_text1=Partitioning Complete</action>
2968 <action function="page">action_page</action>
2969 </actions>
2970 </object>
2971
2972 <object type="text" color="%text_color%">
2973 <font resource="font" />
2974 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2975 <text>Swipe to Partition</text>
2976 </object>
2977
2978 <object type="action">
2979 <touch key="home" />
2980 <action function="page">main</action>
2981 </object>
2982
2983 <object type="action">
2984 <touch key="back" />
2985 <action function="page">advanced</action>
2986 </object>
2987
2988 <object type="template" name="footer" />
2989 </page>
2990
2991 <page name="htcdumlock">
2992 <object type="template" name="header" />
2993
2994 <object type="text" color="%text_color%">
2995 <font resource="font" />
2996 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2997 <text>HTC Dumlock</text>
2998 </object>
2999
3000 <object type="button">
3001 <highlight color="%highlight_color%" />
3002 <condition var1="tw_show_dumlock" var2="1" />
3003 <placement x="%col1_x%" y="%row1_y%" />
3004 <font resource="font" color="%button_text_color%" />
3005 <text>Restore Original Boot</text>
3006 <image resource="main_button" />
3007 <actions>
3008 <action function="set">tw_back=htcdumlock</action>
3009 <action function="set">tw_action=htcdumlockrestoreboot</action>
3010 <action function="set">tw_text1=Restore original boot image?</action>
3011 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3012 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3013 <action function="set">tw_slider_text=Swipe to Confirm</action>
3014 <action function="page">confirm_action</action>
3015 </actions>
3016 </object>
3017
3018 <object type="button">
3019 <highlight color="%highlight_color%" />
3020 <condition var1="tw_show_dumlock" var2="1" />
3021 <placement x="%col2_x%" y="%row1_y%" />
3022 <font resource="font" color="%button_text_color%" />
3023 <text>Reflash Recovery</text>
3024 <image resource="main_button" />
3025 <actions>
3026 <action function="set">tw_back=htcdumlock</action>
3027 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3028 <action function="set">tw_text1=Reflash recovery to boot?</action>
3029 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3030 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3031 <action function="set">tw_slider_text=Swipe to Confirm</action>
3032 <action function="page">confirm_action</action>
3033 </actions>
3034 </object>
3035
3036 <object type="button">
3037 <highlight color="%highlight_color%" />
3038 <condition var1="tw_show_dumlock" var2="1" />
3039 <placement x="%col1_x%" y="%row2_y%" />
3040 <font resource="font" color="%button_text_color%" />
3041 <text>Install HTC Dumlock</text>
3042 <image resource="main_button" />
3043 <actions>
3044 <action function="set">tw_back=htcdumlock</action>
3045 <action function="set">tw_action=installhtcdumlock</action>
3046 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3047 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3048 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3049 <action function="set">tw_slider_text=Swipe to Confirm</action>
3050 <action function="page">confirm_action</action>
3051 </actions>
3052 </object>
3053
3054 <object type="action">
3055 <touch key="home" />
3056 <action function="page">main</action>
3057 </object>
3058
3059 <object type="action">
3060 <touch key="back" />
3061 <action function="page">advanced</action>
3062 </object>
3063
3064 <object type="template" name="footer" />
3065 </page>
3066
3067 <page name="lock">
3068 <background color="#000000A0" />
3069
3070 <object type="image">
3071 <image resource="unlock-icon" />
3072 <placement x="%lock_x%" y="%lock_y%" />
3073 </object>
3074
3075 <object type="slider">
3076 <placement x="%slider_x%" y="%slider_y%" />
3077 <resource base="slider" used="slider-used" touch="slider-touch" />
3078 <action function="overlay"></action>
3079 </object>
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3084 <text>Swipe to Unlock</text>
3085 </object>
3086 </page>
3087
3088 <page name="filemanagerlist">
3089 <object type="template" name="header" />
3090
3091 <object type="text" color="%text_color%">
3092 <font resource="font" />
3093 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3094 <text>File Manager: Select a File or Folder</text>
3095 </object>
3096
3097 <object type="fileselector">
3098 <highlight color="%fileselector_highlight_color%" />
3099 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3100 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3101 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3102 <text>%tw_file_location1%</text>
3103 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3104 <sort name="tw_gui_sort_order" />
3105 <icon folder="folder_icon" file="file_icon" />
3106 <background color="%fileselector_background%" />
3107 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3108 <folders="1" files="1" />
3109 <path name="tw_file_location1" default="/" />
3110 <data name="tw_filename1" />
3111 <selection name="tw_selection1" />
3112 </object>
3113
3114 <object type="template" name="sort_options" />
3115
3116 <object type="action">
3117 <actions>
3118 <action function="set">tw_fm_type=File</action>
3119 <action function="set">tw_fm_isfolder=0</action>
3120 </actions>
3121 </object>
3122
3123 <object type="action">
3124 <touch key="home" />
3125 <action function="page">main</action>
3126 </object>
3127
3128 <object type="action">
3129 <touch key="back" />
3130 <action function="page">advanced</action>
3131 </object>
3132
3133 <object type="action">
3134 <condition var1="tw_filename1" op="modified" />
3135 <actions>
3136 <action function="page">filemanageroptions</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
3141 <highlight color="%highlight_color%" />
3142 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>Select</text>
3145 <image resource="medium_button" />
3146 <actions>
3147 <action function="set">tw_filename1=tw_file_location1</action>
3148 <action function="set">tw_fm_isfolder=1</action>
3149 <action function="set">tw_fm_type=Folder</action>
3150 <action function="page">filemanageroptions</action>
3151 </actions>
3152 </object>
3153
3154 <object type="template" name="footer" />
3155 </page>
3156
3157 <page name="filemanageroptions">
3158 <object type="template" name="header" />
3159
3160 <object type="text" color="%text_color%">
3161 <font resource="font" />
3162 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3163 <text>%tw_fm_type% Selected:</text>
3164 </object>
3165
3166 <object type="text" color="%text_color%">
3167 <font resource="font" />
3168 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3169 <text>%tw_filename1%</text>
3170 </object>
3171
3172 <object type="button">
3173 <highlight color="%highlight_color%" />
3174 <condition var1="tw_fm_isfolder" var2="0" />
3175 <placement x="%col1_x%" y="%row2_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Copy File</text>
3178 <image resource="main_button" />
3179 <actions>
3180 <action function="set">tw_filemanager_command=cp</action>
3181 <action function="set">tw_fm_text1=Copying</action>
3182 <action function="page">choosedestinationfolder</action>
3183 </actions>
3184 </object>
3185
3186 <object type="button">
3187 <highlight color="%highlight_color%" />
3188 <condition var1="tw_fm_isfolder" var2="1" />
3189 <placement x="%col1_x%" y="%row2_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Copy Folder</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3195 <action function="set">tw_fm_text1=Copying</action>
3196 <action function="page">choosedestinationfolder</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
3201 <highlight color="%highlight_color%" />
3202 <placement x="%col2_x%" y="%row2_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Move</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=mv</action>
3208 <action function="set">tw_fm_text1=Moving</action>
3209 <action function="page">choosedestinationfolder</action>
3210 </actions>
3211 </object>
3212
3213 <object type="button">
3214 <highlight color="%highlight_color%" />
3215 <placement x="%col1_x%" y="%row3_y%" />
3216 <font resource="font" color="%button_text_color%" />
3217 <text>chmod 755</text>
3218 <image resource="main_button" />
3219 <actions>
3220 <action function="set">tw_filemanager_command=chmod 755</action>
3221 <action function="set">tw_fm_text1=chmod 755</action>
3222 <action function="set">tw_fm_text2=</action>
3223 <action function="set">tw_fm_text3=</action>
3224 <action function="set">tw_include_text3=0</action>
3225 <action function="set">tw_back=filemanageroptions</action>
3226 <action function="page">filemanagerconfirm</action>
3227 </actions>
3228 </object>
3229
3230 <object type="button">
3231 <highlight color="%highlight_color%" />
3232 <placement x="%col2_x%" y="%row3_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text>chmod</text>
3235 <image resource="main_button" />
3236 <actions>
3237 <action function="set">tw_filemanager_rename=0000</action>
3238 <action function="set">tw_fm_text2=</action>
3239 <action function="set">tw_fm_text3=</action>
3240 <action function="set">tw_include_text3=0</action>
3241 <action function="set">tw_back=filemanageroptions</action>
3242 <action function="page">filemanagerchmod</action>
3243 </actions>
3244 </object>
3245
3246 <object type="button">
3247 <highlight color="%highlight_color%" />
3248 <placement x="%col1_x%" y="%row4_y%" />
3249 <font resource="font" color="%button_text_color%" />
3250 <text>Delete</text>
3251 <image resource="main_button" />
3252 <actions>
3253 <action function="set">tw_filemanager_command=rm -rf</action>
3254 <action function="set">tw_fm_text1=Deleting</action>
3255 <action function="set">tw_fm_text2=</action>
3256 <action function="set">tw_fm_text3=</action>
3257 <action function="set">tw_include_text3=0</action>
3258 <action function="set">tw_back=filemanageroptions</action>
3259 <action function="page">filemanagerconfirm</action>
3260 </actions>
3261 </object>
3262
3263 <object type="button">
3264 <highlight color="%highlight_color%" />
3265 <condition var1="tw_fm_isfolder" var2="0" />
3266 <placement x="%col2_x%" y="%row4_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>Rename File</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_filemanager_rename=tw_selection1</action>
3272 <action function="set">tw_fm_text1=Renaming</action>
3273 <action function="set">tw_filemanager_command=mv</action>
3274 <action function="page">filemanagerrenamefile</action>
3275 </actions>
3276 </object>
3277
3278 <object type="button">
3279 <highlight color="%highlight_color%" />
3280 <condition var1="tw_fm_isfolder" var2="1" />
3281 <placement x="%col2_x%" y="%row4_y%" />
3282 <font resource="font" color="%button_text_color%" />
3283 <text>Rename Folder</text>
3284 <image resource="main_button" />
3285 <actions>
3286 <action function="set">tw_filemanager_rename=tw_selection1</action>
3287 <action function="set">tw_fm_text1=Renaming</action>
3288 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3289 <action function="page">filemanagerrenamefolder</action>
3290 </actions>
3291 </object>
3292
3293 <object type="action">
3294 <touch key="home" />
3295 <action function="page">main</action>
3296 </object>
3297
3298 <object type="action">
3299 <touch key="back" />
3300 <action function="page">filemanagerlist</action>
3301 </object>
3302
3303 <object type="template" name="footer" />
3304 </page>
3305
3306 <page name="choosedestinationfolder">
3307 <object type="template" name="header" />
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3312 <text>Browse to Destination Folder & Press Select</text>
3313 </object>
3314
3315 <object type="fileselector">
3316 <highlight color="%fileselector_highlight_color%" />
3317 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3318 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3319 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3320 <text>%tw_file_location2%</text>
3321 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3322 <sort name="tw_gui_sort_order" />
3323 <icon folder="folder_icon" file="file_icon" />
3324 <background color="%fileselector_background%" />
3325 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3326 <filter folders="1" files="0" />
3327 <path name="tw_file_location2" default="/" />
3328 <data name="tw_filename2" />
3329 <selection name="tw_selection2" />
3330 </object>
3331
3332 <object type="template" name="sort_options" />
3333
3334 <object type="action">
3335 <touch key="home" />
3336 <action function="page">main</action>
3337 </object>
3338
3339 <object type="action">
3340 <touch key="back" />
3341 <action function="page">filemanageroptions</action>
3342 </object>
3343
3344 <object type="button">
3345 <highlight color="%highlight_color%" />
3346 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3347 <font resource="font" color="%button_text_color%" />
3348 <text>Select</text>
3349 <image resource="medium_button" />
3350 <actions>
3351 <action function="set">tw_fm_text2=to</action>
3352 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3353 <action function="set">tw_include_text3=1</action>
3354 <action function="set">tw_back=filemanageroptions</action>
3355 <action function="page">filemanagerconfirm</action>
3356 </actions>
3357 </object>
3358
3359 <object type="template" name="footer" />
3360 </page>
3361
3362 <page name="filemanagerrenamefile">
3363 <object type="template" name="header" />
3364
3365 <object type="text" color="%text_color%">
3366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3367 <font resource="font" />
3368 <text>Please Enter a New %tw_fm_type% Name</text>
3369 </object>
3370
3371 <object type="input">
3372 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3373 <background color="%input_background_color%" />
3374 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3375 <font resource="font" color="%text_color%" />
3376 <text>%tw_filemanager_rename%</text>
3377 <data name="tw_filemanager_rename" />
3378 <restrict minlen="1" maxlen="128" />
3379 <actions>
3380 <action function="set">tw_fm_text2=to</action>
3381 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3382 <action function="set">tw_include_text3=1</action>
3383 <action function="set">tw_back=filemanageroptions</action>
3384 <action function="page">filemanagerconfirm</action>
3385 </actions>
3386 </object>
3387
3388 <object type="button">
3389 <highlight color="%highlight_color%" />
3390 <placement x="%col_center_x%" y="%row2_y%" />
3391 <font resource="font" color="%button_text_color%" />
3392 <text>Cancel</text>
3393 <image resource="main_button" />
3394 <action function="page">filemanageroptions</action>
3395 </object>
3396
3397 <object type="template" name="keyboardtemplate" />
3398
3399 <object type="action">
3400 <touch key="home" />
3401 <action function="page">main</action>
3402 </object>
3403
3404 <object type="action">
3405 <touch key="back" />
3406 <action function="page">filemanageroptions</action>
3407 </object>
3408
3409 <object type="template" name="footer" />
3410 </page>
3411
3412 <page name="filemanagerrenamefolder">
3413 <object type="template" name="header" />
3414
3415 <object type="text" color="%text_color%">
3416 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3417 <font resource="font" />
3418 <text>Please Enter a New %tw_fm_type% Name</text>
3419 </object>
3420
3421 <object type="input">
3422 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3423 <background color="%input_background_color%" />
3424 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3425 <font resource="font" color="%text_color%" />
3426 <text>%tw_filemanager_rename%</text>
3427 <data name="tw_filemanager_rename" />
3428 <restrict minlen="1" maxlen="128" />
3429 <actions>
3430 <action function="set">tw_fm_text2=to</action>
3431 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3432 <action function="set">tw_include_text3=1</action>
3433 <action function="set">tw_back=filemanageroptions</action>
3434 <action function="page">filemanagerconfirm</action>
3435 </actions>
3436 </object>
3437
3438 <object type="button">
3439 <highlight color="%highlight_color%" />
3440 <placement x="%col_center_x%" y="%row2_y%" />
3441 <font resource="font" color="%button_text_color%" />
3442 <text>Cancel</text>
3443 <image resource="main_button" />
3444 <action function="page">filemanageroptions</action>
3445 </object>
3446
3447 <object type="template" name="keyboardtemplate" />
3448
3449 <object type="action">
3450 <touch key="home" />
3451 <action function="page">main</action>
3452 </object>
3453
3454 <object type="action">
3455 <touch key="back" />
3456 <action function="page">filemanageroptions</action>
3457 </object>
3458
3459 <object type="template" name="footer" />
3460 </page>
3461
3462 <page name="filemanagerchmod">
3463 <object type="template" name="header" />
3464
3465 <object type="text" color="%text_color%">
3466 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3467 <font resource="font" />
3468 <text>Please Enter New Permissions</text>
3469 </object>
3470
3471 <object type="input">
3472 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3473 <background color="%input_background_color%" />
3474 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3475 <font resource="font" color="%text_color%" />
3476 <text>%tw_filemanager_rename%</text>
3477 <data name="tw_filemanager_rename" />
3478 <restrict minlen="3" maxlen="4" allow="0123456789" />
3479 <actions>
3480 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3481 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3482 <action function="set">tw_back=filemanageroptions</action>
3483 <action function="page">filemanagerconfirm</action>
3484 </actions>
3485 </object>
3486
3487 <object type="button">
3488 <highlight color="%highlight_color%" />
3489 <placement x="%col_center_x%" y="%row2_y%" />
3490 <font resource="font" color="%button_text_color%" />
3491 <text>Cancel</text>
3492 <image resource="main_button" />
3493 <action function="page">filemanageroptions</action>
3494 </object>
3495
3496 <object type="template" name="keyboardtemplate" />
3497
3498 <object type="action">
3499 <touch key="home" />
3500 <action function="page">main</action>
3501 </object>
3502
3503 <object type="action">
3504 <touch key="back" />
3505 <action function="page">filemanageroptions</action>
3506 </object>
3507
3508 <object type="template" name="footer" />
3509 </page>
3510
3511 <page name="filemanagerconfirm">
3512 <object type="template" name="header" />
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3517 <text>%tw_fm_text1%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3523 <text>%tw_filename1%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3529 <text>%tw_fm_text2%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3535 <text>%tw_fm_text3%</text>
3536 </object>
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3541 <text>Press back button to cancel.</text>
3542 </object>
3543
3544 <object type="slider">
3545 <placement x="%slider_x%" y="%slider_y%" />
3546 <resource base="slider" used="slider-used" touch="slider-touch" />
3547 <action function="page">filemanageracction</action>
3548 </object>
3549
3550 <object type="text" color="%text_color%">
3551 <font resource="font" />
3552 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3553 <text>Swipe to Confirm</text>
3554 </object>
3555
3556 <object type="action">
3557 <touch key="back" />
3558 <action function="page">%tw_back%</action>
3559 </object>
3560
3561 <object type="action">
3562 <touch key="home" />
3563 <action function="page">main</action>
3564 </object>
3565
3566 <object type="template" name="footer" />
3567 </page>
3568
3569 <page name="filemanageracction">
3570 <object type="template" name="header" />
3571
3572 <object type="text" color="%text_color%">
3573
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3576 <text>%tw_fm_text1%</text>
3577 </object>
3578
3579 <object type="template" name="action_page_console" />
3580
3581 <object type="template" name="progress_bar" />
3582
3583 <object type="action">
3584 <conditions>
3585 <condition var1="tw_operation_state" var2="1" />
3586 <condition var1="tw_operation_status" var2="0" />
3587 </conditions>
3588 <actions>
3589 <action function="set">tw_back=filemanagerlist</action>
3590 <action function="set">tw_complete_text1=File Operation Complete</action>
3591 <action function="page">action_complete</action>
3592 </actions>
3593 </object>
3594
3595 <object type="action">
3596 <conditions>
3597 <condition var1="tw_operation_state" var2="1" />
3598 <condition var1="tw_operation_status" op="!=" var2="0" />
3599 </conditions>
3600 <actions>
3601 <action function="set">tw_complete_text1=File Operation Complete</action>
3602 <action function="page">action_complete</action>
3603 </actions>
3604 </object>
3605
3606 <object type="action">
3607 <condition var1="tw_include_text3" var2="0" />
3608 <actions>
3609 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3610 </actions>
3611 </object>
3612
3613 <object type="action">
3614 <condition var1="tw_include_text3" var2="1" />
3615 <actions>
3616 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3617 </actions>
3618 </object>
3619 </page>
3620
3621 <page name="decrypt">
3622 <object type="template" name="header" />
3623
3624 <object type="text" color="%text_color%">
3625 <font resource="font" />
3626 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3627 <text>Please Enter Your Password</text>
3628 </object>
3629
3630 <object type="input">
3631 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3632 <background color="%input_background_color%" />
3633 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3634 <font resource="font" color="%text_color%" />
3635 <text>%tw_crypto_display%</text>
3636 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3637 <restrict minlen="1" maxlen="254" />
3638 <actions>
3639 <action function="page">trydecrypt</action>
3640 </actions>
3641 </object>
3642
3643 <object type="text" color="%text_fail_color%">
3644 <condition var1="tw_password_fail" var2="1" />
3645 <font resource="font" />
3646 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3647 <text>Password Failed, Please Try Again</text>
3648 </object>
3649
3650 <object type="button">
3651 <highlight color="%highlight_color%" />
3652 <placement x="%col_center_x%" y="%row2_y%" />
3653 <font resource="font" color="%button_text_color%" />
3654 <text>Cancel</text>
3655 <image resource="main_button" />
3656 <actions>
3657 <action function="set">tw_page_done=1</action>
3658 <action function="page">main</action>
3659 </actions>
3660 </object>
3661
3662 <object type="template" name="keyboardtemplate" />
3663
3664 <object type="template" name="footer" />
3665 </page>
3666
3667 <page name="trydecrypt">
3668 <object type="template" name="header" />
3669
3670 <object type="text" color="%text_color%">
3671 <font resource="font" />
3672 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3673 <text>Trying Decryption with Your Password</text>
3674 </object>
3675
3676 <object type="template" name="action_page_console" />
3677
3678 <object type="template" name="progress_bar" />
3679
3680 <object type="action">
3681 <action function="decrypt"></action>
3682 </object>
3683
3684 <object type="action">
3685 <conditions>
3686 <condition var1="tw_operation_state" var2="1" />
3687 <condition var1="tw_operation_status" op="!=" var2="0" />
3688 </conditions>
3689 <actions>
3690 <action function="set">tw_password_fail=1</action>
3691 <action function="page">decrypt</action>
3692 </actions>
3693 </object>
3694
3695 <object type="action">
3696 <conditions>
3697 <condition var1="tw_operation_state" var2="1" />
3698 <condition var1="tw_operation_status" op="=" var2="0" />
3699 </conditions>
3700 <actions>
3701 <action function="set">tw_page_done=1</action>
3702 <action function="page">main</action>
3703 </actions>
3704 </object>
3705 </page>
3706
3707 <page name="terminalfolder">
3708 <object type="template" name="header" />
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3713 <text>Browse to Starting Folder</text>
3714 </object>
3715
3716 <object type="fileselector">
3717 <highlight color="%fileselector_highlight_color%" />
3718 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3719 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3720 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3721 <text>%tw_terminal_location%</text>
3722 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3723 <sort name="tw_gui_sort_order" />
3724 <icon folder="folder_icon" file="file_icon" />
3725 <background color="%fileselector_background%" />
3726 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3727 <filter folders="1" files="0" />
3728 <path name="tw_terminal_location" default="/" />
3729 <data name="tw_terminal" />
3730 <selection name="tw_terminal_selection" />
3731 </object>
3732
3733 <object type="template" name="sort_options" />
3734
3735 <object type="action">
3736 <touch key="home" />
3737 <action function="page">main</action>
3738 </object>
3739
3740 <object type="action">
3741 <touch key="back" />
3742 <action function="page">advanced</action>
3743 </object>
3744
3745 <object type="button">
3746 <highlight color="%highlight_color%" />
3747 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3748 <font resource="font" color="%button_text_color%" />
3749 <text>Select</text>
3750 <image resource="medium_button" />
3751 <actions>
3752 <action function="page">terminalcommand</action>
3753 </actions>
3754 </object>
3755
3756 <object type="template" name="footer" />
3757 </page>
3758
3759 <page name="terminalcommand">
3760 <object type="template" name="header" />
3761
3762 <object type="console">
3763 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3764 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3765 <font resource="fixed" />
3766 </object>
3767
3768 <object type="text" color="%text_color%">
3769 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3770 <font resource="font" />
3771 <text>Starting Path: %tw_terminal_location%</text>
3772 </object>
3773
3774 <object type="input">
3775 <condition var1="tw_terminal_state" var2="0" />
3776 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3777 <background color="%input_background_color%" />
3778 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3779 <font resource="font" color="%text_color%" />
3780 <text>%tw_terminal_command%</text>
3781 <data name="tw_terminal_command" />
3782 <restrict minlen="1" />
3783 <action function="terminalcommand">%tw_terminal_command%</action>
3784 </object>
3785
3786 <object type="button">
3787 <highlight color="%highlight_color%" />
3788 <condition var1="tw_terminal_state" var2="1" />
3789 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3790 <font resource="font" color="%button_text_color%" />
3791 <text>KILL</text>
3792 <image resource="medium_button" />
3793 <action function="killterminal"></action>
3794 </object>
3795
3796 <object type="template" name="keyboardtemplate" />
3797
3798 <object type="action">
3799 <touch key="home" />
3800 <action function="page">main</action>
3801 </object>
3802
3803 <object type="action">
3804 <touch key="back" />
3805 <action function="page">terminalfolder</action>
3806 </object>
3807 </page>
3808
3809 <page name="sideload">
3810 <object type="template" name="header" />
3811
3812 <object type="text" color="%text_color%">
3813 <font resource="font" />
3814 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3815 <text>ADB Sideload</text>
3816 </object>
3817
3818 <object type="checkbox">
3819 <placement x="%col1_x%" y="%row2_text_y%" />
3820 <font resource="font" color="%text_color%" />
3821 <text>Wipe Dalvik Cache.</text>
3822 <data variable="tw_wipe_dalvik" />
3823 <image checked="checkbox_true" unchecked="checkbox_false" />
3824 </object>
3825
3826 <object type="checkbox">
3827 <placement x="%col1_x%" y="%row3_text_y%" />
3828 <font resource="font" color="%text_color%" />
3829 <text>Wipe Cache.</text>
3830 <data variable="tw_wipe_cache" />
3831 <image checked="checkbox_true" unchecked="checkbox_false" />
3832 </object>
3833
3834 <object type="slider">
3835 <placement x="%slider_x%" y="%slider_y%" />
3836 <resource base="slider" used="slider-used" touch="slider-touch" />
3837 <actions>
3838 <action function="set">tw_back=advanced</action>
3839 <action function="set">tw_action=adbsideload</action>
3840 <action function="set">tw_action_text1=ADB Sideload</action>
3841 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3842 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3843 <action function="set">tw_has_cancel=1</action>
3844 <action function="set">tw_show_reboot=1</action>
3845 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3846 <action function="page">action_page</action>
3847 </actions>
3848 </object>
3849
3850 <object type="text" color="%text_color%">
3851 <font resource="font" />
3852 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3853 <text>Swipe to Start Sideload</text>
3854 </object>
3855
3856 <object type="action">
3857 <touch key="home" />
3858 <action function="page">main</action>
3859 </object>
3860
3861 <object type="action">
3862 <touch key="back" />
3863 <action function="page">advanced</action>
3864 </object>
3865
3866 <object type="template" name="footer" />
3867 </page>
3868
3869 <page name="installsu">
3870 <object type="template" name="header" />
3871
3872 <object type="text" color="%text_color%">
3873 <font resource="font" />
3874 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3875 <text>Install SuperSU?</text>
3876 </object>
3877
3878 <object type="text" color="%text_color%">
3879 <font resource="font" />
3880 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3881 <text>Your device does not appear to be rooted.</text>
3882 </object>
3883
3884 <object type="text" color="%text_color%">
3885 <font resource="font" />
3886 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3887 <text>Install SuperSU now?</text>
3888 </object>
3889
3890 <object type="text" color="%text_color%">
3891 <font resource="font" />
3892 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3893 <text>This will root your device.</text>
3894 </object>
3895
3896 <object type="button">
3897 <highlight color="%highlight_color%" />
3898 <placement x="%col_center_x%" y="%row3_y%" />
3899 <font resource="font" color="%button_text_color%" />
3900 <text>Do Not Install</text>
3901 <image resource="main_button" />
3902 <action function="set">tw_page_done=1</action>
3903 </object>
3904
3905 <object type="slider">
3906 <placement x="%slider_x%" y="%slider_y%" />
3907 <resource base="slider" used="slider-used" touch="slider-touch" />
3908 <actions>
3909 <action function="set">tw_action=installsu</action>
3910 <action function="set">tw_action_text1=Installing SuperSU</action>
3911 <action function="set">tw_action_text2=</action>
3912 <action function="page">singleaction_page</action>
3913 </actions>
3914 </object>
3915
3916 <object type="text" color="%text_color%">
3917 <font resource="font" />
3918 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3919 <text>Swipe to Install</text>
3920 </object>
3921 </page>
Dees_Troya13d74f2013-03-24 08:54:55 -05003922 </pages>
3923</recovery>