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