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