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