blob: 686b24b3f773e9b4eda3ffb134858e4ac1cec37c [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>
2121 <condition var1="tw_is_encrypted" var2="1" />
2122 <condition var1="tw_is_decrypted" var2="0" />
2123 </conditions>
2124 <placement x="%col2_x%" y="row4_y" />
2125 <font resource="font" color="%button_text_color%" />
2126 <text>Decrypt Data</text>
2127 <image resource="main_button" />
2128 <action function="page">decrypt</action>
2129 </object>
2130
2131 <object type="action">
2132 <touch key="home" />
2133 <action function="page">main</action>
2134 </object>
2135
2136 <object type="action">
2137 <touch key="back" />
2138 <action function="page">main</action>
2139 </object>
2140
2141 <object type="template" name="footer" />
2142 </page>
2143
2144 <page name="usb_mount">
2145 <object type="template" name="header" />
2146
2147 <object type="text" color="%text_color%">
2148 <font resource="font" />
2149 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2150 <text>USB Storage Mounted</text>
2151 </object>
2152
2153 <object type="text" color="%text_color%">
2154 <placement x="%col1_x%" y="%row1_text_y%" />
2155 <font resource="font" />
2156 <text>Be sure to safely remove your device</text>
2157 </object>
2158
2159 <object type="text" color="%text_color%">
2160 <placement x="%col1_x%" y="%row2_text_y%" />
2161 <font resource="font" />
2162 <text>from your computer before unmounting!</text>
2163 </object>
2164
2165 <object type="button">
2166 <highlight color="%highlight_color%" />
2167 <placement x="%col1_x%" y="%row3_y%" />
2168 <font resource="font" color="%button_text_color%" />
2169 <text>Unmount</text>
2170 <image resource="main_button" />
2171 <action function="page">usb_umount</action>
2172 </object>
2173
2174 <object type="action">
2175 <action function="mount">usb</action>
2176 </object>
2177
2178 <object type="template" name="footer" />
2179 </page>
2180
2181 <page name="usb_umount">
2182 <object type="action">
2183 <action function="unmount">usb</action>
2184 </object>
2185
2186 <object type="action">
2187 <action function="page">mount</action>
2188 </object>
2189 </page>
2190
2191 <page name="reboot">
2192 <object type="template" name="header" />
2193
2194 <object type="text" color="%text_color%">
2195 <font resource="font" />
2196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2197 <text>Reboot Menu</text>
2198 </object>
2199
2200 <object type="button">
2201 <highlight color="%highlight_color%" />
2202 <condition var1="tw_reboot_system" var2="1" />
2203 <placement x="%col1_x%" y="%row1_y%" />
2204 <font resource="font" color="%button_text_color%" />
2205 <text>System</text>
2206 <image resource="main_button" />
2207 <actions>
2208 <action function="set">tw_back=reboot</action>
2209 <action function="set">tw_action=reboot</action>
2210 <action function="set">tw_action_param=system</action>
2211 <action function="set">tw_has_action2=0</action>
2212 <action function="set">tw_text1=No OS Installed! Are you</action>
2213 <action function="set">tw_text2=sure you wish to reboot?</action>
2214 <action function="set">tw_action_text1=Rebooting...</action>
2215 <action function="set">tw_complete_text1=Rebooting...</action>
2216 <action function="set">tw_slider_text=Swipe to Reboot</action>
2217 <action function="page">rebootcheck</action>
2218 </actions>
2219 </object>
2220
2221 <object type="button">
2222 <highlight color="%highlight_color%" />
2223 <condition var1="tw_reboot_poweroff" var2="1" />
2224 <placement x="%col2_x%" y="%row1_y%" />
2225 <font resource="font" color="%button_text_color%" />
2226 <text>Power Off</text>
2227 <image resource="main_button" />
2228 <actions>
2229 <action function="set">tw_back=reboot</action>
2230 <action function="set">tw_action=reboot</action>
2231 <action function="set">tw_action_param=poweroff</action>
2232 <action function="set">tw_has_action2=0</action>
2233 <action function="set">tw_text1=No OS Installed! Are you</action>
2234 <action function="set">tw_text2=sure you wish to power off?</action>
2235 <action function="set">tw_action_text1=Turning Off...</action>
2236 <action function="set">tw_complete_text1=Turning Off...</action>
2237 <action function="set">tw_slider_text=Swipe to Power Off</action>
2238 <action function="page">rebootcheck</action>
2239 </actions>
2240 </object>
2241
2242 <object type="button">
2243 <highlight color="%highlight_color%" />
2244 <condition var1="tw_reboot_recovery" var2="1" />
2245 <placement x="%col1_x%" y="%row2_y%" />
2246 <font resource="font" color="%button_text_color%" />
2247 <text>Recovery</text>
2248 <image resource="main_button" />
2249 <actions>
2250 <action function="set">tw_back=reboot</action>
2251 <action function="set">tw_action=reboot</action>
2252 <action function="set">tw_action_param=recovery</action>
2253 <action function="set">tw_has_action2=0</action>
2254 <action function="set">tw_text1=No OS Installed! Are you</action>
2255 <action function="set">tw_text2=sure you wish to reboot?</action>
2256 <action function="set">tw_action_text1=Rebooting...</action>
2257 <action function="set">tw_complete_text1=Rebooting...</action>
2258 <action function="set">tw_slider_text=Swipe to Reboot</action>
2259 <action function="page">rebootcheck</action>
2260 </actions>
2261 </object>
2262
2263 <object type="button">
2264 <highlight color="%highlight_color%" />
2265 <condition var1="tw_reboot_bootloader" var2="1" />
2266 <placement x="%col2_x%" y="%row2_y%" />
2267 <font resource="font" color="%button_text_color%" />
2268 <text>Bootloader</text>
2269 <image resource="main_button" />
2270 <actions>
2271 <action function="set">tw_back=reboot</action>
2272 <action function="set">tw_action=reboot</action>
2273 <action function="set">tw_action_param=bootloader</action>
2274 <action function="set">tw_has_action2=0</action>
2275 <action function="set">tw_text1=No OS Installed! Are you</action>
2276 <action function="set">tw_text2=sure you wish to reboot?</action>
2277 <action function="set">tw_action_text1=Rebooting...</action>
2278 <action function="set">tw_complete_text1=Rebooting...</action>
2279 <action function="set">tw_slider_text=Swipe to Reboot</action>
2280 <action function="page">rebootcheck</action>
2281 </actions>
2282 </object>
2283
2284 <object type="button">
2285 <highlight color="%highlight_color%" />
2286 <condition var1="tw_download_mode" var2="1" />
2287 <placement x="%col1_x%" y="%row3_y%" />
2288 <font resource="font" color="%button_text_color%" />
2289 <text>Download</text>
2290 <image resource="main_button" />
2291 <actions>
2292 <action function="set">tw_back=reboot</action>
2293 <action function="set">tw_action=reboot</action>
2294 <action function="set">tw_action_param=download</action>
2295 <action function="set">tw_has_action2=0</action>
2296 <action function="set">tw_text1=No OS Installed! Are you</action>
2297 <action function="set">tw_text2=sure you wish to reboot?</action>
2298 <action function="set">tw_action_text1=Rebooting...</action>
2299 <action function="set">tw_complete_text1=Rebooting...</action>
2300 <action function="set">tw_slider_text=Swipe to Reboot</action>
2301 <action function="page">rebootcheck</action>
2302 </actions>
2303 </object>
2304
2305 <object type="action">
2306 <touch key="home" />
2307 <action function="page">main</action>
2308 </object>
2309
2310 <object type="action">
2311 <touch key="back" />
2312 <action function="page">main</action>
2313 </object>
2314
2315 <object type="template" name="footer" />
2316 </page>
2317
2318 <page name="settings">
2319 <object type="template" name="header" />
2320
2321 <object type="checkbox">
2322 <placement x="%col1_x%" y="%row1_header_y%" />
2323 <font resource="font" color="%text_color%" />
2324 <text>Zip file signature verification.</text>
2325 <data variable="tw_signed_zip_verify" />
2326 <image checked="checkbox_true" unchecked="checkbox_false" />
2327 </object>
2328
2329 <object type="checkbox">
2330 <placement x="%col1_x%" y="%row1_text_y%" />
2331 <font resource="font" color="%text_color%" />
2332 <text>Use rm -rf instead of formatting.</text>
2333 <data variable="tw_rm_rf" />
2334 <image checked="checkbox_true" unchecked="checkbox_false" />
2335 </object>
2336
2337 <object type="checkbox">
2338 <placement x="%col1_x%" y="%row2_text_y%" />
2339 <font resource="font" color="%text_color%" />
2340 <text>Skip MD5 generation during backup.</text>
2341 <data variable="tw_skip_md5_generate" />
2342 <image checked="checkbox_true" unchecked="checkbox_false" />
2343 </object>
2344
2345 <object type="checkbox">
2346 <placement x="%col1_x%" y="%row3_text_y%" />
2347 <font resource="font" color="%text_color%" />
2348 <text>Enable MD5 verification of backup files.</text>
2349 <data variable="tw_skip_md5_check" />
2350 <image checked="checkbox_true" unchecked="checkbox_false" />
2351 </object>
2352
2353 <object type="checkbox">
2354 <placement x="%col1_x%" y="%row4_text_y%" />
2355 <font resource="font" color="%text_color%" />
2356 <text>Use Military Time.</text>
2357 <data variable="tw_military_time" />
2358 <image checked="checkbox_true" unchecked="checkbox_false" />
2359 </object>
2360
2361 <object type="checkbox">
2362 <placement x="%col1_x%" y="%row5_text_y%" />
2363 <font resource="font" color="%text_color%" />
2364 <text>Simulate actions for theme testing.</text>
2365 <data variable="tw_simulate_actions" />
2366 <image checked="checkbox_true" unchecked="checkbox_false" />
2367 </object>
2368
2369 <object type="checkbox">
2370 <condition var1="tw_simulate_actions" var2="1" />
2371 <placement x="%col1_x%" y="%row6_text_y%" />
2372 <font resource="font" color="%text_color%" />
2373 <text>Simulate failure for actions.</text>
2374 <data variable="tw_simulate_fail" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="button">
2379 <highlight color="%highlight_color%" />
2380 <placement x="%col1_x%" y="%row3_y%" />
2381 <font resource="font" color="%button_text_color%" />
2382 <text>Time Zone</text>
2383 <image resource="main_button" />
2384 <action function="page">timezone</action>
2385 </object>
2386
2387 <object type="button">
2388 <highlight color="%highlight_color%" />
2389 <placement x="%col2_x%" y="%row3_y%" />
2390 <font resource="font" color="%button_text_color%" />
2391 <text>Screen</text>
2392 <image resource="main_button" />
2393 <action function="page">screen</action>
2394 </object>
2395
2396 <object type="button">
2397 <highlight color="%highlight_color%" />
2398 <placement x="%col1_x%" y="%row4_y%" />
2399 <font resource="font" color="%button_text_color%" />
2400 <text>Restore Defaults</text>
2401 <image resource="main_button" />
2402 <action function="restoredefaultsettings"></action>
2403 </object>
2404
2405 <object type="button">
2406 <highlight color="%highlight_color%" />
2407 <placement x="%col2_x%" y="%row4_y%" />
2408 <font resource="font" color="%button_text_color%" />
2409 <text>Vibration</text>
2410 <image resource="main_button" />
2411 <action function="page">vibrate</action>
2412 </object>
2413
2414 <object type="action">
2415 <touch key="home" />
2416 <action function="page">main</action>
2417 </object>
2418
2419 <object type="action">
2420 <touch key="back" />
2421 <action function="page">main</action>
2422 </object>
2423
2424 <object type="template" name="footer" />
2425 </page>
2426
2427 <page name="timezone">
2428 <object type="template" name="header" />
2429
2430 <object type="listbox">
2431 <highlight color="%fileselector_highlight_color%" />
2432 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2433 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2434 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2435 <text>Select Time Zone:</text>
2436 <icon selected="radio_true" unselected="radio_false" />
2437 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2438 <background color="%listbox_background%" />
2439 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2440 <data name="tw_time_zone_guisel" />
2441 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2442 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2443 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2444 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2445 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2446 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2447 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2448 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2449 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2450 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2451 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2452 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2453 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2454 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2455 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2456 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2457 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2458 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2459 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2460 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2461 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2462 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2463 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2464 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2465 </object>
2466
2467 <object type="checkbox">
2468 <placement x="%col1_x%" y="%row_dst_text_y%" />
2469 <font resource="font" color="%text_color%" />
2470 <text>Do you use daylight savings time (DST)?</text>
2471 <data variable="tw_time_zone_guidst" />
2472 <image checked="checkbox_true" unchecked="checkbox_false" />
2473 </object>
2474
2475 <object type="text" color="%text_color%">
2476 <font resource="font" />
2477 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2478 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2479 </object>
2480
2481 <object type="button">
2482 <highlight color="%highlight_color%" />
2483 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
2484 <font resource="font" color="%button_text_color%" />
2485 <text>None</text>
2486 <image resource="medium_button" />
2487 <action function="set">tw_time_zone_guioffset=0</action>
2488 </object>
2489
2490 <object type="button">
2491 <highlight color="%highlight_color%" />
2492 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
2493 <font resource="font" color="%button_text_color%" />
2494 <text>15</text>
2495 <image resource="medium_button" />
2496 <action function="set">tw_time_zone_guioffset=15</action>
2497 </object>
2498
2499 <object type="button">
2500 <highlight color="%highlight_color%" />
2501 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
2502 <font resource="font" color="%button_text_color%" />
2503 <text>30</text>
2504 <image resource="medium_button" />
2505 <action function="set">tw_time_zone_guioffset=30</action>
2506 </object>
2507
2508 <object type="button">
2509 <highlight color="%highlight_color%" />
2510 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
2511 <font resource="font" color="%button_text_color%" />
2512 <text>45</text>
2513 <image resource="medium_button" />
2514 <action function="set">tw_time_zone_guioffset=45</action>
2515 </object>
2516
2517 <object type="button">
2518 <highlight color="%highlight_color%" />
2519 <placement x="%col_center_x%" y="%tz_set_y%" />
2520 <font resource="font" color="%button_text_color%" />
2521 <text>Set Time Zone</text>
2522 <image resource="main_button" />
2523 <action function="setguitimezone"></action>
2524 </object>
2525
2526 <object type="text" color="%text_color%">
2527 <font resource="font" />
2528 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2529 <text>Current Time Zone: %tw_time_zone%</text>
2530 </object>
2531
2532 <object type="action">
2533 <touch key="home" />
2534 <action function="page">main</action>
2535 </object>
2536
2537 <object type="action">
2538 <touch key="back" />
2539 <action function="page">settings</action>
2540 </object>
2541 </page>
2542
2543 <page name="screen">
2544 <object type="template" name="header" />
2545
2546 <object type="text" color="%text_color%">
2547 <font resource="font" />
2548 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2549 <text>Screen Settings</text>
2550 </object>
2551
2552 <object type="button">
2553 <placement x="%col1_x%" y="%row2_text_y%" />
2554 <font resource="font" color="%text_color%" />
2555 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2556 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2557 <text>Enable screen timeout.</text>
2558 <image resource="checkbox_false" />
2559 <action function="set">tw_screen_timeout_secs=60</action>
2560 </object>
2561
2562 <object type="button">
2563 <placement x="%col1_x%" y="%row2_text_y%" />
2564 <font resource="font" color="%text_color%" />
2565 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2566 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2567 <text>Enable screen timeout.</text>
2568 <image resource="checkbox_true" />
2569 <action function="set">tw_screen_timeout_secs=0</action>
2570 </object>
2571
2572 <object type="slidervalue">
2573 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2574 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2575 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2576 <font resource="font" color="%text_color%" />
2577 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2578 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2579 <text>Screen timeout in seconds:</text>
2580 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2581 </object>
2582
2583 <object type="slidervalue">
2584 <condition var1="tw_has_brightnesss_file" var2="1" />
2585 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2586 <font resource="font" color="%text_color%" />
2587 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2588 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2589 <text>Brightness: %tw_brightness_pct%%</text>
2590 <data variable="tw_brightness_pct" min="10" max="100" />
2591 <actions>
2592 <action function="set">tw_brightness=%tw_brightness_max%</action>
2593 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2594 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002595 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002596 </actions>
2597 </object>
2598
2599 <object type="action">
2600 <touch key="home" />
2601 <action function="page">main</action>
2602 </object>
2603
2604 <object type="action">
2605 <touch key="back" />
2606 <action function="page">settings</action>
2607 </object>
2608
2609 <object type="template" name="footer" />
2610 </page>
2611
2612 <page name="vibrate">
2613 <object type="template" name="header" />
2614
2615 <object type="text" color="%text_color%">
2616 <font resource="font" />
2617 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2618 <text>Vibration Settings :</text>
2619 </object>
2620
2621 <object type="slidervalue">
2622 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
2623 <font resource="font" color="%text_color%" />
2624 <text>Button Vibration:</text>
2625 <data variable="tw_button_vibrate" min="0" max="300" />
2626 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2627 </object>
2628
2629 <object type="slidervalue">
2630 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
2631 <font resource="font" color="%text_color%" />
2632 <text>Keyboard Vibration:</text>
2633 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2634 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2635 </object>
2636
2637 <object type="slidervalue">
2638 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
2639 <font resource="font" color="%text_color%" />
2640 <text>Action Vibration:</text>
2641 <data variable="tw_action_vibrate" min="0" max="500" />
2642 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2643 </object>
2644
2645 <object type="action">
2646 <touch key="home" />
2647 <action function="page">main</action>
2648 </object>
2649
2650 <object type="action">
2651 <touch key="back" />
2652 <action function="page">settings</action>
2653 </object>
2654
2655 <object type="template" name="footer" />
2656 </page>
2657
2658 <page name="advanced">
2659 <object type="template" name="header" />
2660
2661 <object type="text" color="%text_color%">
2662 <font resource="font" />
2663 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2664 <text>Advanced</text>
2665 </object>
2666
2667 <object type="button">
2668 <highlight color="%highlight_color%" />
2669 <placement x="%col1_x%" y="%row1_y%" />
2670 <font resource="font" color="%button_text_color%" />
2671 <text>Copy Log to SD</text>
2672 <image resource="main_button" />
2673 <actions>
2674 <action function="set">tw_back=advanced</action>
2675 <action function="set">tw_action=copylog</action>
2676 <action function="set">tw_text1=Copy Log to SD Card?</action>
2677 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2678 <action function="set">tw_complete_text1=Log Copy Complete</action>
2679 <action function="set">tw_slider_text=Swipe to Confirm</action>
2680 <action function="page">confirm_action</action>
2681 </actions>
2682 </object>
2683
2684 <object type="button">
2685 <highlight color="%highlight_color%" />
2686 <placement x="%col2_x%" y="%row1_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>Fix Permissions</text>
2689 <image resource="main_button" />
2690 <actions>
2691 <action function="set">tw_back=advanced</action>
2692 <action function="set">tw_action=fixpermissions</action>
2693 <action function="set">tw_text1=Fix Permissions?</action>
2694 <action function="set">tw_action_text1=Fixing Permissions...</action>
2695 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2696 <action function="set">tw_slider_text=Swipe to Confirm</action>
2697 <action function="set">tw_show_reboot=1</action>
2698 <action function="page">confirm_action</action>
2699 </actions>
2700 </object>
2701
2702 <object type="button">
2703 <highlight color="%highlight_color%" />
2704 <condition var1="tw_allow_partition_sdcard" var2="1" />
2705 <placement x="%col1_x%" y="%row2_y%" />
2706 <font resource="font" color="%button_text_color%" />
2707 <text>Partition SD Card</text>
2708 <image resource="main_button" />
2709 <action function="page">partsdcard</action>
2710 </object>
2711
2712 <object type="button">
2713 <highlight color="%highlight_color%" />
2714 <placement x="%col2_x%" y="%row2_y%" />
2715 <font resource="font" color="%button_text_color%" />
2716 <text>File Manager</text>
2717 <image resource="main_button" />
2718 <action function="page">filemanagerlist</action>
2719 </object>
2720
2721 <object type="button">
2722 <highlight color="%highlight_color%" />
2723 <placement x="%col1_x%" y="%row3_y%" />
2724 <font resource="font" color="%button_text_color%" />
2725 <text>Terminal Command</text>
2726 <image resource="main_button" />
2727 <action function="page">terminalfolder</action>
2728 </object>
2729
2730 <object type="button">
2731 <highlight color="%highlight_color%" />
2732 <placement x="%col2_x%" y="%row3_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text>Reload Theme</text>
2735 <image resource="main_button" />
2736 <action function="reload"></action>
2737 </object>
2738
2739 <object type="button">
2740 <highlight color="%highlight_color%" />
2741 <placement x="%col1_x%" y="%row4_y%" />
2742 <font resource="font" color="%button_text_color%" />
2743 <text>ADB Sideload</text>
2744 <image resource="main_button" />
2745 <action function="page">sideload</action>
2746 </object>
2747
2748 <object type="button">
2749 <highlight color="%highlight_color%" />
2750 <condition var1="tw_show_dumlock" var2="1" />
2751 <placement x="%col2_x%" y="%row4_y%" />
2752 <font resource="font" color="%button_text_color%" />
2753 <text>HTC Dumlock</text>
2754 <image resource="main_button" />
2755 <action function="page">htcdumlock</action>
2756 </object>
2757
2758 <object type="button">
2759 <highlight color="%highlight_color%" />
2760 <condition var1="tw_has_injecttwrp" var2="1" />
2761 <placement x="%col2_x%" y="%row4_y%" />
2762 <font resource="font" color="%button_text_color%" />
2763 <text>Re-Inject TWRP</text>
2764 <image resource="main_button" />
2765 <actions>
2766 <action function="set">tw_back=advanced</action>
2767 <action function="set">tw_action=reinjecttwrp</action>
2768 <action function="set">tw_text1=Re-Inject TWRP?</action>
2769 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2770 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2771 <action function="set">tw_slider_text=Swipe to Confirm</action>
2772 <action function="page">confirm_action</action>
2773 </actions>
2774 </object>
2775
2776 <object type="action">
2777 <touch key="home" />
2778 <action function="page">main</action>
2779 </object>
2780
2781 <object type="action">
2782 <touch key="back" />
2783 <action function="page">main</action>
2784 </object>
2785
2786 <object type="template" name="footer" />
2787 </page>
2788
2789 <page name="partsdcard">
2790 <object type="template" name="header" />
2791
2792 <object type="text" color="%text_color%">
2793 <font resource="font" />
2794 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2795 <text>Partition SD Card</text>
2796 </object>
2797
2798 <object type="button">
2799 <highlight color="%highlight_color%" />
2800 <placement x="%col1_x%" y="%row1_y%" />
2801 <font resource="font" color="%button_text_color%" />
2802 <text></text>
2803 <image resource="minus_button" />
2804 <action function="addsubtract">tw_sdext_size-128</action>
2805 </object>
2806
2807 <object type="button">
2808 <highlight color="%highlight_color%" />
2809 <placement x="%sd_plus_x%" y="%row1_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text></text>
2812 <image resource="plus_button" />
2813 <action function="addsubtract">tw_sdext_size+128</action>
2814 </object>
2815
2816 <object type="text" color="%text_color%">
2817 <font resource="font" />
2818 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2819 <text>EXT Size: %tw_sdext_size%</text>
2820 </object>
2821
2822 <object type="button">
2823 <highlight color="%highlight_color%" />
2824 <placement x="%col1_x%" y="%sdswap_button_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text></text>
2827 <image resource="minus_button" />
2828 <action function="addsubtract">tw_swap_size-32</action>
2829 </object>
2830
2831 <object type="button">
2832 <highlight color="%highlight_color%" />
2833 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text></text>
2836 <image resource="plus_button" />
2837 <action function="addsubtract">tw_swap_size+32</action>
2838 </object>
2839
2840 <object type="text" color="%text_color%">
2841 <font resource="font" />
2842 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2843 <text>Swap Size: %tw_swap_size%</text>
2844 </object>
2845
2846 <object type="text" color="%text_color%">
2847 <font resource="font" />
2848 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2849 <text>File system: %tw_sdpart_file_system%</text>
2850 </object>
2851
2852 <object type="button">
2853 <highlight color="%highlight_color%" />
2854 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2855 <font resource="font" color="%button_text_color%" />
2856 <text>EXT3</text>
2857 <image resource="main_button" />
2858 <action function="set">tw_sdpart_file_system=ext3</action>
2859 </object>
2860
2861 <object type="button">
2862 <highlight color="%highlight_color%" />
2863 <condition var1="tw_sdext_disable_ext4" var2="0" />
2864 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2865 <font resource="font" color="%button_text_color%" />
2866 <text>EXT4</text>
2867 <image resource="main_button" />
2868 <action function="set">tw_sdpart_file_system=ext4</action>
2869 </object>
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%col1_x%" y="%row10_text_y%" />
2874 <text>You will lose all files on your SD card!</text>
2875 </object>
2876
2877 <object type="text" color="%text_color%">
2878 <font resource="font" />
2879 <placement x="%col1_x%" y="%row11_text_y%" />
2880 <text>This action cannot be undone!</text>
2881 </object>
2882
2883 <object type="slider">
2884 <placement x="%slider_x%" y="%slider_y%" />
2885 <resource base="slider" used="slider-used" touch="slider-touch" />
2886 <action function="page">partsdcardaction</action>
2887 <actions>
2888 <action function="set">tw_back=partsdcard</action>
2889 <action function="set">tw_action=partitionsd</action>
2890 <action function="set">tw_has_action2=1</action>
2891 <action function="set">tw_action2=set</action>
2892 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2893 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2894 <action function="set">tw_action_text2=This will take a few minutes.</action>
2895 <action function="set">tw_complete_text1=Partitioning Complete</action>
2896 <action function="page">action_page</action>
2897 </actions>
2898 </object>
2899
2900 <object type="text" color="%text_color%">
2901 <font resource="font" />
2902 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2903 <text>Swipe to Partition</text>
2904 </object>
2905
2906 <object type="action">
2907 <touch key="home" />
2908 <action function="page">main</action>
2909 </object>
2910
2911 <object type="action">
2912 <touch key="back" />
2913 <action function="page">advanced</action>
2914 </object>
2915 </page>
2916
2917 <page name="htcdumlock">
2918 <object type="template" name="header" />
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2923 <text>HTC Dumlock</text>
2924 </object>
2925
2926 <object type="button">
2927 <highlight color="%highlight_color%" />
2928 <condition var1="tw_show_dumlock" var2="1" />
2929 <placement x="%col1_x%" y="%row1_y%" />
2930 <font resource="font" color="%button_text_color%" />
2931 <text>Restore Original Boot</text>
2932 <image resource="main_button" />
2933 <actions>
2934 <action function="set">tw_back=htcdumlock</action>
2935 <action function="set">tw_action=htcdumlockrestoreboot</action>
2936 <action function="set">tw_text1=Restore original boot image?</action>
2937 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2938 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2939 <action function="set">tw_slider_text=Swipe to Confirm</action>
2940 <action function="page">confirm_action</action>
2941 </actions>
2942 </object>
2943
2944 <object type="button">
2945 <highlight color="%highlight_color%" />
2946 <condition var1="tw_show_dumlock" var2="1" />
2947 <placement x="%col2_x%" y="%row1_y%" />
2948 <font resource="font" color="%button_text_color%" />
2949 <text>Reflash Recovery</text>
2950 <image resource="main_button" />
2951 <actions>
2952 <action function="set">tw_back=htcdumlock</action>
2953 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2954 <action function="set">tw_text1=Reflash recovery to boot?</action>
2955 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2956 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2957 <action function="set">tw_slider_text=Swipe to Confirm</action>
2958 <action function="page">confirm_action</action>
2959 </actions>
2960 </object>
2961
2962 <object type="button">
2963 <highlight color="%highlight_color%" />
2964 <condition var1="tw_show_dumlock" var2="1" />
2965 <placement x="%col1_x%" y="%row2_y%" />
2966 <font resource="font" color="%button_text_color%" />
2967 <text>Install HTC Dumlock</text>
2968 <image resource="main_button" />
2969 <actions>
2970 <action function="set">tw_back=htcdumlock</action>
2971 <action function="set">tw_action=installhtcdumlock</action>
2972 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2973 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2974 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2975 <action function="set">tw_slider_text=Swipe to Confirm</action>
2976 <action function="page">confirm_action</action>
2977 </actions>
2978 </object>
2979
2980 <object type="action">
2981 <touch key="home" />
2982 <action function="page">main</action>
2983 </object>
2984
2985 <object type="action">
2986 <touch key="back" />
2987 <action function="page">advanced</action>
2988 </object>
2989
2990 <object type="template" name="footer" />
2991 </page>
2992
2993 <page name="lock">
2994 <background color="#000000A0" />
2995
2996 <object type="image">
2997 <image resource="unlock-icon" />
2998 <placement x="%lock_x%" y="%lock_y%" />
2999 </object>
3000
3001 <object type="slider">
3002 <placement x="%slider_x%" y="%slider_y%" />
3003 <resource base="slider" used="slider-used" touch="slider-touch" />
3004 <action function="overlay"></action>
3005 </object>
3006
3007 <object type="text" color="%text_color%">
3008 <font resource="font" />
3009 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3010 <text>Swipe to Unlock</text>
3011 </object>
3012 </page>
3013
3014 <page name="filemanagerlist">
3015 <object type="template" name="header" />
3016
3017 <object type="text" color="%text_color%">
3018 <font resource="font" />
3019 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3020 <text>File Manager: Select a File or Folder</text>
3021 </object>
3022
3023 <object type="fileselector">
3024 <highlight color="%fileselector_highlight_color%" />
3025 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3026 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3027 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3028 <text>%tw_file_location1%</text>
3029 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3030 <sort name="tw_gui_sort_order" />
3031 <icon folder="folder_icon" file="file_icon" />
3032 <background color="%fileselector_background%" />
3033 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3034 <folders="1" files="1" />
3035 <path name="tw_file_location1" default="/" />
3036 <data name="tw_filename1" />
3037 <selection name="tw_selection1" />
3038 </object>
3039
3040 <object type="template" name="sort_options" />
3041
3042 <object type="action">
3043 <actions>
3044 <action function="set">tw_fm_type=File</action>
3045 <action function="set">tw_fm_isfolder=0</action>
3046 </actions>
3047 </object>
3048
3049 <object type="action">
3050 <touch key="home" />
3051 <action function="page">main</action>
3052 </object>
3053
3054 <object type="action">
3055 <touch key="back" />
3056 <action function="page">advanced</action>
3057 </object>
3058
3059 <object type="action">
3060 <condition var1="tw_filename1" op="modified" />
3061 <actions>
3062 <action function="page">filemanageroptions</action>
3063 </actions>
3064 </object>
3065
3066 <object type="button">
3067 <highlight color="%highlight_color%" />
3068 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3069 <font resource="font" color="%button_text_color%" />
3070 <text>Select</text>
3071 <image resource="medium_button" />
3072 <actions>
3073 <action function="set">tw_filename1=tw_file_location1</action>
3074 <action function="set">tw_fm_isfolder=1</action>
3075 <action function="set">tw_fm_type=Folder</action>
3076 <action function="page">filemanageroptions</action>
3077 </actions>
3078 </object>
3079 </page>
3080
3081 <page name="filemanageroptions">
3082 <object type="template" name="header" />
3083
3084 <object type="text" color="%text_color%">
3085 <font resource="font" />
3086 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3087 <text>%tw_fm_type% Selected:</text>
3088 </object>
3089
3090 <object type="text" color="%text_color%">
3091 <font resource="font" />
3092 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3093 <text>%tw_filename1%</text>
3094 </object>
3095
3096 <object type="button">
3097 <highlight color="%highlight_color%" />
3098 <condition var1="tw_fm_isfolder" var2="0" />
3099 <placement x="%col1_x%" y="%row2_y%" />
3100 <font resource="font" color="%button_text_color%" />
3101 <text>Copy File</text>
3102 <image resource="main_button" />
3103 <actions>
3104 <action function="set">tw_filemanager_command=cp</action>
3105 <action function="set">tw_fm_text1=Copying</action>
3106 <action function="page">choosedestinationfolder</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
3111 <highlight color="%highlight_color%" />
3112 <condition var1="tw_fm_isfolder" var2="1" />
3113 <placement x="%col1_x%" y="%row2_y%" />
3114 <font resource="font" color="%button_text_color%" />
3115 <text>Copy Folder</text>
3116 <image resource="main_button" />
3117 <actions>
3118 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3119 <action function="set">tw_fm_text1=Copying</action>
3120 <action function="page">choosedestinationfolder</action>
3121 </actions>
3122 </object>
3123
3124 <object type="button">
3125 <highlight color="%highlight_color%" />
3126 <placement x="%col2_x%" y="%row2_y%" />
3127 <font resource="font" color="%button_text_color%" />
3128 <text>Move</text>
3129 <image resource="main_button" />
3130 <actions>
3131 <action function="set">tw_filemanager_command=mv</action>
3132 <action function="set">tw_fm_text1=Moving</action>
3133 <action function="page">choosedestinationfolder</action>
3134 </actions>
3135 </object>
3136
3137 <object type="button">
3138 <highlight color="%highlight_color%" />
3139 <placement x="%col1_x%" y="%row3_y%" />
3140 <font resource="font" color="%button_text_color%" />
3141 <text>chmod 755</text>
3142 <image resource="main_button" />
3143 <actions>
3144 <action function="set">tw_filemanager_command=chmod 755</action>
3145 <action function="set">tw_fm_text1=chmod 755</action>
3146 <action function="set">tw_fm_text2=</action>
3147 <action function="set">tw_fm_text3=</action>
3148 <action function="set">tw_include_text3=0</action>
3149 <action function="set">tw_back=filemanageroptions</action>
3150 <action function="page">filemanagerconfirm</action>
3151 </actions>
3152 </object>
3153
3154 <object type="button">
3155 <highlight color="%highlight_color%" />
3156 <placement x="%col2_x%" y="%row3_y%" />
3157 <font resource="font" color="%button_text_color%" />
3158 <text>chmod</text>
3159 <image resource="main_button" />
3160 <actions>
3161 <action function="set">tw_filemanager_rename=0000</action>
3162 <action function="set">tw_fm_text2=</action>
3163 <action function="set">tw_fm_text3=</action>
3164 <action function="set">tw_include_text3=0</action>
3165 <action function="set">tw_back=filemanageroptions</action>
3166 <action function="page">filemanagerchmod</action>
3167 </actions>
3168 </object>
3169
3170 <object type="button">
3171 <highlight color="%highlight_color%" />
3172 <placement x="%col1_x%" y="%row4_y%" />
3173 <font resource="font" color="%button_text_color%" />
3174 <text>Delete</text>
3175 <image resource="main_button" />
3176 <actions>
3177 <action function="set">tw_filemanager_command=rm -rf</action>
3178 <action function="set">tw_fm_text1=Deleting</action>
3179 <action function="set">tw_fm_text2=</action>
3180 <action function="set">tw_fm_text3=</action>
3181 <action function="set">tw_include_text3=0</action>
3182 <action function="set">tw_back=filemanageroptions</action>
3183 <action function="page">filemanagerconfirm</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
3188 <highlight color="%highlight_color%" />
3189 <condition var1="tw_fm_isfolder" var2="0" />
3190 <placement x="%col2_x%" y="%row4_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Rename File</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_rename=tw_selection1</action>
3196 <action function="set">tw_fm_text1=Renaming</action>
3197 <action function="set">tw_filemanager_command=mv</action>
3198 <action function="page">filemanagerrenamefile</action>
3199 </actions>
3200 </object>
3201
3202 <object type="button">
3203 <highlight color="%highlight_color%" />
3204 <condition var1="tw_fm_isfolder" var2="1" />
3205 <placement x="%col2_x%" y="%row4_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>Rename Folder</text>
3208 <image resource="main_button" />
3209 <actions>
3210 <action function="set">tw_filemanager_rename=tw_selection1</action>
3211 <action function="set">tw_fm_text1=Renaming</action>
3212 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3213 <action function="page">filemanagerrenamefolder</action>
3214 </actions>
3215 </object>
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">filemanagerlist</action>
3225 </object>
3226
3227 <object type="template" name="footer" />
3228 </page>
3229
3230 <page name="choosedestinationfolder">
3231 <object type="template" name="header" />
3232
3233 <object type="text" color="%text_color%">
3234 <font resource="font" />
3235 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3236 <text>Browse to Destination & Press Select</text>
3237 </object>
3238
3239 <object type="fileselector">
3240 <highlight color="%fileselector_highlight_color%" />
3241 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3242 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3243 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3244 <text>%tw_file_location2%</text>
3245 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3246 <sort name="tw_gui_sort_order" />
3247 <icon folder="folder_icon" file="file_icon" />
3248 <background color="%fileselector_background%" />
3249 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3250 <filter folders="1" files="0" />
3251 <path name="tw_file_location2" default="/" />
3252 <data name="tw_filename2" />
3253 <selection name="tw_selection2" />
3254 </object>
3255
3256 <object type="template" name="sort_options" />
3257
3258 <object type="action">
3259 <touch key="home" />
3260 <action function="page">main</action>
3261 </object>
3262
3263 <object type="action">
3264 <touch key="back" />
3265 <action function="page">filemanageroptions</action>
3266 </object>
3267
3268 <object type="button">
3269 <highlight color="%highlight_color%" />
3270 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3271 <font resource="font" color="%button_text_color%" />
3272 <text>Select</text>
3273 <image resource="medium_button" />
3274 <actions>
3275 <action function="set">tw_fm_text2=to</action>
3276 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3277 <action function="set">tw_include_text3=1</action>
3278 <action function="set">tw_back=filemanageroptions</action>
3279 <action function="page">filemanagerconfirm</action>
3280 </actions>
3281 </object>
3282 </page>
3283
3284 <page name="filemanagerrenamefile">
3285 <object type="template" name="header" />
3286
3287 <object type="text" color="%text_color%">
3288 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3289 <font resource="font" />
3290 <text>Please Enter a New %tw_fm_type% Name</text>
3291 </object>
3292
3293 <object type="input">
3294 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3295 <background color="%input_background_color%" />
3296 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3297 <font resource="font" color="%text_color%" />
3298 <text>%tw_filemanager_rename%</text>
3299 <data name="tw_filemanager_rename" />
3300 <restrict minlen="1" maxlen="128" />
3301 <actions>
3302 <action function="set">tw_fm_text2=to</action>
3303 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3304 <action function="set">tw_include_text3=1</action>
3305 <action function="set">tw_back=filemanageroptions</action>
3306 <action function="page">filemanagerconfirm</action>
3307 </actions>
3308 </object>
3309
3310 <object type="button">
3311 <highlight color="%highlight_color%" />
3312 <placement x="%col_center_x%" y="%row2_y%" />
3313 <font resource="font" color="%button_text_color%" />
3314 <text>Cancel</text>
3315 <image resource="main_button" />
3316 <action function="page">filemanageroptions</action>
3317 </object>
3318
3319 <object type="template" name="keyboardtemplate" />
3320
3321 <object type="action">
3322 <touch key="home" />
3323 <action function="page">main</action>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="back" />
3328 <action function="page">filemanageroptions</action>
3329 </object>
3330
3331 <object type="template" name="footer" />
3332 </page>
3333
3334 <page name="filemanagerrenamefolder">
3335 <object type="template" name="header" />
3336
3337 <object type="text" color="%text_color%">
3338 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3339 <font resource="font" />
3340 <text>Please Enter a New %tw_fm_type% Name</text>
3341 </object>
3342
3343 <object type="input">
3344 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3345 <background color="%input_background_color%" />
3346 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3347 <font resource="font" color="%text_color%" />
3348 <text>%tw_filemanager_rename%</text>
3349 <data name="tw_filemanager_rename" />
3350 <restrict minlen="1" maxlen="128" />
3351 <actions>
3352 <action function="set">tw_fm_text2=to</action>
3353 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3354 <action function="set">tw_include_text3=1</action>
3355 <action function="set">tw_back=filemanageroptions</action>
3356 <action function="page">filemanagerconfirm</action>
3357 </actions>
3358 </object>
3359
3360 <object type="button">
3361 <highlight color="%highlight_color%" />
3362 <placement x="%col_center_x%" y="%row2_y%" />
3363 <font resource="font" color="%button_text_color%" />
3364 <text>Cancel</text>
3365 <image resource="main_button" />
3366 <action function="page">filemanageroptions</action>
3367 </object>
3368
3369 <object type="template" name="keyboardtemplate" />
3370
3371 <object type="action">
3372 <touch key="home" />
3373 <action function="page">main</action>
3374 </object>
3375
3376 <object type="action">
3377 <touch key="back" />
3378 <action function="page">filemanageroptions</action>
3379 </object>
3380
3381 <object type="template" name="footer" />
3382 </page>
3383
3384 <page name="filemanagerchmod">
3385 <object type="template" name="header" />
3386
3387 <object type="text" color="%text_color%">
3388 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3389 <font resource="font" />
3390 <text>Please Enter New Permissions</text>
3391 </object>
3392
3393 <object type="input">
3394 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3395 <background color="%input_background_color%" />
3396 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3397 <font resource="font" color="%text_color%" />
3398 <text>%tw_filemanager_rename%</text>
3399 <data name="tw_filemanager_rename" />
3400 <restrict minlen="3" maxlen="4" allow="0123456789" />
3401 <actions>
3402 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3403 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3404 <action function="set">tw_back=filemanageroptions</action>
3405 <action function="page">filemanagerconfirm</action>
3406 </actions>
3407 </object>
3408
3409 <object type="button">
3410 <highlight color="%highlight_color%" />
3411 <placement x="%col_center_x%" y="%row2_y%" />
3412 <font resource="font" color="%button_text_color%" />
3413 <text>Cancel</text>
3414 <image resource="main_button" />
3415 <action function="page">filemanageroptions</action>
3416 </object>
3417
3418 <object type="template" name="keyboardtemplate" />
3419
3420 <object type="action">
3421 <touch key="home" />
3422 <action function="page">main</action>
3423 </object>
3424
3425 <object type="action">
3426 <touch key="back" />
3427 <action function="page">filemanageroptions</action>
3428 </object>
3429
3430 <object type="template" name="footer" />
3431 </page>
3432
3433 <page name="filemanagerconfirm">
3434 <object type="template" name="header" />
3435
3436 <object type="text" color="%text_color%">
3437 <font resource="font" />
3438 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3439 <text>%tw_fm_text1%</text>
3440 </object>
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3445 <text>%tw_filename1%</text>
3446 </object>
3447
3448 <object type="text" color="%text_color%">
3449 <font resource="font" />
3450 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3451 <text>%tw_fm_text2%</text>
3452 </object>
3453
3454 <object type="text" color="%text_color%">
3455 <font resource="font" />
3456 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3457 <text>%tw_fm_text3%</text>
3458 </object>
3459
3460 <object type="text" color="%text_color%">
3461 <font resource="font" />
3462 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3463 <text>Press back button to cancel.</text>
3464 </object>
3465
3466 <object type="slider">
3467 <placement x="%slider_x%" y="%slider_y%" />
3468 <resource base="slider" used="slider-used" touch="slider-touch" />
3469 <action function="page">filemanageracction</action>
3470 </object>
3471
3472 <object type="text" color="%text_color%">
3473 <font resource="font" />
3474 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3475 <text>Swipe to Confirm</text>
3476 </object>
3477
3478 <object type="action">
3479 <touch key="back" />
3480 <action function="page">%tw_back%</action>
3481 </object>
3482
3483 <object type="action">
3484 <touch key="home" />
3485 <action function="page">main</action>
3486 </object>
3487 </page>
3488
3489 <page name="filemanageracction">
3490 <object type="template" name="header" />
3491
3492 <object type="text" color="%text_color%">
3493
3494 <font resource="font" />
3495 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3496 <text>%tw_fm_text1%</text>
3497 </object>
3498
3499 <object type="template" name="action_page_console" />
3500
3501 <object type="template" name="progress_bar" />
3502
3503 <object type="action">
3504 <conditions>
3505 <condition var1="tw_operation_state" var2="1" />
3506 <condition var1="tw_operation_status" var2="0" />
3507 </conditions>
3508 <actions>
3509 <action function="set">tw_back=filemanagerlist</action>
3510 <action function="set">tw_complete_text1=File Operation Complete</action>
3511 <action function="page">action_complete</action>
3512 </actions>
3513 </object>
3514
3515 <object type="action">
3516 <conditions>
3517 <condition var1="tw_operation_state" var2="1" />
3518 <condition var1="tw_operation_status" op="!=" var2="0" />
3519 </conditions>
3520 <actions>
3521 <action function="set">tw_complete_text1=File Operation Complete</action>
3522 <action function="page">action_complete</action>
3523 </actions>
3524 </object>
3525
3526 <object type="action">
3527 <condition var1="tw_include_text3" var2="0" />
3528 <actions>
3529 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3530 </actions>
3531 </object>
3532
3533 <object type="action">
3534 <condition var1="tw_include_text3" var2="1" />
3535 <actions>
3536 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3537 </actions>
3538 </object>
3539 </page>
3540
3541 <page name="decrypt">
3542 <object type="template" name="header" />
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3547 <text>Please Enter Your Password</text>
3548 </object>
3549
3550 <object type="input">
3551 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3552 <background color="%input_background_color%" />
3553 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3554 <font resource="font" color="%text_color%" />
3555 <text>%tw_crypto_display%</text>
3556 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3557 <restrict minlen="1" maxlen="254" />
3558 <actions>
3559 <action function="page">trydecrypt</action>
3560 </actions>
3561 </object>
3562
3563 <object type="text" color="%text_fail_color%">
3564 <condition var1="tw_password_fail" var2="1" />
3565 <font resource="font" />
3566 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3567 <text>Password Failed, Please Try Again</text>
3568 </object>
3569
3570 <object type="button">
3571 <highlight color="%highlight_color%" />
3572 <placement x="%col_center_x%" y="%row2_y%" />
3573 <font resource="font" color="%button_text_color%" />
3574 <text>Cancel</text>
3575 <image resource="main_button" />
3576 <actions>
3577 <action function="set">tw_page_done=1</action>
3578 <action function="page">main</action>
3579 </actions>
3580 </object>
3581
3582 <object type="template" name="keyboardtemplate" />
3583
3584 <object type="template" name="footer" />
3585 </page>
3586
3587 <page name="trydecrypt">
3588 <object type="template" name="header" />
3589
3590 <object type="text" color="%text_color%">
3591 <font resource="font" />
3592 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3593 <text>Trying Decryption with Your Password</text>
3594 </object>
3595
3596 <object type="template" name="action_page_console" />
3597
3598 <object type="template" name="progress_bar" />
3599
3600 <object type="action">
3601 <action function="decrypt"></action>
3602 </object>
3603
3604 <object type="action">
3605 <conditions>
3606 <condition var1="tw_operation_state" var2="1" />
3607 <condition var1="tw_operation_status" op="!=" var2="0" />
3608 </conditions>
3609 <actions>
3610 <action function="set">tw_password_fail=1</action>
3611 <action function="page">decrypt</action>
3612 </actions>
3613 </object>
3614
3615 <object type="action">
3616 <conditions>
3617 <condition var1="tw_operation_state" var2="1" />
3618 <condition var1="tw_operation_status" op="=" var2="0" />
3619 </conditions>
3620 <actions>
3621 <action function="set">tw_page_done=1</action>
3622 <action function="page">main</action>
3623 </actions>
3624 </object>
3625 </page>
3626
3627 <page name="terminalfolder">
3628 <object type="template" name="header" />
3629
3630 <object type="text" color="%text_color%">
3631 <font resource="font" />
3632 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3633 <text>Browse to Starting Folder</text>
3634 </object>
3635
3636 <object type="fileselector">
3637 <highlight color="%fileselector_highlight_color%" />
3638 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3639 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3640 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3641 <text>%tw_terminal_location%</text>
3642 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3643 <sort name="tw_gui_sort_order" />
3644 <icon folder="folder_icon" file="file_icon" />
3645 <background color="%fileselector_background%" />
3646 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3647 <filter folders="1" files="0" />
3648 <path name="tw_terminal_location" default="/" />
3649 <data name="tw_terminal" />
3650 <selection name="tw_terminal_selection" />
3651 </object>
3652
3653 <object type="template" name="sort_options" />
3654
3655 <object type="action">
3656 <touch key="home" />
3657 <action function="page">main</action>
3658 </object>
3659
3660 <object type="action">
3661 <touch key="back" />
3662 <action function="page">advanced</action>
3663 </object>
3664
3665 <object type="button">
3666 <highlight color="%highlight_color%" />
3667 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3668 <font resource="font" color="%button_text_color%" />
3669 <text>Select</text>
3670 <image resource="medium_button" />
3671 <actions>
3672 <action function="page">terminalcommand</action>
3673 </actions>
3674 </object>
3675 </page>
3676
3677 <page name="terminalcommand">
3678 <object type="template" name="header" />
3679
3680 <object type="console">
3681 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3682 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3683 <font resource="fixed" />
3684 </object>
3685
3686 <object type="text" color="%text_color%">
3687 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3688 <font resource="font" />
3689 <text>Starting Path: %tw_terminal_location%</text>
3690 </object>
3691
3692 <object type="input">
3693 <condition var1="tw_terminal_state" var2="0" />
3694 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3695 <background color="%input_background_color%" />
3696 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3697 <font resource="font" color="%text_color%" />
3698 <text>%tw_terminal_command%</text>
3699 <data name="tw_terminal_command" />
3700 <restrict minlen="1" />
3701 <action function="terminalcommand">%tw_terminal_command%</action>
3702 </object>
3703
3704 <object type="button">
3705 <highlight color="%highlight_color%" />
3706 <condition var1="tw_terminal_state" var2="1" />
3707 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3708 <font resource="font" color="%button_text_color%" />
3709 <text>KILL</text>
3710 <image resource="medium_button" />
3711 <action function="killterminal"></action>
3712 </object>
3713
3714 <object type="template" name="keyboardtemplate" />
3715
3716 <object type="action">
3717 <touch key="home" />
3718 <action function="page">main</action>
3719 </object>
3720
3721 <object type="action">
3722 <touch key="back" />
3723 <action function="page">terminalfolder</action>
3724 </object>
3725 </page>
3726
3727 <page name="sideload">
3728 <object type="template" name="header" />
3729
3730 <object type="text" color="%text_color%">
3731 <font resource="font" />
3732 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3733 <text>ADB Sideload</text>
3734 </object>
3735
3736 <object type="checkbox">
3737 <placement x="%col1_x%" y="%row2_text_y%" />
3738 <font resource="font" color="%text_color%" />
3739 <text>Wipe Dalvik Cache.</text>
3740 <data variable="tw_wipe_dalvik" />
3741 <image checked="checkbox_true" unchecked="checkbox_false" />
3742 </object>
3743
3744 <object type="checkbox">
3745 <placement x="%col1_x%" y="%row3_text_y%" />
3746 <font resource="font" color="%text_color%" />
3747 <text>Wipe Cache.</text>
3748 <data variable="tw_wipe_cache" />
3749 <image checked="checkbox_true" unchecked="checkbox_false" />
3750 </object>
3751
3752 <object type="slider">
3753 <placement x="%slider_x%" y="%slider_y%" />
3754 <resource base="slider" used="slider-used" touch="slider-touch" />
3755 <actions>
3756 <action function="set">tw_back=advanced</action>
3757 <action function="set">tw_action=adbsideload</action>
3758 <action function="set">tw_action_text1=ADB Sideload</action>
3759 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3760 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3761 <action function="set">tw_has_cancel=1</action>
3762 <action function="set">tw_show_reboot=1</action>
3763 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3764 <action function="page">action_page</action>
3765 </actions>
3766 </object>
3767
3768 <object type="text" color="%text_color%">
3769 <font resource="font" />
3770 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3771 <text>Swipe to Start Sideload</text>
3772 </object>
3773
3774 <object type="action">
3775 <touch key="home" />
3776 <action function="page">main</action>
3777 </object>
3778
3779 <object type="action">
3780 <touch key="back" />
3781 <action function="page">advanced</action>
3782 </object>
3783 </page>
3784
3785 <page name="installsu">
3786 <object type="template" name="header" />
3787
3788 <object type="text" color="%text_color%">
3789 <font resource="font" />
3790 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3791 <text>Install SuperSU?</text>
3792 </object>
3793
3794 <object type="text" color="%text_color%">
3795 <font resource="font" />
3796 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3797 <text>Your device does not appear to be rooted.</text>
3798 </object>
3799
3800 <object type="text" color="%text_color%">
3801 <font resource="font" />
3802 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3803 <text>Install SuperSU now?</text>
3804 </object>
3805
3806 <object type="text" color="%text_color%">
3807 <font resource="font" />
3808 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3809 <text>This will root your device.</text>
3810 </object>
3811
3812 <object type="button">
3813 <highlight color="%highlight_color%" />
3814 <placement x="%col_center_x%" y="%row3_y%" />
3815 <font resource="font" color="%button_text_color%" />
3816 <text>Do Not Install</text>
3817 <image resource="main_button" />
3818 <action function="set">tw_page_done=1</action>
3819 </object>
3820
3821 <object type="slider">
3822 <placement x="%slider_x%" y="%slider_y%" />
3823 <resource base="slider" used="slider-used" touch="slider-touch" />
3824 <actions>
3825 <action function="set">tw_action=installsu</action>
3826 <action function="set">tw_action_text1=Installing SuperSU</action>
3827 <action function="set">tw_action_text2=</action>
3828 <action function="page">singleaction_page</action>
3829 </actions>
3830 </object>
3831
3832 <object type="text" color="%text_color%">
3833 <font resource="font" />
3834 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3835 <text>Swipe to Install</text>
3836 </object>
3837 </page>
3838 </pages>
3839</recovery>