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