blob: a131e896918945ba303407da6c9b2d9139a111b7 [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" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040070 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040071 <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
Dees_Troycfb63ae2012-09-19 14:30:17 -0400912 <page name="action_page_cancel">
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_action_text1%</text>
919 </object>
920
921 <object type="text" color="%text_color%">
922 <font resource="font" />
923 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
924 <text>%tw_action_text2%</text>
925 </object>
926
927 <object type="button">
928 <placement x="%col_center_x%" y="%row4_y%" />
929 <font resource="font" color="%button_text_color%" />
930 <text>Cancel</text>
931 <image resource="main_button" />
932 <action function="%tw_cancel_function%"></action>
933 </object>
934
935 <object type="template" name="action_page_console" />
936
937 <object type="template" name="progress_bar" />
938
939 <object type="action">
940 <conditions>
941 <condition var1="tw_operation_state" var2="1" />
942 <condition var1="tw_operation_status" var2="0" />
943 </conditions>
944 <actions>
945 <action function="page">action_complete</action>
946 </actions>
947 </object>
948
949 <object type="action">
950 <conditions>
951 <condition var1="tw_operation_state" var2="1" />
952 <condition var1="tw_operation_status" op="!=" var2="0" />
953 </conditions>
954 <actions>
955 <action function="page">action_complete</action>
956 </actions>
957 </object>
958
959 <object type="action">
960 <condition var1="tw_has_action2" var2="0" />
961 <actions>
962 <action function="%tw_action%">%tw_action_param%</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="1" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 <action function="%tw_action2%">%tw_action2_param%</action>
971 </actions>
972 </object>
973 </page>
974
Dees_Troy51a0e822012-09-05 15:24:24 -0400975 <page name="action_complete">
976 <object type="template" name="header" />
977
978 <object type="text" color="%text_color%">
979 <font resource="font" />
980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
981 <text>%tw_complete_text1%</text>
982 </object>
983
984 <object type="text" color="%text_fail_color%">
985 <condition var1="tw_operation_status" op="!=" var2="0" />
986 <font resource="font" />
987 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
988 <text>Failed</text>
989 </object>
990
991 <object type="text" color="%text_success_color%">
992 <condition var1="tw_operation_status" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Successful</text>
996 </object>
997
998 <object type="template" name="action_page_console" />
999
1000 <object type="button">
1001 <placement x="%col_center_x%" y="%row4_y%" />
1002 <font resource="font" color="%button_text_color%" />
1003 <text>Back</text>
1004 <image resource="main_button" />
1005 <actions>
1006 <action function="set">tw_clear_destination=%tw_back%</action>
1007 <action function="page">clear_vars</action>
1008 </actions>
1009 </object>
1010
1011 <object type="action">
1012 <touch key="home" />
1013 <actions>
1014 <action function="set">tw_clear_destination=main2</action>
1015 <action function="page">clear_vars</action>
1016 </actions>
1017 </object>
1018
1019 <object type="action">
1020 <touch key="back" />
1021 <actions>
1022 <action function="set">tw_clear_destination=%tw_back%</action>
1023 <action function="page">clear_vars</action>
1024 </actions>
1025 </object>
1026 </page>
1027
1028 <page name="filecheck">
1029 <object type="action">
1030 <action function="fileexists">%tw_filecheck%</action>
1031 </object>
1032
1033 <object type="action">
1034 <conditions>
1035 <condition var1="tw_operation_state" var2="1" />
1036 <condition var1="tw_operation_status" var2="0" />
1037 </conditions>
1038 <actions>
1039 <action function="set">tw_fileexists=1</action>
1040 <action function="page">%tw_existpage%</action>
1041 </actions>
1042 </object>
1043
1044 <object type="action">
1045 <conditions>
1046 <condition var1="tw_operation_state" var2="1" />
1047 <condition var1="tw_operation_status" var2="1" />
1048 </conditions>
1049 <actions>
1050 <action function="set">tw_fileexists=0</action>
1051 <action function="page">%tw_notexistpage%</action>
1052 </actions>
1053 </object>
1054 </page>
1055
1056 <page name="rebootcheck">
1057 <object type="action">
1058 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1059 <action function="reboot">%tw_action_param%</action>
1060 </object>
1061
1062 <object type="action">
1063 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1064 <action function="page">confirm_action</action>
1065 </object>
1066 </page>
1067
1068 <page name="wipe">
1069 <object type="template" name="header" />
1070
1071 <object type="text" color="%text_color%">
1072 <font resource="font" />
1073 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1074 <text>Wipe Menu</text>
1075 </object>
1076
1077 <object type="button">
1078 <placement x="%col1_x%" y="%row1_y%" />
1079 <font resource="font" color="%button_text_color%" />
1080 <text>Cache</text>
1081 <image resource="main_button" />
1082 <actions>
1083 <action function="set">tw_back=wipe</action>
1084 <action function="set">tw_action=wipe</action>
1085 <action function="set">tw_action_param=/cache</action>
1086 <action function="set">tw_text1=Wipe Cache?</action>
1087 <action function="set">tw_action_text1=Wiping Cache...</action>
1088 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1089 <action function="set">tw_slider_text=Swipe to Wipe</action>
1090 <action function="page">confirm_action</action>
1091 </actions>
1092 </object>
1093
1094 <object type="button">
1095 <placement x="%col2_x%" y="%row1_y%" />
1096 <font resource="font" color="%button_text_color%" />
1097 <text>Dalvik Cache</text>
1098 <image resource="main_button" />
1099 <actions>
1100 <action function="set">tw_back=wipe</action>
1101 <action function="set">tw_action=wipe</action>
1102 <action function="set">tw_action_param=dalvik</action>
1103 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1104 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1105 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1106 <action function="set">tw_slider_text=Swipe to Wipe</action>
1107 <action function="page">confirm_action</action>
1108 </actions>
1109 </object>
1110
1111 <object type="button">
1112 <placement x="%col1_x%" y="%row2_y%" />
1113 <font resource="font" color="%button_text_color%" />
1114 <text>Factory Reset</text>
1115 <image resource="main_button" />
1116 <actions>
1117 <action function="set">tw_back=wipe</action>
1118 <action function="set">tw_action=wipe</action>
1119 <action function="set">tw_action_param=data</action>
1120 <action function="set">tw_text1=Factory Reset?</action>
1121 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1122 <action function="set">tw_action_text1=Factory Reset...</action>
1123 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1124 <action function="set">tw_slider_text=Swipe to Wipe</action>
1125 <action function="page">confirm_action</action>
1126 </actions>
1127 </object>
1128
1129 <object type="button">
1130 <placement x="%col2_x%" y="%row2_y%" />
1131 <font resource="font" color="%button_text_color%" />
1132 <text>System</text>
1133 <image resource="main_button" />
1134 <actions>
1135 <action function="set">tw_back=wipe</action>
1136 <action function="set">tw_action=wipe</action>
1137 <action function="set">tw_action_param=/system</action>
1138 <action function="set">tw_text1=Wipe System?</action>
1139 <action function="set">tw_text2=This will wipe your ROM</action>
1140 <action function="set">tw_action_text1=Wiping System...</action>
1141 <action function="set">tw_complete_text1=System Wipe Complete</action>
1142 <action function="set">tw_slider_text=Swipe to Wipe</action>
1143 <action function="page">confirm_action</action>
1144 </actions>
1145 </object>
1146
1147 <object type="button">
1148 <condition var1="tw_has_external" var2="1" />
1149 <placement x="%col1_x%" y="%row3_y%" />
1150 <font resource="font" color="%button_text_color%" />
1151 <text>External Storage</text>
1152 <image resource="main_button" />
1153 <actions>
1154 <action function="set">tw_back=wipe</action>
1155 <action function="set">tw_action=wipe</action>
1156 <action function="set">tw_action_param=EXTERNAL</action>
1157 <action function="set">tw_has_action2=1</action>
1158 <action function="set">tw_action2=set</action>
1159 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1160 <action function="set">tw_text1=Wipe External Storage (SD card)?</action>
1161 <action function="set">tw_action_text1=Wiping External Storage...</action>
1162 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1163 <action function="set">tw_slider_text=Swipe to Wipe</action>
1164 <action function="page">confirm_action</action>
1165 </actions>
1166 </object>
1167
1168 <object type="button">
1169 <condition var1="tw_has_internal" var2="1" />
1170 <placement x="%col2_x%" y="%row3_y%" />
1171 <font resource="font" color="%button_text_color%" />
1172 <text>Internal Storage</text>
1173 <image resource="main_button" />
1174 <actions>
1175 <action function="set">tw_back=wipe</action>
1176 <action function="set">tw_action=wipe</action>
1177 <action function="set">tw_action_param=INTERNAL</action>
1178 <action function="set">tw_has_action2=1</action>
1179 <action function="set">tw_action2=set</action>
1180 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1181 <action function="set">tw_text1=Wipe Internal Storage?</action>
1182 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1183 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1184 <action function="set">tw_slider_text=Swipe to Wipe</action>
1185 <action function="page">confirm_action</action>
1186 </actions>
1187 </object>
1188
1189 <object type="button">
1190 <conditions>
1191 <condition var1="tw_has_internal" var2="1" />
1192 <condition var1="tw_has_data_media" var2="1" />
1193 </conditions>
1194 <placement x="%col1_x%" y="%row4_y%" />
1195 <font resource="font" color="%button_text_color%" />
1196 <text>Format Data</text>
1197 <image resource="main_button" />
1198 <actions>
1199 <action function="set">tw_back=wipe</action>
1200 <action function="set">tw_action=wipe</action>
1201 <action function="set">tw_action_param=DATAMEDIA</action>
1202 <action function="set">tw_has_action2=1</action>
1203 <action function="set">tw_action2=set</action>
1204 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1205 <action function="set">tw_text1=Format Data? (This wipes all media</action>
1206 <action function="set">tw_text2=including backups & removes encryption)</action>
1207 <action function="set">tw_action_text1=Formatting Data...</action>
1208 <action function="set">tw_complete_text1=Data Format Complete</action>
1209 <action function="set">tw_slider_text=Swipe to Format</action>
1210 <action function="page">confirm_action</action>
1211 </actions>
1212 </object>
1213
1214 <object type="button">
1215 <condition var1="tw_has_sdext_partition" var2="1" />
1216 <placement x="%col2_x%" y="%row4_y%" />
1217 <font resource="font" color="%button_text_color%" />
1218 <text>SD Ext</text>
1219 <image resource="main_button" />
1220 <actions>
1221 <action function="set">tw_back=wipe</action>
1222 <action function="set">tw_action=wipe</action>
1223 <action function="set">tw_action_param=/sd-ext</action>
1224 <action function="set">tw_text1=Wipe SD-Ext?</action>
1225 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1226 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1227 <action function="set">tw_slider_text=Swipe to Wipe</action>
1228 <action function="page">confirm_action</action>
1229 </actions>
1230 </object>
1231
1232 <object type="action">
1233 <touch key="home" />
1234 <action function="page">main</action>
1235 </object>
1236
1237 <object type="action">
1238 <touch key="back" />
1239 <action function="page">main</action>
1240 </object>
1241
1242 <object type="template" name="footer" />
1243 </page>
1244
1245 <page name="backup">
1246 <object type="template" name="header" />
1247
1248 <object type="text" color="%text_color%">
1249 <font resource="font" />
1250 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1251 <text>Backup Name: %tw_backup_name%</text>
1252 </object>
1253
1254 <object type="text" color="%text_color%">
1255 <placement x="%col1_x%" y="%row1_text_y%" />
1256 <font resource="font" />
1257 <text>Backup Device</text>
1258 </object>
1259
1260 <object type="slider">
1261 <placement x="%slider_x%" y="slider_y" />
1262 <resource base="slider" used="slider-used" touch="slider-touch" />
1263 <action function="page">backup_run</action>
1264 </object>
1265
1266 <object type="text" color="%text_color%">
1267 <font resource="font" />
1268 <placement x="%center_x%" y="slider_text_y" placement="5" />
1269 <text>Swipe to Back Up</text>
1270 </object>
1271
1272 <object type="button">
1273 <placement x="%col2_x%" y="%row1_y%" />
1274 <font resource="font" color="%button_text_color%" />
1275 <text>Refresh Sizes</text>
1276 <image resource="main_button" />
1277 <action function="refreshsizes"></action>
1278 </object>
1279
1280 <object type="button">
1281 <placement x="%col2_x%" y="%backup_name_y%" />
1282 <font resource="font" color="%button_text_color%" />
1283 <text>Set Backup Name</text>
1284 <image resource="main_button" />
1285 <actions>
1286 <action function="set">tw_fileexists=0</action>
1287 <action function="page">backupname1</action>
1288 </actions>
1289 </object>
1290
1291 <object type="checkbox">
1292 <placement x="%col1_x%" y="%row2_text_y%" />
1293 <font resource="font" color="%text_color%" />
1294 <text>System (%tw_backup_system_size% MB)</text>
1295 <data variable="tw_backup_system" />
1296 <image checked="checkbox_true" unchecked="checkbox_false" />
1297 </object>
1298
1299 <object type="checkbox">
1300 <placement x="%col1_x%" y="%row3_text_y%" />
1301 <font resource="font" color="%text_color%" />
1302 <text>Data (%tw_backup_data_size% MB)</text>
1303 <data variable="tw_backup_data" />
1304 <image checked="checkbox_true" unchecked="checkbox_false" />
1305 </object>
1306
1307 <object type="checkbox">
1308 <condition var1="tw_has_boot_partition" var2="1" />
1309 <placement x="%col1_x%" y="%row4_text_y%" />
1310 <font resource="font" color="%text_color%" />
1311 <text>Boot (%tw_backup_boot_size% MB)</text>
1312 <data variable="tw_backup_boot" />
1313 <image checked="checkbox_true" unchecked="checkbox_false" />
1314 </object>
1315
1316 <object type="checkbox">
1317 <condition var1="tw_has_recovery_partition" var2="1" />
1318 <placement x="%col1_x%" y="%row5_text_y%" />
1319 <font resource="font" color="%text_color%" />
1320 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1321 <data variable="tw_backup_recovery" />
1322 <image checked="checkbox_true" unchecked="checkbox_false" />
1323 </object>
1324
1325 <object type="checkbox">
1326 <placement x="%col1_x%" y="%row6_text_y%" />
1327 <font resource="font" color="%text_color%" />
1328 <text>Cache (%tw_backup_cache_size% MB)</text>
1329 <data variable="tw_backup_cache" />
1330 <image checked="checkbox_true" unchecked="checkbox_false" />
1331 </object>
1332
1333 <object type="checkbox">
1334 <condition var1="tw_has_android_secure" var2="1" />
1335 <placement x="%col1_x%" y="%row7_text_y%" />
1336 <font resource="font" color="%text_color%" />
1337 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1338 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1339 <data variable="tw_backup_andsec" />
1340 <image checked="checkbox_true" unchecked="checkbox_false" />
1341 </object>
1342
1343 <object type="checkbox">
1344 <condition var1="tw_has_sdext_partition" var2="1" />
1345 <placement x="%col1_x%" y="%row8_text_y%" />
1346 <font resource="font" color="%text_color%" />
1347 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1348 <condition var1="fileexists" var2="/sd-ext" />
1349 <data variable="tw_backup_sdext" />
1350 <image checked="checkbox_true" unchecked="checkbox_false" />
1351 </object>
1352
1353 <object type="checkbox">
1354 <condition var1="tw_sp1_name" op=">" var2="" />
1355 <placement x="%col1_x%" y="%row10_text_y%" />
1356 <font resource="font" color="%text_color%" />
1357 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1358 <data variable="tw_backup_sp1" />
1359 <image checked="checkbox_true" unchecked="checkbox_false" />
1360 </object>
1361
1362 <object type="checkbox">
1363 <condition var1="tw_sp2_name" op=">" var2="" />
1364 <placement x="%col1_x%" y="%row11_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1367 <data variable="tw_backup_sp2" />
1368 <image checked="checkbox_true" unchecked="checkbox_false" />
1369 </object>
1370
1371 <object type="checkbox">
1372 <condition var1="tw_sp3_name" op=">" var2="" />
1373 <placement x="%col1_x%" y="%row12_text_y%" />
1374 <font resource="font" color="%text_color%" />
1375 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1376 <data variable="tw_backup_sp3" />
1377 <image checked="checkbox_true" unchecked="checkbox_false" />
1378 </object>
1379
1380 <object type="text" color="%text_color%">
1381 <font resource="font" />
1382 <placement x="%col1_x%" y="%row14_text_y%" />
1383 <text>Free Space: %tw_storage_free_size% MB</text>
1384 </object>
1385
1386 <object type="checkbox">
1387 <placement x="%col1_x%" y="%row15_text_y%" />
1388 <font resource="font" color="%text_color%" />
1389 <text>Enable Compression (Requires more time)</text>
1390 <data variable="tw_use_compression" />
1391 <image checked="checkbox_true" unchecked="checkbox_false" />
1392 </object>
1393
1394 <object type="checkbox">
1395 <placement x="%col1_x%" y="%row16_text_y%" />
1396 <font resource="font" color="%text_color%" />
1397 <text>Skip MD5 generation on backups</text>
1398 <data variable="tw_skip_md5_generate" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="button">
1403 <placement x="%col1_x%" y="%row17_text_y%" />
1404 <font resource="font" color="%text_color%" />
1405 <conditions>
1406 <condition var1="tw_has_dual_storage" var2="1" />
1407 <condition var1="tw_use_external_storage" var2="1" />
1408 </conditions>
1409 <text>Use external SD</text>
1410 <image resource="radio_true" />
1411 <action function="togglestorage">external</action>
1412 </object>
1413
1414 <object type="button">
1415 <placement x="%col1_x%" y="%row17_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <conditions>
1418 <condition var1="tw_has_dual_storage" var2="1" />
1419 <condition var1="tw_use_external_storage" var2="0" />
1420 </conditions>
1421 <text>Use external SD</text>
1422 <image resource="radio_false" />
1423 <action function="togglestorage">external</action>
1424 </object>
1425
1426 <object type="button">
1427 <placement x="%col2_x%" y="%row17_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <conditions>
1430 <condition var1="tw_has_dual_storage" var2="1" />
1431 <condition var1="tw_use_external_storage" var2="1" />
1432 </conditions>
1433 <text>Use internal storage</text>
1434 <image resource="radio_false" />
1435 <action function="togglestorage">internal</action>
1436 </object>
1437
1438 <object type="button">
1439 <placement x="%col2_x%" y="%row17_text_y%" />
1440 <font resource="font" color="%text_color%" />
1441 <conditions>
1442 <condition var1="tw_has_dual_storage" var2="1" />
1443 <condition var1="tw_use_external_storage" var2="0" />
1444 </conditions>
1445 <text>Use internal storage</text>
1446 <image resource="radio_true" />
1447 <action function="togglestorage">internal</action>
1448 </object>
1449
1450 <object type="action">
1451 <touch key="home" />
1452 <action function="page">main</action>
1453 </object>
1454
1455 <object type="action">
1456 <touch key="back" />
1457 <action function="page">main</action>
1458 </object>
1459
1460 <object type="template" name="footer" />
1461 </page>
1462
1463 <page name="backupname1">
1464 <object type="action">
1465 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1466 <action function="set">tw_backup_name=</function>
1467 </object>
1468
1469 <object type="action">
1470 <action function="page">backupname2</function>
1471 </object>
1472 </page>
1473
1474 <page name="backupname2">
1475 <object type="template" name="header" />
1476
1477 <object type="text" color="%text_color%">
1478 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1479 <font resource="font" />
1480 <text>Please Enter a Backup Name</text>
1481 </object>
1482
1483 <object type="input">
1484 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1485 <background color="%input_background_color%" />
1486 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1487 <font resource="font" color="%text_color%" />
1488 <text>%tw_backup_name%</text>
1489 <data name="tw_backup_name" />
1490 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1491 <actions>
1492 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1493 <action function="set">tw_existpage=backupname2</action>
1494 <action function="set">tw_notexistpage=backup</action>
1495 <action function="page">filecheck</action>
1496 </actions>
1497 </object>
1498
1499 <object type="text" color="%text_fail_color%">
1500 <condition var1="tw_fileexists" var2="1" />
1501 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1502 <font resource="font" />
1503 <text>A backup with that name already exists!</text>
1504 </object>
1505
1506 <object type="button">
1507 <placement x="%col_center_x%" y="%row2_y%" />
1508 <font resource="font" color="%button_text_color%" />
1509 <text>Cancel</text>
1510 <image resource="main_button" />
1511 <actions>
1512 <action function="set">tw_backup_name=(Current Date)</action>
1513 <action function="page">backup</action>
1514 </actions>
1515 </object>
1516
1517 <object type="template" name="keyboardtemplate" />
1518
1519 <object type="action">
1520 <touch key="home" />
1521 <actions>
1522 <action function="set">tw_backup_name=(Current Date)</action>
1523 <action function="page">main</action>
1524 </actions>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="back" />
1529 <actions>
1530 <action function="set">tw_backup_name=(Current Date)</action>
1531 <action function="page">backup</action>
1532 </actions>
1533 </object>
1534
1535 <object type="template" name="footer" />
1536 </page>
1537
1538 <page name="backup_run">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1544 <text>%tw_operation% %tw_partition%</text>
1545 </object>
1546
1547 <object type="template" name="action_page_console" />
1548
1549 <object type="template" name="progress_bar" />
1550
1551 <object type="action">
1552 <action function="nandroid">backup</action>
1553 </object>
1554
1555 <object type="action">
1556 <condition var1="tw_operation_state" var2="1" />
1557 <actions>
1558 <action function="set">tw_back=backup</action>
1559 <action function="set">tw_complete_text1=Backup Complete</action>
1560 <action function="page">action_complete</action>
1561 </actions>
1562 </object>
1563 </page>
1564
1565 <page name="restore">
1566 <object type="template" name="header" />
1567
1568 <object type="button">
1569 <placement x="%col1_x%" y="%row1_header_y%" />
1570 <font resource="font" color="%text_color%" />
1571 <conditions>
1572 <condition var1="tw_has_dual_storage" var2="1" />
1573 <condition var1="tw_use_external_storage" var2="1" />
1574 </conditions>
1575 <text>Use external SD</text>
1576 <image resource="radio_true" />
1577 <action function="togglestorage">external</action>
1578 </object>
1579
1580 <object type="button">
1581 <placement x="%col1_x%" y="%row1_header_y%" />
1582 <font resource="font" color="%text_color%" />
1583 <conditions>
1584 <condition var1="tw_has_dual_storage" var2="1" />
1585 <condition var1="tw_use_external_storage" var2="0" />
1586 </conditions>
1587 <text>Use external SD</text>
1588 <image resource="radio_false" />
1589 <action function="togglestorage">external</action>
1590 </object>
1591
1592 <object type="button">
1593 <placement x="%col2_x%" y="%row1_header_y%" />
1594 <font resource="font" color="%text_color%" />
1595 <conditions>
1596 <condition var1="tw_has_dual_storage" var2="1" />
1597 <condition var1="tw_use_external_storage" var2="1" />
1598 </conditions>
1599 <text>Use internal storage</text>
1600 <image resource="radio_false" />
1601 <action function="togglestorage">internal</action>
1602 </object>
1603 <object type="button">
1604 <placement x="%col2_x%" y="%row1_header_y%" />
1605 <font resource="font" color="%text_color%" />
1606 <conditions>
1607 <condition var1="tw_has_dual_storage" var2="1" />
1608 <condition var1="tw_use_external_storage" var2="0" />
1609 </conditions>
1610 <text>Use internal storage</text>
1611 <image resource="radio_true" />
1612 <action function="togglestorage">internal</action>
1613 </object>
1614
1615 <object type="fileselector">
1616 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1617 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1618 <text>Select Package to Restore:</text>
1619 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1620 <sort name="tw_gui_sort_order" />
1621 <icon folder="folder_icon" file="file_icon" />
1622 <background color="%fileselector_background%" />
1623 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
1624 <filter folders="1" files="0" nav="0" />
1625 <path name="tw_backups_folder" />
1626 <data name="tw_restore" default="" />
1627 <selection name="tw_restore_name" />
1628 </object>
1629
1630 <object type="template" name="sort_options" />
1631
1632 <object type="action">
1633 <condition var1="tw_restore" op="modified" />
1634 <actions>
1635 <action function="readBackup"></action>
1636 <action function="page">restore_select</action>
1637 </actions>
1638 </object>
1639
1640 <object type="action">
1641 <touch key="home" />
1642 <action function="page">main</action>
1643 </object>
1644
1645 <object type="action">
1646 <touch key="back" />
1647 <action function="page">main</action>
1648 </object>
1649
1650 <object type="template" name="footer" />
1651 </page>
1652
1653 <page name="restore_select">
1654 <object type="template" name="header" />
1655
1656 <object type="text">
1657 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1658 <font resource="font" color="%text_color%" />
1659 <text>Restoring: %tw_restore_name%</text>
1660 </object>
1661
1662 <object type="button">
1663 <placement x="%col2_x%" y="%row1_y%" />
1664 <font resource="font" color="%button_text_color%" />
1665 <text>Rename Backup</text>
1666 <image resource="main_button" />
1667 <actions>
1668 <action function="set">tw_backup_rename=</action>
1669 <action function="set">tw_fileexists=0</action>
1670 <action function="page">renamebackup</action>
1671 </actions>
1672 </object>
1673
1674 <object type="button">
1675 <placement x="%col2_x%" y="%row2_y%" />
1676 <font resource="font" color="%button_text_color%" />
1677 <text>Delete Backup</text>
1678 <image resource="main_button" />
1679 <actions>
1680 <action function="set">tw_back=restore</action>
1681 <action function="set">tw_action=cmd</action>
1682 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf %tw_restore_name%</action>
1683 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1684 <action function="set">tw_text2=This cannot be undone!</action>
1685 <action function="set">tw_action_text1=Deleting Backup...</action>
1686 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1687 <action function="set">tw_slider_text=Swipe to Delete</action>
1688 <action function="page">confirm_action</action>
1689 </actions>
1690 </object>
1691 <object type="slider">
1692 <placement x="%slider_x%" y="%slider_y%" />
1693 <resource base="slider" used="slider-used" touch="slider-touch" />
1694 <action function="page">restore_run</action>
1695 </object>
1696
1697 <object type="text" color="%text_color%">
1698 <font resource="font" />
1699 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
1700 <text>Swipe to Restore</text>
1701 </object>
1702
1703 <object type="checkbox">
1704 <placement x="%col1_x%" y="%row2_text_y%" />
1705 <font resource="font" color="%text_color%" />
1706 <text>System</text>
1707 <condition var1="tw_restore_system" op=">=" var2="0" />
1708 <data variable="tw_restore_system" />
1709 <image checked="checkbox_true" unchecked="checkbox_false" />
1710 </object>
1711
1712 <object type="checkbox">
1713 <placement x="%col1_x%" y="%row3_text_y%" />
1714 <font resource="font" color="%text_color%" />
1715 <text>Data</text>
1716 <condition var1="tw_restore_data" op=">=" var2="0" />
1717 <data variable="tw_restore_data" />
1718 <image checked="checkbox_true" unchecked="checkbox_false" />
1719 </object>
1720
1721 <object type="checkbox">
1722 <placement x="%col1_x%" y="%row4_text_y%" />
1723 <font resource="font" color="%text_color%" />
1724 <text>Boot</text>
1725 <condition var1="tw_restore_boot" op=">=" var2="0" />
1726 <data variable="tw_restore_boot" />
1727 <image checked="checkbox_true" unchecked="checkbox_false" />
1728 </object>
1729
1730 <object type="checkbox">
1731 <placement x="%col1_x%" y="%row5_text_y%" />
1732 <font resource="font" color="%text_color%" />
1733 <text>Recovery</text>
1734 <condition var1="tw_restore_recovery" op=">=" var2="0" />
1735 <data variable="tw_restore_recovery" />
1736 <image checked="checkbox_true" unchecked="checkbox_false" />
1737 </object>
1738
1739 <object type="checkbox">
1740 <placement x="%col1_x%" y="%row6_text_y%" />
1741 <font resource="font" color="%text_color%" />
1742 <text>Cache</text>
1743 <condition var1="tw_restore_cache" op=">=" var2="0" />
1744 <data variable="tw_restore_cache" />
1745 <image checked="checkbox_true" unchecked="checkbox_false" />
1746 </object>
1747
1748 <object type="checkbox">
1749 <placement x="%col1_x%" y="%row7_text_y%" />
1750 <font resource="font" color="%text_color%" />
1751 <text>.android_secure</text>
1752 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1753 <data variable="tw_restore_andsec" />
1754 <image checked="checkbox_true" unchecked="checkbox_false" />
1755 </object>
1756
1757 <object type="checkbox">
1758 <placement x="%col1_x%" y="%row8_text_y%" />
1759 <font resource="font" color="%text_color%" />
1760 <text>sd-ext</text>
1761 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1762 <data variable="tw_restore_sdext" />
1763 <image checked="checkbox_true" unchecked="checkbox_false" />
1764 </object>
1765
1766 <object type="checkbox">
1767 <placement x="%col1_x%" y="%row10_text_y%" />
1768 <font resource="font" color="%text_color%" />
1769 <text>%tw_sp1_name%</text>
1770 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1771 <data variable="tw_restore_sp1" />
1772 <image checked="checkbox_true" unchecked="checkbox_false" />
1773 </object>
1774
1775 <object type="checkbox">
1776 <placement x="%col1_x%" y="%row11_text_y%" />
1777 <font resource="font" color="%text_color%" />
1778 <text>%tw_sp2_name%</text>
1779 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1780 <data variable="tw_restore_sp2" />
1781 <image checked="checkbox_true" unchecked="checkbox_false" />
1782 </object>
1783
1784 <object type="checkbox">
1785 <placement x="%col1_x%" y="%row12_text_y%" />
1786 <font resource="font" color="%text_color%" />
1787 <text>%tw_sp3_name%</text>
1788 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1789 <data variable="tw_restore_sp3" />
1790 <image checked="checkbox_true" unchecked="checkbox_false" />
1791 </object>
1792
1793 <object type="checkbox">
1794 <placement x="%col1_x%" y="%row14_text_y%" />
1795 <font resource="font" color="%text_color%" />
1796 <text>Enable MD5 checking of backup files</text>
1797 <data variable="tw_skip_md5_check" />
1798 <image checked="checkbox_true" unchecked="checkbox_false" />
1799 </object>
1800
1801 <object type="text" color="%text_color%">
1802 <font resource="font" />
1803 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1804 <text>Package Date: %tw_restore_file_date%</text>
1805 </object>
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</action>
1815 </object>
1816
1817 <object type="template" name="footer" />
1818 </page>
1819
1820 <page name="renamebackup">
1821 <object type="template" name="header" />
1822
1823 <object type="text" color="%text_color%">
1824 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1825 <font resource="font" />
1826 <text>Please Enter a New Backup Name</text>
1827 </object>
1828
1829 <object type="input">
1830 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1831 <background color="%input_background_color%" />
1832 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1833 <font resource="font" color="%text_color%" />
1834 <text>%tw_backup_rename%</text>
1835 <data name="tw_backup_rename" />
1836 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1837 <actions>
1838 <action function="set">tw_back=restore</action>
1839 <action function="set">tw_action=cmd</action>
1840 <action function="set">tw_action_param=cd %tw_backups_folder% && mv %tw_restore_name% %tw_backup_rename%</action>
1841 <action function="set">tw_text1=Rename Backup?</action>
1842 <action function="set">tw_text2=This cannot be undone!</action>
1843 <action function="set">tw_action_text1=Renaming Backup...</action>
1844 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1845 <action function="set">tw_slider_text=Swipe to Rename</action>
1846 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1847 <action function="set">tw_existpage=renamebackup</action>
1848 <action function="set">tw_notexistpage=confirm_action</action>
1849 <action function="page">filecheck</action>
1850 </actions>
1851 </object>
1852
1853 <object type="text" color="%text_fail_color%">
1854 <condition var1="tw_fileexists" var2="1" />
1855 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1856 <font resource="font" />
1857 <text>A backup with that name already exists!</text>
1858 </object>
1859
1860 <object type="button">
1861 <placement x="%col_center_x%" y="%row2_y%" />
1862 <font resource="font" color="%button_text_color%" />
1863 <text>Cancel</text>
1864 <image resource="main_button" />
1865 <action function="page">restore_select</action>
1866 </object>
1867
1868 <object type="template" name="keyboardtemplate" />
1869
1870 <object type="action">
1871 <touch key="home" />
1872 <action function="page">main</action>
1873 </object>
1874
1875 <object type="action">
1876 <touch key="back" />
1877 <action function="page">restore_select</action>
1878 </object>
1879
1880 <object type="template" name="footer" />
1881 </page>
1882
1883 <page name="restore_run">
1884 <object type="template" name="header" />
1885
1886 <object type="text" color="%text_color%">
1887 <font resource="font" />
1888 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1889 <text>%tw_operation% %tw_partition%</text>
1890 </object>
1891
1892 <object type="template" name="action_page_console" />
1893
1894 <object type="template" name="progress_bar" />
1895
1896 <object type="action">
1897 <conditions>
1898 <condition var1="tw_operation_state" var2="1" />
1899 <condition var1="tw_operation_status" var2="0" />
1900 </conditions>
1901 <actions>
1902 <action function="set">tw_back=restore_select</action>
1903 <action function="set">tw_complete_text1=Restore Complete</action>
1904 <action function="page">action_complete</action>
1905 </actions>
1906 </object>
1907
1908 <object type="action">
1909 <conditions>
1910 <condition var1="tw_operation_state" var2="1" />
1911 <condition var1="tw_operation_status" var2="1" />
1912 </conditions>
1913 <actions>
1914 <action function="set">tw_back=restore_select</action>
1915 <action function="set">tw_complete_text1=Restore Complete</action>
1916 <action function="page">action_complete</action>
1917 </actions>
1918 </object>
1919
1920 <object type="action">
1921 <action function="nandroid">restore</action>
1922 </object>
1923 </page>
1924
1925 <page name="mount">
1926 <object type="template" name="header" />
1927
1928 <object type="text" color="%text_color%">
1929 <font resource="font" />
1930 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1931 <text>Mount Menu</text>
1932 </object>
1933
1934 <object type="button">
1935 <placement x="%col1_x%" y="%row1_text_y%" />
1936 <font resource="font" color="%text_color%" />
1937 <condition var1="mounted" op="!=" var2="/system" />
1938 <text>Mount System</text>
1939 <image resource="checkbox_false" />
1940 <action function="mount">/system</action>
1941 </object>
1942
1943 <object type="button">
1944 <placement x="%col1_x%" y="%row1_text_y%" />
1945 <font resource="font" color="%text_color%" />
1946 <condition var1="mounted" op="=" var2="/system" />
1947 <text>Unmount System</text>
1948 <image resource="checkbox_true" />
1949 <action function="umount">/system</action>
1950 </object>
1951
1952 <object type="button">
1953 <placement x="%col1_x%" y="%row2_text_y%" />
1954 <font resource="font" color="%text_color%" />
1955 <condition var1="mounted" op="!=" var2="/data" />
1956 <text>Mount Data</text>
1957 <image resource="checkbox_false" />
1958 <action function="mount">/data</action>
1959 </object>
1960
1961 <object type="button">
1962 <placement x="%col1_x%" y="%row2_text_y%" />
1963 <font resource="font" color="%text_color%" />
1964 <condition var1="mounted" op="=" var2="/data" />
1965 <text>Unmount Data</text>
1966 <image resource="checkbox_true" />
1967 <action function="umount">/data</action>
1968 </object>
1969
1970 <object type="button">
1971 <placement x="%col1_x%" y="%row3_text_y%" />
1972 <font resource="font" color="%text_color%" />
1973 <condition var1="mounted" op="!=" var2="/cache" />
1974 <text>Mount Cache</text>
1975 <image resource="checkbox_false" />
1976 <action function="mount">/cache</action>
1977 </object>
1978
1979 <object type="button">
1980 <placement x="%col1_x%" y="%row3_text_y%" />
1981 <font resource="font" color="%text_color%" />
1982 <condition var1="mounted" op="=" var2="/cache" />
1983 <text>Unmount Cache</text>
1984 <image resource="checkbox_true" />
1985 <action function="umount">/cache</action>
1986 </object>
1987
1988 <object type="button">
1989 <placement x="%col1_x%" y="%row4_text_y%" />
1990 <font resource="font" color="%text_color%" />
1991 <conditions>
1992 <condition var1="tw_has_external" var2="1" />
1993 <condition var1="mounted" op="!=" var2="EXTERNAL" />
1994 </conditions>
1995 <text>Mount SDCard</text>
1996 <image resource="checkbox_false" />
1997 <action function="mount">EXTERNAL</action>
1998 </object>
1999
2000 <object type="button">
2001 <placement x="%col1_x%" y="%row4_text_y%" />
2002 <font resource="font" color="%text_color%" />
2003 <conditions>
2004 <condition var1="tw_has_external" var2="1" />
2005 <condition var1="mounted" op="=" var2="EXTERNAL" />
2006 </conditions>
2007 <text>Unmount SDCard</text>
2008 <image resource="checkbox_true" />
2009 <action function="umount">EXTERNAL</action>
2010 </object>
2011
2012 <object type="button">
2013 <placement x="%col2_x%" y="%row4_text_y%" />
2014 <font resource="font" color="%text_color%" />
2015 <conditions>
2016 <condition var1="tw_has_internal" var2="1" />
2017 <condition var1="tw_has_data_media" var2="0" />
2018 <condition var1="mounted" op="!=" var2="INTERNAL" />
2019 </conditions>
2020 <text>Mount Internal</text>
2021 <image resource="checkbox_false" />
2022 <action function="mount">INTERNAL</action>
2023 </object>
2024
2025 <object type="button">
2026 <placement x="%col2_x%" y="%row4_text_y%" />
2027 <font resource="font" color="%text_color%" />
2028 <conditions>
2029 <condition var1="tw_has_internal" var2="1" />
2030 <condition var1="tw_has_data_media" var2="0" />
2031 <condition var1="mounted" op="=" var2="INTERNAL" />
2032 </conditions>
2033 <text>Unmount Internal</text>
2034 <image resource="checkbox_true" />
2035 <action function="umount">INTERNAL</action>
2036 </object>
2037
2038 <object type="button">
2039 <conditions>
2040 <condition var1="tw_has_sdext_partition" var2="1" />
2041 <condition var1="mounted" op="!=" var2="/sd-ext" />
2042 </conditions>
2043 <placement x="%col1_x%" y="%row5_text_y%" />
2044 <font resource="font" color="%text_color%" />
2045 <text>Mount SD-Ext</text>
2046 <image resource="checkbox_false" />
2047 <action function="mount">/sd-ext</action>
2048 </object>
2049
2050 <object type="button">
2051 <placement x="%col1_x%" y="%row5_text_y%" />
2052 <font resource="font" color="%text_color%" />
2053 <condition var1="mounted" op="=" var2="/sd-ext" />
2054 <text>Unmount SD-Ext</text>
2055 <image resource="checkbox_true" />
2056 <action function="umount">/sd-ext</action>
2057 </object>
2058
2059 <object type="button">
2060 <conditions>
2061 <condition var1="tw_boot_is_mountable" var2="1" />
2062 <condition var1="mounted" op="!=" var2="/boot" />
2063 </conditions>
2064 <placement x="%col1_x%" y="%row6_text_y%" />
2065 <font resource="font" color="#A0A0A0" />
2066 <text>Mount Boot</text>
2067 <image resource="checkbox_false" />
2068 <action function="mount">/boot</action>
2069 </object>
2070
2071 <object type="button">
2072 <conditions>
2073 <condition var1="tw_boot_is_mountable" var2="1" />
2074 <condition var1="mounted" op="=" var2="/boot" />
2075 </conditions>
2076 <placement x="%col1_x%" y="%row6_text_y%" />
2077 <font resource="font" color="#A0A0A0" />
2078 <text>Unmount Boot</text>
2079 <image resource="checkbox_true" />
2080 <action function="umount">/boot</action>
2081 </object>
2082
2083 <object type="button">
2084 <placement x="%col1_x%" y="%row8_text_y%" />
2085 <font resource="font" color="%text_color%" />
2086 <conditions>
2087 <condition var1="tw_has_dual_storage" var2="1" />
2088 <condition var1="tw_use_external_storage" var2="1" />
2089 </conditions>
2090 <text>Use external SD</text>
2091 <image resource="radio_true" />
2092 <action function="togglestorage">external</action>
2093 </object>
2094
2095 <object type="button">
2096 <placement x="%col1_x%" y="%row8_text_y%" />
2097 <font resource="font" color="%text_color%" />
2098 <conditions>
2099 <condition var1="tw_has_dual_storage" var2="1" />
2100 <condition var1="tw_use_external_storage" var2="0" />
2101 </conditions>
2102 <text>Use external SD</text>
2103 <image resource="radio_false" />
2104 <action function="togglestorage">external</action>
2105 </object>
2106
2107 <object type="button">
2108 <placement x="%col3_x%" y="%row8_text_y%" />
2109 <font resource="font" color="%text_color%" />
2110 <conditions>
2111 <condition var1="tw_has_dual_storage" var2="1" />
2112 <condition var1="tw_use_external_storage" var2="1" />
2113 </conditions>
2114 <text>Use internal storage</text>
2115 <image resource="radio_false" />
2116 <action function="togglestorage">internal</action>
2117 </object>
2118
2119 <object type="button">
2120 <placement x="%col3_x%" y="%row8_text_y%" />
2121 <font resource="font" color="%text_color%" />
2122 <conditions>
2123 <condition var1="tw_has_dual_storage" var2="1" />
2124 <condition var1="tw_use_external_storage" var2="0" />
2125 </conditions>
2126 <text>Use internal storage</text>
2127 <image resource="radio_true" />
2128 <action function="togglestorage">internal</action>
2129 </object>
2130
2131 <object type="button">
2132 <condition var1="tw_has_usb_storage" var2="1" />
2133 <placement x="%col1_x%" y="row3_y" />
2134 <font resource="font" color="%button_text_color%" />
2135 <text>Mount USB Storage</text>
2136 <image resource="main_button" />
2137 <action function="page">usb_mount</action>
2138 </object>
2139
2140 <object type="action">
2141 <touch key="home" />
2142 <action function="page">main</action>
2143 </object>
2144
2145 <object type="action">
2146 <touch key="back" />
2147 <action function="page">main</action>
2148 </object>
2149
2150 <object type="template" name="footer" />
2151 </page>
2152
2153 <page name="usb_mount">
2154 <object type="template" name="header" />
2155
2156 <object type="text" color="%text_color%">
2157 <font resource="font" />
2158 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2159 <text>USB Storage Mounted</text>
2160 </object>
2161
2162 <object type="text" color="%text_color%">
2163 <placement x="%col1_x%" y="%row1_text_y%" />
2164 <font resource="font" />
2165 <text>Be sure to safely remove your device</text>
2166 </object>
2167
2168 <object type="text" color="%text_color%">
2169 <placement x="%col1_x%" y="%row2_text_y%" />
2170 <font resource="font" />
2171 <text>from your computer before unmounting!</text>
2172 </object>
2173
2174 <object type="button">
2175 <placement x="%col1_x%" y="%row3_y%" />
2176 <font resource="font" color="%button_text_color%" />
2177 <text>Unmount</text>
2178 <image resource="main_button" />
2179 <action function="page">usb_umount</action>
2180 </object>
2181
2182 <object type="action">
2183 <action function="mount">usb</action>
2184 </object>
2185
2186 <object type="template" name="footer" />
2187 </page>
2188
2189 <page name="usb_umount">
2190 <object type="action">
2191 <action function="unmount">usb</action>
2192 </object>
2193
2194 <object type="action">
2195 <action function="page">mount</action>
2196 </object>
2197 </page>
2198
2199 <page name="reboot">
2200 <object type="template" name="header" />
2201
2202 <object type="text" color="%text_color%">
2203 <font resource="font" />
2204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2205 <text>Reboot Menu</text>
2206 </object>
2207
2208 <object type="button">
2209 <condition var1="tw_reboot_system" var2="1" />
2210 <placement x="%col1_x%" y="%row1_y%" />
2211 <font resource="font" color="%button_text_color%" />
2212 <text>System</text>
2213 <image resource="main_button" />
2214 <actions>
2215 <action function="set">tw_back=reboot</action>
2216 <action function="set">tw_action=reboot</action>
2217 <action function="set">tw_action_param=system</action>
2218 <action function="set">tw_has_action2=0</action>
2219 <action function="set">tw_text1=No OS Installed! Are you</action>
2220 <action function="set">tw_text2=sure you wish to reboot?</action>
2221 <action function="set">tw_action_text1=Rebooting...</action>
2222 <action function="set">tw_complete_text1=Rebooting...</action>
2223 <action function="set">tw_slider_text=Swipe to Reboot</action>
2224 <action function="page">rebootcheck</action>
2225 </actions>
2226 </object>
2227
2228 <object type="button">
2229 <condition var1="tw_reboot_poweroff" var2="1" />
2230 <placement x="%col2_x%" y="%row1_y%" />
2231 <font resource="font" color="%button_text_color%" />
2232 <text>Power Off</text>
2233 <image resource="main_button" />
2234 <actions>
2235 <action function="set">tw_back=reboot</action>
2236 <action function="set">tw_action=reboot</action>
2237 <action function="set">tw_action_param=poweroff</action>
2238 <action function="set">tw_has_action2=0</action>
2239 <action function="set">tw_text1=No OS Installed! Are you</action>
2240 <action function="set">tw_text2=sure you wish to power off?</action>
2241 <action function="set">tw_action_text1=Turning Off...</action>
2242 <action function="set">tw_complete_text1=Turning Off...</action>
2243 <action function="set">tw_slider_text=Swipe to Power Off</action>
2244 <action function="page">rebootcheck</action>
2245 </actions>
2246 </object>
2247
2248 <object type="button">
2249 <condition var1="tw_reboot_recovery" var2="1" />
2250 <placement x="%col1_x%" y="%row2_y%" />
2251 <font resource="font" color="%button_text_color%" />
2252 <text>Recovery</text>
2253 <image resource="main_button" />
2254 <actions>
2255 <action function="set">tw_back=reboot</action>
2256 <action function="set">tw_action=reboot</action>
2257 <action function="set">tw_action_param=recovery</action>
2258 <action function="set">tw_has_action2=0</action>
2259 <action function="set">tw_text1=No OS Installed! Are you</action>
2260 <action function="set">tw_text2=sure you wish to reboot?</action>
2261 <action function="set">tw_action_text1=Rebooting...</action>
2262 <action function="set">tw_complete_text1=Rebooting...</action>
2263 <action function="set">tw_slider_text=Swipe to Reboot</action>
2264 <action function="page">rebootcheck</action>
2265 </actions>
2266 </object>
2267
2268 <object type="button">
2269 <condition var1="tw_reboot_bootloader" var2="1" />
2270 <placement x="%col2_x%" y="%row2_y%" />
2271 <font resource="font" color="%button_text_color%" />
2272 <text>Bootloader</text>
2273 <image resource="main_button" />
2274 <actions>
2275 <action function="set">tw_back=reboot</action>
2276 <action function="set">tw_action=reboot</action>
2277 <action function="set">tw_action_param=bootloader</action>
2278 <action function="set">tw_has_action2=0</action>
2279 <action function="set">tw_text1=No OS Installed! Are you</action>
2280 <action function="set">tw_text2=sure you wish to reboot?</action>
2281 <action function="set">tw_action_text1=Rebooting...</action>
2282 <action function="set">tw_complete_text1=Rebooting...</action>
2283 <action function="set">tw_slider_text=Swipe to Reboot</action>
2284 <action function="page">rebootcheck</action>
2285 </actions>
2286 </object>
2287
2288 <object type="button">
2289 <condition var1="tw_download_mode" var2="1" />
2290 <placement x="%col2_x%" y="%row2_y%" />
2291 <font resource="font" color="%button_text_color%" />
2292 <text>Download</text>
2293 <image resource="main_button" />
2294 <actions>
2295 <action function="set">tw_back=reboot</action>
2296 <action function="set">tw_action=reboot</action>
2297 <action function="set">tw_action_param=download</action>
2298 <action function="set">tw_has_action2=0</action>
2299 <action function="set">tw_text1=No OS Installed! Are you</action>
2300 <action function="set">tw_text2=sure you wish to reboot?</action>
2301 <action function="set">tw_action_text1=Rebooting...</action>
2302 <action function="set">tw_complete_text1=Rebooting...</action>
2303 <action function="set">tw_slider_text=Swipe to Reboot</action>
2304 <action function="page">rebootcheck</action>
2305 </actions>
2306 </object>
2307
2308 <object type="action">
2309 <touch key="home" />
2310 <action function="page">main</action>
2311 </object>
2312
2313 <object type="action">
2314 <touch key="back" />
2315 <action function="page">main</action>
2316 </object>
2317
2318 <object type="template" name="footer" />
2319 </page>
2320
2321 <page name="settings">
2322 <object type="template" name="header" />
2323
2324 <object type="text" color="%text_color%">
2325 <font resource="font" />
2326 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2327 <text>Settings</text>
2328 </object>
2329
2330 <object type="checkbox">
2331 <placement x="%col1_x%" y="%row2_text_y%" />
2332 <font resource="font" color="%text_color%" />
2333 <text>Zip file signature verification?</text>
2334 <data variable="tw_signed_zip_verify" />
2335 <image checked="checkbox_true" unchecked="checkbox_false" />
2336 </object>
2337
2338 <object type="checkbox">
2339 <placement x="%col1_x%" y="%row3_text_y%" />
2340 <font resource="font" color="%text_color%" />
2341 <text>Force MD5 check on all zips?</text>
2342 <data variable="tw_force_md5_check" />
2343 <image checked="checkbox_true" unchecked="checkbox_false" />
2344 </object>
2345
2346 <object type="checkbox">
2347 <placement x="%col1_x%" y="%row4_text_y%" />
2348 <font resource="font" color="%text_color%" />
2349 <text>Use rm -rf instead of formatting?</text>
2350 <data variable="tw_rm_rf" />
2351 <image checked="checkbox_true" unchecked="checkbox_false" />
2352 </object>
2353
2354 <object type="checkbox">
2355 <placement x="%col1_x%" y="%row5_text_y%" />
2356 <font resource="font" color="%text_color%" />
2357 <text>Skip MD5 generation on backups</text>
2358 <data variable="tw_skip_md5_generate" />
2359 <image checked="checkbox_true" unchecked="checkbox_false" />
2360 </object>
2361
2362 <object type="checkbox">
2363 <placement x="%col1_x%" y="%row6_text_y%" />
2364 <font resource="font" color="%text_color%" />
2365 <text>Enable MD5 checking of backup files</text>
2366 <data variable="tw_skip_md5_check" />
2367 <image checked="checkbox_true" unchecked="checkbox_false" />
2368 </object>
2369
2370 <object type="checkbox">
2371 <placement x="%col1_x%" y="%row7_text_y%" />
2372 <font resource="font" color="%text_color%" />
2373 <text>Ignore image size errors during backup</text>
2374 <data variable="tw_ignore_image_size" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
2379 <placement x="%col1_x%" y="%row8_text_y%" />
2380 <font resource="font" color="%text_color%" />
2381 <text>Simulate most actions for theme testing</text>
2382 <data variable="tw_simulate_actions" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
2387 <condition var1="tw_simulate_actions" var2="1" />
2388 <placement x="%col1_x%" y="%row9_text_y%" />
2389 <font resource="font" color="%text_color%" />
2390 <text>Simulate failure for actions</text>
2391 <data variable="tw_simulate_fail" />
2392 <image checked="checkbox_true" unchecked="checkbox_false" />
2393 </object>
2394
2395 <object type="button">
2396 <placement x="%col1_x%" y="%row3_y%" />
2397 <font resource="font" color="%button_text_color%" />
2398 <text>Time Zone</text>
2399 <image resource="main_button" />
2400 <action function="page">timezone</action>
2401 </object>
2402
2403 <object type="button">
2404 <placement x="%col_center_x%" y="%row4_y%" />
2405 <font resource="font" color="%button_text_color%" />
2406 <text>Restore Defaults</text>
2407 <image resource="main_button" />
2408 <action function="restoredefaultsettings"></action>
2409 </object>
2410
2411 <object type="action">
2412 <touch key="home" />
2413 <action function="page">main</action>
2414 </object>
2415
2416 <object type="action">
2417 <touch key="back" />
2418 <action function="page">main</action>
2419 </object>
2420
2421 <object type="template" name="footer" />
2422 </page>
2423
2424 <page name="timezone">
2425 <object type="template" name="header" />
2426
2427 <object type="text" color="%text_color%">
2428 <font resource="font" />
2429 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2430 <text>Select Time Zone</text>
2431 </object>
2432
2433 <object type="listbox">
2434 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2435 <icon selected="radio_true" unselected="radio_false" />
2436 <background color="%listbox_background%" />
2437 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2438 <data name="tw_time_zone_guisel" />
2439 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2440 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2441 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2442 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2443 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2444 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2445 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2446 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2447 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2448 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2449 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2450 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2451 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2452 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2453 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2454 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2455 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2456 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2457 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2458 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2459 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2460 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2461 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2462 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2463 </object>
2464
2465 <object type="checkbox">
2466 <placement x="%col1_x%" y="%row12_text_y%" />
2467 <font resource="font" color="%text_color%" />
2468 <text>Do you use daylight savings time (DST)?</text>
2469 <data variable="tw_time_zone_guidst" />
2470 <image checked="checkbox_true" unchecked="checkbox_false" />
2471 </object>
2472
2473 <object type="text" color="%text_color%">
2474 <font resource="font" />
2475 <placement x="%center_x%" y="%row14_text_y%" placement="5" />
2476 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2477 </object>
2478
2479 <object type="button">
2480 <placement x="%col1_medium_x%" y="%row6_medium_y%" />
2481 <font resource="font" color="%button_text_color%" />
2482 <text>None</text>
2483 <image resource="medium_button" />
2484 <action function="set">tw_time_zone_guioffset=0</action>
2485 </object>
2486
2487 <object type="button">
2488 <placement x="%col2_medium_x%" y="%row6_medium_y%" />
2489 <font resource="font" color="%button_text_color%" />
2490 <text>15</text>
2491 <image resource="medium_button" />
2492 <action function="set">tw_time_zone_guioffset=15</action>
2493 </object>
2494
2495 <object type="button">
2496 <placement x="%col3_medium_x%" y="%row6_medium_y%" />
2497 <font resource="font" color="%button_text_color%" />
2498 <text>30</text>
2499 <image resource="medium_button" />
2500 <action function="set">tw_time_zone_guioffset=30</action>
2501 </object>
2502
2503 <object type="button">
2504 <placement x="%col4_medium_x%" y="%row6_medium_y%" />
2505 <font resource="font" color="%button_text_color%" />
2506 <text>45</text>
2507 <image resource="medium_button" />
2508 <action function="set">tw_time_zone_guioffset=45</action>
2509 </object>
2510
2511 <object type="button">
2512 <placement x="%col_center_x%" y="%tz_set_y%" />
2513 <font resource="font" color="%button_text_color%" />
2514 <text>Set Time Zone</text>
2515 <image resource="main_button" />
2516 <action function="setguitimezone"></action>
2517 </object>
2518
2519 <object type="text" color="%text_color%">
2520 <font resource="font" />
2521 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2522 <text>Current Time Zone: %tw_time_zone%</text>
2523 </object>
2524
2525 <object type="action">
2526 <touch key="home" />
2527 <action function="page">main</action>
2528 </object>
2529
2530 <object type="action">
2531 <touch key="back" />
2532 <action function="page">settings</action>
2533 </object>
2534
2535 <object type="template" name="footer" />
2536 </page>
2537
2538 <page name="advanced">
2539 <object type="template" name="header" />
2540
2541 <object type="text" color="%text_color%">
2542 <font resource="font" />
2543 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2544 <text>Advanced</text>
2545 </object>
2546
2547 <object type="button">
2548 <placement x="%col1_x%" y="%row1_y%" />
2549 <font resource="font" color="%button_text_color%" />
2550 <text>Copy Log to SD</text>
2551 <image resource="main_button" />
2552 <actions>
2553 <action function="set">tw_back=advanced</action>
2554 <action function="set">tw_action=copylog</action>
2555 <action function="set">tw_text1=Copy Log to SD Card?</action>
2556 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2557 <action function="set">tw_complete_text1=Log Copy Complete</action>
2558 <action function="set">tw_slider_text=Swipe to Confirm</action>
2559 <action function="page">confirm_action</action>
2560 </actions>
2561 </object>
2562
2563 <object type="button">
2564 <placement x="%col2_x%" y="%row1_y%" />
2565 <font resource="font" color="%button_text_color%" />
2566 <text>Fix Permissions</text>
2567 <image resource="main_button" />
2568 <actions>
2569 <action function="set">tw_back=advanced</action>
2570 <action function="set">tw_action=fixpermissions</action>
2571 <action function="set">tw_text1=Fix Permissions?</action>
2572 <action function="set">tw_text2=This will take a few minutes.</action>
2573 <action function="set">tw_action_text1=Fixing Permissions...</action>
2574 <action function="set">tw_action_text2=This will take a few minutes.</action>
2575 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2576 <action function="set">tw_slider_text=Swipe to Confirm</action>
2577 <action function="page">confirm_action</action>
2578 </actions>
2579 </object>
2580
2581 <object type="button">
2582 <condition var1="tw_allow_partition_sdcard" var2="1" />
2583 <placement x="%col1_x%" y="%row2_y%" />
2584 <font resource="font" color="%button_text_color%" />
2585 <text>Partition SD Card</text>
2586 <image resource="main_button" />
2587 <action function="page">partsdcard</action>
2588 </object>
2589
2590 <object type="button">
2591 <placement x="%col2_x%" y="%row2_y%" />
2592 <font resource="font" color="%button_text_color%" />
2593 <text>File Manager</text>
2594 <image resource="main_button" />
2595 <action function="page">filemanagerlist</action>
2596 </object>
2597
2598 <object type="button">
2599 <placement x="%col1_x%" y="%row3_y%" />
2600 <font resource="font" color="%button_text_color%" />
2601 <text>Terminal Command</text>
2602 <image resource="main_button" />
2603 <action function="page">terminalfolder</action>
2604 </object>
2605
2606 <object type="button">
Dees_Troy43d8b002012-09-17 16:00:01 -04002607 <placement x="%col1_x%" y="%row4_y%" />
2608 <font resource="font" color="%button_text_color%" />
2609 <text>ADB Sideload</text>
2610 <image resource="main_button" />
2611 <actions>
Dees_Troycfb63ae2012-09-19 14:30:17 -04002612 <action function="set">tw_back=advanced</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002613 <action function="set">tw_action=adbsideload</action>
2614 <action function="set">tw_action_text1=ADB Sideload</action>
2615 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
2616 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -04002617 <action function="set">tw_cancel_function=adbsideloadcancel</action>
2618 <action function="page">action_page_cancel</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002619 </actions>
2620 </object>
2621
2622 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002623 <condition var1="tw_show_dumlock" var2="1" />
2624 <placement x="%col2_x%" y="%row4_y%" />
2625 <font resource="font" color="%button_text_color%" />
2626 <text>HTC Dumlock</text>
2627 <image resource="main_button" />
2628 <action function="page">htcdumlock</action>
2629 </object>
2630
2631 <object type="button">
2632 <condition var1="tw_has_injecttwrp" var2="1" />
2633 <placement x="%col2_x%" y="%row4_y%" />
2634 <font resource="font" color="%button_text_color%" />
2635 <text>Re-Inject TWRP</text>
2636 <image resource="main_button" />
2637 <actions>
2638 <action function="set">tw_back=advanced</action>
2639 <action function="set">tw_action=reinjecttwrp</action>
2640 <action function="set">tw_text1=Re-Inject TWRP?</action>
2641 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2642 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2643 <action function="set">tw_slider_text=Swipe to Confirm</action>
2644 <action function="page">confirm_action</action>
2645 </actions>
2646 </object>
2647
2648 <object type="button">
2649 <placement x="%col2_x%" y="%row3_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>Reload Theme</text>
2652 <image resource="main_button" />
2653 <action function="reload"></action>
2654 </object>
2655
2656 <object type="action">
2657 <touch key="home" />
2658 <action function="page">main</action>
2659 </object>
2660
2661 <object type="action">
2662 <touch key="back" />
2663 <action function="page">main</action>
2664 </object>
2665
2666 <object type="template" name="footer" />
2667 </page>
2668
2669 <page name="partsdcard">
2670 <object type="template" name="header" />
2671
2672 <object type="text" color="%text_color%">
2673 <font resource="font" />
2674 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2675 <text>Partition SD Card</text>
2676 </object>
2677
2678 <object type="button">
2679 <placement x="%col1_x%" y="%row1_y%" />
2680 <font resource="font" color="%button_text_color%" />
2681 <text></text>
2682 <image resource="minus_button" />
2683 <action function="addsubtract">tw_sdext_size-128</action>
2684 </object>
2685
2686 <object type="button">
2687 <placement x="%sd_plus_x%" y="%row1_y%" />
2688 <font resource="font" color="%button_text_color%" />
2689 <text></text>
2690 <image resource="plus_button" />
2691 <action function="addsubtract">tw_sdext_size+128</action>
2692 </object>
2693
2694 <object type="text" color="%text_color%">
2695 <font resource="font" />
2696 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2697 <text>EXT Size: %tw_sdext_size%</text>
2698 </object>
2699
2700 <object type="button">
2701 <placement x="%col1_x%" y="%sdswap_button_y%" />
2702 <font resource="font" color="%button_text_color%" />
2703 <text></text>
2704 <image resource="minus_button" />
2705 <action function="addsubtract">tw_swap_size-32</action>
2706 </object>
2707
2708 <object type="button">
2709 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2710 <font resource="font" color="%button_text_color%" />
2711 <text></text>
2712 <image resource="plus_button" />
2713 <action function="addsubtract">tw_swap_size+32</action>
2714 </object>
2715
2716 <object type="text" color="%text_color%">
2717 <font resource="font" />
2718 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2719 <text>Swap Size: %tw_swap_size%</text>
2720 </object>
2721
2722 <object type="text" color="%text_color%">
2723 <font resource="font" />
2724 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2725 <text>File system: %tw_sdpart_file_system%</text>
2726 </object>
2727
2728 <object type="button">
2729 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>EXT3</text>
2732 <image resource="main_button" />
2733 <action function="set">tw_sdpart_file_system=ext3</action>
2734 </object>
2735
2736 <object type="button">
2737 <condition var1="tw_sdext_disable_ext4" var2="0" />
2738 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2739 <font resource="font" color="%button_text_color%" />
2740 <text>EXT4</text>
2741 <image resource="main_button" />
2742 <action function="set">tw_sdpart_file_system=ext4</action>
2743 </object>
2744
2745 <object type="text" color="%text_color%">
2746 <font resource="font" />
2747 <placement x="%col1_x%" y="%row12_text_y%" />
2748 <text>You will lose all files on your SD card!</text>
2749 </object>
2750
2751 <object type="text" color="%text_color%">
2752 <font resource="font" />
2753 <placement x="%col1_x%" y="%row13_text_y%" />
2754 <text>This action cannot be undone!</text>
2755 </object>
2756
2757 <object type="slider">
2758 <placement x="%slider_x%" y="%slider_y%" />
2759 <resource base="slider" used="slider-used" touch="slider-touch" />
2760 <action function="page">partsdcardaction</action>
2761 <actions>
2762 <action function="set">tw_back=partsdcard</action>
2763 <action function="set">tw_action=partitionsd</action>
2764 <action function="set">tw_has_action2=1</action>
2765 <action function="set">tw_action2=set</action>
2766 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2767 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2768 <action function="set">tw_action_text2=This will take a few minutes.</action>
2769 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2770 <action function="page">action_page</action>
2771 </actions>
2772 </object>
2773
2774 <object type="text" color="%text_color%">
2775 <font resource="font" />
2776 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
2777 <text>Swipe to Partition</text>
2778 </object>
2779
2780 <object type="action">
2781 <touch key="home" />
2782 <action function="page">main</action>
2783 </object>
2784
2785 <object type="action">
2786 <touch key="back" />
2787 <action function="page">advanced</action>
2788 </object>
2789
2790 <object type="template" name="footer" />
2791
2792 </page>
2793
2794 <page name="htcdumlock">
2795 <object type="template" name="header" />
2796
2797 <object type="text" color="%text_color%">
2798 <font resource="font" />
2799 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2800 <text>HTC Dumlock</text>
2801 </object>
2802
2803 <object type="button">
2804 <condition var1="tw_show_dumlock" var2="1" />
2805 <placement x="%col1_x%" y="%row1_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Restore Original Boot</text>
2808 <image resource="main_button" />
2809 <actions>
2810 <action function="set">tw_back=htcdumlock</action>
2811 <action function="set">tw_action=htcdumlockrestoreboot</action>
2812 <action function="set">tw_text1=Restore original boot image?</action>
2813 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2814 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2815 <action function="set">tw_slider_text=Swipe to Confirm</action>
2816 <action function="page">confirm_action</action>
2817 </actions>
2818 </object>
2819
2820 <object type="button">
2821 <condition var1="tw_show_dumlock" var2="1" />
2822 <placement x="%col2_x%" y="%row1_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>Reflash Recovery</text>
2825 <image resource="main_button" />
2826 <actions>
2827 <action function="set">tw_back=htcdumlock</action>
2828 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2829 <action function="set">tw_text1=Reflash recovery to boot?</action>
2830 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2831 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2832 <action function="set">tw_slider_text=Swipe to Confirm</action>
2833 <action function="page">confirm_action</action>
2834 </actions>
2835 </object>
2836
2837 <object type="button">
2838 <condition var1="tw_show_dumlock" var2="1" />
2839 <placement x="%col1_x%" y="%row2_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>Install HTC Dumlock</text>
2842 <image resource="main_button" />
2843 <actions>
2844 <action function="set">tw_back=htcdumlock</action>
2845 <action function="set">tw_action=installhtcdumlock</action>
2846 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2847 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2848 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2849 <action function="set">tw_slider_text=Swipe to Confirm</action>
2850 <action function="page">confirm_action</action>
2851 </actions>
2852 </object>
2853
2854 <object type="action">
2855 <touch key="home" />
2856 <action function="page">main</action>
2857 </object>
2858
2859 <object type="action">
2860 <touch key="back" />
2861 <action function="page">advanced</action>
2862 </object>
2863
2864 <object type="template" name="footer" />
2865 </page>
2866
2867 <page name="lock">
2868 <background color="#000000A0" />
2869
2870 <object type="image">
2871 <image resource="unlock-icon" />
2872 <placement x="%lock_x%" y="%lock_y%" />
2873 </object>
2874
2875 <object type="slider">
2876 <placement x="%slider_x%" y="%slider_y%" />
2877 <resource base="slider" used="slider-used" touch="slider-touch" />
2878 <action function="overlay"></action>
2879 </object>
2880
2881 <object type="text" color="%text_color%">
2882 <font resource="font" />
2883 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
2884 <text>Swipe to Unlock</text>
2885 </object>
2886 </page>
2887
2888 <page name="filemanagerlist">
2889 <object type="template" name="header" />
2890
2891 <object type="text" color="%text_color%">
2892 <font resource="font" />
2893 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2894 <text>File Manager: Select a File or Folder</text>
2895 </object>
2896
2897 <object type="fileselector">
2898 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2899 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2900 <text>%tw_file_location1%</text>
2901 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2902 <sort name="tw_gui_sort_order" />
2903 <icon folder="folder_icon" file="file_icon" />
2904 <background color="%fileselector_background%" />
2905 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
2906 <folders="1" files="1" />
2907 <path name="tw_file_location1" default="/" />
2908 <data name="tw_filename1" />
2909 <selection name="tw_selection1" />
2910 </object>
2911
2912 <object type="template" name="sort_options" />
2913
2914 <object type="action">
2915 <actions>
2916 <action function="set">tw_fm_type=File</action>
2917 <action function="set">tw_fm_isfolder=0</action>
2918 </actions>
2919 </object>
2920
2921 <object type="action">
2922 <touch key="home" />
2923 <action function="page">main</action>
2924 </object>
2925
2926 <object type="action">
2927 <touch key="back" />
2928 <action function="page">advanced</action>
2929 </object>
2930
2931 <object type="action">
2932 <condition var1="tw_filename1" op="modified" />
2933 <actions>
2934 <action function="page">filemanageroptions</action>
2935 </actions>
2936 </object>
2937
2938 <object type="button">
2939 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2940 <font resource="font" color="%button_text_color%" />
2941 <text>Select</text>
2942 <image resource="medium_button" />
2943 <actions>
2944 <action function="set">tw_filename1=tw_file_location1</action>
2945 <action function="set">tw_fm_isfolder=1</action>
2946 <action function="set">tw_fm_type=Folder</action>
2947 <action function="page">filemanageroptions</action>
2948 </actions>
2949 </object>
2950
2951 <object type="template" name="footer" />
2952 </page>
2953
2954 <page name="filemanageroptions">
2955 <object type="template" name="header" />
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2960 <text>%tw_fm_type% Selected:</text>
2961 </object>
2962
2963 <object type="text" color="%text_color%">
2964 <font resource="font" />
2965 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2966 <text>%tw_filename1%</text>
2967 </object>
2968
2969 <object type="button">
2970 <condition var1="tw_fm_isfolder" var2="0" />
2971 <placement x="%col1_x%" y="%row2_y%" />
2972 <font resource="font" color="%button_text_color%" />
2973 <text>Copy File</text>
2974 <image resource="main_button" />
2975 <actions>
2976 <action function="set">tw_filemanager_command=cp</action>
2977 <action function="set">tw_fm_text1=Copying</action>
2978 <action function="page">choosedestinationfolder</action>
2979 </actions>
2980 </object>
2981
2982 <object type="button">
2983 <condition var1="tw_fm_isfolder" var2="1" />
2984 <placement x="%col1_x%" y="%row2_y%" />
2985 <font resource="font" color="%button_text_color%" />
2986 <text>Copy Folder</text>
2987 <image resource="main_button" />
2988 <actions>
2989 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
2990 <action function="set">tw_fm_text1=Copying</action>
2991 <action function="page">choosedestinationfolder</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
2996 <placement x="%col2_x%" y="%row2_y%" />
2997 <font resource="font" color="%button_text_color%" />
2998 <text>Move</text>
2999 <image resource="main_button" />
3000 <actions>
3001 <action function="set">tw_filemanager_command=mv</action>
3002 <action function="set">tw_fm_text1=Moving</action>
3003 <action function="page">choosedestinationfolder</action>
3004 </actions>
3005 </object>
3006
3007 <object type="button">
3008 <placement x="%col1_x%" y="%row3_y%" />
3009 <font resource="font" color="%button_text_color%" />
3010 <text>chmod 755</text>
3011 <image resource="main_button" />
3012 <actions>
3013 <action function="set">tw_filemanager_command=chmod 755</action>
3014 <action function="set">tw_fm_text1=chmod 755</action>
3015 <action function="set">tw_fm_text2=</action>
3016 <action function="set">tw_fm_text3=</action>
3017 <action function="set">tw_include_text3=0</action>
3018 <action function="set">tw_back=filemanageroptions</action>
3019 <action function="page">filemanagerconfirm</action>
3020 </actions>
3021 </object>
3022
3023 <object type="button">
3024 <placement x="%col2_x%" y="%row3_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>chmod</text>
3027 <image resource="main_button" />
3028 <actions>
3029 <action function="set">tw_filemanager_rename=0000</action>
3030 <action function="set">tw_fm_text2=</action>
3031 <action function="set">tw_fm_text3=</action>
3032 <action function="set">tw_include_text3=0</action>
3033 <action function="set">tw_back=filemanageroptions</action>
3034 <action function="page">filemanagerchmod</action>
3035 </actions>
3036 </object>
3037
3038 <object type="button">
3039 <placement x="%col1_x%" y="%row4_y%" />
3040 <font resource="font" color="%button_text_color%" />
3041 <text>Delete</text>
3042 <image resource="main_button" />
3043 <actions>
3044 <action function="set">tw_filemanager_command=rm -rf</action>
3045 <action function="set">tw_fm_text1=Deleting</action>
3046 <action function="set">tw_fm_text2=</action>
3047 <action function="set">tw_fm_text3=</action>
3048 <action function="set">tw_include_text3=0</action>
3049 <action function="set">tw_back=filemanageroptions</action>
3050 <action function="page">filemanagerconfirm</action>
3051 </actions>
3052 </object>
3053
3054 <object type="button">
3055 <condition var1="tw_fm_isfolder" var2="0" />
3056 <placement x="%col2_x%" y="%row4_y%" />
3057 <font resource="font" color="%button_text_color%" />
3058 <text>Rename File</text>
3059 <image resource="main_button" />
3060 <actions>
3061 <action function="set">tw_filemanager_rename=tw_selection1</action>
3062 <action function="set">tw_fm_text1=Renaming</action>
3063 <action function="set">tw_filemanager_command=mv</action>
3064 <action function="page">filemanagerrenamefile</action>
3065 </actions>
3066 </object>
3067
3068 <object type="button">
3069 <condition var1="tw_fm_isfolder" var2="1" />
3070 <placement x="%col2_x%" y="%row4_y%" />
3071 <font resource="font" color="%button_text_color%" />
3072 <text>Rename Folder</text>
3073 <image resource="main_button" />
3074 <actions>
3075 <action function="set">tw_filemanager_rename=tw_selection1</action>
3076 <action function="set">tw_fm_text1=Renaming</action>
3077 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3078 <action function="page">filemanagerrenamefolder</action>
3079 </actions>
3080 </object>
3081
3082 <object type="action">
3083 <touch key="home" />
3084 <action function="page">main</action>
3085 </object>
3086
3087 <object type="action">
3088 <touch key="back" />
3089 <action function="page">filemanagerlist</action>
3090 </object>
3091
3092 <object type="template" name="footer" />
3093 </page>
3094
3095 <page name="choosedestinationfolder">
3096 <object type="template" name="header" />
3097
3098 <object type="text" color="%text_color%">
3099 <font resource="font" />
3100 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3101 <text>Browse to Destination Folder & Press Select</text>
3102 </object>
3103
3104 <object type="fileselector">
3105 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3106 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3107 <text>%tw_file_location2%</text>
3108 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3109 <sort name="tw_gui_sort_order" />
3110 <icon folder="folder_icon" file="file_icon" />
3111 <background color="%fileselector_background%" />
3112 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3113 <filter folders="1" files="0" />
3114 <path name="tw_file_location2" default="/" />
3115 <data name="tw_filename2" />
3116 <selection name="tw_selection2" />
3117 </object>
3118
3119 <object type="template" name="sort_options" />
3120
3121 <object type="action">
3122 <touch key="home" />
3123 <action function="page">main</action>
3124 </object>
3125
3126 <object type="action">
3127 <touch key="back" />
3128 <action function="page">filemanageroptions</action>
3129 </object>
3130
3131 <object type="button">
3132 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3133 <font resource="font" color="%button_text_color%" />
3134 <text>Select</text>
3135 <image resource="medium_button" />
3136 <actions>
3137 <action function="set">tw_fm_text2=to</action>
3138 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3139 <action function="set">tw_include_text3=1</action>
3140 <action function="set">tw_back=filemanageroptions</action>
3141 <action function="page">filemanagerconfirm</action>
3142 </actions>
3143 </object>
3144
3145 <object type="template" name="footer" />
3146 </page>
3147
3148 <page name="filemanagerrenamefile">
3149 <object type="template" name="header" />
3150
3151 <object type="text" color="%text_color%">
3152 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3153 <font resource="font" />
3154 <text>Please Enter a New %tw_fm_type% Name</text>
3155 </object>
3156
3157 <object type="input">
3158 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3159 <background color="%input_background_color%" />
3160 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3161 <font resource="font" color="%text_color%" />
3162 <text>%tw_filemanager_rename%</text>
3163 <data name="tw_filemanager_rename" />
3164 <restrict minlen="1" maxlen="128" />
3165 <actions>
3166 <action function="set">tw_fm_text2=to</action>
3167 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3168 <action function="set">tw_include_text3=1</action>
3169 <action function="set">tw_back=filemanageroptions</action>
3170 <action function="page">filemanagerconfirm</action>
3171 </actions>
3172 </object>
3173
3174 <object type="button">
3175 <placement x="%col_center_x%" y="%row2_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Cancel</text>
3178 <image resource="main_button" />
3179 <action function="page">filemanageroptions</action>
3180 </object>
3181
3182 <object type="template" name="keyboardtemplate" />
3183
3184 <object type="action">
3185 <touch key="home" />
3186 <action function="page">main</action>
3187 </object>
3188
3189 <object type="action">
3190 <touch key="back" />
3191 <action function="page">filemanageroptions</action>
3192 </object>
3193
3194 <object type="template" name="footer" />
3195 </page>
3196
3197 <page name="filemanagerrenamefolder">
3198 <object type="template" name="header" />
3199
3200 <object type="text" color="%text_color%">
3201 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3202 <font resource="font" />
3203 <text>Please Enter a New %tw_fm_type% Name</text>
3204 </object>
3205
3206 <object type="input">
3207 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3208 <background color="%input_background_color%" />
3209 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3210 <font resource="font" color="%text_color%" />
3211 <text>%tw_filemanager_rename%</text>
3212 <data name="tw_filemanager_rename" />
3213 <restrict minlen="1" maxlen="128" />
3214 <actions>
3215 <action function="set">tw_fm_text2=to</action>
3216 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3217 <action function="set">tw_include_text3=1</action>
3218 <action function="set">tw_back=filemanageroptions</action>
3219 <action function="page">filemanagerconfirm</action>
3220 </actions>
3221 </object>
3222
3223 <object type="button">
3224 <placement x="%col_center_x%" y="%row2_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>Cancel</text>
3227 <image resource="main_button" />
3228 <action function="page">filemanageroptions</action>
3229 </object>
3230
3231 <object type="template" name="keyboardtemplate" />
3232
3233 <object type="action">
3234 <touch key="home" />
3235 <action function="page">main</action>
3236 </object>
3237
3238 <object type="action">
3239 <touch key="back" />
3240 <action function="page">filemanageroptions</action>
3241 </object>
3242
3243 <object type="template" name="footer" />
3244 </page>
3245
3246 <page name="filemanagerchmod">
3247 <object type="template" name="header" />
3248
3249 <object type="text" color="%text_color%">
3250 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3251 <font resource="font" />
3252 <text>Please Enter New Permissions</text>
3253 </object>
3254
3255 <object type="input">
3256 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3257 <background color="%input_background_color%" />
3258 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3259 <font resource="font" color="%text_color%" />
3260 <text>%tw_filemanager_rename%</text>
3261 <data name="tw_filemanager_rename" />
3262 <restrict minlen="3" maxlen="4" allow="0123456789" />
3263 <actions>
3264 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3265 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3266 <action function="set">tw_back=filemanageroptions</action>
3267 <action function="page">filemanagerconfirm</action>
3268 </actions>
3269 </object>
3270
3271 <object type="button">
3272 <placement x="%col_center_x%" y="%row2_y%" />
3273 <font resource="font" color="%button_text_color%" />
3274 <text>Cancel</text>
3275 <image resource="main_button" />
3276 <action function="page">filemanageroptions</action>
3277 </object>
3278
3279 <object type="template" name="keyboardtemplate" />
3280
3281 <object type="action">
3282 <touch key="home" />
3283 <action function="page">main</action>
3284 </object>
3285
3286 <object type="action">
3287 <touch key="back" />
3288 <action function="page">filemanageroptions</action>
3289 </object>
3290
3291 <object type="template" name="footer" />
3292 </page>
3293
3294 <page name="filemanagerconfirm">
3295 <object type="template" name="header" />
3296
3297 <object type="text" color="%text_color%">
3298 <font resource="font" />
3299 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3300 <text>%tw_fm_text1%</text>
3301 </object>
3302
3303 <object type="text" color="%text_color%">
3304 <font resource="font" />
3305 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3306 <text>%tw_filename1%</text>
3307 </object>
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3312 <text>%tw_fm_text2%</text>
3313 </object>
3314
3315 <object type="text" color="%text_color%">
3316 <font resource="font" />
3317 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3318 <text>%tw_fm_text3%</text>
3319 </object>
3320
3321 <object type="text" color="%text_color%">
3322 <font resource="font" />
3323 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3324 <text>Press back button to cancel.</text>
3325 </object>
3326
3327 <object type="slider">
3328 <placement x="%slider_x%" y="%slider_y%" />
3329 <resource base="slider" used="slider-used" touch="slider-touch" />
3330 <action function="page">filemanageracction</action>
3331 </object>
3332
3333 <object type="text" color="%text_color%">
3334 <font resource="font" />
3335 <placement x="%center_x%" y="%slider_text_y%" placement="5" />
3336 <text>Swipe to Confirm</text>
3337 </object>
3338
3339 <object type="action">
3340 <touch key="back" />
3341 <action function="page">%tw_back%</action>
3342 </object>
3343
3344 <object type="action">
3345 <touch key="home" />
3346 <action function="page">main</action>
3347 </object>
3348
3349 <object type="template" name="footer" />
3350 </page>
3351
3352 <page name="filemanageracction">
3353 <object type="template" name="header" />
3354
3355 <object type="text" color="%text_color%">
3356
3357 <font resource="font" />
3358 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3359 <text>%tw_fm_text1%</text>
3360 </object>
3361
3362 <object type="template" name="action_page_console" />
3363
3364 <object type="template" name="progress_bar" />
3365
3366 <object type="action">
3367 <conditions>
3368 <condition var1="tw_operation_state" var2="1" />
3369 <condition var1="tw_operation_status" var2="0" />
3370 </conditions>
3371 <actions>
3372 <action function="set">tw_back=filemanagerlist</action>
3373 <action function="set">tw_complete_text1=File Operation Complete</action>
3374 <action function="page">action_complete</action>
3375 </actions>
3376 </object>
3377
3378 <object type="action">
3379 <conditions>
3380 <condition var1="tw_operation_state" var2="1" />
3381 <condition var1="tw_operation_status" op="!=" var2="0" />
3382 </conditions>
3383 <actions>
3384 <action function="set">tw_complete_text1=File Operation Complete</action>
3385 <action function="page">action_complete</action>
3386 </actions>
3387 </object>
3388
3389 <object type="action">
3390 <condition var1="tw_include_text3" var2="0" />
3391 <actions>
3392 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3393 </actions>
3394 </object>
3395
3396 <object type="action">
3397 <condition var1="tw_include_text3" var2="1" />
3398 <actions>
3399 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3400 </actions>
3401 </object>
3402 </page>
3403
3404 <page name="decrypt">
3405 <object type="template" name="header" />
3406
3407 <object type="text" color="%text_color%">
3408 <font resource="font" />
3409 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3410 <text>Please Enter Your Password</text>
3411 </object>
3412
3413 <object type="input">
3414 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3415 <background color="%input_background_color%" />
3416 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3417 <font resource="font" color="%text_color%" />
3418 <text>%tw_crypto_display%</text>
3419 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3420 <restrict minlen="1" maxlen="254" />
3421 <actions>
3422 <action function="page">trydecrypt</action>
3423 </actions>
3424 </object>
3425
3426 <object type="text" color="%text_fail_color%">
3427 <condition var1="tw_password_fail" var2="1" />
3428 <font resource="font" />
3429 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3430 <text>Password Failed, Please Try Again</text>
3431 </object>
3432
3433 <object type="button">
3434 <placement x="%col_center_x%" y="%row2_y%" />
3435 <font resource="font" color="%button_text_color%" />
3436 <text>Cancel</text>
3437 <image resource="main_button" />
3438 <actions>
3439 <action function="page">main</action>
3440 </actions>
3441 </object>
3442
3443 <object type="template" name="keyboardtemplate" />
3444
3445 <object type="action">
3446 <touch key="home" />
3447 <actions>
3448 <action function="page">main</action>
3449 </actions>
3450 </object>
3451
3452 <object type="action">
3453 <touch key="back" />
3454 <actions>
3455 <action function="page">main</action>
3456 </actions>
3457 </object>
3458
3459 <object type="template" name="footer" />
3460 </page>
3461
3462 <page name="trydecrypt">
3463 <object type="template" name="header" />
3464
3465 <object type="text" color="%text_color%">
3466 <font resource="font" />
3467 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3468 <text>Trying Decryption with Your Password</text>
3469 </object>
3470
3471 <object type="template" name="action_page_console" />
3472
3473 <object type="template" name="progress_bar" />
3474
3475 <object type="action">
3476 <action function="decrypt"></action>
3477 </object>
3478
3479 <object type="action">
3480 <conditions>
3481 <condition var1="tw_operation_state" var2="1" />
3482 <condition var1="tw_operation_status" op="!=" var2="0" />
3483 </conditions>
3484 <actions>
3485 <action function="set">tw_password_fail=1</action>
3486 <action function="page">decrypt</action>
3487 </actions>
3488 </object>
3489
3490 <object type="action">
3491 <conditions>
3492 <condition var1="tw_operation_state" var2="1" />
3493 <condition var1="tw_operation_status" op="=" var2="0" />
3494 </conditions>
3495 <action function="page">main</action>
3496 </object>
3497 </page>
3498
3499 <page name="terminalfolder">
3500 <object type="template" name="header" />
3501
3502 <object type="text" color="%text_color%">
3503 <font resource="font" />
3504 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3505 <text>Browse to Starting Folder</text>
3506 </object>
3507
3508 <object type="fileselector">
3509 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3511 <text>%tw_terminal_location%</text>
3512 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3513 <sort name="tw_gui_sort_order" />
3514 <icon folder="folder_icon" file="file_icon" />
3515 <background color="%fileselector_background%" />
3516 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" />
3517 <filter folders="1" files="0" />
3518 <path name="tw_terminal_location" default="/" />
3519 <data name="tw_terminal" />
3520 <selection name="tw_terminal_selection" />
3521 </object>
3522
3523 <object type="template" name="sort_options" />
3524
3525 <object type="action">
3526 <touch key="home" />
3527 <action function="page">main</action>
3528 </object>
3529
3530 <object type="action">
3531 <touch key="back" />
3532 <action function="page">advanced</action>
3533 </object>
3534
3535 <object type="button">
3536 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3537 <font resource="font" color="%button_text_color%" />
3538 <text>Select</text>
3539 <image resource="medium_button" />
3540 <actions>
3541 <action function="page">terminalcommand</action>
3542 </actions>
3543 </object>
3544
3545 <object type="template" name="footer" />
3546 </page>
3547 <page name="terminalcommand">
3548 <object type="template" name="header" />
3549
3550 <object type="console">
3551 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3552 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3553 <font resource="fixed" />
3554 </object>
3555
3556 <object type="text" color="%text_color%">
3557 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3558 <font resource="font" />
3559 <text>Starting Path: %tw_terminal_location%</text>
3560 </object>
3561
3562 <object type="input">
3563 <condition var1="tw_terminal_state" var2="0" />
3564 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3565 <background color="%input_background_color%" />
3566 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3567 <font resource="font" color="%text_color%" />
3568 <text>%tw_terminal_command%</text>
3569 <data name="tw_terminal_command" />
3570 <restrict minlen="1" />
3571 <action function="terminalcommand">%tw_terminal_command%</action>
3572 </object>
3573
3574 <object type="button">
3575 <condition var1="tw_terminal_state" var2="1" />
3576 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3577 <font resource="font" color="%button_text_color%" />
3578 <text>KILL</text>
3579 <image resource="medium_button" />
3580 <action function="killterminal"></action>
3581 </object>
3582
3583 <object type="template" name="keyboardtemplate" />
3584
3585 <object type="action">
3586 <touch key="home" />
3587 <action function="page">main</action>
3588 </object>
3589
3590 <object type="action">
3591 <touch key="back" />
3592 <action function="page">terminalfolder</action>
3593 </object>
3594 </page>
3595
3596 </pages>
3597</recovery>
3598