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