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