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