blob: 0169a99b4f76312c0ab1f28fbe4a41420fe69e18 [file] [log] [blame]
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001<?xml version="1.0"?>
2
3<recovery>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06004 <styles>
5 <style name="buttontext">
6 <highlight color="%highlight_color%" />
7 <font resource="font" color="%button_text_color%" />
8 </style>
9
10 <style name="button">
11 <style name="buttontext" />
12 <image resource="main_button" />
13 </style>
14
15 <style name="mediumbutton">
16 <style name="buttontext" />
17 <image resource="medium_button" />
18 </style>
19
20 <style name="fillbutton">
21 <style name="buttontext" />
22 <fill color="%button_fill_color%" />
23 </style>
24
25 <style name="rebootsystem">
26 <condition var1="tw_reboot_system" var2="1" />
27 <style name="button" />
28 <text>Reboot System</text>
29 <actions>
30 <action function="set">tw_back=main2</action>
31 <action function="set">tw_action=reboot</action>
32 <action function="set">tw_action_param=system</action>
33 <action function="set">tw_has_action2=0</action>
34 <action function="set">tw_text1=No OS Installed! Are you</action>
35 <action function="set">tw_text2=sure you wish to reboot?</action>
36 <action function="set">tw_text3=</action>
37 <action function="set">tw_text4=</action>
38 <action function="set">tw_action_text1=Rebooting...</action>
39 <action function="set">tw_action_text2=</action>
40 <action function="set">tw_complete_text1=Rebooting...</action>
41 <action function="set">tw_slider_text=Swipe to Reboot</action>
42 <action function="page">rebootcheck</action>
43 </actions>
44 </style>
45
46 <style name="scrolllist">
47 <highlight color="%fileselector_highlight_color%" />
48 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
49 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
50 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
51 <background color="%fileselector_background%" />
52 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
53 </style>
54
55 <style name="fileselector">
56 <style name="scrolllist" />
57 <icon folder="folder_icon" file="file_icon" />
58 <sort name="tw_gui_sort_order" />
59 </style>
60
61 <style name="partitionlist">
62 <style name="scrolllist" />
63 <icon selected="checkbox_true" unselected="checkbox_false" />
64 </style>
65
66 <style name="text">
67 <font resource="font" color="%text_color%" />
68 </style>
69
70 <style name="checkbox">
71 <font resource="font" color="%text_color%" />
72 <image checked="checkbox_true" unchecked="checkbox_false" />
73 </style>
74
75 <style name="slider">
76 <text>Swipe to Confirm</text>
77 <font resource="font" color="%text_color%" />
78 <placement x="%slider_x%" y="%slider_y%" placement="5" />
79 <resource base="slider" used="slider-used" touch="slider-touch" />
80 </style>
81
82 <style name="console">
83 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
84 <font resource="fixed" />
85 </style>
86
87 <style name="input">
88 <background color="%input_background_color%" />
89 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
90 <font resource="font" color="%text_color%" />
91 </style>
92
93 <style name="slidervalue">
94 <font resource="font" color="%text_color%" />
95 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
96 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
97 </style>
98 </styles>
99
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500100 <pages>
101 <page name="main">
102 <object type="action">
103 <actions>
104 <action function="set">tw_clear_destination=main2</action>
105 <action function="page">clear_vars</action>
106 </actions>
107 </object>
108 </page>
109
110 <page name="main2">
111 <object type="template" name="twrpheader" />
112
113 <object type="template" name="header" />
114
115 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500116 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500117 <text>Install</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600118 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500119 </object>
120
121 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500122 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500123 <text>Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500124 <action function="page">wipe</action>
125 </object>
126
127 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500128 <placement x="%col1_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500129 <text>Backup</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500130 <action function="page">backup</action>
131 </object>
132
133 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500134 <placement x="%col2_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500135 <text>Restore</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500136 <action function="page">restore</action>
137 </object>
138
139 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500140 <placement x="%col1_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500141 <text>Mount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500142 <action function="page">mount</action>
143 </object>
144
145 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500146 <placement x="%col2_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500147 <text>Settings</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500148 <action function="page">settings</action>
149 </object>
150
151
152 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500153 <placement x="%col1_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500154 <text>Advanced</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500155 <action function="page">advanced</action>
156 </object>
157
158 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500159 <placement x="%col2_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500160 <text>Reboot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500161 <action function="page">reboot</action>
162 </object>
163
164 <object type="template" name="footer" />
165 </page>
166
Ethan Yonker96af84a2015-01-05 14:58:36 -0600167 <page name="install_select">
168 <object type="template" name="twrpheader" />
169
170 <object type="template" name="header" />
171
172 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600173 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600174 <text>Install Zips</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600175 <actions>
176 <action function="queueclear"></action>
177 <action function="page">install</action>
178 </actions>
179 </object>
180
181 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600182 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600183 <text>Install Images</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600184 <action function="page">install_image</action>
185 </object>
186
187 <object type="action">
188 <touch key="back" />
189 <action function="page">main</action>
190 </object>
191
192 <object type="action">
193 <touch key="home" />
194 <action function="page">main</action>
195 </object>
196
197 <object type="template" name="footer" />
198 </page>
199
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500200 <page name="install">
201 <object type="template" name="header" />
202
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600203 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
205 <text>Select Zip to Install</text>
206 </object>
207
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600208 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500209 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500210 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
211 <actions>
212 <action function="set">tw_back=install</action>
213 <action function="page">selectstorage</action>
214 </actions>
215 </object>
216
217 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500218 <placement x="%fileselector_x%" y="%fileselector_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500219 <text>%tw_zip_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500220 <filter extn=".zip" folders="1" files="1" />
221 <path name="tw_zip_location" default="/sdcard" />
222 <data name="tw_filename" />
223 <selection name="tw_file" />
224 </object>
225
226 <object type="template" name="sort_options" />
227
228 <object type="action">
229 <condition var1="tw_filename" op="modified" />
230 <actions>
231 <action function="queuezip"></action>
232 <action function="page">flash_confirm</action>
233 </actions>
234 </object>
235
236 <object type="action">
237 <touch key="back" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600238 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500239 </object>
240
241 <object type="action">
242 <touch key="home" />
243 <action function="page">main</action>
244 </object>
245
246 <object type="template" name="footer" />
247 </page>
248
249 <page name="flash_confirm">
250 <object type="template" name="header" />
251
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600252 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500253 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
254 <text>This operation may install incompatible</text>
255 </object>
256
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600257 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500258 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
259 <text>software and render your device unusable.</text>
260 </object>
261
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600262 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500263 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
264 <text>Folder and File:</text>
265 </object>
266
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600267 <object type="text">
268 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500269 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
270 <text>%tw_zip_location%</text>
271 </object>
272
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600273 <object type="text">
274 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500275 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
276 <text>%tw_file%</text>
277 </object>
278
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600279 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500280 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
281 <text>Press back to cancel adding this zip.</text>
282 </object>
283
284 <object type="checkbox">
285 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500286 <text>Zip file signature verification.</text>
287 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500288 </object>
289
290 <object type="checkbox">
291 <condition var1="tw_has_injecttwrp" var2="1" />
292 <placement x="%col1_x%" y="%row7_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500293 <text>Inject TWRP after install.</text>
294 <data variable="tw_inject_after_zip" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500295 </object>
296
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600297 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500298 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
299 <text>File %tw_zip_queue_count% of max of 10</text>
300 </object>
301
302 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600303 <text>Swipe to Confirm Flash</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500304 <action function="flash">flash_zip</action>
305 </object>
306
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500307 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500308 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
309 <placement x="%col1_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500310 <text>Add More Zips</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500311 <action function="page">install</action>
312 </object>
313
314 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500315 <placement x="%col2_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500316 <text>Clear Zip Queue</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500317 <actions>
318 <action function="queueclear"></action>
319 <action function="page">install</action>
320 </actions>
321 </object>
322
323 <object type="action">
324 <touch key="back" />
325 <actions>
326 <action function="cancelzip"></action>
327 <action function="page">install</action>
328 </actions>
329 </object>
330
331 <object type="action">
332 <touch key="home" />
333 <action function="page">main</action>
334 </object>
335 </page>
336
337 <page name="flash_zip">
338 <object type="template" name="header" />
339
340 <object type="console">
341 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500342 </object>
343
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600344 <object type="text">
345 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500346 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
347 </object>
348
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600349 <object type="text">
350 <font resource="mediumfont" color="%text_color%"/>
351 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500352 <text>%tw_filename%</text>
353 </object>
354
355 <object type="template" name="progress_bar" />
356
357 <object type="action">
358 <condition var1="tw_operation_state" var2="1" />
359 <action function="page">flash_done</action>
360 </object>
361 </page>
362
363 <page name="flash_done">
364 <object type="template" name="header" />
365
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600366 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500367 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
368 <text>Zip Install Complete</text>
369 </object>
370
371 <object type="console">
372 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500373 </object>
374
375 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500376 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500377 <text>Wipe cache/dalvik</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500378 <actions>
379 <action function="set">tw_back=flash_done</action>
380 <action function="set">tw_action=wipe</action>
381 <action function="set">tw_action_param=/cache</action>
382 <action function="set">tw_has_action2=1</action>
383 <action function="set">tw_action2=wipe</action>
384 <action function="set">tw_action2_param=dalvik</action>
Matt Mower82931532015-02-27 14:19:59 -0600385 <action function="set">tw_text1=Wipe Cache &amp; Dalvik?</action>
386 <action function="set">tw_action_text1=Wiping Cache &amp; Dalvik...</action>
387 <action function="set">tw_complete_text1=Cache &amp; Dalvik Wipe Complete</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500388 <action function="set">tw_slider_text=Swipe to Wipe</action>
389 <action function="page">confirm_action</action>
390 </actions>
391 </object>
392
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600393 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500394 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500395 </object>
396
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600397 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500398 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600399 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500400 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
401 <text>Failed</text>
402 </object>
403
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600404 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500405 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600406 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500407 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
408 <text>Successful</text>
409 </object>
410
411 <object type="action">
412 <touch key="back" />
413 <actions>
414 <action function="set">tw_clear_destination=install</action>
415 <action function="page">clear_vars</action>
416 </actions>
417 </object>
418
419 <object type="action">
420 <touch key="home" />
421 <actions>
422 <action function="set">tw_clear_destination=main2</action>
423 <action function="page">clear_vars</action>
424 </actions>
425 </object>
426 </page>
427
Ethan Yonker96af84a2015-01-05 14:58:36 -0600428 <page name="install_image">
429 <object type="template" name="header" />
430
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600431 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600432 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
433 <text>Select Image to Install</text>
434 </object>
435
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600436 <object type="button" style="fillbutton">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600437 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600438 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
439 <actions>
440 <action function="set">tw_back=install_image</action>
441 <action function="page">selectstorage</action>
442 </actions>
443 </object>
444
445 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600446 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600447 <text>%tw_zip_location%</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600448 <filter extn=".img" folders="1" files="1" />
449 <path name="tw_zip_location" default="/sdcard" />
450 <data name="tw_filename" />
451 <selection name="tw_file" />
452 </object>
453
454 <object type="template" name="sort_options" />
455
456 <object type="action">
457 <condition var1="tw_filename" op="modified" />
458 <action function="page">flashimage_confirm</action>
459 </object>
460
461 <object type="action">
462 <touch key="back" />
463 <action function="page">install_select</action>
464 </object>
465
466 <object type="action">
467 <touch key="home" />
468 <action function="page">main</action>
469 </object>
470
471 <object type="template" name="footer" />
472 </page>
473
474 <page name="flashimage_confirm">
475 <object type="template" name="header" />
476
477 <object type="partitionlist">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600478 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%flash_list_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600479 <text>Select Partition to Flash Image:</text>
480 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600481 <data name="tw_flash_partition" />
482 <listtype name="flashimg" />
483 </object>
484
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600485 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600486 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
487 <text>Folder:</text>
488 </object>
489
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600490 <object type="text">
491 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600492 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
493 <text>%tw_zip_location%</text>
494 </object>
495
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600496 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600497 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
498 <text>File to flash:</text>
499 </object>
500
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600501 <object type="text" >
502 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600503 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
504 <text>%tw_file%</text>
505 </object>
506
507 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600508 <text>Swipe to Confirm Flash</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600509 <actions>
510 <action function="set">tw_back=flashimage_confirm</action>
511 <action function="set">tw_action=flashimage</action>
512 <action function="set">tw_has_action2=0</action>
513 <action function="set">tw_action_text1=Flashing Image...</action>
514 <action function="set">tw_action_text2=</action>
515 <action function="set">tw_complete_text1=Image Flashed</action>
516 <action function="page">action_page</action>
517 </actions>
518 <action function="flashimage"></action>
519 </object>
520
Ethan Yonker96af84a2015-01-05 14:58:36 -0600521 <object type="action">
522 <touch key="back" />
523 <actions>
524 <action function="set">tw_clear_destination=install_image</action>
525 <action function="page">clear_vars</action>
526 </actions>
527 </object>
528
529 <object type="action">
530 <touch key="home" />
531 <actions>
532 <action function="set">tw_clear_destination=main2</action>
533 <action function="page">clear_vars</action>
534 </actions>
535 </object>
536 </page>
537
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500538 <page name="clear_vars">
539 <object type="action">
540 <action function="set">tw_operation_state=0</action>
541 <action function="set">tw_text1=</action>
542 <action function="set">tw_text2=</action>
543 <action function="set">tw_text3=</action>
544 <action function="set">tw_text4=</action>
545 <action function="set">tw_action_text1=</action>
546 <action function="set">tw_action_text2=</action>
547 <action function="set">tw_action_param=</action>
548 <action function="set">tw_has_action2=0</action>
549 <action function="set">tw_action2=</action>
550 <action function="set">tw_action2_param=</action>
551 <action function="set">tw_has_cancel=0</action>
552 <action function="set">tw_cancel_action=</action>
553 <action function="set">tw_cancel_param=</action>
554 <action function="set">tw_show_exclamation=0</action>
555 <action function="set">tw_show_reboot=0</action>
556 <action function="page">%tw_clear_destination%</action>
557 </object>
558 </page>
559
560 <page name="confirm_action">
561 <object type="template" name="header" />
562
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600563 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500564 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
565 <text>%tw_text1%</text>
566 </object>
567
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600568 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500569 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
570 <text>%tw_text2%</text>
571 </object>
572
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600573 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500574 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
575 <text>%tw_text3%</text>
576 </object>
577
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600578 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500579 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
580 <text>%tw_text4%</text>
581 </object>
582
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600583 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500584 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
585 <text>Press back button to cancel.</text>
586 </object>
587
588 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500589 <text>%tw_slider_text%</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600590 <action function="page">action_page</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500591 </object>
592
593 <object type="action">
594 <touch key="back" />
595 <actions>
596 <action function="set">tw_clear_destination=%tw_back%</action>
597 <action function="page">clear_vars</action>
598 </actions>
599 </object>
600
601 <object type="action">
602 <touch key="home" />
603 <action function="page">main</action>
604 </object>
605 </page>
606
607 <page name="action_page">
608 <object type="template" name="header" />
609
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600610 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500611 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
612 <text>%tw_action_text1%</text>
613 </object>
614
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600615 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500616 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
617 <text>%tw_action_text2%</text>
618 </object>
619
620 <object type="template" name="action_page_console" />
621
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600622 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500623 <condition var1="tw_has_cancel" var2="1" />
624 <placement x="%col_center_medium_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500625 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500626 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
627 </object>
628
629 <object type="template" name="progress_bar" />
630
631 <object type="action">
632 <condition var1="tw_operation_state" var2="1" />
633 <actions>
634 <action function="page">action_complete</action>
635 </actions>
636 </object>
637
638 <object type="action">
639 <condition var1="tw_has_action2" var2="0" />
640 <actions>
641 <action function="%tw_action%">%tw_action_param%</action>
642 </actions>
643 </object>
644
645 <object type="action">
646 <condition var1="tw_has_action2" var2="1" />
647 <actions>
648 <action function="%tw_action%">%tw_action_param%</action>
649 <action function="%tw_action2%">%tw_action2_param%</action>
650 </actions>
651 </object>
652 </page>
653
654 <page name="singleaction_page">
655 <object type="template" name="header" />
656
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600657 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500658 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
659 <text>%tw_action_text1%</text>
660 </object>
661
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600662 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500663 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
664 <text>%tw_action_text2%</text>
665 </object>
666
667 <object type="template" name="action_page_console" />
668
669 <object type="template" name="progress_bar" />
670
671 <object type="action">
672 <condition var1="tw_operation_state" var2="1" />
673 <actions>
674 <action function="set">tw_page_done=1</action>
675 </actions>
676 </object>
677
678 <object type="action">
679 <condition var1="tw_has_action2" var2="0" />
680 <actions>
681 <action function="%tw_action%">%tw_action_param%</action>
682 </actions>
683 </object>
684
685 <object type="action">
686 <condition var1="tw_has_action2" var2="1" />
687 <actions>
688 <action function="%tw_action%">%tw_action_param%</action>
689 <action function="%tw_action2%">%tw_action2_param%</action>
690 </actions>
691 </object>
692 </page>
693
694 <page name="action_complete">
695 <object type="template" name="header" />
696
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600697 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500698 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
699 <text>%tw_complete_text1%</text>
700 </object>
701
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600702 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500703 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600704 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500705 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
706 <text>Failed</text>
707 </object>
708
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600709 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500710 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600711 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500712 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
713 <text>Successful</text>
714 </object>
715
716 <object type="template" name="action_page_console" />
717
718 <object type="action">
719 <touch key="home" />
720 <actions>
721 <action function="set">tw_clear_destination=main2</action>
722 <action function="page">clear_vars</action>
723 </actions>
724 </object>
725
726 <object type="action">
727 <touch key="back" />
728 <actions>
729 <action function="set">tw_clear_destination=%tw_back%</action>
730 <action function="page">clear_vars</action>
731 </actions>
732 </object>
733 </page>
734
735 <page name="filecheck">
736 <object type="action">
737 <action function="fileexists">%tw_filecheck%</action>
738 </object>
739
740 <object type="action">
741 <conditions>
742 <condition var1="tw_operation_state" var2="1" />
743 <condition var1="tw_operation_status" var2="0" />
744 </conditions>
745 <actions>
746 <action function="set">tw_fileexists=1</action>
747 <action function="page">%tw_existpage%</action>
748 </actions>
749 </object>
750
751 <object type="action">
752 <conditions>
753 <condition var1="tw_operation_state" var2="1" />
754 <condition var1="tw_operation_status" var2="1" />
755 </conditions>
756 <actions>
757 <action function="set">tw_fileexists=0</action>
758 <action function="page">%tw_notexistpage%</action>
759 </actions>
760 </object>
761 </page>
762
763 <page name="rebootcheck">
764 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600765 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500766 <action function="reboot">%tw_action_param%</action>
767 </object>
768
769 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600770 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500771 <action function="page">confirm_action</action>
772 </object>
773 </page>
774
775 <page name="wipe">
776 <object type="template" name="header" />
777
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600778 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500779 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
780 <text>Factory Reset</text>
781 </object>
782
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600783 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500784 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
785 <text>Wipes Data, Cache, and Dalvik</text>
786 </object>
787
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600788 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500789 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500790 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
791 <text>(not including internal storage)</text>
792 </object>
793
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600794 <object type="text">
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400795 <conditions>
796 <condition var1="tw_has_android_secure" var2="1" />
797 <condition var1="fileexists" var2="/and-sec" />
798 </conditions>
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400799 <placement x="%col2_x%" y="%row4_text_y%" placement="1" />
800 <text>Android Secure </text>
801 </object>
802
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600803 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500804 <condition var1="tw_has_sdext_partition" var2="1" />
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400805 <placement x="%col2_x%" y="%row4_text_y%" />
806 <text> SD-EXT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500807 </object>
808
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600809 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500810 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
811 <text>Most of the time this is</text>
812 </object>
813
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600814 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500815 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
816 <text>the only wipe that you need.</text>
817 </object>
818
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600819 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500820 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
821 <text>Press back button to cancel.</text>
822 </object>
823
824 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500825 <placement x="%col1_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500826 <text>Advanced Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500827 <actions>
828 <action function="set">partitionlisterror=0</action>
829 <action function="page">advancedwipe</action>
830 </actions>
831 </object>
832
833 <object type="button">
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600834 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500835 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500836 <text>Format Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500837 <actions>
838 <action function="page">formatdata</action>
839 </actions>
840 </object>
841
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600842 <object type="button">
843 <conditions>
844 <condition var1="tw_is_encrypted" var2="1" />
845 <condition var1="tw_has_data_media" var2="0" />
846 </conditions>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600847 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600848 <text>Wipe Encryption</text>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600849 <actions>
850 <action function="set">tw_back=wipe</action>
851 <action function="set">tw_action=wipe</action>
852 <action function="set">tw_action_param=DATAMEDIA</action>
853 <action function="set">tw_has_action2=0</action>
854 <action function="set">tw_text1=Wipe Encryption from Data?</action>
855 <action function="set">tw_text2=</action>
856 <action function="set">tw_action_text1=Formatting Data...</action>
857 <action function="set">tw_complete_text1=Data Format Complete</action>
858 <action function="set">tw_slider_text=Swipe to Format Data</action>
859 <action function="page">confirm_action</action>
860 </actions>
861 </object>
862
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500863 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600864 <text>Swipe to Factory Reset</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500865 <actions>
866 <action function="set">tw_back=wipe</action>
867 <action function="set">tw_action=wipe</action>
868 <action function="set">tw_action_param=data</action>
869 <action function="set">tw_action_text1=Factory Reset...</action>
870 <action function="set">tw_complete_text1=Factory Reset Complete</action>
871 <action function="page">action_page</action>
872 </actions>
873 </object>
874
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500875 <object type="action">
876 <touch key="back" />
877 <action function="page">main</action>
878 </object>
879
880 <object type="action">
881 <touch key="home" />
882 <action function="page">main</action>
883 </object>
884 </page>
885
886 <page name="advancedwipe">
887 <object type="template" name="header" />
888
889 <object type="action">
890 <action function="set">tw_wipe_list=</action>
891 </object>
892
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600893 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500894 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
895 <text>Wipe Menu</text>
896 </object>
897
898 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500899 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500900 <text>Select Partitions to Wipe:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500901 <data name="tw_wipe_list" />
902 <listtype name="wipe" />
903 </object>
904
905 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600906 <text>Swipe to Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500907 <actions>
908 <action function="set">tw_back=advancedwipe</action>
909 <action function="set">tw_action=wipe</action>
910 <action function="set">tw_action_param=LIST</action>
911 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
912 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
913 <action function="set">tw_complete_text1=Wipe Complete</action>
914 <action function="page">action_page</action>
915 </actions>
916 </object>
917
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600918 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -0600919 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500920 <text>Repair or Change File System</text>
921 <actions>
922 <action function="checkpartitionlist"></action>
923 <action function="page">checkpartitionlist</action>
924 </actions>
925 </object>
926
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600927 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500928 <condition var1="partitionlisterror" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600929 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500930 <placement x="%center_x%" y="%invalid_partition_y%" placement="5" />
931 <text>Invalid partition selection</text>
932 </object>
933
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500934 <object type="action">
935 <touch key="home" />
936 <action function="page">main</action>
937 </object>
938
939 <object type="action">
940 <touch key="back" />
941 <action function="page">wipe</action>
942 </object>
943 </page>
944
945 <page name="formatdata">
946 <object type="template" name="header" />
947
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600948 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500949 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
950 <text>Format Data will wipe all of your apps,</text>
951 </object>
952
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600953 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500954 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
955 <text>backups, pictures, videos, media, and</text>
956 </object>
957
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600958 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500959 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
960 <text>removes encryption on internal storage.</text>
961 </object>
962
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600963 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500964 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
965 <text>This cannot be undone. Press back to cancel.</text>
966 </object>
967
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600968 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500969 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
970 <text>Type yes to continue.</text>
971 </object>
972
973 <object type="input">
974 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500975 <text>%tw_confirm_formatdata%</text>
976 <data name="tw_confirm_formatdata" />
977 <restrict minlen="3" maxlen="3" allow="yes" />
978 <action function="page">formatdata_confirm</action>
979 </object>
980
981 <object type="template" name="keyboardtemplate" />
982
983 <object type="action">
984 <touch key="home" />
985 <action function="page">main</action>
986 </object>
987
988 <object type="action">
989 <touch key="back" />
990 <action function="page">wipe</action>
991 </object>
992
993 <object type="template" name="footer" />
994 </page>
995
996 <page name="formatdata_confirm">
997 <object type="action">
998 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
999 <actions>
1000 <action function="set">tw_back=formatdata</action>
1001 <action function="set">tw_action=wipe</action>
1002 <action function="set">tw_action_param=DATAMEDIA</action>
1003 <action function="set">tw_action_text1=Formatting Data...</action>
1004 <action function="set">tw_complete_text1=Data Format Complete</action>
1005 <action function="page">action_page</action>
1006 </actions>
1007 </object>
1008
1009 <object type="action">
1010 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
Matt Mower82931532015-02-27 14:19:59 -06001011 <action function="page">formatdata</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001012 </object>
1013 </page>
1014
1015 <page name="checkpartitionlist">
1016 <object type="action">
1017 <condition var1="tw_check_partition_list" op="=" var2="1" />
1018 <actions>
1019 <action function="set">partitionlisterror=0</action>
1020 <action function="getpartitiondetails"></action>
1021 <action function="page">partitionoptions</action>
1022 </actions>
1023 </object>
1024
1025 <object type="action">
1026 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1027 <actions>
1028 <action function="set">partitionlisterror=1</action>
1029 <action function="set">tw_wipe_list=</action>
1030 <action function="page">advancedwipe</action>
1031 </actions>
1032 </object>
1033 </page>
1034
1035 <page name="partitionoptions">
1036 <object type="template" name="header" />
1037
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001038 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001039 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1040 <text>Partition Options for: %tw_partition_name%</text>
1041 </object>
1042
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001043 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001044 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1045 <text>Mount Point: %tw_partition_mount_point%</text>
1046 </object>
1047
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001048 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001049 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1050 <text>Current file system: %tw_partition_file_system%</text>
1051 </object>
1052
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001053 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001054 <condition var1="tw_partition_is_present" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001055 <placement x="%col1_x%" y="%row3_text_y%" />
1056 <text>Present: Yes</text>
1057 </object>
1058
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001059 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001060 <condition var1="tw_partition_is_present" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001061 <placement x="%col1_x%" y="%row3_text_y%" />
1062 <text>Present: No</text>
1063 </object>
1064
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001065 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001066 <condition var1="tw_partition_removable" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001067 <placement x="%col2_x%" y="%row3_text_y%" />
1068 <text>Removable: Yes</text>
1069 </object>
1070
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001071 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001072 <condition var1="tw_partition_removable" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001073 <placement x="%col2_x%" y="%row3_text_y%" />
1074 <text>Removable: No</text>
1075 </object>
1076
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001077 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001078 <placement x="%col1_x%" y="%row4_text_y%" />
1079 <text>Size: %tw_partition_size%MB</text>
1080 </object>
1081
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001082 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001083 <placement x="%col2_x%" y="%row4_text_y%" />
1084 <text>Used: %tw_partition_used%MB</text>
1085 </object>
1086
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001087 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001088 <placement x="%col1_x%" y="%row5_text_y%" />
1089 <text>Free: %tw_partition_free%MB</text>
1090 </object>
1091
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001092 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001093 <placement x="%col2_x%" y="%row5_text_y%" />
1094 <text>Backup Size: %tw_partition_backup_size%MB</text>
1095 </object>
1096
1097 <object type="button">
1098 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001099 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001100 <text>Repair</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001101 <actions>
1102 <action function="set">tw_back=partitionoptions</action>
1103 <action function="set">tw_action=repair</action>
1104 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1105 <action function="set">tw_has_action2=0</action>
1106 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1107 <action function="set">tw_text2=</action>
1108 <action function="set">tw_action_text1=Repairing...</action>
1109 <action function="set">tw_complete_text1=Repair Complete</action>
1110 <action function="set">tw_slider_text=Swipe to Repair</action>
1111 <action function="page">confirm_action</action>
1112 </actions>
1113 </object>
1114
1115 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001116 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001117 <text>Change File Sys</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001118 <action function="page">selectfilesystem</action>
1119 </object>
1120
1121 <object type="action">
1122 <touch key="home" />
1123 <action function="page">main</action>
1124 </object>
1125
1126 <object type="action">
1127 <touch key="back" />
1128 <action function="page">advancedwipe</action>
1129 </object>
1130
1131 <object type="template" name="footer" />
1132 </page>
1133
Dees Troy298c4382014-09-03 14:42:26 +00001134 <page name="refreshfilesystem">
1135 <object type="action">
1136 <condition var1="tw_check_partition_list" op="=" var2="1" />
1137 <actions>
1138 <action function="set">partitionlisterror=0</action>
1139 <action function="getpartitiondetails"></action>
1140 <action function="page">selectfilesystem</action>
1141 </actions>
1142 </object>
1143
1144 <object type="action">
1145 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1146 <actions>
1147 <action function="set">partitionlisterror=1</action>
1148 <action function="set">tw_wipe_list=</action>
1149 <action function="page">advancedwipe</action>
1150 </actions>
1151 </object>
1152 </page>
1153
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001154 <page name="selectfilesystem">
1155 <object type="template" name="header" />
1156
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001157 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001158 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1159 <text>Change file system for: %tw_partition_name%</text>
1160 </object>
1161
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001162 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001163 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1164 <text>Mount Point: %tw_partition_mount_point%</text>
1165 </object>
1166
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001167 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001168 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1169 <text>Current file system: %tw_partition_file_system%</text>
1170 </object>
1171
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001172 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001173 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1174 <text>Proceed with caution!</text>
1175 </object>
1176
1177 <object type="button">
1178 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001179 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001180 <text>EXT2</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001181 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001182 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001183 <action function="set">tw_action=changefilesystem</action>
1184 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1185 <action function="set">tw_action_new_file_system=ext2</action>
1186 <action function="set">tw_has_action2=0</action>
1187 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1188 <action function="set">tw_text2=</action>
1189 <action function="set">tw_action_text1=Formatting...</action>
1190 <action function="set">tw_complete_text1=Format Complete</action>
1191 <action function="set">tw_slider_text=Swipe to Change</action>
1192 <action function="page">confirm_action</action>
1193 </actions>
1194 </object>
1195
1196 <object type="button">
1197 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001198 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001199 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001200 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001201 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001202 <action function="set">tw_action=changefilesystem</action>
1203 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1204 <action function="set">tw_action_new_file_system=ext3</action>
1205 <action function="set">tw_has_action2=0</action>
1206 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1207 <action function="set">tw_text2=</action>
1208 <action function="set">tw_action_text1=Formatting...</action>
1209 <action function="set">tw_complete_text1=Format Complete</action>
1210 <action function="set">tw_slider_text=Swipe to Change</action>
1211 <action function="page">confirm_action</action>
1212 </actions>
1213 </object>
1214
1215 <object type="button">
1216 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001217 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001218 <text>EXT4</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001219 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001220 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001221 <action function="set">tw_action=changefilesystem</action>
1222 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1223 <action function="set">tw_action_new_file_system=ext4</action>
1224 <action function="set">tw_has_action2=0</action>
1225 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1226 <action function="set">tw_text2=</action>
1227 <action function="set">tw_action_text1=Formatting...</action>
1228 <action function="set">tw_complete_text1=Format Complete</action>
1229 <action function="set">tw_slider_text=Swipe to Change</action>
1230 <action function="page">confirm_action</action>
1231 </actions>
1232 </object>
1233
1234 <object type="button">
1235 <condition var1="tw_partition_f2fs" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001236 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001237 <text>F2FS</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001238 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001239 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001240 <action function="set">tw_action=changefilesystem</action>
1241 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1242 <action function="set">tw_action_new_file_system=f2fs</action>
1243 <action function="set">tw_has_action2=0</action>
1244 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1245 <action function="set">tw_text2=</action>
1246 <action function="set">tw_action_text1=Formatting...</action>
1247 <action function="set">tw_complete_text1=Format Complete</action>
1248 <action function="set">tw_slider_text=Swipe to Change</action>
1249 <action function="page">confirm_action</action>
1250 </actions>
1251 </object>
1252
1253 <object type="button">
1254 <condition var1="tw_partition_vfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001255 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001256 <text>FAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001257 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001258 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001259 <action function="set">tw_action=changefilesystem</action>
1260 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1261 <action function="set">tw_action_new_file_system=vfat</action>
1262 <action function="set">tw_has_action2=0</action>
1263 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1264 <action function="set">tw_text2=</action>
1265 <action function="set">tw_action_text1=Formatting...</action>
1266 <action function="set">tw_complete_text1=Format Complete</action>
1267 <action function="set">tw_slider_text=Swipe to Change</action>
1268 <action function="page">confirm_action</action>
1269 </actions>
1270 </object>
1271
1272 <object type="button">
1273 <condition var1="tw_partition_exfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001274 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001275 <text>exFAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001276 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001277 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001278 <action function="set">tw_action=changefilesystem</action>
1279 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1280 <action function="set">tw_action_new_file_system=exfat</action>
1281 <action function="set">tw_has_action2=0</action>
1282 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1283 <action function="set">tw_text2=</action>
1284 <action function="set">tw_action_text1=Formatting...</action>
1285 <action function="set">tw_complete_text1=Format Complete</action>
1286 <action function="set">tw_slider_text=Swipe to Change</action>
1287 <action function="page">confirm_action</action>
1288 </actions>
1289 </object>
1290
1291 <object type="action">
1292 <touch key="home" />
1293 <action function="page">main</action>
1294 </object>
1295
1296 <object type="action">
1297 <touch key="back" />
1298 <action function="page">partitionoptions</action>
1299 </object>
1300
1301 <object type="template" name="footer" />
1302 </page>
1303
1304 <page name="backup">
1305 <object type="template" name="header" />
1306
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001307 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -06001308 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001309 <text>Backup Name: %tw_backup_name%</text>
1310 <actions>
1311 <action function="set">tw_fileexists=0</action>
1312 <action function="page">backupname1</action>
1313 </actions>
1314 </object>
1315
1316 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001317 <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001318 <text>Select Partitions to Back Up:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001319 <data name="tw_backup_list" />
1320 <listtype name="backup" />
1321 </object>
1322
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001323 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001324 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001325 <text>More...</text>
1326 <action function="page">backupoptions</action>
1327 </object>
1328
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001329 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001330 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001331 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1332 <actions>
1333 <action function="set">tw_back=backup</action>
1334 <action function="page">selectstorage</action>
1335 </actions>
1336 </object>
1337
1338 <object type="checkbox">
1339 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001340 <text>Compression</text>
1341 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001342 </object>
1343
1344 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001345 <text>Swipe to Back Up</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001346 <action function="page">backup_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001347 </object>
1348
1349 <object type="action">
1350 <touch key="home" />
1351 <action function="page">main</action>
1352 </object>
1353
1354 <object type="action">
1355 <touch key="back" />
1356 <action function="page">main</action>
1357 </object>
1358 </page>
1359
1360 <page name="backupoptions">
1361 <object type="template" name="header" />
1362
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001363 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001364 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1365 <text>More Backup Options</text>
1366 </object>
1367
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001368 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001369 <conditions>
1370 <condition var1="tw_include_encrypted_backup" var2="1" />
1371 <condition var1="tw_encrypt_backup" var2="0" />
1372 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001373 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001374 <text>No Encryption</text>
1375 <actions>
1376 <action function="page">backupencryption</action>
1377 </actions>
1378 </object>
1379
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001380 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001381 <conditions>
1382 <condition var1="tw_include_encrypted_backup" var2="1" />
1383 <condition var1="tw_encrypt_backup" var2="1" />
1384 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001385 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001386 <text>Using Encryption</text>
1387 <actions>
1388 <action function="set">tw_password_not_match=0</action>
1389 <action function="page">backupencryption</action>
1390 </actions>
1391 </object>
1392
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001393 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001394 <placement x="%col2_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001395 <text>Refresh Sizes</text>
1396 <actions>
1397 <action function="refreshsizes"></action>
1398 <action function="page">backupoptions</action>
1399 </actions>
1400 </object>
1401
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001402 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001403 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001404 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1405 <actions>
1406 <action function="set">tw_back=backupotions</action>
1407 <action function="page">selectstorage</action>
1408 </actions>
1409 </object>
1410
1411 <object type="checkbox">
1412 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001413 <text>Enable compression.</text>
1414 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001415 </object>
1416
1417 <object type="checkbox">
bigbiffbf1d6722015-02-14 16:25:59 -05001418 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001419 <text>Skip MD5 generation during backup.</text>
1420 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001421 </object>
1422
bigbiffbf1d6722015-02-14 16:25:59 -05001423 <object type="checkbox">
1424 <placement x="%col1_x%" y="%row4_text_y%" />
1425 <font resource="font" color="%text_color%" />
1426 <text>Disable Free Space Check.</text>
1427 <data variable="tw_disable_free_space" />
1428 <image checked="checkbox_true" unchecked="checkbox_false" />
1429 </object>
1430
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001431 <object type="action">
1432 <touch key="home" />
1433 <action function="page">main</action>
1434 </object>
1435
1436 <object type="action">
1437 <touch key="back" />
1438 <action function="page">backup</action>
1439 </object>
1440 </page>
1441
1442 <page name="backupname1">
1443 <object type="action">
1444 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001445 <action function="generatebackupname"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001446 </object>
1447
1448 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001449 <action function="page">backupname2</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001450 </object>
1451 </page>
1452
1453 <page name="backupname2">
1454 <object type="template" name="header" />
1455
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001456 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001458 <text>Please Enter a Backup Name</text>
1459 </object>
1460
1461 <object type="input">
1462 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001463 <text>%tw_backup_name%</text>
1464 <data name="tw_backup_name" />
1465 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1466 <actions>
1467 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1468 <action function="set">tw_existpage=backupname2</action>
1469 <action function="set">tw_notexistpage=backup</action>
1470 <action function="page">filecheck</action>
1471 </actions>
1472 </object>
1473
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001474 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001475 <condition var1="tw_fileexists" var2="1" />
1476 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001477 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001478 <text>A backup with that name already exists!</text>
1479 </object>
1480
1481 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001482 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001483 <text>Append Date</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001484 <action function="appenddatetobackupname"></action>
1485 </object>
1486
1487 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001488 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001489 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001490 <actions>
1491 <action function="set">tw_backup_name=(Auto Generate)</action>
1492 <action function="page">backup</action>
1493 </actions>
1494 </object>
1495
1496 <object type="template" name="keyboardtemplate" />
1497
1498 <object type="action">
1499 <touch key="home" />
1500 <actions>
1501 <action function="set">tw_backup_name=(Auto Generate)</action>
1502 <action function="page">main</action>
1503 </actions>
1504 </object>
1505
1506 <object type="action">
1507 <touch key="back" />
1508 <actions>
1509 <action function="set">tw_backup_name=(Auto Generate)</action>
1510 <action function="page">backup</action>
1511 </actions>
1512 </object>
1513
1514 <object type="template" name="footer" />
1515 </page>
1516
1517 <page name="backupencryption">
1518 <object type="template" name="header" />
1519
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001520 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001521 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1522 <text>Encrypt your backup?</text>
1523 </object>
1524
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001525 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001526 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1527 <text>Please Enter A Password:</text>
1528 </object>
1529
1530 <object type="input">
1531 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001532 <text>%tw_backup_encrypt_display%</text>
1533 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1534 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1535 <action function="page">backupencryption2</action>
1536 </object>
1537
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001538 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001539 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001540 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001541 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1542 <text>Passwords Do Not Match</text>
1543 </object>
1544
1545 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001546 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001547 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001548 <actions>
1549 <action function="set">tw_encrypt_backup=0</action>
1550 <action function="set">tw_backup_password=</action>
1551 <action function="set">tw_backup_password2=</action>
1552 <action function="set">tw_backup_encrypt_display=</action>
1553 <action function="set">tw_backup_encrypt_display2=</action>
1554 <action function="page">backupoptions</action>
1555 </actions>
1556 </object>
1557
1558 <object type="template" name="keyboardtemplate" />
1559
1560 <object type="action">
1561 <touch key="home" />
1562 <action function="page">main</action>
1563 </object>
1564
1565 <object type="action">
1566 <touch key="back" />
1567 <action function="page">backupoptions</action>
1568 </object>
1569
1570 <object type="template" name="footer" />
1571 </page>
1572
1573 <page name="backupencryption2">
1574 <object type="template" name="header" />
1575
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001576 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001577 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1578 <text>Encrypt your backup?</text>
1579 </object>
1580
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001581 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001582 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1583 <text>Please Enter Password Again:</text>
1584 </object>
1585
1586 <object type="input">
1587 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001588 <text>%tw_backup_encrypt_display2%</text>
1589 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1590 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1591 <actions>
1592 <action function="page">checkbackuppassword</action>
1593 </actions>
1594 </object>
1595
1596 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001597 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001598 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001599 <actions>
1600 <action function="set">tw_encrypt_backup=0</action>
1601 <action function="set">tw_backup_password=</action>
1602 <action function="set">tw_backup_password2=</action>
1603 <action function="set">tw_backup_encrypt_display=</action>
1604 <action function="set">tw_backup_encrypt_display2=</action>
1605 <action function="page">backupoptions</action>
1606 </actions>
1607 </object>
1608
1609 <object type="template" name="keyboardtemplate" />
1610
1611 <object type="action">
1612 <touch key="home" />
1613 <action function="page">main</action>
1614 </object>
1615
1616 <object type="action">
1617 <touch key="back" />
1618 <action function="page">backupoptions</action>
1619 </object>
1620
1621 <object type="template" name="footer" />
1622 </page>
1623
1624 <page name="checkbackuppassword">
1625 <object type="action">
1626 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1627 <actions>
1628 <action function="set">tw_encrypt_backup=1</action>
1629 <action function="page">backupoptions</action>
1630 </actions>
1631 </object>
1632
1633 <object type="action">
1634 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1635 <actions>
1636 <action function="set">tw_encrypt_backup=0</action>
1637 <action function="set">tw_password_not_match=1</action>
1638 <action function="set">tw_backup_password=</action>
1639 <action function="set">tw_backup_password2=</action>
1640 <action function="set">tw_backup_encrypt_display=</action>
1641 <action function="set">tw_backup_encrypt_display2=</action>
1642 <action function="page">backupencryption</action>
1643 </actions>
1644 </object>
1645 </page>
1646
1647 <page name="backup_run">
1648 <object type="template" name="header" />
1649
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001650 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001651 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1652 <text>%tw_operation% %tw_partition%</text>
1653 </object>
1654
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001655 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001656 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1657 <text>%tw_file_progress%</text>
1658 </object>
1659
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001660 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001661 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1662 <text>%tw_size_progress%</text>
1663 </object>
1664
1665 <object type="template" name="action_page_console" />
1666
bigbiff7abc5fe2015-01-17 16:53:12 -05001667
1668
1669 <object type="template" name="progress_bar" />
1670
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001671 <object type="button" style="mediumbutton">
bigbiff7abc5fe2015-01-17 16:53:12 -05001672 <placement x="%col_center_medium_x%" y="%row4_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001673 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001674 <actions>
1675 <action function="cancelbackup"></action>
1676 </actions>
1677 </object>
1678
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001679 <object type="template" name="progress_bar" />
1680
1681 <object type="action">
1682 <action function="nandroid">backup</action>
1683 </object>
1684
1685 <object type="action">
1686 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001687 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001688 <actions>
1689 <action function="set">tw_back=backup</action>
1690 <action function="set">tw_complete_text1=Backup Complete</action>
1691 <action function="set">tw_show_reboot=1</action>
1692 <action function="page">action_complete</action>
1693 </actions>
1694 </object>
bigbiff7abc5fe2015-01-17 16:53:12 -05001695
1696 <object type="action">
1697 <condition var1="tw_operation_state" var2="1" />
1698 <condition var1="tw_cancel_backup" var2="1" />
1699 <actions>
1700 <action function="set">tw_back=backup</action>
1701 <action function="set">tw_complete_text1=Backup Cancelled</action>
1702 <action function="set">tw_show_reboot=1</action>
1703 <action function="page">action_complete</action>
1704 </actions>
1705 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001706 </page>
1707
1708 <page name="restore">
1709 <object type="template" name="header" />
1710
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001711 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001712 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001713 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1714 <actions>
1715 <action function="set">tw_back=restore</action>
1716 <action function="page">selectstorage</action>
1717 </actions>
1718 </object>
1719
1720 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001721 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001722 <text>Select Package to Restore:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001723 <filter folders="1" files="0" nav="0" />
1724 <path name="tw_backups_folder" />
1725 <data name="tw_restore" default="" />
1726 <selection name="tw_restore_name" />
1727 </object>
1728
1729 <object type="template" name="sort_options" />
1730
1731 <object type="action">
1732 <condition var1="tw_restore" op="modified" />
1733 <actions>
1734 <action function="readBackup"></action>
1735 <action function="page">restore_read</action>
1736 </actions>
1737 </object>
1738
1739 <object type="action">
1740 <touch key="home" />
1741 <action function="page">main</action>
1742 </object>
1743
1744 <object type="action">
1745 <touch key="back" />
1746 <action function="page">main</action>
1747 </object>
1748
1749 <object type="template" name="footer" />
1750 </page>
1751
1752 <page name="restore_read">
1753 <object type="action">
1754 <condition var1="tw_restore_encrypted" var2="1" />
1755 <actions>
1756 <action function="set">tw_password_fail=0</action>
1757 <action function="page">restore_decrypt</action>
1758 </actions>
1759 </object>
1760
1761 <object type="action">
1762 <condition var1="tw_restore_encrypted" var2="0" />
1763 <actions>
1764 <action function="page">restore_select</action>
1765 </actions>
1766 </object>
1767 </page>
1768
1769 <page name="restore_decrypt">
1770 <object type="template" name="header" />
1771
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001772 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001773 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1774 <text>Backup Encrypted</text>
1775 </object>
1776
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001777 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001778 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1779 <text>Please Enter Your Password:</text>
1780 </object>
1781
1782 <object type="input">
1783 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001784 <text>%tw_restore_display%</text>
1785 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1786 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1787 <actions>
1788 <action function="page">try_restore_decrypt</action>
1789 </actions>
1790 </object>
1791
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001792 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001793 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001794 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001795 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1796 <text>Password Failed, Please Try Again</text>
1797 </object>
1798
1799 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001800 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001801 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001802 <actions>
1803 <action function="set">tw_page_done=1</action>
1804 <action function="page">restore</action>
1805 </actions>
1806 </object>
1807
1808 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001809 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001810 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001811 <actions>
1812 <action function="set">tw_back=restore</action>
1813 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001814 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001815 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1816 <action function="set">tw_text2=This cannot be undone!</action>
1817 <action function="set">tw_action_text1=Deleting Backup...</action>
1818 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1819 <action function="set">tw_slider_text=Swipe to Delete</action>
1820 <action function="page">confirm_action</action>
1821 </actions>
1822 </object>
1823
1824 <object type="template" name="keyboardtemplate" />
1825
1826 <object type="action">
1827 <touch key="home" />
1828 <action function="page">main</action>
1829 </object>
1830
1831 <object type="action">
1832 <touch key="back" />
1833 <action function="page">restore</action>
1834 </object>
1835
1836 <object type="template" name="footer" />
1837 </page>
1838
1839 <page name="try_restore_decrypt">
1840 <object type="template" name="header" />
1841
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001842 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001843 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1844 <text>Trying Decryption with Your Password</text>
1845 </object>
1846
1847 <object type="template" name="action_page_console" />
1848
1849 <object type="template" name="progress_bar" />
1850
1851 <object type="action">
1852 <action function="decrypt_backup"></action>
1853 </object>
1854
1855 <object type="action">
1856 <conditions>
1857 <condition var1="tw_operation_state" var2="1" />
1858 <condition var1="tw_operation_status" op="!=" var2="0" />
1859 </conditions>
1860 <actions>
1861 <action function="set">tw_password_fail=1</action>
1862 <action function="page">restore_decrypt</action>
1863 </actions>
1864 </object>
1865
1866 <object type="action">
1867 <conditions>
1868 <condition var1="tw_operation_state" var2="1" />
1869 <condition var1="tw_operation_status" op="=" var2="0" />
1870 </conditions>
1871 <actions>
1872 <action function="set">tw_page_done=1</action>
1873 <action function="page">restore_select</action>
1874 </actions>
1875 </object>
1876 </page>
1877
1878 <page name="restore_select">
1879 <object type="template" name="header" />
1880
1881 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001882 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001883 <text>Restoring: %tw_restore_name%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001884 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1885 <listtype name="restore" />
1886 </object>
1887
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001888 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001889 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001890 <text>Rename Backup</text>
1891 <actions>
1892 <action function="set">tw_backup_rename=</action>
1893 <action function="set">tw_fileexists=0</action>
1894 <action function="page">renamebackup</action>
1895 </actions>
1896 </object>
1897
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001898 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001899 <placement x="%col2_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001900 <text>Delete Backup</text>
1901 <actions>
1902 <action function="set">tw_back=restore</action>
1903 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001904 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001905 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1906 <action function="set">tw_text2=This cannot be undone!</action>
1907 <action function="set">tw_action_text1=Deleting Backup...</action>
1908 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1909 <action function="set">tw_slider_text=Swipe to Delete</action>
1910 <action function="page">confirm_action</action>
1911 </actions>
1912 </object>
1913
1914 <object type="checkbox">
1915 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001916 <text>Enable MD5 verification of backup.</text>
1917 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001918 </object>
1919
1920 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001921 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001922 <action function="page">restore_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001923 </object>
1924
1925 <object type="action">
1926 <touch key="home" />
1927 <action function="page">main</action>
1928 </object>
1929
1930 <object type="action">
1931 <touch key="back" />
1932 <action function="page">restore</action>
1933 </object>
1934 </page>
1935
1936 <page name="renamebackup">
1937 <object type="template" name="header" />
1938
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001939 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001940 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001941 <text>Please Enter a New Backup Name</text>
1942 </object>
1943
1944 <object type="input">
1945 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001946 <text>%tw_backup_rename%</text>
1947 <data name="tw_backup_rename" />
1948 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1949 <actions>
1950 <action function="set">tw_back=restore</action>
1951 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001952 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001953 <action function="set">tw_text1=Rename Backup?</action>
1954 <action function="set">tw_text2=This cannot be undone!</action>
1955 <action function="set">tw_action_text1=Renaming Backup...</action>
1956 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1957 <action function="set">tw_slider_text=Swipe to Rename</action>
1958 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1959 <action function="set">tw_existpage=renamebackup</action>
1960 <action function="set">tw_notexistpage=confirm_action</action>
1961 <action function="page">filecheck</action>
1962 </actions>
1963 </object>
1964
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001965 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001966 <condition var1="tw_fileexists" var2="1" />
1967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001968 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001969 <text>A backup with that name already exists!</text>
1970 </object>
1971
1972 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001973 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001974 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001975 <action function="page">restore_select</action>
1976 </object>
1977
1978 <object type="template" name="keyboardtemplate" />
1979
1980 <object type="action">
1981 <touch key="home" />
1982 <action function="page">main</action>
1983 </object>
1984
1985 <object type="action">
1986 <touch key="back" />
1987 <action function="page">restore_select</action>
1988 </object>
1989
1990 <object type="template" name="footer" />
1991 </page>
1992
1993 <page name="restore_run">
1994 <object type="template" name="header" />
1995
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001996 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001997 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1998 <text>%tw_operation% %tw_partition%</text>
1999 </object>
2000
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002001 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002002 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2003 <text>%tw_size_progress%</text>
2004 </object>
2005
2006 <object type="template" name="action_page_console" />
2007
2008 <object type="template" name="progress_bar" />
2009
2010 <object type="action">
2011 <condition var1="tw_operation_state" var2="1" />
2012 <actions>
2013 <action function="set">tw_back=restore_select</action>
2014 <action function="set">tw_complete_text1=Restore Complete</action>
2015 <action function="set">tw_show_reboot=1</action>
2016 <action function="page">action_complete</action>
2017 </actions>
2018 </object>
2019
2020 <object type="action">
2021 <action function="nandroid">restore</action>
2022 </object>
2023 </page>
2024
2025 <page name="selectstorage">
2026 <object type="template" name="header" />
2027
2028 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002029 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002030 <text>Select Storage:</text>
2031 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002032 <data name="tw_storage_path" />
2033 <listtype name="storage" />
2034 </object>
2035
2036 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002037 <placement x="%col_center_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002038 <text>OK</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002039 <actions>
2040 <action function="set">tw_clear_destination=%tw_back%</action>
2041 <action function="page">clear_vars</action>
2042 </actions>
2043 </object>
2044
2045 <object type="action">
2046 <touch key="home" />
2047 <action function="page">main</action>
2048 </object>
2049
2050 <object type="action">
2051 <touch key="back" />
2052 <actions>
2053 <action function="page">%tw_back%</action>
2054 </actions>
2055 </object>
2056
2057 <object type="template" name="footer" />
2058 </page>
2059
2060 <page name="mount">
2061 <object type="template" name="header" />
2062
2063 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002064 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002065 <text>Select Partitions to Mount:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002066 <listtype name="mount" />
2067 </object>
2068
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002069 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002070 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002071 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2072 <actions>
2073 <action function="set">tw_back=mount</action>
2074 <action function="page">selectstorage</action>
2075 </actions>
2076 </object>
2077
2078 <object type="button">
Ethan Yonker3d49ea72014-08-04 09:14:12 -05002079 <condition var1="tw_has_usb_storage" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002080 <placement x="%col1_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002081 <text>USB Storage</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002082 <action function="page">usb_mount</action>
2083 </object>
2084
2085 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002086 <conditions>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002087 <condition var1="tw_has_mtp" var2="1" />
2088 <condition var1="tw_mtp_enabled" var2="0" />
2089 </conditions>
2090 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002091 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002092 <action function="startmtp"></action>
2093 </object>
2094
2095 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002096 <conditions>
2097 <condition var1="tw_has_mtp" var2="1" />
2098 <condition var1="tw_mtp_enabled" var2="1" />
2099 </conditions>
2100 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002101 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002102 <action function="stopmtp"></action>
2103 </object>
2104
2105 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002106 <conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002107 <condition var1="tw_is_encrypted" var2="1" />
2108 <condition var1="tw_is_decrypted" var2="0" />
2109 </conditions>
2110 <placement x="%col2_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002111 <text>Decrypt Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002112 <action function="page">decrypt</action>
2113 </object>
2114
2115 <object type="action">
2116 <touch key="home" />
2117 <action function="page">main</action>
2118 </object>
2119
2120 <object type="action">
2121 <touch key="back" />
2122 <action function="page">main</action>
2123 </object>
2124
2125 <object type="template" name="footer" />
2126 </page>
2127
2128 <page name="usb_mount">
2129 <object type="template" name="header" />
2130
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002131 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002132 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2133 <text>USB Storage Mounted</text>
2134 </object>
2135
2136 <object type="text" color="%text_color%">
2137 <placement x="%col1_x%" y="%row1_text_y%" />
2138 <font resource="font" />
2139 <text>Be sure to safely remove your device</text>
2140 </object>
2141
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002142 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002143 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002144 <text>from your computer before unmounting!</text>
2145 </object>
2146
2147 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002148 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002149 <text>Unmount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002150 <action function="page">usb_umount</action>
2151 </object>
2152
2153 <object type="action">
2154 <action function="mount">usb</action>
2155 </object>
2156
2157 <object type="template" name="footer" />
2158 </page>
2159
2160 <page name="usb_umount">
2161 <object type="action">
2162 <action function="unmount">usb</action>
2163 </object>
2164
2165 <object type="action">
2166 <action function="page">mount</action>
2167 </object>
2168 </page>
2169
2170 <page name="reboot">
2171 <object type="template" name="header" />
2172
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002173 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002174 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2175 <text>Reboot Menu</text>
2176 </object>
2177
Ethan Yonker72b90ab2015-02-23 08:35:48 -06002178 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002179 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002180 <text>System</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002181 </object>
2182
2183 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002184 <condition var1="tw_reboot_poweroff" var2="1" />
2185 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002186 <text>Power Off</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002187 <actions>
2188 <action function="set">tw_back=reboot</action>
2189 <action function="set">tw_action=reboot</action>
2190 <action function="set">tw_action_param=poweroff</action>
2191 <action function="set">tw_has_action2=0</action>
2192 <action function="set">tw_text1=No OS Installed! Are you</action>
2193 <action function="set">tw_text2=sure you wish to power off?</action>
2194 <action function="set">tw_action_text1=Turning Off...</action>
2195 <action function="set">tw_complete_text1=Turning Off...</action>
2196 <action function="set">tw_slider_text=Swipe to Power Off</action>
2197 <action function="page">rebootcheck</action>
2198 </actions>
2199 </object>
2200
2201 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002202 <condition var1="tw_reboot_recovery" var2="1" />
2203 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002204 <text>Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002205 <actions>
2206 <action function="set">tw_back=reboot</action>
2207 <action function="set">tw_action=reboot</action>
2208 <action function="set">tw_action_param=recovery</action>
2209 <action function="set">tw_has_action2=0</action>
2210 <action function="set">tw_text1=No OS Installed! Are you</action>
2211 <action function="set">tw_text2=sure you wish to reboot?</action>
2212 <action function="set">tw_action_text1=Rebooting...</action>
2213 <action function="set">tw_complete_text1=Rebooting...</action>
2214 <action function="set">tw_slider_text=Swipe to Reboot</action>
2215 <action function="page">rebootcheck</action>
2216 </actions>
2217 </object>
2218
2219 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002220 <condition var1="tw_reboot_bootloader" var2="1" />
2221 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002222 <text>Bootloader</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002223 <actions>
2224 <action function="set">tw_back=reboot</action>
2225 <action function="set">tw_action=reboot</action>
2226 <action function="set">tw_action_param=bootloader</action>
2227 <action function="set">tw_has_action2=0</action>
2228 <action function="set">tw_text1=No OS Installed! Are you</action>
2229 <action function="set">tw_text2=sure you wish to reboot?</action>
2230 <action function="set">tw_action_text1=Rebooting...</action>
2231 <action function="set">tw_complete_text1=Rebooting...</action>
2232 <action function="set">tw_slider_text=Swipe to Reboot</action>
2233 <action function="page">rebootcheck</action>
2234 </actions>
2235 </object>
2236
2237 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002238 <condition var1="tw_download_mode" var2="1" />
2239 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002240 <text>Download</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002241 <actions>
2242 <action function="set">tw_back=reboot</action>
2243 <action function="set">tw_action=reboot</action>
2244 <action function="set">tw_action_param=download</action>
2245 <action function="set">tw_has_action2=0</action>
2246 <action function="set">tw_text1=No OS Installed! Are you</action>
2247 <action function="set">tw_text2=sure you wish to reboot?</action>
2248 <action function="set">tw_action_text1=Rebooting...</action>
2249 <action function="set">tw_complete_text1=Rebooting...</action>
2250 <action function="set">tw_slider_text=Swipe to Reboot</action>
2251 <action function="page">rebootcheck</action>
2252 </actions>
2253 </object>
2254
2255 <object type="action">
2256 <touch key="home" />
2257 <action function="page">main</action>
2258 </object>
2259
2260 <object type="action">
2261 <touch key="back" />
2262 <action function="page">main</action>
2263 </object>
2264
2265 <object type="template" name="footer" />
2266 </page>
2267
2268 <page name="settings">
2269 <object type="template" name="header" />
2270
2271 <object type="checkbox">
2272 <placement x="%col1_x%" y="%row1_header_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002273 <text>Zip file signature verification.</text>
2274 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002275 </object>
2276
2277 <object type="checkbox">
2278 <placement x="%col1_x%" y="%row1_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002279 <text>Use rm -rf instead of formatting.</text>
2280 <data variable="tw_rm_rf" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002281 </object>
2282
2283 <object type="checkbox">
2284 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002285 <text>Skip MD5 generation during backup.</text>
2286 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002287 </object>
2288
2289 <object type="checkbox">
2290 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002291 <text>Enable MD5 verification of backup files.</text>
2292 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002293 </object>
2294
2295 <object type="checkbox">
2296 <placement x="%col1_x%" y="%row4_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002297 <text>Use 24-hour clock.</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002298 <data variable="tw_military_time" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002299 </object>
2300
2301 <object type="checkbox">
2302 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002303 <text>Simulate actions for theme testing.</text>
2304 <data variable="tw_simulate_actions" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002305 </object>
2306
2307 <object type="checkbox">
2308 <condition var1="tw_simulate_actions" var2="1" />
2309 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002310 <text>Simulate failure for actions.</text>
2311 <data variable="tw_simulate_fail" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002312 </object>
2313
2314 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002315 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002316 <text>Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002317 <action function="page">timezone</action>
2318 </object>
2319
2320 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002321 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002322 <text>Screen</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002323 <action function="page">screen</action>
2324 </object>
2325
2326 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002327 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002328 <text>Restore Defaults</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002329 <action function="restoredefaultsettings"></action>
2330 </object>
2331
2332 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002333 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002334 <text>Vibration</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002335 <action function="page">vibrate</action>
2336 </object>
2337
2338 <object type="action">
2339 <touch key="home" />
2340 <action function="page">main</action>
2341 </object>
2342
2343 <object type="action">
2344 <touch key="back" />
2345 <action function="page">main</action>
2346 </object>
2347
2348 <object type="template" name="footer" />
2349 </page>
2350
2351 <page name="timezone">
2352 <object type="template" name="header" />
2353
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002354 <object type="listbox" style="scrolllist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002355 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002356 <text>Select Time Zone:</text>
2357 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002358 <data name="tw_time_zone_guisel" />
2359 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2360 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2361 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2362 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2363 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2364 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2365 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2366 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2367 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2368 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2369 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2370 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2371 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2372 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2373 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2374 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2375 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2376 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2377 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2378 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2379 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2380 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2381 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2382 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2383 </object>
2384
2385 <object type="checkbox">
2386 <placement x="%col1_x%" y="%row_dst_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002387 <text>Do you use daylight savings time (DST)?</text>
2388 <data variable="tw_time_zone_guidst" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002389 </object>
2390
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002391 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002392 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2393 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2394 </object>
2395
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002396 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002397 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002398 <text>None</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002399 <action function="set">tw_time_zone_guioffset=0</action>
2400 </object>
2401
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002402 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002403 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002404 <text>15</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002405 <action function="set">tw_time_zone_guioffset=15</action>
2406 </object>
2407
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002408 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002409 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002410 <text>30</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002411 <action function="set">tw_time_zone_guioffset=30</action>
2412 </object>
2413
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002414 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002415 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002416 <text>45</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002417 <action function="set">tw_time_zone_guioffset=45</action>
2418 </object>
2419
2420 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002421 <placement x="%col_center_x%" y="%tz_set_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002422 <text>Set Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002423 <action function="setguitimezone"></action>
2424 </object>
2425
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002426 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002427 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2428 <text>Current Time Zone: %tw_time_zone%</text>
2429 </object>
2430
2431 <object type="action">
2432 <touch key="home" />
2433 <action function="page">main</action>
2434 </object>
2435
2436 <object type="action">
2437 <touch key="back" />
2438 <action function="page">settings</action>
2439 </object>
2440 </page>
2441
2442 <page name="screen">
2443 <object type="template" name="header" />
2444
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002445 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002446 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2447 <text>Screen Settings</text>
2448 </object>
2449
2450 <object type="button">
2451 <placement x="%col1_x%" y="%row2_text_y%" />
2452 <font resource="font" color="%text_color%" />
2453 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2454 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2455 <text>Enable screen timeout.</text>
2456 <image resource="checkbox_false" />
2457 <action function="set">tw_screen_timeout_secs=60</action>
2458 </object>
2459
2460 <object type="button">
2461 <placement x="%col1_x%" y="%row2_text_y%" />
2462 <font resource="font" color="%text_color%" />
2463 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2464 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2465 <text>Enable screen timeout.</text>
2466 <image resource="checkbox_true" />
2467 <action function="set">tw_screen_timeout_secs=0</action>
2468 </object>
2469
2470 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002471 <conditions>
2472 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2473 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2474 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002475 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002476 <text>Screen timeout in seconds:</text>
2477 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2478 </object>
2479
2480 <object type="slidervalue">
2481 <condition var1="tw_has_brightnesss_file" var2="1" />
2482 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002483 <text>Brightness: %tw_brightness_pct%%</text>
2484 <data variable="tw_brightness_pct" min="10" max="100" />
2485 <actions>
2486 <action function="set">tw_brightness=%tw_brightness_max%</action>
2487 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2488 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002489 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002490 </actions>
2491 </object>
2492
2493 <object type="action">
2494 <touch key="home" />
2495 <action function="page">main</action>
2496 </object>
2497
2498 <object type="action">
2499 <touch key="back" />
2500 <action function="page">settings</action>
2501 </object>
2502
2503 <object type="template" name="footer" />
2504 </page>
2505
2506 <page name="vibrate">
2507 <object type="template" name="header" />
2508
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002509 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002510 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2511 <text>Vibration Settings :</text>
2512 </object>
2513
2514 <object type="slidervalue">
2515 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002516 <text>Button Vibration:</text>
2517 <data variable="tw_button_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002518 </object>
2519
2520 <object type="slidervalue">
2521 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002522 <text>Keyboard Vibration:</text>
2523 <data variable="tw_keyboard_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002524 </object>
2525
2526 <object type="slidervalue">
2527 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002528 <text>Action Vibration:</text>
2529 <data variable="tw_action_vibrate" min="0" max="500" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002530 </object>
2531
2532 <object type="action">
2533 <touch key="home" />
2534 <action function="page">main</action>
2535 </object>
2536
2537 <object type="action">
2538 <touch key="back" />
2539 <action function="page">settings</action>
2540 </object>
2541
2542 <object type="template" name="footer" />
2543 </page>
2544
2545 <page name="advanced">
2546 <object type="template" name="header" />
2547
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002548 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002549 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2550 <text>Advanced</text>
2551 </object>
2552
2553 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002554 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002555 <text>Copy Log to SD</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002556 <actions>
2557 <action function="set">tw_back=advanced</action>
2558 <action function="set">tw_action=copylog</action>
2559 <action function="set">tw_text1=Copy Log to SD Card?</action>
2560 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2561 <action function="set">tw_complete_text1=Log Copy Complete</action>
2562 <action function="set">tw_slider_text=Swipe to Confirm</action>
2563 <action function="page">confirm_action</action>
2564 </actions>
2565 </object>
2566
2567 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002568 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002569 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002570 <action function="page">fixperms</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002571 </object>
2572
2573 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002574 <condition var1="tw_allow_partition_sdcard" var2="1" />
2575 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002576 <text>Partition SD Card</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002577 <action function="page">partsdcard</action>
2578 </object>
2579
2580 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002581 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002582 <text>File Manager</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002583 <action function="page">filemanagerlist</action>
2584 </object>
2585
2586 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002587 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002588 <text>Terminal Command</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002589 <action function="page">terminalfolder</action>
2590 </object>
2591
2592 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002593 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002594 <text>Reload Theme</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002595 <action function="reload"></action>
2596 </object>
2597
2598 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002599 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002600 <text>ADB Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002601 <action function="page">sideload</action>
2602 </object>
2603
2604 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002605 <condition var1="tw_show_dumlock" var2="1" />
2606 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002607 <text>HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002608 <action function="page">htcdumlock</action>
2609 </object>
2610
2611 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002612 <condition var1="tw_has_injecttwrp" var2="1" />
2613 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002614 <text>Re-Inject TWRP</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002615 <actions>
2616 <action function="set">tw_back=advanced</action>
2617 <action function="set">tw_action=reinjecttwrp</action>
2618 <action function="set">tw_text1=Re-Inject TWRP?</action>
2619 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2620 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2621 <action function="set">tw_slider_text=Swipe to Confirm</action>
2622 <action function="page">confirm_action</action>
2623 </actions>
2624 </object>
2625
2626 <object type="action">
2627 <touch key="home" />
2628 <action function="page">main</action>
2629 </object>
2630
2631 <object type="action">
2632 <touch key="back" />
2633 <action function="page">main</action>
2634 </object>
2635
2636 <object type="template" name="footer" />
2637 </page>
2638
2639 <page name="partsdcard">
2640 <object type="template" name="header" />
2641
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002642 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002643 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2644 <text>Partition SD Card</text>
2645 </object>
2646
2647 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002648 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002649 <text></text>
2650 <image resource="minus_button" />
2651 <action function="addsubtract">tw_sdext_size-128</action>
2652 </object>
2653
2654 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002655 <placement x="%sd_plus_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002656 <text></text>
2657 <image resource="plus_button" />
2658 <action function="addsubtract">tw_sdext_size+128</action>
2659 </object>
2660
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002661 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002662 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2663 <text>EXT Size: %tw_sdext_size%</text>
2664 </object>
2665
2666 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002667 <placement x="%col1_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002668 <text></text>
2669 <image resource="minus_button" />
2670 <action function="addsubtract">tw_swap_size-32</action>
2671 </object>
2672
2673 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002674 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002675 <text></text>
2676 <image resource="plus_button" />
2677 <action function="addsubtract">tw_swap_size+32</action>
2678 </object>
2679
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002680 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002681 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2682 <text>Swap Size: %tw_swap_size%</text>
2683 </object>
2684
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002685 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002686 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2687 <text>File system: %tw_sdpart_file_system%</text>
2688 </object>
2689
2690 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002691 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2692 <font resource="font" color="%button_text_color%" />
2693 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002694 <action function="set">tw_sdpart_file_system=ext3</action>
2695 </object>
2696
2697 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002698 <condition var1="tw_sdext_disable_ext4" var2="0" />
2699 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002700 <text>EXT4</text>
2701 <image resource="main_button" />
2702 <action function="set">tw_sdpart_file_system=ext4</action>
2703 </object>
2704
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002705 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002706 <placement x="%col1_x%" y="%row10_text_y%" />
2707 <text>You will lose all files on your SD card!</text>
2708 </object>
2709
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002710 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002711 <placement x="%col1_x%" y="%row11_text_y%" />
2712 <text>This action cannot be undone!</text>
2713 </object>
2714
2715 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002716 <text>Swipe to Partition</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002717 <actions>
2718 <action function="set">tw_back=partsdcard</action>
2719 <action function="set">tw_action=partitionsd</action>
2720 <action function="set">tw_has_action2=1</action>
2721 <action function="set">tw_action2=set</action>
2722 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2723 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2724 <action function="set">tw_action_text2=This will take a few minutes.</action>
2725 <action function="set">tw_complete_text1=Partitioning Complete</action>
2726 <action function="page">action_page</action>
2727 </actions>
2728 </object>
2729
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002730 <object type="action">
2731 <touch key="home" />
2732 <action function="page">main</action>
2733 </object>
2734
2735 <object type="action">
2736 <touch key="back" />
2737 <action function="page">advanced</action>
2738 </object>
2739 </page>
2740
2741 <page name="htcdumlock">
2742 <object type="template" name="header" />
2743
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002744 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002745 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2746 <text>HTC Dumlock</text>
2747 </object>
2748
2749 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002750 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002751 <text>Restore Original Boot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002752 <actions>
2753 <action function="set">tw_back=htcdumlock</action>
2754 <action function="set">tw_action=htcdumlockrestoreboot</action>
2755 <action function="set">tw_text1=Restore original boot image?</action>
2756 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2757 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2758 <action function="set">tw_slider_text=Swipe to Confirm</action>
2759 <action function="page">confirm_action</action>
2760 </actions>
2761 </object>
2762
2763 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002764 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002765 <text>Reflash Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002766 <actions>
2767 <action function="set">tw_back=htcdumlock</action>
2768 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2769 <action function="set">tw_text1=Reflash recovery to boot?</action>
2770 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2771 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2772 <action function="set">tw_slider_text=Swipe to Confirm</action>
2773 <action function="page">confirm_action</action>
2774 </actions>
2775 </object>
2776
2777 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002778 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002779 <text>Install HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002780 <actions>
2781 <action function="set">tw_back=htcdumlock</action>
2782 <action function="set">tw_action=installhtcdumlock</action>
2783 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2784 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2785 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2786 <action function="set">tw_slider_text=Swipe to Confirm</action>
2787 <action function="page">confirm_action</action>
2788 </actions>
2789 </object>
2790
2791 <object type="action">
2792 <touch key="home" />
2793 <action function="page">main</action>
2794 </object>
2795
2796 <object type="action">
2797 <touch key="back" />
2798 <action function="page">advanced</action>
2799 </object>
2800
2801 <object type="template" name="footer" />
2802 </page>
2803
2804 <page name="lock">
2805 <background color="#000000A0" />
2806
2807 <object type="image">
2808 <image resource="unlock-icon" />
2809 <placement x="%lock_x%" y="%lock_y%" />
2810 </object>
2811
2812 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002813 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002814 <action function="overlay"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002815 </object>
2816 </page>
2817
2818 <page name="filemanagerlist">
2819 <object type="template" name="header" />
2820
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002821 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002822 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2823 <text>File Manager: Select a File or Folder</text>
2824 </object>
2825
2826 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002827 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002828 <text>%tw_file_location1%</text>
Matt Mower82931532015-02-27 14:19:59 -06002829 <filter folders="1" files="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002830 <path name="tw_file_location1" default="/" />
2831 <data name="tw_filename1" />
2832 <selection name="tw_selection1" />
2833 </object>
2834
2835 <object type="template" name="sort_options" />
2836
2837 <object type="action">
2838 <actions>
2839 <action function="set">tw_fm_type=File</action>
2840 <action function="set">tw_fm_isfolder=0</action>
2841 </actions>
2842 </object>
2843
2844 <object type="action">
2845 <touch key="home" />
2846 <action function="page">main</action>
2847 </object>
2848
2849 <object type="action">
2850 <touch key="back" />
2851 <action function="page">advanced</action>
2852 </object>
2853
2854 <object type="action">
2855 <condition var1="tw_filename1" op="modified" />
2856 <actions>
2857 <action function="page">filemanageroptions</action>
2858 </actions>
2859 </object>
2860
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002861 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002862 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002863 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002864 <actions>
2865 <action function="set">tw_filename1=tw_file_location1</action>
2866 <action function="set">tw_fm_isfolder=1</action>
2867 <action function="set">tw_fm_type=Folder</action>
2868 <action function="page">filemanageroptions</action>
2869 </actions>
2870 </object>
2871 </page>
2872
2873 <page name="filemanageroptions">
2874 <object type="template" name="header" />
2875
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002876 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002877 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2878 <text>%tw_fm_type% Selected:</text>
2879 </object>
2880
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002881 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002882 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2883 <text>%tw_filename1%</text>
2884 </object>
2885
2886 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002887 <condition var1="tw_fm_isfolder" var2="0" />
2888 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002889 <text>Copy File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002890 <actions>
2891 <action function="set">tw_filemanager_command=cp</action>
2892 <action function="set">tw_fm_text1=Copying</action>
2893 <action function="page">choosedestinationfolder</action>
2894 </actions>
2895 </object>
2896
2897 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002898 <condition var1="tw_fm_isfolder" var2="1" />
2899 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002900 <text>Copy Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002901 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002902 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; cp -R</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002903 <action function="set">tw_fm_text1=Copying</action>
2904 <action function="page">choosedestinationfolder</action>
2905 </actions>
2906 </object>
2907
2908 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002909 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002910 <text>Move</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002911 <actions>
2912 <action function="set">tw_filemanager_command=mv</action>
2913 <action function="set">tw_fm_text1=Moving</action>
2914 <action function="page">choosedestinationfolder</action>
2915 </actions>
2916 </object>
2917
2918 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002919 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002920 <text>chmod 755</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002921 <actions>
2922 <action function="set">tw_filemanager_command=chmod 755</action>
2923 <action function="set">tw_fm_text1=chmod 755</action>
2924 <action function="set">tw_fm_text2=</action>
2925 <action function="set">tw_fm_text3=</action>
2926 <action function="set">tw_include_text3=0</action>
2927 <action function="set">tw_back=filemanageroptions</action>
2928 <action function="page">filemanagerconfirm</action>
2929 </actions>
2930 </object>
2931
2932 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002933 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002934 <text>chmod</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002935 <actions>
2936 <action function="set">tw_filemanager_rename=0000</action>
2937 <action function="set">tw_fm_text2=</action>
2938 <action function="set">tw_fm_text3=</action>
2939 <action function="set">tw_include_text3=0</action>
2940 <action function="set">tw_back=filemanageroptions</action>
2941 <action function="page">filemanagerchmod</action>
2942 </actions>
2943 </object>
2944
2945 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002946 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002947 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002948 <actions>
2949 <action function="set">tw_filemanager_command=rm -rf</action>
2950 <action function="set">tw_fm_text1=Deleting</action>
2951 <action function="set">tw_fm_text2=</action>
2952 <action function="set">tw_fm_text3=</action>
2953 <action function="set">tw_include_text3=0</action>
2954 <action function="set">tw_back=filemanageroptions</action>
2955 <action function="page">filemanagerconfirm</action>
2956 </actions>
2957 </object>
2958
2959 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002960 <condition var1="tw_fm_isfolder" var2="0" />
2961 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002962 <text>Rename File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002963 <actions>
2964 <action function="set">tw_filemanager_rename=tw_selection1</action>
2965 <action function="set">tw_fm_text1=Renaming</action>
2966 <action function="set">tw_filemanager_command=mv</action>
2967 <action function="page">filemanagerrenamefile</action>
2968 </actions>
2969 </object>
2970
2971 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002972 <condition var1="tw_fm_isfolder" var2="1" />
2973 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002974 <text>Rename Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002975 <actions>
2976 <action function="set">tw_filemanager_rename=tw_selection1</action>
2977 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06002978 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; mv</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002979 <action function="page">filemanagerrenamefolder</action>
2980 </actions>
2981 </object>
2982
2983 <object type="action">
2984 <touch key="home" />
2985 <action function="page">main</action>
2986 </object>
2987
2988 <object type="action">
2989 <touch key="back" />
2990 <action function="page">filemanagerlist</action>
2991 </object>
2992
2993 <object type="template" name="footer" />
2994 </page>
2995
2996 <page name="choosedestinationfolder">
2997 <object type="template" name="header" />
2998
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002999 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003000 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06003001 <text>Browse to Destination &amp; Press Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003002 </object>
3003
3004 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003005 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003006 <text>%tw_file_location2%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003007 <filter folders="1" files="0" />
3008 <path name="tw_file_location2" default="/" />
3009 <data name="tw_filename2" />
3010 <selection name="tw_selection2" />
3011 </object>
3012
3013 <object type="template" name="sort_options" />
3014
3015 <object type="action">
3016 <touch key="home" />
3017 <action function="page">main</action>
3018 </object>
3019
3020 <object type="action">
3021 <touch key="back" />
3022 <action function="page">filemanageroptions</action>
3023 </object>
3024
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003025 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003026 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003027 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003028 <actions>
3029 <action function="set">tw_fm_text2=to</action>
3030 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3031 <action function="set">tw_include_text3=1</action>
3032 <action function="set">tw_back=filemanageroptions</action>
3033 <action function="page">filemanagerconfirm</action>
3034 </actions>
3035 </object>
3036 </page>
3037
3038 <page name="filemanagerrenamefile">
3039 <object type="template" name="header" />
3040
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003041 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003042 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003043 <text>Please Enter a New %tw_fm_type% Name</text>
3044 </object>
3045
3046 <object type="input">
3047 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003048 <text>%tw_filemanager_rename%</text>
3049 <data name="tw_filemanager_rename" />
3050 <restrict minlen="1" maxlen="128" />
3051 <actions>
3052 <action function="set">tw_fm_text2=to</action>
3053 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3054 <action function="set">tw_include_text3=1</action>
3055 <action function="set">tw_back=filemanageroptions</action>
3056 <action function="page">filemanagerconfirm</action>
3057 </actions>
3058 </object>
3059
3060 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003061 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003062 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003063 <action function="page">filemanageroptions</action>
3064 </object>
3065
3066 <object type="template" name="keyboardtemplate" />
3067
3068 <object type="action">
3069 <touch key="home" />
3070 <action function="page">main</action>
3071 </object>
3072
3073 <object type="action">
3074 <touch key="back" />
3075 <action function="page">filemanageroptions</action>
3076 </object>
3077
3078 <object type="template" name="footer" />
3079 </page>
3080
3081 <page name="filemanagerrenamefolder">
3082 <object type="template" name="header" />
3083
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003084 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003085 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003086 <text>Please Enter a New %tw_fm_type% Name</text>
3087 </object>
3088
3089 <object type="input">
3090 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003091 <text>%tw_filemanager_rename%</text>
3092 <data name="tw_filemanager_rename" />
3093 <restrict minlen="1" maxlen="128" />
3094 <actions>
3095 <action function="set">tw_fm_text2=to</action>
3096 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3097 <action function="set">tw_include_text3=1</action>
3098 <action function="set">tw_back=filemanageroptions</action>
3099 <action function="page">filemanagerconfirm</action>
3100 </actions>
3101 </object>
3102
3103 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003104 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003105 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003106 <action function="page">filemanageroptions</action>
3107 </object>
3108
3109 <object type="template" name="keyboardtemplate" />
3110
3111 <object type="action">
3112 <touch key="home" />
3113 <action function="page">main</action>
3114 </object>
3115
3116 <object type="action">
3117 <touch key="back" />
3118 <action function="page">filemanageroptions</action>
3119 </object>
3120
3121 <object type="template" name="footer" />
3122 </page>
3123
3124 <page name="filemanagerchmod">
3125 <object type="template" name="header" />
3126
3127 <object type="text" color="%text_color%">
3128 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3129 <font resource="font" />
3130 <text>Please Enter New Permissions</text>
3131 </object>
3132
3133 <object type="input">
3134 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003135 <text>%tw_filemanager_rename%</text>
3136 <data name="tw_filemanager_rename" />
3137 <restrict minlen="3" maxlen="4" allow="0123456789" />
3138 <actions>
3139 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3140 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3141 <action function="set">tw_back=filemanageroptions</action>
3142 <action function="page">filemanagerconfirm</action>
3143 </actions>
3144 </object>
3145
3146 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003147 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003148 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003149 <action function="page">filemanageroptions</action>
3150 </object>
3151
3152 <object type="template" name="keyboardtemplate" />
3153
3154 <object type="action">
3155 <touch key="home" />
3156 <action function="page">main</action>
3157 </object>
3158
3159 <object type="action">
3160 <touch key="back" />
3161 <action function="page">filemanageroptions</action>
3162 </object>
3163
3164 <object type="template" name="footer" />
3165 </page>
3166
3167 <page name="filemanagerconfirm">
3168 <object type="template" name="header" />
3169
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003170 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003171 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3172 <text>%tw_fm_text1%</text>
3173 </object>
3174
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003175 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003176 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3177 <text>%tw_filename1%</text>
3178 </object>
3179
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003180 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003181 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3182 <text>%tw_fm_text2%</text>
3183 </object>
3184
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003185 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003186 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3187 <text>%tw_fm_text3%</text>
3188 </object>
3189
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003190 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003191 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3192 <text>Press back button to cancel.</text>
3193 </object>
3194
3195 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003196 <action function="page">filemanageracction</action>
3197 </object>
3198
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003199 <object type="action">
3200 <touch key="back" />
3201 <action function="page">%tw_back%</action>
3202 </object>
3203
3204 <object type="action">
3205 <touch key="home" />
3206 <action function="page">main</action>
3207 </object>
3208 </page>
3209
3210 <page name="filemanageracction">
3211 <object type="template" name="header" />
3212
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003213 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003214 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3215 <text>%tw_fm_text1%</text>
3216 </object>
3217
3218 <object type="template" name="action_page_console" />
3219
3220 <object type="template" name="progress_bar" />
3221
3222 <object type="action">
3223 <conditions>
3224 <condition var1="tw_operation_state" var2="1" />
3225 <condition var1="tw_operation_status" var2="0" />
3226 </conditions>
3227 <actions>
3228 <action function="set">tw_back=filemanagerlist</action>
3229 <action function="set">tw_complete_text1=File Operation Complete</action>
3230 <action function="page">action_complete</action>
3231 </actions>
3232 </object>
3233
3234 <object type="action">
3235 <conditions>
3236 <condition var1="tw_operation_state" var2="1" />
3237 <condition var1="tw_operation_status" op="!=" var2="0" />
3238 </conditions>
3239 <actions>
3240 <action function="set">tw_complete_text1=File Operation Complete</action>
3241 <action function="page">action_complete</action>
3242 </actions>
3243 </object>
3244
3245 <object type="action">
3246 <condition var1="tw_include_text3" var2="0" />
3247 <actions>
3248 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3249 </actions>
3250 </object>
3251
3252 <object type="action">
3253 <condition var1="tw_include_text3" var2="1" />
3254 <actions>
3255 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3256 </actions>
3257 </object>
3258 </page>
3259
3260 <page name="decrypt">
3261 <object type="template" name="header" />
3262
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003263 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003264 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3265 <text>Please Enter Your Password</text>
3266 </object>
3267
3268 <object type="input">
3269 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003270 <text>%tw_crypto_display%</text>
3271 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3272 <restrict minlen="1" maxlen="254" />
3273 <actions>
3274 <action function="page">trydecrypt</action>
3275 </actions>
3276 </object>
3277
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003278 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003279 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003280 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003281 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3282 <text>Password Failed, Please Try Again</text>
3283 </object>
3284
3285 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003286 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003287 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003288 <actions>
3289 <action function="set">tw_page_done=1</action>
3290 <action function="page">main</action>
3291 </actions>
3292 </object>
3293
3294 <object type="template" name="keyboardtemplate" />
3295
3296 <object type="template" name="footer" />
3297 </page>
3298
3299 <page name="trydecrypt">
3300 <object type="template" name="header" />
3301
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003302 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003303 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3304 <text>Trying Decryption with Your Password</text>
3305 </object>
3306
3307 <object type="template" name="action_page_console" />
3308
3309 <object type="template" name="progress_bar" />
3310
3311 <object type="action">
3312 <action function="decrypt"></action>
3313 </object>
3314
3315 <object type="action">
3316 <conditions>
3317 <condition var1="tw_operation_state" var2="1" />
3318 <condition var1="tw_operation_status" op="!=" var2="0" />
3319 </conditions>
3320 <actions>
3321 <action function="set">tw_password_fail=1</action>
3322 <action function="page">decrypt</action>
3323 </actions>
3324 </object>
3325
3326 <object type="action">
3327 <conditions>
3328 <condition var1="tw_operation_state" var2="1" />
3329 <condition var1="tw_operation_status" op="=" var2="0" />
3330 </conditions>
3331 <actions>
3332 <action function="set">tw_page_done=1</action>
3333 <action function="page">main</action>
3334 </actions>
3335 </object>
3336 </page>
3337
3338 <page name="terminalfolder">
3339 <object type="template" name="header" />
3340
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003341 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003342 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3343 <text>Browse to Starting Folder</text>
3344 </object>
3345
3346 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003347 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003348 <text>%tw_terminal_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003349 <filter folders="1" files="0" />
3350 <path name="tw_terminal_location" default="/" />
3351 <data name="tw_terminal" />
3352 <selection name="tw_terminal_selection" />
3353 </object>
3354
3355 <object type="template" name="sort_options" />
3356
3357 <object type="action">
3358 <touch key="home" />
3359 <action function="page">main</action>
3360 </object>
3361
3362 <object type="action">
3363 <touch key="back" />
3364 <action function="page">advanced</action>
3365 </object>
3366
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003367 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003368 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003369 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003370 <actions>
3371 <action function="page">terminalcommand</action>
3372 </actions>
3373 </object>
3374 </page>
3375
3376 <page name="terminalcommand">
3377 <object type="template" name="header" />
3378
3379 <object type="console">
3380 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003381 </object>
3382
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003383 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003384 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003385 <text>Starting Path: %tw_terminal_location%</text>
3386 </object>
3387
3388 <object type="input">
3389 <condition var1="tw_terminal_state" var2="0" />
3390 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003391 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003392 <font resource="fixed" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003393 <data name="tw_terminal_command" />
3394 <restrict minlen="1" />
3395 <action function="terminalcommand">%tw_terminal_command%</action>
3396 </object>
3397
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003398 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003399 <condition var1="tw_terminal_state" var2="1" />
3400 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003401 <text>KILL</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003402 <action function="killterminal"></action>
3403 </object>
3404
3405 <object type="template" name="keyboardtemplate" />
3406
3407 <object type="action">
3408 <touch key="home" />
3409 <action function="page">main</action>
3410 </object>
3411
3412 <object type="action">
3413 <touch key="back" />
3414 <action function="page">terminalfolder</action>
3415 </object>
3416 </page>
3417
3418 <page name="sideload">
3419 <object type="template" name="header" />
3420
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003421 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003422 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3423 <text>ADB Sideload</text>
3424 </object>
3425
3426 <object type="checkbox">
3427 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003428 <text>Wipe Dalvik Cache.</text>
3429 <data variable="tw_wipe_dalvik" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003430 </object>
3431
3432 <object type="checkbox">
3433 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003434 <text>Wipe Cache.</text>
3435 <data variable="tw_wipe_cache" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003436 </object>
3437
3438 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003439 <text>Swipe to Start Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003440 <actions>
3441 <action function="set">tw_back=advanced</action>
3442 <action function="set">tw_action=adbsideload</action>
3443 <action function="set">tw_action_text1=ADB Sideload</action>
3444 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3445 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3446 <action function="set">tw_has_cancel=1</action>
3447 <action function="set">tw_show_reboot=1</action>
3448 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3449 <action function="page">action_page</action>
3450 </actions>
3451 </object>
3452
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003453 <object type="action">
3454 <touch key="home" />
3455 <action function="page">main</action>
3456 </object>
3457
3458 <object type="action">
3459 <touch key="back" />
3460 <action function="page">advanced</action>
3461 </object>
3462 </page>
3463
thata3d31fb2014-12-21 22:27:40 +01003464 <page name="fixperms">
3465 <object type="template" name="header" />
3466
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003467 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003468 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3469 <text>Fix Permissions</text>
3470 </object>
3471
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003472 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003473 <placement x="%col1_x%" y="%row2_text_y%" />
3474 <text>Note: Fixing permissions is rarely needed.</text>
3475 </object>
3476
3477 <object type="checkbox">
3478 <placement x="%col1_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003479 <text>Also fix SELinux contexts</text>
3480 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003481 </object>
3482
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003483 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003484 <placement x="%col1_x%" y="%row4_text_y%" />
3485 <text>Fixing SELinux contexts may cause</text>
3486 </object>
3487
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003488 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003489 <placement x="%col1_x%" y="%row5_text_y%" />
3490 <text>your device to not boot properly.</text>
3491 </object>
3492
3493 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003494 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003495 <actions>
3496 <action function="set">tw_back=advanced</action>
3497 <action function="set">tw_action=fixpermissions</action>
3498 <action function="set">tw_action_text1=Fixing Permissions...</action>
3499 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3500 <action function="set">tw_slider_text=Swipe to Confirm</action>
3501 <action function="set">tw_show_reboot=1</action>
3502 <action function="page">action_page</action>
3503 </actions>
3504 </object>
3505
thata3d31fb2014-12-21 22:27:40 +01003506 <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">advanced</action>
3514 </object>
3515
3516 <object type="template" name="footer" />
3517 </page>
3518
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003519 <page name="installsu">
3520 <object type="template" name="header" />
3521
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003522 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003523 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3524 <text>Install SuperSU?</text>
3525 </object>
3526
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003527 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003528 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3529 <text>Your device does not appear to be rooted.</text>
3530 </object>
3531
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003532 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003533 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3534 <text>Install SuperSU now?</text>
3535 </object>
3536
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003537 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003538 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3539 <text>This will root your device.</text>
3540 </object>
3541
3542 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003543 <placement x="%col_center_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003544 <text>Do Not Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003545 <action function="set">tw_page_done=1</action>
3546 </object>
3547
3548 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003549 <text>Swipe to Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003550 <actions>
3551 <action function="set">tw_action=installsu</action>
3552 <action function="set">tw_action_text1=Installing SuperSU</action>
3553 <action function="set">tw_action_text2=</action>
3554 <action function="page">singleaction_page</action>
3555 </actions>
3556 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003557 </page>
3558 </pages>
3559</recovery>