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