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