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