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