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