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