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