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