blob: f66eb8bb649549de983eed0fc0e2a234865cf5ea [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" />
673 <placement x="%col4_x%" y="%slider_y%" />
674 <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
2160 <object type="template" name="progress_bar" />
2161
2162 <object type="action">
2163 <action function="nandroid">backup</action>
2164 </object>
2165
2166 <object type="action">
2167 <condition var1="tw_operation_state" var2="1" />
2168 <actions>
2169 <action function="set">tw_back=backup</action>
2170 <action function="set">tw_complete_text1=Backup Complete</action>
2171 <action function="set">tw_show_reboot=1</action>
2172 <action function="page">action_complete</action>
2173 </actions>
2174 </object>
2175
2176 <object type="template" name="footer" />
2177 </page>
2178
2179 <page name="restore">
2180 <object type="template" name="header" />
2181
2182 <object type="button">
2183 <highlight color="%highlight_color%" />
2184 <fill color="%button_fill_color%" />
2185 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2186 <font resource="font" color="%button_text_color%" />
2187 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2188 <actions>
2189 <action function="set">tw_back=restore</action>
2190 <action function="page">selectstorage</action>
2191 </actions>
2192 </object>
2193
2194 <object type="fileselector">
2195 <highlight color="%fileselector_highlight_color%" />
2196 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2197 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2198 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2199 <text>Select Package to Restore:</text>
2200 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2201 <sort name="tw_gui_sort_order" />
2202 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2203 <icon folder="folder_icon" file="file_icon" />
2204 <background color="%fileselector_background%" />
2205 <filter folders="1" files="0" nav="0" />
2206 <path name="tw_backups_folder" />
2207 <data name="tw_restore" default="" />
2208 <selection name="tw_restore_name" />
2209 </object>
2210
2211 <object type="template" name="sort_options" />
2212
2213 <object type="action">
2214 <condition var1="tw_restore" op="modified" />
2215 <actions>
2216 <action function="readBackup"></action>
2217 <action function="page">restore_read</action>
2218 </actions>
2219 </object>
2220
2221 <object type="action">
2222 <touch key="home" />
2223 <action function="page">main</action>
2224 </object>
2225
2226 <object type="action">
2227 <touch key="back" />
2228 <action function="page">main</action>
2229 </object>
2230
2231 <object type="template" name="footer" />
2232 </page>
2233
2234 <page name="restore_read">
2235 <object type="action">
2236 <condition var1="tw_restore_encrypted" var2="1" />
2237 <actions>
2238 <action function="set">tw_password_fail=0</action>
2239 <action function="page">restore_decrypt</action>
2240 </actions>
2241 </object>
2242
2243 <object type="action">
2244 <condition var1="tw_restore_encrypted" var2="0" />
2245 <actions>
2246 <action function="page">restore_select</action>
2247 </actions>
2248 </object>
2249 </page>
2250
2251 <page name="restore_decrypt">
2252 <object type="template" name="header" />
2253
2254 <object type="text" color="%text_color%">
2255 <font resource="font" />
2256 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2257 <text>Backup encrypted. Please enter your password:</text>
2258 </object>
2259
2260 <object type="input">
2261 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2262 <background color="%input_background_color%" />
2263 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2264 <font resource="font" color="%text_color%" />
2265 <text>%tw_restore_display%</text>
2266 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2267 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2268 <actions>
2269 <action function="page">try_restore_decrypt</action>
2270 </actions>
2271 </object>
2272
2273 <object type="text" color="%text_fail_color%">
2274 <condition var1="tw_password_fail" var2="1" />
2275 <font resource="font" />
2276 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2277 <text>Password Failed, Please Try Again</text>
2278 </object>
2279
2280 <object type="button">
2281 <highlight color="%highlight_color%" />
2282 <placement x="%col2_x%" y="%cancel_button_y%" />
2283 <font resource="font" color="%button_text_color%" />
2284 <text>Cancel</text>
2285 <image resource="main_button" />
2286 <actions>
2287 <action function="set">tw_page_done=1</action>
2288 <action function="page">restore</action>
2289 </actions>
2290 </object>
2291
2292 <object type="button">
2293 <highlight color="%highlight_color%" />
2294 <placement x="%col3_x%" y="%cancel_button_y%" />
2295 <font resource="font" color="%button_text_color%" />
2296 <text>Delete</text>
2297 <image resource="main_button" />
2298 <actions>
2299 <action function="set">tw_back=restore</action>
2300 <action function="set">tw_action=cmd</action>
2301 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2302 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2303 <action function="set">tw_text2=This cannot be undone!</action>
2304 <action function="set">tw_action_text1=Deleting Backup...</action>
2305 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2306 <action function="set">tw_slider_text=Swipe to Delete</action>
2307 <action function="page">confirm_action</action>
2308 </actions>
2309 </object>
2310
2311 <object type="template" name="keyboardtemplate" />
2312
2313 <object type="action">
2314 <touch key="home" />
2315 <action function="page">main</action>
2316 </object>
2317
2318 <object type="action">
2319 <touch key="back" />
2320 <action function="page">restore</action>
2321 </object>
2322
2323 <object type="template" name="footer" />
2324 </page>
2325
2326 <page name="try_restore_decrypt">
2327 <object type="template" name="header" />
2328
2329 <object type="text" color="%text_color%">
2330 <font resource="font" />
2331 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2332 <text>Trying Decryption with Your Password</text>
2333 </object>
2334
2335 <object type="template" name="action_page_console" />
2336
2337 <object type="template" name="progress_bar" />
2338
2339 <object type="action">
2340 <action function="decrypt_backup"></action>
2341 </object>
2342
2343 <object type="action">
2344 <conditions>
2345 <condition var1="tw_operation_state" var2="1" />
2346 <condition var1="tw_operation_status" op="!=" var2="0" />
2347 </conditions>
2348 <actions>
2349 <action function="set">tw_password_fail=1</action>
2350 <action function="page">restore_decrypt</action>
2351 </actions>
2352 </object>
2353
2354 <object type="action">
2355 <conditions>
2356 <condition var1="tw_operation_state" var2="1" />
2357 <condition var1="tw_operation_status" op="=" var2="0" />
2358 </conditions>
2359 <actions>
2360 <action function="set">tw_page_done=1</action>
2361 <action function="page">restore_select</action>
2362 </actions>
2363 </object>
2364 </page>
2365
2366 <page name="restore_select">
2367 <object type="template" name="header" />
2368
2369 <object type="text" color="%text_color%">
2370 <font resource="font" />
2371 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2372 <text>Package to Restore: %tw_restore_name%</text>
2373 </object>
2374
2375 <object type="text" color="%text_color%">
2376 <font resource="font" />
2377 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2378 <text>Package Date: %tw_restore_file_date%</text>
2379 </object>
2380
2381 <object type="partitionlist">
2382 <highlight color="%fileselector_highlight_color%" />
2383 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2384 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2385 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2386 <text>Select Partitions to Restore:</text>
2387 <icon selected="checkbox_true" unselected="checkbox_false" />
2388 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2389 <background color="%listbox_background%" />
2390 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2391 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2392 <listtype name="restore" />
2393 </object>
2394
2395 <object type="checkbox">
2396 <placement x="%col3_x%" y="%nandcheck_row6%" />
2397 <font resource="font" color="%text_color%" />
2398 <text>Enable MD5 checking of backup files</text>
2399 <data variable="tw_skip_md5_check" />
2400 <image checked="checkbox_true" unchecked="checkbox_false" />
2401 </object>
2402
2403 <object type="button">
2404 <highlight color="%highlight_color%" />
2405 <placement x="%col4_x%" y="%row1_y%" />
2406 <font resource="font" color="%button_text_color%" />
2407 <text>Rename Backup</text>
2408 <image resource="main_button" />
2409 <actions>
2410 <action function="set">tw_backup_rename=</action>
2411 <action function="set">tw_fileexists=0</action>
2412 <action function="page">renamebackup</action>
2413 </actions>
2414 </object>
2415
2416 <object type="button">
2417 <highlight color="%highlight_color%" />
2418 <placement x="%col3_x%" y="%row1_y%" />
2419 <font resource="font" color="%button_text_color%" />
2420 <text>Delete Backup</text>
2421 <image resource="main_button" />
2422 <actions>
2423 <action function="set">tw_back=restore</action>
2424 <action function="set">tw_action=cmd</action>
2425 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2426 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2427 <action function="set">tw_text2=This cannot be undone!</action>
2428 <action function="set">tw_action_text1=Deleting Backup...</action>
2429 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2430 <action function="set">tw_slider_text=Swipe to Delete</action>
2431 <action function="page">confirm_action</action>
2432 </actions>
2433 </object>
2434
2435 <object type="slider">
2436 <placement x="%slider_x%" y="%slider_y%" />
2437 <resource base="slider" used="slider-used" touch="slider-touch" />
2438 <action function="page">restore_run</action>
2439 </object>
2440
2441 <object type="text" color="%text_color%">
2442 <font resource="font" />
2443 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2444 <text>Swipe to Restore</text>
2445 </object>
2446
2447 <object type="action">
2448 <touch key="home" />
2449 <action function="page">main</action>
2450 </object>
2451
2452 <object type="action">
2453 <touch key="back" />
2454 <action function="page">restore</action>
2455 </object>
2456
2457 <object type="template" name="footer" />
2458 </page>
2459
2460 <page name="renamebackup">
2461 <object type="template" name="header" />
2462
2463 <object type="text" color="%text_color%">
2464 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2465 <font resource="font" />
2466 <text>Please Enter a New Backup Name</text>
2467 </object>
2468
2469 <object type="input">
2470 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2471 <background color="%input_background_color%" />
2472 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2473 <font resource="font" color="%text_color%" />
2474 <text>%tw_backup_rename%</text>
2475 <data name="tw_backup_rename" />
2476 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2477 <actions>
2478 <action function="set">tw_back=restore</action>
2479 <action function="set">tw_action=cmd</action>
2480 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2481 <action function="set">tw_text1=Rename Backup?</action>
2482 <action function="set">tw_text2=This cannot be undone!</action>
2483 <action function="set">tw_action_text1=Renaming Backup...</action>
2484 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2485 <action function="set">tw_slider_text=Swipe to Rename</action>
2486 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2487 <action function="set">tw_existpage=renamebackup</action>
2488 <action function="set">tw_notexistpage=confirm_action</action>
2489 <action function="page">filecheck</action>
2490 </actions>
2491 </object>
2492
2493 <object type="text" color="%text_fail_color%">
2494 <condition var1="tw_fileexists" var2="1" />
2495 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2496 <font resource="font" />
2497 <text>A backup with that name already exists!</text>
2498 </object>
2499
2500 <object type="button">
2501 <highlight color="%highlight_color%" />
2502 <placement x="%col_center_x%" y="%cancel_button_y%" />
2503 <font resource="font" color="%button_text_color%" />
2504 <text>Cancel</text>
2505 <image resource="main_button" />
2506 <action function="page">restore_select</action>
2507 </object>
2508
2509 <object type="template" name="keyboardtemplate" />
2510
2511 <object type="action">
2512 <touch key="home" />
2513 <action function="page">main</action>
2514 </object>
2515
2516 <object type="action">
2517 <touch key="back" />
2518 <action function="page">restore_select</action>
2519 </object>
2520
2521 <object type="template" name="footer" />
2522 </page>
2523
2524 <page name="restore_run">
2525 <object type="template" name="header" />
2526
2527 <object type="text" color="%text_color%">
2528 <font resource="font" />
2529 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2530 <text>%tw_operation% %tw_partition%</text>
2531 </object>
2532
2533 <object type="text" color="%text_color%">
2534 <font resource="font" />
2535 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2536 <text>%tw_size_progress%</text>
2537 </object>
2538
2539 <object type="template" name="action_page_console" />
2540
2541 <object type="template" name="progress_bar" />
2542
2543 <object type="action">
2544 <condition var1="tw_operation_state" var2="1" />
2545 <actions>
2546 <action function="set">tw_back=restore_select</action>
2547 <action function="set">tw_complete_text1=Restore Complete</action>
2548 <action function="set">tw_show_reboot=1</action>
2549 <action function="page">action_complete</action>
2550 </actions>
2551 </object>
2552
2553 <object type="action">
2554 <action function="nandroid">restore</action>
2555 </object>
2556 </page>
2557
2558 <page name="settings">
2559 <object type="template" name="header" />
2560
2561 <object type="text" color="%text_color%">
2562 <font resource="font" />
2563 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2564 <text>Settings</text>
2565 </object>
2566
2567 <object type="checkbox">
2568 <placement x="%col1_x%" y="%row2_text_y%" />
2569 <font resource="font" color="%text_color%" />
2570 <text>Zip file signature verification?</text>
2571 <data variable="tw_signed_zip_verify" />
2572 <image checked="checkbox_true" unchecked="checkbox_false" />
2573 </object>
2574
2575 <object type="checkbox">
2576 <placement x="%col1_x%" y="%row3_text_y%" />
2577 <font resource="font" color="%text_color%" />
2578 <text>Use rm -rf instead of formatting?</text>
2579 <data variable="tw_rm_rf" />
2580 <image checked="checkbox_true" unchecked="checkbox_false" />
2581 </object>
2582
2583 <object type="checkbox">
2584 <placement x="%col1_x%" y="%row4_text_y%" />
2585 <font resource="font" color="%text_color%" />
2586 <text>Skip MD5 generation on backups</text>
2587 <data variable="tw_skip_md5_generate" />
2588 <image checked="checkbox_true" unchecked="checkbox_false" />
2589 </object>
2590
2591 <object type="checkbox">
2592 <placement x="%col1_x%" y="%row5_text_y%" />
2593 <font resource="font" color="%text_color%" />
2594 <text>Enable MD5 checking of backup files</text>
2595 <data variable="tw_skip_md5_check" />
2596 <image checked="checkbox_true" unchecked="checkbox_false" />
2597 </object>
2598
2599 <object type="checkbox">
2600 <placement x="%col1_x%" y="%row6_text_y%" />
2601 <font resource="font" color="%text_color%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002602 <text>Use 24-hour clock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002603 <data variable="tw_military_time" />
2604 <image checked="checkbox_true" unchecked="checkbox_false" />
2605 </object>
2606
2607 <object type="checkbox">
2608 <placement x="%col1_x%" y="%row7_text_y%" />
2609 <font resource="font" color="%text_color%" />
2610 <text>Simulate most actions for theme testing</text>
2611 <data variable="tw_simulate_actions" />
2612 <image checked="checkbox_true" unchecked="checkbox_false" />
2613 </object>
2614
2615 <object type="checkbox">
2616 <condition var1="tw_simulate_actions" var2="1" />
2617 <placement x="%col1_x%" y="%row8_text_y%" />
2618 <font resource="font" color="%text_color%" />
2619 <text>Simulate failure for actions</text>
2620 <data variable="tw_simulate_fail" />
2621 <image checked="checkbox_true" unchecked="checkbox_false" />
2622 </object>
2623
2624 <object type="button">
2625 <highlight color="%highlight_color%" />
2626 <placement x="%col1_x%" y="%row2_y%" />
2627 <font resource="font" color="%button_text_color%" />
2628 <text>Time Zone</text>
2629 <image resource="main_button" />
2630 <action function="page">timezone</action>
2631 </object>
2632
2633 <object type="button">
2634 <highlight color="%highlight_color%" />
2635 <placement x="%col2_x%" y="%row2_y%" />
2636 <font resource="font" color="%button_text_color%" />
2637 <text>Restore Defaults</text>
2638 <image resource="main_button" />
2639 <action function="restoredefaultsettings"></action>
2640 </object>
2641
2642 <object type="button">
2643 <highlight color="%highlight_color%" />
2644 <placement x="%col3_x%" y="%row2_y%" />
2645 <font resource="font" color="%button_text_color%" />
2646 <text>Vibration Duration</text>
2647 <image resource="main_button" />
2648 <action function="page">Vibrate</action>
2649 </object>
2650
2651 <object type="button">
2652 <highlight color="%highlight_color%" />
2653 <placement x="%col4_x%" y="%row2_y%" />
2654 <font resource="font" color="%button_text_color%" />
2655 <text>Screen</text>
2656 <image resource="main_button" />
2657 <action function="page">screen</action>
2658 </object>
2659
2660 <object type="action">
2661 <touch key="home" />
2662 <action function="page">main</action>
2663 </object>
2664
2665 <object type="action">
2666 <touch key="back" />
2667 <action function="page">main</action>
2668 </object>
2669
2670 <object type="template" name="footer" />
2671 </page>
2672
2673 <page name="timezone">
2674 <object type="template" name="header" />
2675
2676 <object type="text" color="%text_color%">
2677 <font resource="font" />
2678 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2679 <text>Select Time Zone</text>
2680 </object>
2681
2682 <object type="listbox">
2683 <highlight color="%fileselector_highlight_color%" />
2684 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2685 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2686 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2687 <text>Select Time Zone:</text>
2688 <icon selected="radio_true" unselected="radio_false" />
2689 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2690 <background color="%listbox_background%" />
2691 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2692 <data name="tw_time_zone_guisel" />
2693 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2694 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2695 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2696 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2697 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2698 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2699 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2700 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2701 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2702 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2703 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2704 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2705 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2706 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2707 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2708 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2709 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2710 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2711 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2712 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2713 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2714 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2715 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2716 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2717 </object>
2718
2719 <object type="checkbox">
2720 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2721 <font resource="font" color="%text_color%" />
2722 <text>Do you use daylight savings time (DST)?</text>
2723 <data variable="tw_time_zone_guidst" />
2724 <image checked="checkbox_true" unchecked="checkbox_false" />
2725 </object>
2726
2727 <object type="text" color="%text_color%">
2728 <font resource="font" />
2729 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2730 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2731 </object>
2732
2733 <object type="button">
2734 <highlight color="%highlight_color%" />
2735 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2736 <font resource="font" color="%button_text_color%" />
2737 <text>0</text>
2738 <image resource="medium_button" />
2739 <action function="set">tw_time_zone_guioffset=0</action>
2740 </object>
2741
2742 <object type="button">
2743 <highlight color="%highlight_color%" />
2744 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text>15</text>
2747 <image resource="medium_button" />
2748 <action function="set">tw_time_zone_guioffset=15</action>
2749 </object>
2750
2751 <object type="button">
2752 <highlight color="%highlight_color%" />
2753 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2754 <font resource="font" color="%button_text_color%" />
2755 <text>30</text>
2756 <image resource="medium_button" />
2757 <action function="set">tw_time_zone_guioffset=30</action>
2758 </object>
2759
2760 <object type="button">
2761 <highlight color="%highlight_color%" />
2762 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2763 <font resource="font" color="%button_text_color%" />
2764 <text>45</text>
2765 <image resource="medium_button" />
2766 <action function="set">tw_time_zone_guioffset=45</action>
2767 </object>
2768
2769 <object type="button">
2770 <highlight color="%highlight_color%" />
2771 <placement x="%col4_x%" y="%row2_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>Set Time Zone</text>
2774 <image resource="main_button" />
2775 <action function="setguitimezone"></action>
2776 </object>
2777
2778 <object type="text" color="%text_color%">
2779 <font resource="font" />
2780 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2781 <text>Current Time Zone: %tw_time_zone%</text>
2782 </object>
2783
2784 <object type="action">
2785 <touch key="home" />
2786 <action function="page">main</action>
2787 </object>
2788
2789 <object type="action">
2790 <touch key="back" />
2791 <action function="page">settings</action>
2792 </object>
2793
2794 <object type="template" name="footer" />
2795 </page>
2796
2797 <page name="screen">
2798 <object type="template" name="header" />
2799
2800 <object type="text" color="%text_color%">
2801 <font resource="font" />
2802 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2803 <text>Screen Settings</text>
2804 </object>
2805
2806 <object type="button">
2807 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2808 <font resource="font" color="%text_color%" />
2809 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2810 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2811 <text>Enable screen timeout.</text>
2812 <image resource="checkbox_false" />
2813 <action function="set">tw_screen_timeout_secs=60</action>
2814 </object>
2815
2816 <object type="button">
2817 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2818 <font resource="font" color="%text_color%" />
2819 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2820 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2821 <text>Enable screen timeout.</text>
2822 <image resource="checkbox_true" />
2823 <action function="set">tw_screen_timeout_secs=0</action>
2824 </object>
2825
2826 <object type="slidervalue">
2827 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2828 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2829 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2830 <font resource="font" color="%text_color%" />
2831 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2832 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2833 <text>Screen timeout in seconds:</text>
2834 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2835 </object>
2836
2837 <object type="slidervalue">
2838 <condition var1="tw_has_brightnesss_file" var2="1" />
2839 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2840 <font resource="font" color="%text_color%" />
2841 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2842 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2843 <text>Brightness: %tw_brightness_pct%%</text>
2844 <data variable="tw_brightness_pct" min="10" max="100" />
2845 <actions>
2846 <action function="set">tw_brightness=%tw_brightness_max%</action>
2847 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2848 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002849 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002850 </actions>
2851 </object>
2852
2853 <object type="action">
2854 <touch key="home" />
2855 <action function="page">main</action>
2856 </object>
2857
2858 <object type="action">
2859 <touch key="back" />
2860 <action function="page">settings</action>
2861 </object>
2862
2863 <object type="template" name="footer" />
2864 </page>
2865
2866 <page name="Vibrate">
2867 <object type="template" name="header" />
2868
2869 <object type="text" color="%text_color%">
2870 <font resource="font" />
2871 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2872 <text>Vibration Settings :</text>
2873 </object>
2874
2875 <object type="slidervalue">
2876 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
2877 <font resource="font" color="%text_color%" />
2878 <text>Button Vibration:</text>
2879 <data variable="tw_button_vibrate" min="0" max="300" />
2880 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2881 </object>
2882
2883 <object type="slidervalue">
2884 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
2885 <font resource="font" color="%text_color%" />
2886 <text>Keyboard Vibration:</text>
2887 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2888 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2889 </object>
2890
2891 <object type="slidervalue">
2892 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
2893 <font resource="font" color="%text_color%" />
2894 <text>Action Vibration:</text>
2895 <data variable="tw_action_vibrate" min="0" max="500" />
2896 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2897 </object>
2898
2899 <object type="action">
2900 <touch key="home" />
2901 <action function="page">main</action>
2902 </object>
2903
2904 <object type="action">
2905 <touch key="back" />
2906 <action function="page">settings</action>
2907 </object>
2908
2909 <object type="template" name="footer" />
2910 </page>
2911
2912 <page name="advanced">
2913 <object type="template" name="header" />
2914
2915 <object type="text" color="%text_color%">
2916 <font resource="font" />
2917 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2918 <text>Advanced</text>
2919 </object>
2920
2921 <object type="button">
2922 <highlight color="%highlight_color%" />
2923 <placement x="%col1_x%" y="%row1_y%" />
2924 <font resource="font" color="%button_text_color%" />
2925 <text>Copy Log to SD</text>
2926 <image resource="main_button" />
2927 <actions>
2928 <action function="set">tw_back=advanced</action>
2929 <action function="set">tw_action=copylog</action>
2930 <action function="set">tw_text1=Copy Log to SD Card?</action>
2931 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2932 <action function="set">tw_complete_text1=Log Copy Complete</action>
2933 <action function="set">tw_slider_text=Swipe to Confirm</action>
2934 <action function="page">confirm_action</action>
2935 </actions>
2936 </object>
2937
2938 <object type="button">
2939 <highlight color="%highlight_color%" />
2940 <placement x="%col2_x%" y="%row1_y%" />
2941 <font resource="font" color="%button_text_color%" />
2942 <text>Fix Permissions</text>
2943 <image resource="main_button" />
thata3d31fb2014-12-21 22:27:40 +01002944 <action function="page">fixperms</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002945 </object>
2946
2947 <object type="button">
2948 <highlight color="%highlight_color%" />
2949 <placement x="%col3_x%" y="%row1_y%" />
2950 <font resource="font" color="%button_text_color%" />
2951 <text>Terminal Command</text>
2952 <image resource="main_button" />
2953 <action function="page">terminalfolder</action>
2954 </object>
2955
2956 <object type="button">
2957 <highlight color="%highlight_color%" />
2958 <placement x="%col4_x%" y="%row1_y%" />
2959 <font resource="font" color="%button_text_color%" />
2960 <text>ADB Sideload</text>
2961 <image resource="main_button" />
2962 <action function="page">sideload</action>
2963 </object>
2964
2965 <object type="button">
2966 <highlight color="%highlight_color%" />
2967 <condition var1="tw_allow_partition_sdcard" var2="1" />
2968 <placement x="%col1_x%" y="%row2_y%" />
2969 <font resource="font" color="%button_text_color%" />
2970 <text>Partition SD Card</text>
2971 <image resource="main_button" />
2972 <action function="page">partsdcard</action>
2973 </object>
2974
2975 <object type="button">
2976 <highlight color="%highlight_color%" />
2977 <placement x="%col2_x%" y="%row2_y%" />
2978 <font resource="font" color="%button_text_color%" />
2979 <text>File Manager</text>
2980 <image resource="main_button" />
2981 <action function="page">filemanagerlist</action>
2982 </object>
2983
2984 <object type="button">
2985 <highlight color="%highlight_color%" />
2986 <placement x="%col3_x%" y="%row2_y%" />
2987 <font resource="font" color="%button_text_color%" />
2988 <text>Reload Theme</text>
2989 <image resource="main_button" />
2990 <action function="reload"></action>
2991 </object>
2992
2993 <object type="button">
2994 <highlight color="%highlight_color%" />
2995 <condition var1="tw_show_dumlock" var2="1" />
2996 <placement x="%col4_x%" y="%row2_y%" />
2997 <font resource="font" color="%button_text_color%" />
2998 <text>HTC Dumlock</text>
2999 <image resource="main_button" />
3000 <action function="page">htcdumlock</action>
3001 </object>
3002
3003 <object type="action">
3004 <touch key="home" />
3005 <action function="page">main</action>
3006 </object>
3007
3008 <object type="action">
3009 <touch key="back" />
3010 <action function="page">main</action>
3011 </object>
3012
3013 <object type="template" name="footer" />
3014 </page>
3015
3016 <page name="partsdcard">
3017 <object type="template" name="header" />
3018
3019 <object type="text" color="%text_color%">
3020 <font resource="font" />
3021 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3022 <text>Partition SD Card</text>
3023 </object>
3024
3025 <object type="button">
3026 <highlight color="%highlight_color%" />
3027 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
3028 <font resource="font" color="%button_text_color%" />
3029 <text></text>
3030 <image resource="minus_button" />
3031 <action function="addsubtract">tw_sdext_size-128</action>
3032 </object>
3033
3034 <object type="button">
3035 <highlight color="%highlight_color%" />
3036 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
3037 <font resource="font" color="%button_text_color%" />
3038 <text></text>
3039 <image resource="plus_button" />
3040 <action function="addsubtract">tw_sdext_size+128</action>
3041 </object>
3042
3043 <object type="text" color="%text_color%">
3044 <font resource="font" />
3045 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
3046 <text>EXT Size: %tw_sdext_size%</text>
3047 </object>
3048
3049 <object type="button">
3050 <highlight color="%highlight_color%" />
3051 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
3052 <font resource="font" color="%button_text_color%" />
3053 <text></text>
3054 <image resource="minus_button" />
3055 <action function="addsubtract">tw_swap_size-32</action>
3056 </object>
3057
3058 <object type="button">
3059 <highlight color="%highlight_color%" />
3060 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
3061 <font resource="font" color="%button_text_color%" />
3062 <text></text>
3063 <image resource="plus_button" />
3064 <action function="addsubtract">tw_swap_size+32</action>
3065 </object>
3066
3067 <object type="text" color="%text_color%">
3068 <font resource="font" />
3069 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
3070 <text>Swap Size: %tw_swap_size%</text>
3071 </object>
3072
3073 <object type="text" color="%text_color%">
3074 <font resource="font" />
3075 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
3076 <text>File system: %tw_sdpart_file_system%</text>
3077 </object>
3078
3079 <object type="button">
3080 <highlight color="%highlight_color%" />
3081 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
3082 <font resource="font" color="%button_text_color%" />
3083 <text>EXT3</text>
3084 <image resource="medium_button" />
3085 <action function="set">tw_sdpart_file_system=ext3</action>
3086 </object>
3087
3088 <object type="button">
3089 <highlight color="%highlight_color%" />
3090 <condition var1="tw_sdext_disable_ext4" var2="0" />
3091 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
3092 <font resource="font" color="%button_text_color%" />
3093 <text>EXT4</text>
3094 <image resource="medium_button" />
3095 <action function="set">tw_sdpart_file_system=ext4</action>
3096 </object>
3097
3098 <object type="text" color="%text_color%">
3099 <font resource="font" />
3100 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
3101 <text>You will lose all files on your SD card!</text>
3102 </object>
3103
3104 <object type="text" color="%text_color%">
3105 <font resource="font" />
3106 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
3107 <text>This action cannot be undone!</text>
3108 </object>
3109
3110 <object type="slider">
3111 <placement x="%slider_x%" y="%slider_y%" />
3112 <resource base="slider" used="slider-used" touch="slider-touch" />
3113 <actions>
3114 <action function="set">tw_back=partsdcard</action>
3115 <action function="set">tw_action=partitionsd</action>
3116 <action function="set">tw_has_action2=1</action>
3117 <action function="set">tw_action2=set</action>
3118 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3119 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3120 <action function="set">tw_action_text2=This will take a few minutes.</action>
3121 <action function="set">tw_complete_text1=Partitioning Complete</action>
3122 <action function="page">action_page</action>
3123 </actions>
3124 </object>
3125
3126 <object type="text" color="%text_color%">
3127 <font resource="font" />
3128 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3129 <text>Swipe to Confirm Partition</text>
3130 </object>
3131
3132 <object type="action">
3133 <touch key="home" />
3134 <action function="page">main</action>
3135 </object>
3136
3137 <object type="action">
3138 <touch key="back" />
3139 <action function="page">advanced</action>
3140 </object>
3141
3142 <object type="template" name="footer" />
3143 </page>
3144
3145
3146 <page name="htcdumlock">
3147 <object type="template" name="header" />
3148
3149 <object type="text" color="%text_color%">
3150 <font resource="font" />
3151 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3152 <text>HTC Dumlock</text>
3153 </object>
3154
3155 <object type="button">
3156 <highlight color="%highlight_color%" />
3157 <condition var1="tw_show_dumlock" var2="1" />
3158 <placement x="%col1_x%" y="%row1_y%" />
3159 <font resource="font" color="%button_text_color%" />
3160 <text>Restore Original Boot</text>
3161 <image resource="main_button" />
3162 <actions>
3163 <action function="set">tw_back=htcdumlock</action>
3164 <action function="set">tw_action=htcdumlockrestoreboot</action>
3165 <action function="set">tw_text1=Restore original boot image?</action>
3166 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3167 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3168 <action function="set">tw_slider_text=Swipe to Confirm</action>
3169 <action function="page">confirm_action</action>
3170 </actions>
3171 </object>
3172
3173 <object type="button">
3174 <highlight color="%highlight_color%" />
3175 <condition var1="tw_show_dumlock" var2="1" />
3176 <placement x="%col2_x%" y="%row1_y%" />
3177 <font resource="font" color="%button_text_color%" />
3178 <text>Reflash Recovery->Boot</text>
3179 <image resource="main_button" />
3180 <actions>
3181 <action function="set">tw_back=htcdumlock</action>
3182 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3183 <action function="set">tw_text1=Reflash recovery to boot?</action>
3184 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3185 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3186 <action function="set">tw_slider_text=Swipe to Confirm</action>
3187 <action function="page">confirm_action</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
3192 <highlight color="%highlight_color%" />
3193 <condition var1="tw_show_dumlock" var2="1" />
3194 <placement x="%col1_x%" y="%row2_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>Install HTC Dumlock</text>
3197 <image resource="main_button" />
3198 <actions>
3199 <action function="set">tw_back=htcdumlock</action>
3200 <action function="set">tw_action=installhtcdumlock</action>
3201 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3202 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3203 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3204 <action function="set">tw_slider_text=Swipe to Confirm</action>
3205 <action function="page">confirm_action</action>
3206 </actions>
3207 </object>
3208
3209 <object type="action">
3210 <touch key="home" />
3211 <action function="page">main</action>
3212 </object>
3213
3214 <object type="action">
3215 <touch key="back" />
3216 <action function="page">advanced</action>
3217 </object>
3218
3219 <object type="template" name="footer" />
3220 </page>
3221
3222 <page name="lock">
3223 <background color="#000000A0" />
3224
3225 <object type="image">
3226 <image resource="unlock-icon" />
3227 <placement x="%lock_x%" y="%lock_y%" />
3228 </object>
3229
3230 <object type="slider">
3231 <placement x="%slider_x%" y="%slider_y%" />
3232 <resource base="slider" used="slider-used" touch="slider-touch" />
3233 <action function="overlay"></action>
3234 </object>
3235
3236 <object type="text" color="%text_color%">
3237 <font resource="font" />
3238 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3239 <text>Swipe to Unlock</text>
3240 </object>
3241 </page>
3242
3243
3244 <page name="filemanagerlist">
3245 <object type="template" name="header" />
3246
3247 <object type="text" color="%text_color%">
3248 <font resource="font" />
3249 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3250 <text>File Manager: Select a File or Folder</text>
3251 </object>
3252
3253 <object type="fileselector">
3254 <highlight color="%fileselector_highlight_color%" />
3255 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3256 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3257 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3258 <text>Folders:</text>
3259 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3260 <sort name="tw_gui_sort_order" />
3261 <icon folder="folder_icon" file="file_icon" />
3262 <background color="%fileselector_background%" />
3263 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3264 <filter folders="1" files="0" />
3265 <path name="tw_file_location1" default="/sdcard" />
3266 <data name="select" />
3267 <selection name="tw_selection1" />
3268 </object>
3269
3270 <object type="fileselector">
3271 <highlight color="%fileselector_highlight_color%" />
3272 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3273 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3274 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3275 <text>%tw_file_location1%</text>
3276 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3277 <sort name="tw_gui_sort_order" />
3278 <icon folder="folder_icon" file="file_icon" />
3279 <background color="%fileselector_background%" />
3280 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3281 <filter folders="0" files="1" />
3282 <path name="tw_file_location1" default="/" />
3283 <data name="tw_filename1" />
3284 <selection name="tw_selection1" />
3285 </object>
3286
3287 <object type="template" name="sort_options" />
3288
3289 <object type="action">
3290 <actions>
3291 <action function="set">tw_fm_type=File</action>
3292 <action function="set">tw_fm_isfolder=0</action>
3293 </actions>
3294 </object>
3295
3296 <object type="action">
3297 <touch key="home" />
3298 <action function="page">main</action>
3299 </object>
3300
3301 <object type="action">
3302 <touch key="back" />
3303 <action function="page">advanced</action>
3304 </object>
3305
3306 <object type="action">
3307 <condition var1="tw_filename1" op="modified" />
3308 <actions>
3309 <action function="page">filemanageroptions</action>
3310 </actions>
3311 </object>
3312
3313 <object type="button">
3314 <highlight color="%highlight_color%" />
3315 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3316 <font resource="font" color="%button_text_color%" />
3317 <text>Select Folder</text>
3318 <image resource="main_button" />
3319 <actions>
3320 <action function="set">tw_filename1=tw_file_location1</action>
3321 <action function="set">tw_fm_isfolder=1</action>
3322 <action function="set">tw_fm_type=Folder</action>
3323 <action function="page">filemanageroptions</action>
3324 </actions>
3325 </object>
3326
3327 <object type="template" name="footer" />
3328 </page>
3329
3330 <page name="filemanageroptions">
3331 <object type="template" name="header" />
3332
3333 <object type="text" color="%text_color%">
3334 <font resource="font" />
3335 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3336 <text>%tw_fm_type% Selected:</text>
3337 </object>
3338
3339 <object type="text" color="%text_color%">
3340 <font resource="font" />
3341 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3342 <text>%tw_filename1%</text>
3343 </object>
3344
3345 <object type="button">
3346 <highlight color="%highlight_color%" />
3347 <condition var1="tw_fm_isfolder" var2="0" />
3348 <placement x="%col1_x%" y="%row2_y%" />
3349 <font resource="font" color="%button_text_color%" />
3350 <text>Copy File</text>
3351 <image resource="main_button" />
3352 <actions>
3353 <action function="set">tw_filemanager_command=cp</action>
3354 <action function="set">tw_fm_text1=Copying</action>
3355 <action function="page">choosedestinationfolder</action>
3356 </actions>
3357 </object>
3358
3359 <object type="button">
3360 <highlight color="%highlight_color%" />
3361 <condition var1="tw_fm_isfolder" var2="1" />
3362 <placement x="%col1_x%" y="%row2_y%" />
3363 <font resource="font" color="%button_text_color%" />
3364 <text>Copy Folder</text>
3365 <image resource="main_button" />
3366 <actions>
3367 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3368 <action function="set">tw_fm_text1=Copying</action>
3369 <action function="page">choosedestinationfolder</action>
3370 </actions>
3371 </object>
3372
3373 <object type="button">
3374 <highlight color="%highlight_color%" />
3375 <placement x="%col2_x%" y="%row2_y%" />
3376 <font resource="font" color="%button_text_color%" />
3377 <text>Move</text>
3378 <image resource="main_button" />
3379 <actions>
3380 <action function="set">tw_filemanager_command=mv</action>
3381 <action function="set">tw_fm_text1=Moving</action>
3382 <action function="page">choosedestinationfolder</action>
3383 </actions>
3384 </object>
3385
3386 <object type="button">
3387 <highlight color="%highlight_color%" />
3388 <placement x="%col3_x%" y="%row2_y%" />
3389 <font resource="font" color="%button_text_color%" />
3390 <text>chmod 755</text>
3391 <image resource="main_button" />
3392 <actions>
3393 <action function="set">tw_filemanager_command=chmod 755</action>
3394 <action function="set">tw_fm_text1=chmod 755</action>
3395 <action function="set">tw_fm_text2=</action>
3396 <action function="set">tw_fm_text3=</action>
3397 <action function="set">tw_include_text3=0</action>
3398 <action function="set">tw_back=filemanageroptions</action>
3399 <action function="page">filemanagerconfirm</action>
3400 </actions>
3401 </object>
3402
3403 <object type="button">
3404 <highlight color="%highlight_color%" />
3405 <placement x="%col4_x%" y="%row2_y%" />
3406 <font resource="font" color="%button_text_color%" />
3407 <text>chmod</text>
3408 <image resource="main_button" />
3409 <actions>
3410 <action function="set">tw_filemanager_rename=0000</action>
3411 <action function="set">tw_fm_text2=</action>
3412 <action function="set">tw_fm_text3=</action>
3413 <action function="set">tw_include_text3=0</action>
3414 <action function="set">tw_back=filemanageroptions</action>
3415 <action function="page">filemanagerchmod</action>
3416 </actions>
3417 </object>
3418
3419 <object type="button">
3420 <highlight color="%highlight_color%" />
3421 <placement x="%col1_x%" y="%row1_y%" />
3422 <font resource="font" color="%button_text_color%" />
3423 <text>Delete</text>
3424 <image resource="main_button" />
3425 <actions>
3426 <action function="set">tw_filemanager_command=rm -rf</action>
3427 <action function="set">tw_fm_text1=Deleting</action>
3428 <action function="set">tw_fm_text2=</action>
3429 <action function="set">tw_fm_text3=</action>
3430 <action function="set">tw_include_text3=0</action>
3431 <action function="set">tw_back=filemanageroptions</action>
3432 <action function="page">filemanagerconfirm</action>
3433 </actions>
3434 </object>
3435
3436 <object type="button">
3437 <highlight color="%highlight_color%" />
3438 <condition var1="tw_fm_isfolder" var2="0" />
3439 <placement x="%col4_x%" y="%row1_y%" />
3440 <font resource="font" color="%button_text_color%" />
3441 <text>Rename File</text>
3442 <image resource="main_button" />
3443 <actions>
3444 <action function="set">tw_filemanager_rename=tw_selection1</action>
3445 <action function="set">tw_fm_text1=Renaming</action>
3446 <action function="set">tw_filemanager_command=mv</action>
3447 <action function="page">filemanagerrenamefile</action>
3448 </actions>
3449 </object>
3450
3451 <object type="button">
3452 <highlight color="%highlight_color%" />
3453 <condition var1="tw_fm_isfolder" var2="1" />
3454 <placement x="%col4_x%" y="%row1_y%" />
3455 <font resource="font" color="%button_text_color%" />
3456 <text>Rename Folder</text>
3457 <image resource="main_button" />
3458 <actions>
3459 <action function="set">tw_filemanager_rename=tw_selection1</action>
3460 <action function="set">tw_fm_text1=Renaming</action>
3461 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3462 <action function="page">filemanagerrenamefolder</action>
3463 </actions>
3464 </object>
3465
3466 <object type="action">
3467 <touch key="home" />
3468 <action function="page">main</action>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="back" />
3473 <action function="page">filemanagerlist</action>
3474 </object>
3475
3476 <object type="template" name="footer" />
3477 </page>
3478
3479 <page name="choosedestinationfolder">
3480 <object type="template" name="header" />
3481
3482 <object type="text" color="%text_color%">
3483 <font resource="font" />
3484 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3485 <text>Browse to Destination Folder & Press Select</text>
3486 </object>
3487
3488 <object type="fileselector">
3489 <highlight color="%fileselector_highlight_color%" />
3490 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3491 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3492 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3493 <text>%tw_file_location2%</text>
3494 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3495 <sort name="tw_gui_sort_order" />
3496 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3497 <icon folder="folder_icon" file="file_icon" />
3498 <background color="%fileselector_background%" />
3499 <filter folders="1" files="0" />
3500 <path name="tw_file_location2" default="/sdcard" />
3501 <data name="tw_filename2" />
3502 </object>
3503
3504 <object type="template" name="sort_options" />
3505
3506 <object type="action">
3507 <touch key="home" />
3508 <action function="page">main</action>
3509 </object>
3510
3511 <object type="action">
3512 <touch key="back" />
3513 <action function="page">filemanageroptions</action>
3514 </object>
3515
3516 <object type="button">
3517 <highlight color="%highlight_color%" />
3518 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3519 <font resource="font" color="%button_text_color%" />
3520 <text>Select Folder</text>
3521 <image resource="main_button" />
3522 <actions>
3523 <action function="set">tw_fm_text2=to</action>
3524 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3525 <action function="set">tw_include_text3=1</action>
3526 <action function="set">tw_back=filemanageroptions</action>
3527 <action function="page">filemanagerconfirm</action>
3528 </actions>
3529 </object>
3530
3531 <object type="template" name="footer" />
3532 </page>
3533
3534 <page name="filemanagerrenamefile">
3535 <object type="template" name="header" />
3536
3537 <object type="text" color="%text_color%">
3538 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3539 <font resource="font" />
3540 <text>Please Enter a New %tw_fm_type% Name</text>
3541 </object>
3542
3543 <object type="input">
3544 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3545 <background color="%input_background_color%" />
3546 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3547 <font resource="font" color="%text_color%" />
3548 <text>%tw_filemanager_rename%</text>
3549 <data name="tw_filemanager_rename" />
3550 <restrict minlen="1" maxlen="128" />
3551 <actions>
3552 <action function="set">tw_fm_text2=to</action>
3553 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3554 <action function="set">tw_include_text3=1</action>
3555 <action function="set">tw_back=filemanageroptions</action>
3556 <action function="page">filemanagerconfirm</action>
3557 </actions>
3558 </object>
3559
3560 <object type="button">
3561 <highlight color="%highlight_color%" />
3562 <placement x="%col_center_x%" y="%cancel_button_y%" />
3563 <font resource="font" color="%button_text_color%" />
3564 <text>Cancel</text>
3565 <image resource="main_button" />
3566 <action function="page">filemanageroptions</action>
3567 </object>
3568
3569 <object type="template" name="keyboardtemplate" />
3570
3571 <object type="action">
3572 <touch key="home" />
3573 <action function="page">main</action>
3574 </object>
3575
3576 <object type="action">
3577 <touch key="back" />
3578 <action function="page">filemanageroptions</action>
3579 </object>
3580
3581 <object type="template" name="footer" />
3582 </page>
3583
3584 <page name="filemanagerrenamefolder">
3585 <object type="template" name="header" />
3586
3587 <object type="text" color="%text_color%">
3588 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3589 <font resource="font" />
3590 <text>Please Enter a New %tw_fm_type% Name</text>
3591 </object>
3592
3593 <object type="input">
3594 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3595 <background color="%input_background_color%" />
3596 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3597 <font resource="font" color="%text_color%" />
3598 <text>%tw_filemanager_rename%</text>
3599 <data name="tw_filemanager_rename" />
3600 <restrict minlen="1" maxlen="128" />
3601 <actions>
3602 <action function="set">tw_fm_text2=to</action>
3603 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3604 <action function="set">tw_include_text3=1</action>
3605 <action function="set">tw_back=filemanageroptions</action>
3606 <action function="page">filemanagerconfirm</action>
3607 </actions>
3608 </object>
3609
3610 <object type="button">
3611 <highlight color="%highlight_color%" />
3612 <placement x="%col_center_x%" y="%cancel_button_y%" />
3613 <font resource="font" color="%button_text_color%" />
3614 <text>Cancel</text>
3615 <image resource="main_button" />
3616 <action function="page">filemanageroptions</action>
3617 </object>
3618
3619 <object type="template" name="keyboardtemplate" />
3620
3621 <object type="action">
3622 <touch key="home" />
3623 <action function="page">main</action>
3624 </object>
3625
3626 <object type="action">
3627 <touch key="back" />
3628 <action function="page">filemanageroptions</action>
3629 </object>
3630
3631 <object type="template" name="footer" />
3632 </page>
3633
3634 <page name="filemanagerchmod">
3635 <object type="template" name="header" />
3636
3637 <object type="text" color="%text_color%">
3638 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3639 <font resource="font" />
3640 <text>Please Enter New Permissions</text>
3641 </object>
3642
3643 <object type="input">
3644 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3645 <background color="%input_background_color%" />
3646 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3647 <font resource="font" color="%text_color%" />
3648 <text>%tw_filemanager_rename%</text>
3649 <data name="tw_filemanager_rename" />
3650 <restrict minlen="3" maxlen="4" allow="0123456789" />
3651 <actions>
3652 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3653 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3654 <action function="set">tw_back=filemanageroptions</action>
3655 <action function="page">filemanagerconfirm</action>
3656 </actions>
3657 </object>
3658
3659 <object type="button">
3660 <highlight color="%highlight_color%" />
3661 <placement x="%col_center_x%" y="%cancel_button_y%" />
3662 <font resource="font" color="%button_text_color%" />
3663 <text>Cancel</text>
3664 <image resource="main_button" />
3665 <action function="page">filemanageroptions</action>
3666 </object>
3667
3668 <object type="template" name="keyboardtemplate" />
3669
3670 <object type="action">
3671 <touch key="home" />
3672 <action function="page">main</action>
3673 </object>
3674
3675 <object type="action">
3676 <touch key="back" />
3677 <action function="page">filemanageroptions</action>
3678 </object>
3679
3680 <object type="template" name="footer" />
3681 </page>
3682
3683 <page name="filemanagerconfirm">
3684 <object type="template" name="header" />
3685
3686 <object type="text" color="%text_color%">
3687 <font resource="font" />
3688 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3689 <text>%tw_fm_text1%</text>
3690 </object>
3691
3692 <object type="text" color="%text_color%">
3693 <font resource="font" />
3694 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3695 <text>%tw_filename1%</text>
3696 </object>
3697
3698 <object type="text" color="%text_color%">
3699 <font resource="font" />
3700 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3701 <text>%tw_fm_text2%</text>
3702 </object>
3703
3704 <object type="text" color="%text_color%">
3705 <font resource="font" />
3706 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3707 <text>%tw_fm_text3%</text>
3708 </object>
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3713 <text>Press back button to cancel.</text>
3714 </object>
3715
3716 <object type="slider">
3717 <placement x="%slider_x%" y="%slider_y%" />
3718 <resource base="slider" used="slider-used" touch="slider-touch" />
3719 <action function="page">filemanageracction</action>
3720 </object>
3721
3722 <object type="text" color="%text_color%">
3723 <font resource="font" />
3724 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3725 <text>Swipe to Confirm</text>
3726 </object>
3727
3728 <object type="action">
3729 <touch key="back" />
3730 <action function="page">%tw_back%</action>
3731 </object>
3732
3733 <object type="action">
3734 <touch key="home" />
3735 <action function="page">main</action>
3736 </object>
3737
3738 <object type="template" name="footer" />
3739 </page>
3740
3741 <page name="filemanageracction">
3742 <object type="template" name="header" />
3743
3744 <object type="text" color="%text_color%">
3745 <font resource="font" />
3746 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3747 <text>%tw_fm_text1%</text>
3748 </object>
3749
3750 <object type="template" name="action_page_console" />
3751
3752 <object type="template" name="progress_bar" />
3753
3754 <object type="action">
3755 <conditions>
3756 <condition var1="tw_operation_state" var2="1" />
3757 <condition var1="tw_operation_status" var2="0" />
3758 </conditions>
3759 <actions>
3760 <action function="set">tw_back=filemanagerlist</action>
3761 <action function="set">tw_complete_text1=File Operation Complete</action>
3762 <action function="page">action_complete</action>
3763 </actions>
3764 </object>
3765
3766 <object type="action">
3767 <conditions>
3768 <condition var1="tw_operation_state" var2="1" />
3769 <condition var1="tw_operation_status" op="!=" var2="0" />
3770 </conditions>
3771 <actions>
3772 <action function="set">tw_complete_text1=File Operation Complete</action>
3773 <action function="page">action_complete</action>
3774 </actions>
3775 </object>
3776
3777 <object type="action">
3778 <condition var1="tw_include_text3" var2="0" />
3779 <actions>
3780 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3781 </actions>
3782 </object>
3783
3784 <object type="action">
3785 <condition var1="tw_include_text3" var2="1" />
3786 <actions>
3787 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3788 </actions>
3789 </object>
3790 </page>
3791
3792 <page name="decrypt">
3793 <object type="template" name="header" />
3794
3795 <object type="text" color="%text_color%">
3796 <font resource="font" />
3797 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3798 <text>Please Enter Your Password</text>
3799 </object>
3800
3801 <object type="input">
3802 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3803 <background color="%input_background_color%" />
3804 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3805 <font resource="font" color="%text_color%" />
3806 <text>%tw_crypto_display%</text>
3807 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3808 <restrict minlen="1" maxlen="254" />
3809 <actions>
3810 <action function="page">trydecrypt</action>
3811 </actions>
3812 </object>
3813
3814 <object type="text" color="%text_fail_color%">
3815 <condition var1="tw_password_fail" var2="1" />
3816 <font resource="font" />
3817 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3818 <text>Password Failed, Please Try Again</text>
3819 </object>
3820
3821 <object type="button">
3822 <highlight color="%highlight_color%" />
3823 <placement x="%col_center_x%" y="%cancel_button_y%" />
3824 <font resource="font" color="%button_text_color%" />
3825 <text>Cancel</text>
3826 <image resource="main_button" />
3827 <actions>
3828 <action function="set">tw_page_done=1</action>
3829 <action function="page">main</action>
3830 </actions>
3831 </object>
3832
3833 <object type="template" name="keyboardtemplate" />
3834
3835 <object type="template" name="footer" />
3836 </page>
3837
3838 <page name="trydecrypt">
3839 <object type="template" name="header" />
3840
3841 <object type="text" color="%text_color%">
3842 <font resource="font" />
3843 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3844 <text>Trying Decryption with Your Password</text>
3845 </object>
3846
3847 <object type="template" name="action_page_console" />
3848
3849 <object type="template" name="progress_bar" />
3850
3851 <object type="action">
3852 <action function="decrypt"></action>
3853 </object>
3854
3855 <object type="action">
3856 <conditions>
3857 <condition var1="tw_operation_state" var2="1" />
3858 <condition var1="tw_operation_status" op="!=" var2="0" />
3859 </conditions>
3860 <actions>
3861 <action function="set">tw_password_fail=1</action>
3862 <action function="page">decrypt</action>
3863 </actions>
3864 </object>
3865
3866 <object type="action">
3867 <conditions>
3868 <condition var1="tw_operation_state" var2="1" />
3869 <condition var1="tw_operation_status" op="=" var2="0" />
3870 </conditions>
3871 <actions>
3872 <action function="set">tw_page_done=1</action>
3873 <action function="page">main</action>
3874 </actions>
3875 </object>
3876 </page>
3877
3878 <page name="terminalfolder">
3879 <object type="template" name="header" />
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3884 <text>Browse to Starting Folder</text>
3885 </object>
3886
3887 <object type="fileselector">
3888 <highlight color="%fileselector_highlight_color%" />
3889 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3890 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3891 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3892 <text>%tw_terminal_location%</text>
3893 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3894 <sort name="tw_gui_sort_order" />
3895 <icon folder="folder_icon" file="file_icon" />
3896 <background color="%fileselector_background%" />
3897 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3898 <filter folders="1" files="0" />
3899 <path name="tw_terminal_location" default="/" />
3900 <data name="tw_terminal" />
3901 <selection name="tw_terminal_selection" />
3902 </object>
3903
3904 <object type="template" name="sort_options" />
3905
3906 <object type="action">
3907 <touch key="home" />
3908 <action function="page">main</action>
3909 </object>
3910
3911 <object type="action">
3912 <touch key="back" />
3913 <action function="page">advanced</action>
3914 </object>
3915
3916 <object type="button">
3917 <highlight color="%highlight_color%" />
3918 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3919 <font resource="font" color="%button_text_color%" />
3920 <text>Select Folder</text>
3921 <image resource="main_button" />
3922 <actions>
3923 <action function="page">terminalcommand</action>
3924 </actions>
3925 </object>
3926
3927 <object type="template" name="footer" />
3928 </page>
3929
3930 <page name="terminalcommand">
3931 <background color="#000000FF" />
3932
3933 <object type="console">
3934 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
3935 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3936 <font resource="fixed" />
3937 </object>
3938
3939 <object type="text" color="%text_color%">
3940 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
3941 <font resource="font" />
3942 <text>Starting Path: %tw_terminal_location%</text>
3943 </object>
3944
3945 <object type="input">
3946 <condition var1="tw_terminal_state" var2="0" />
3947 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
3948 <background color="%input_background_color%" />
3949 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3950 <font resource="font" color="%text_color%" />
3951 <text>%tw_terminal_command%</text>
3952 <data name="tw_terminal_command" />
3953 <restrict minlen="1" />
3954 <action function="terminalcommand">%tw_terminal_command%</action>
3955 </object>
3956
3957 <object type="button">
3958 <highlight color="%highlight_color%" />
3959 <condition var1="tw_terminal_state" var2="1" />
3960 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3961 <font resource="font" color="%button_text_color%" />
3962 <text>KILL</text>
3963 <image resource="medium_button" />
3964 <action function="killterminal"></action>
3965 </object>
3966
3967 <object type="button">
3968 <highlight color="%highlight_color%" />
3969 <placement x="%home_button_x%" y="%terminal_button_y%" />
3970 <font resource="font" color="%button_text_color%" />
3971 <text></text>
3972 <image resource="home_icon" />
3973 <condition var1="tw_busy" var2="0" />
3974 <action function="key">home</action>
3975 </object>
3976
3977 <object type="button">
3978 <highlight color="%highlight_color%" />
3979 <placement x="%back_button_x%" y="%terminal_button_y%" />
3980 <font resource="font" color="%button_text_color%" />
3981 <text></text>
3982 <image resource="back_icon" />
3983 <condition var1="tw_busy" var2="0" />
3984 <action function="key">back</action>
3985 </object>
3986
3987 <object type="action">
3988 <touch key="power" />
3989 <action function="overlay">lock</action>
3990 </object>
3991
3992 <object type="action">
3993 <touch key="power+voldown" />
3994 <action function="screenshot" />
3995 </object>
3996
3997 <object type="template" name="keyboardtemplate" />
3998
3999 <object type="action">
4000 <touch key="home" />
4001 <action function="page">main</action>
4002 </object>
4003
4004 <object type="action">
4005 <touch key="back" />
4006 <action function="page">terminalfolder</action>
4007 </object>
4008 </page>
4009
4010 <page name="sideload">
4011 <object type="template" name="header" />
4012
4013 <object type="text" color="%text_color%">
4014 <font resource="font" />
4015 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4016 <text>ADB Sideload</text>
4017 </object>
4018
4019 <object type="checkbox">
4020 <placement x="%col1_x%" y="%row3_text_y%" />
4021 <font resource="font" color="%text_color%" />
4022 <text>Wipe Dalvik Cache.</text>
4023 <data variable="tw_wipe_dalvik" />
4024 <image checked="checkbox_true" unchecked="checkbox_false" />
4025 </object>
4026
4027 <object type="checkbox">
4028 <placement x="%col1_x%" y="%row4_text_y%" />
4029 <font resource="font" color="%text_color%" />
4030 <text>Wipe Cache.</text>
4031 <data variable="tw_wipe_cache" />
4032 <image checked="checkbox_true" unchecked="checkbox_false" />
4033 </object>
4034
4035 <object type="slider">
4036 <placement x="%slider_x%" y="%slider_y%" />
4037 <resource base="slider" used="slider-used" touch="slider-touch" />
4038 <actions>
4039 <action function="set">tw_back=advanced</action>
4040 <action function="set">tw_action=adbsideload</action>
4041 <action function="set">tw_action_text1=ADB Sideload</action>
4042 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4043 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4044 <action function="set">tw_has_cancel=1</action>
4045 <action function="set">tw_show_reboot=1</action>
4046 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4047 <action function="page">action_page</action>
4048 </actions>
4049 </object>
4050
4051 <object type="text" color="%text_color%">
4052 <font resource="font" />
4053 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4054 <text>Swipe to Start Sideload</text>
4055 </object>
4056
4057 <object type="action">
4058 <touch key="home" />
4059 <action function="page">main</action>
4060 </object>
4061
4062 <object type="action">
4063 <touch key="back" />
4064 <action function="page">advanced</action>
4065 </object>
4066
4067 <object type="template" name="footer" />
4068 </page>
4069
thata3d31fb2014-12-21 22:27:40 +01004070 <page name="fixperms">
4071 <object type="template" name="header" />
4072
4073 <object type="text" color="%text_color%">
4074 <font resource="font" />
4075 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4076 <text>Fix Permissions</text>
4077 </object>
4078
4079 <object type="text" color="%text_color%">
4080 <font resource="font" />
4081 <placement x="%col2_x%" y="%row2_text_y%" />
4082 <text>Note: Fixing permissions is rarely needed.</text>
4083 </object>
4084
4085 <object type="checkbox">
4086 <placement x="%col2_x%" y="%row3_text_y%" />
4087 <font resource="font" color="%text_color%" />
4088 <text>Also fix SELinux contexts</text>
4089 <data variable="tw_fixperms_restorecon" />
4090 <image checked="checkbox_true" unchecked="checkbox_false" />
4091 </object>
4092
4093 <object type="text" color="%text_color%">
4094 <font resource="font" />
4095 <placement x="%col2_x%" y="%row4_text_y%" />
4096 <text>Fixing SELinux contexts may cause your device to not boot properly.</text>
4097 </object>
4098
4099 <object type="slider">
4100 <placement x="%slider_x%" y="%slider_y%" />
4101 <resource base="slider" used="slider-used" touch="slider-touch" />
4102 <actions>
4103 <action function="set">tw_back=advanced</action>
4104 <action function="set">tw_action=fixpermissions</action>
4105 <action function="set">tw_action_text1=Fixing Permissions...</action>
4106 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
4107 <action function="set">tw_slider_text=Swipe to Confirm</action>
4108 <action function="set">tw_show_reboot=1</action>
4109 <action function="page">action_page</action>
4110 </actions>
4111 </object>
4112
4113 <object type="text" color="%text_color%">
4114 <font resource="font" />
4115 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4116 <text>Swipe to Fix Permissions</text>
4117 </object>
4118
4119 <object type="action">
4120 <touch key="home" />
4121 <action function="page">main</action>
4122 </object>
4123
4124 <object type="action">
4125 <touch key="back" />
4126 <action function="page">advanced</action>
4127 </object>
4128
4129 <object type="template" name="footer" />
4130 </page>
4131
Ethan Yonker780cd392014-07-21 15:24:39 -05004132 <page name="installsu">
4133 <object type="template" name="header" />
4134
4135 <object type="text" color="%text_color%">
4136 <font resource="font" />
4137 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4138 <text>Install SuperSU?</text>
4139 </object>
4140
4141 <object type="text" color="%text_color%">
4142 <font resource="font" />
4143 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4144 <text>Your device does not appear to be rooted.</text>
4145 </object>
4146
4147 <object type="text" color="%text_color%">
4148 <font resource="font" />
4149 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4150 <text>Install SuperSU now? This will root your device.</text>
4151 </object>
4152
4153 <object type="button">
4154 <highlight color="%highlight_color%" />
4155 <placement x="%col_center_x%" y="%row2_medium_y%" />
4156 <font resource="font" color="%button_text_color%" />
4157 <text>Do Not Install</text>
4158 <image resource="main_button" />
4159 <action function="set">tw_page_done=1</action>
4160 </object>
4161
4162 <object type="slider">
4163 <placement x="%slider_x%" y="%slider_y%" />
4164 <resource base="slider" used="slider-used" touch="slider-touch" />
4165 <actions>
4166 <action function="set">tw_action=installsu</action>
4167 <action function="set">tw_action_text1=Installing SuperSU</action>
4168 <action function="set">tw_action_text2=</action>
4169 <action function="page">singleaction_page</action>
4170 </actions>
4171 </object>
4172
4173 <object type="text" color="%text_color%">
4174 <font resource="font" />
4175 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4176 <text>Swipe to Install</text>
4177 </object>
4178 </page>
4179 </pages>
4180</recovery>