blob: c05ab50e484dc276c04e71383908d5e223c2633f [file] [log] [blame]
Ethan Yonker780cd392014-07-21 15:24:39 -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="mediumwidebutton">
21 <style name="buttontext" />
22 <image resource="mediumwide_button" />
23 </style>
24
25 <style name="fillbutton">
26 <style name="buttontext" />
27 <fill color="%button_fill_color%" />
28 </style>
29
30 <style name="rebootsystem">
31 <condition var1="tw_reboot_system" var2="1" />
32 <style name="button" />
33 <text>Reboot System</text>
34 <actions>
35 <action function="set">tw_back=main2</action>
36 <action function="set">tw_action=reboot</action>
37 <action function="set">tw_action_param=system</action>
38 <action function="set">tw_has_action2=0</action>
39 <action function="set">tw_text1=No OS Installed! Are you</action>
40 <action function="set">tw_text2=sure you wish to reboot?</action>
41 <action function="set">tw_text3=</action>
42 <action function="set">tw_text4=</action>
43 <action function="set">tw_action_text1=Rebooting...</action>
44 <action function="set">tw_action_text2=</action>
45 <action function="set">tw_complete_text1=Rebooting...</action>
46 <action function="set">tw_slider_text=Swipe to Reboot</action>
47 <action function="page">rebootcheck</action>
48 </actions>
49 </style>
50
51 <style name="scrolllist">
52 <highlight color="%fileselector_highlight_color%" />
53 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
54 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
55 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
56 <background color="%fileselector_background%" />
57 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
58 </style>
59
60 <style name="fileselector">
61 <style name="scrolllist" />
62 <icon folder="folder_icon" file="file_icon" />
63 <sort name="tw_gui_sort_order" />
64 </style>
65
66 <style name="partitionlist">
67 <style name="scrolllist" />
68 <icon selected="checkbox_true" unselected="checkbox_false" />
69 </style>
70
71 <style name="text">
72 <font resource="font" color="%text_color%" />
73 </style>
74
75 <style name="checkbox">
76 <font resource="font" color="%text_color%" />
77 <image checked="checkbox_true" unchecked="checkbox_false" />
78 </style>
79
80 <style name="slider">
81 <text>Swipe to Confirm</text>
82 <font resource="font" color="%text_color%" />
83 <placement x="%slider_x%" y="%slider_y%" placement="5" />
84 <resource base="slider" used="slider-used" touch="slider-touch" />
85 </style>
86
87 <style name="console">
88 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
89 <font resource="fixed" />
that8d46c092015-02-26 01:30:04 +010090 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -060091 </style>
92
93 <style name="input">
94 <background color="%input_background_color%" />
95 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
96 <font resource="font" color="%text_color%" />
97 </style>
98
99 <style name="slidervalue">
100 <font resource="font" color="%text_color%" />
101 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
102 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
103 </style>
104 </styles>
105
Ethan Yonker780cd392014-07-21 15:24:39 -0500106 <pages>
107 <page name="main">
108 <object type="action">
109 <actions>
110 <action function="set">tw_clear_destination=main2</action>
111 <action function="page">clear_vars</action>
112 </actions>
113 </object>
114 </page>
115
116 <page name="main2">
117 <object type="template" name="header" />
118
119 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500120 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500121 <text>Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500122 <actions>
123 <action function="queueclear"></action>
124 <action function="page">install</action>
125 </actions>
126 </object>
127
128 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500129 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500130 <text>Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500131 <action function="page">backup</action>
132 </object>
133
134 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500135 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500136 <text>Restore</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500137 <action function="page">restore</action>
138 </object>
139
140 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500141 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500142 <text>Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500143 <action function="page">wipe</action>
144 </object>
145
146 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500147 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500148 <text>Mount</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500149 <action function="page">mount</action>
150 </object>
151
152 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500153 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500154 <text>Settings</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500155 <action function="page">settings</action>
156 </object>
157
158 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500159 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500160 <text>Advanced</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500161 <action function="page">advanced</action>
162 </object>
163
164 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500165 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500166 <text>Reboot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500167 <action function="page">reboot</action>
168 </object>
169
170 <object type="template" name="footer" />
171 </page>
172
173 <page name="install">
174 <object type="template" name="header" />
175
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600176 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500177 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
178 <text>Select Zip to Install</text>
179 </object>
180
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600181 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500182 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500183 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
184 <actions>
185 <action function="set">tw_back=install</action>
186 <action function="page">selectstorage</action>
187 </actions>
188 </object>
189
190 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -0500191 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500192 <text>Folders:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500193 <filter folders="1" files="0" />
194 <path name="tw_zip_location" default="/sdcard" />
195 <data name="select" />
196 </object>
197
198 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -0500199 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500200 <text>%tw_zip_location%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500201 <filter extn=".zip" folders="0" files="1" />
202 <path name="tw_zip_location" />
203 <data name="tw_filename" />
204 <selection name="tw_file" />
205 </object>
206
207 <object type="template" name="sort_options" />
208
Ethan Yonker96af84a2015-01-05 14:58:36 -0600209 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600210 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600211 <text>Images...</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600212 <actions>
213 <action function="page">install_image</action>
214 </actions>
215 </object>
216
Ethan Yonker780cd392014-07-21 15:24:39 -0500217 <object type="action">
218 <condition var1="tw_filename" op="modified" />
219 <actions>
220 <action function="queuezip"></action>
221 <action function="page">flash_confirm</action>
222 </actions>
223 </object>
224
225 <object type="action">
226 <touch key="back" />
227 <action function="page">main</action>
228 </object>
229
230 <object type="action">
231 <touch key="home" />
232 <action function="page">main</action>
233 </object>
234
235 <object type="template" name="footer" />
236 </page>
237
238 <page name="flash_confirm">
239 <object type="template" name="header" />
240
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600241 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500242 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
243 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
244 </object>
245
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600246 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500247 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
248 <text>Folder:</text>
249 </object>
250
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600251 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500252 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
253 <text>%tw_zip_location%</text>
254 </object>
255
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600256 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500257 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
258 <text>File to flash:</text>
259 </object>
260
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600261 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500262 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
263 <text>%tw_file%</text>
264 </object>
265
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600266 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500267 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
268 <text>Press back to cancel adding this zip.</text>
269 </object>
270
271 <object type="checkbox">
272 <placement x="%col2_x%" y="%row7_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500273 <text>Zip file signature verification?</text>
274 <data variable="tw_signed_zip_verify" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500275 </object>
276
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600277 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500278 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
279 <text>File %tw_zip_queue_count% of max of 10</text>
280 </object>
281
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600282 <object type="button" style="mediumwidebutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500283 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
284 <placement x="%col2_x%" y="%row5_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500285 <text>Add More Zips</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500286 <action function="page">install</action>
287 </object>
288
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600289 <object type="button" style="mediumwidebutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500290 <placement x="%col3_x%" y="%row5_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500291 <text>Clear Queue</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500292 <actions>
293 <action function="queueclear"></action>
294 <action function="page">install</action>
295 </actions>
296 </object>
297
298 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -0500299 <text>Swipe to Confirm Flash</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600300 <action function="flash">flash_zip</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500301 </object>
302
303 <object type="action">
304 <touch key="back" />
305 <actions>
306 <action function="cancelzip"></action>
307 <action function="page">install</action>
308 </actions>
309 </object>
310
311 <object type="action">
312 <touch key="home" />
313 <action function="page">main</action>
314 </object>
315
316 <object type="template" name="footer" />
317 </page>
318
319 <page name="flash_zip">
320 <object type="template" name="header" />
321
322 <object type="template" name="flash_zip_console" />
323
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600324 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500325 <placement x="%col1_x%" y="%row16_text_y%" />
326 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
327 </object>
328
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600329 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500330 <placement x="%col1_x%" y="%row17_text_y%" />
331 <text>%tw_filename%</text>
332 </object>
333
334 <object type="template" name="progress_bar" />
335
336 <object type="action">
337 <condition var1="tw_operation_state" var2="1" />
338 <action function="page">flash_done</action>
339 </object>
340 </page>
341
342 <page name="flash_done">
343 <object type="template" name="header" />
344
345 <object type="template" name="flash_zip_console" />
346
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600347 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500348 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600349 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500350 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
351 <text>Failed</text>
352 </object>
353
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600354 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500355 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600356 <font resource="font" color="%text_success_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500357 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
358 <text>Successful</text>
359 </object>
360
361 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500362 <placement x="%col1_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500363 <text>Wipe Cache/Dalvik</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500364 <actions>
365 <action function="set">tw_back=flash_done</action>
366 <action function="set">tw_action=wipe</action>
367 <action function="set">tw_action_param=/cache</action>
368 <action function="set">tw_has_action2=1</action>
369 <action function="set">tw_action2=wipe</action>
370 <action function="set">tw_action2_param=dalvik</action>
Matt Mower82931532015-02-27 14:19:59 -0600371 <action function="set">tw_text1=Wipe Cache &amp; Dalvik?</action>
372 <action function="set">tw_action_text1=Wiping Cache &amp; Dalvik...</action>
373 <action function="set">tw_complete_text1=Cache &amp; Dalvik Wipe Complete</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500374 <action function="set">tw_slider_text=Swipe to Wipe</action>
375 <action function="page">confirm_action</action>
376 </actions>
377 </object>
378
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600379 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500380 <placement x="%col4_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500381 </object>
382
383 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500384 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500385 <text>Home</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500386 <actions>
387 <action function="set">tw_clear_destination=main2</action>
388 <action function="page">clear_vars</action>
389 </actions>
390 </object>
391
392 <object type="action">
393 <touch key="back" />
394 <actions>
395 <action function="set">tw_clear_destination=install</action>
396 <action function="page">clear_vars</action>
397 </actions>
398 </object>
399
400 <object type="action">
401 <touch key="home" />
402 <actions>
403 <action function="set">tw_clear_destination=main2</action>
404 <action function="page">clear_vars</action>
405 </actions>
406 </object>
407 </page>
408
Ethan Yonker96af84a2015-01-05 14:58:36 -0600409 <page name="install_image">
410 <object type="template" name="header" />
411
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600412 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600413 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
414 <text>Select Image to Flash</text>
415 </object>
416
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600417 <object type="button" style="fillbutton">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600418 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600419 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
420 <actions>
421 <action function="set">tw_back=install_image</action>
422 <action function="page">selectstorage</action>
423 </actions>
424 </object>
425
426 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600427 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600428 <text>Folders:</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600429 <filter folders="1" files="0" />
430 <path name="tw_zip_location" default="/sdcard" />
431 <data name="select" />
432 </object>
433
434 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600435 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600436 <text>%tw_zip_location%</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600437 <filter extn=".img" folders="0" files="1" />
438 <path name="tw_zip_location" />
439 <data name="tw_filename" />
440 <selection name="tw_file" />
441 </object>
442
443 <object type="template" name="sort_options" />
444
445 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600446 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600447 <text>Zips...</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600448 <actions>
449 <action function="page">install</action>
450 </actions>
451 </object>
452
453 <object type="action">
454 <condition var1="tw_filename" op="modified" />
455 <action function="page">flashimage_confirm</action>
456 </object>
457
458 <object type="action">
459 <touch key="back" />
460 <action function="page">install</action>
461 </object>
462
463 <object type="action">
464 <touch key="home" />
465 <action function="page">main</action>
466 </object>
467
468 <object type="template" name="footer" />
469 </page>
470
471 <page name="flashimage_confirm">
472 <object type="template" name="header" />
473
474 <object type="partitionlist">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600475 <placement x="%col2_x%" y="%row1_text_y%" w="%listbox_width%" h="%flash_list_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600476 <text>Select Partition to Flash Image:</text>
477 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600478 <data name="tw_flash_partition" />
479 <listtype name="flashimg" />
480 </object>
481
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600482 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600483 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
484 <text>Folder:</text>
485 </object>
486
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600487 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600488 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
489 <text>%tw_zip_location%</text>
490 </object>
491
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600492 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600493 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
494 <text>File to flash:</text>
495 </object>
496
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600497 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600498 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
499 <text>%tw_file%</text>
500 </object>
501
502 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600503 <text>Swipe to Confirm Flash</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600504 <actions>
505 <action function="set">tw_back=flashimage_confirm</action>
506 <action function="set">tw_action=flashimage</action>
507 <action function="set">tw_has_action2=0</action>
508 <action function="set">tw_action_text1=Flashing Image...</action>
509 <action function="set">tw_action_text2=</action>
510 <action function="set">tw_complete_text1=Image Flashed</action>
511 <action function="page">action_page</action>
512 </actions>
513 <action function="flashimage"></action>
514 </object>
515
Ethan Yonker96af84a2015-01-05 14:58:36 -0600516 <object type="action">
517 <touch key="back" />
518 <actions>
519 <action function="set">tw_clear_destination=install_image</action>
520 <action function="page">clear_vars</action>
521 </actions>
522 </object>
523
524 <object type="action">
525 <touch key="home" />
526 <actions>
527 <action function="set">tw_clear_destination=main2</action>
528 <action function="page">clear_vars</action>
529 </actions>
530 </object>
531
532 <object type="template" name="footer" />
533 </page>
534
Ethan Yonker780cd392014-07-21 15:24:39 -0500535 <page name="clear_vars">
536 <object type="action">
537 <action function="set">tw_operation_state=0</action>
538 <action function="set">tw_text1=</action>
539 <action function="set">tw_text2=</action>
540 <action function="set">tw_text3=</action>
541 <action function="set">tw_text4=</action>
542 <action function="set">tw_action_text1=</action>
543 <action function="set">tw_action_text2=</action>
544 <action function="set">tw_action_param=</action>
545 <action function="set">tw_has_action2=0</action>
546 <action function="set">tw_action2=</action>
547 <action function="set">tw_action2_param=</action>
548 <action function="set">tw_has_cancel=0</action>
549 <action function="set">tw_cancel_action=</action>
550 <action function="set">tw_cancel_param=</action>
551 <action function="set">tw_show_exclamation=0</action>
552 <action function="set">tw_show_reboot=0</action>
553 <action function="page">%tw_clear_destination%</action>
554 </object>
555 </page>
556
557 <page name="confirm_action">
558 <object type="template" name="header" />
559
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600560 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500561 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
562 <text>%tw_text1%</text>
563 </object>
564
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600565 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500566 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
567 <text>%tw_text2%</text>
568 </object>
569
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600570 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500571 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
572 <text>%tw_text3%</text>
573 </object>
574
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600575 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500576 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
577 <text>%tw_text4%</text>
578 </object>
579
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600580 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500581 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
582 <text>Press back button to cancel.</text>
583 </object>
584
585 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -0500586 <text>%tw_slider_text%</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600587 <action function="page">action_page</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500588 </object>
589
590 <object type="action">
591 <touch key="back" />
592 <actions>
593 <action function="set">tw_clear_destination=%tw_back%</action>
594 <action function="page">clear_vars</action>
595 </actions>
596 </object>
597
598 <object type="action">
599 <touch key="home" />
600 <action function="page">main</action>
601 </object>
602
603 <object type="template" name="footer" />
604 </page>
605
606 <page name="action_page">
607 <object type="template" name="header" />
608
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600609 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500610 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
611 <text>%tw_action_text1%</text>
612 </object>
613
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600614 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500615 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
616 <text>%tw_action_text2%</text>
617 </object>
618
619 <object type="template" name="action_page_console" />
620
621 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500622 <condition var1="tw_has_cancel" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600623 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500624 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500625 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
626 </object>
627
628 <object type="template" name="progress_bar" />
629
630 <object type="action">
631 <condition var1="tw_operation_state" var2="1" />
632 <actions>
633 <action function="page">action_complete</action>
634 </actions>
635 </object>
636
637 <object type="action">
638 <condition var1="tw_has_action2" var2="0" />
639 <actions>
640 <action function="%tw_action%">%tw_action_param%</action>
641 </actions>
642 </object>
643
644 <object type="action">
645 <condition var1="tw_has_action2" var2="1" />
646 <actions>
647 <action function="%tw_action%">%tw_action_param%</action>
648 <action function="%tw_action2%">%tw_action2_param%</action>
649 </actions>
650 </object>
651 </page>
652
653 <page name="singleaction_page">
654 <object type="template" name="header" />
655
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600656 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500657 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
658 <text>%tw_action_text1%</text>
659 </object>
660
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600661 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500662 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
663 <text>%tw_action_text2%</text>
664 </object>
665
666 <object type="template" name="action_page_console" />
667
668 <object type="template" name="progress_bar" />
669
670 <object type="action">
671 <condition var1="tw_operation_state" var2="1" />
672 <actions>
673 <action function="set">tw_page_done=1</action>
674 </actions>
675 </object>
676
677 <object type="action">
678 <condition var1="tw_has_action2" var2="0" />
679 <actions>
680 <action function="%tw_action%">%tw_action_param%</action>
681 </actions>
682 </object>
683
684 <object type="action">
685 <condition var1="tw_has_action2" var2="1" />
686 <actions>
687 <action function="%tw_action%">%tw_action_param%</action>
688 <action function="%tw_action2%">%tw_action2_param%</action>
689 </actions>
690 </object>
691 </page>
692
693 <page name="action_complete">
694 <object type="template" name="header" />
695
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600696 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500697 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
698 <text>%tw_complete_text1%</text>
699 </object>
700
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600701 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500702 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600703 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500704 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
705 <text>Failed</text>
706 </object>
707
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600708 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500709 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600710 <font resource="font" color="%text_success_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500711 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
712 <text>Successful</text>
713 </object>
714
715 <object type="template" name="action_page_console" />
716
717 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500718 <condition var1="tw_show_reboot" var2="0" />
719 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500720 <text>Back</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500721 <actions>
722 <action function="set">tw_clear_destination=%tw_back%</action>
723 <action function="page">clear_vars</action>
724 </actions>
725 </object>
726
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600727 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500728 <condition var1="tw_show_reboot" var2="1" />
729 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500730 </object>
731
732 <object type="action">
733 <touch key="home" />
734 <actions>
735 <action function="set">tw_clear_destination=main2</action>
736 <action function="page">clear_vars</action>
737 </actions>
738 </object>
739
740 <object type="action">
741 <touch key="back" />
742 <actions>
743 <action function="set">tw_clear_destination=%tw_back%</action>
744 <action function="page">clear_vars</action>
745 </actions>
746 </object>
747 </page>
748
749 <page name="filecheck">
750 <object type="action">
751 <action function="fileexists">%tw_filecheck%</action>
752 </object>
753
754 <object type="action">
755 <conditions>
756 <condition var1="tw_operation_state" var2="1" />
757 <condition var1="tw_operation_status" var2="0" />
758 </conditions>
759 <actions>
760 <action function="set">tw_fileexists=1</action>
761 <action function="page">%tw_existpage%</action>
762 </actions>
763 </object>
764
765 <object type="action">
766 <conditions>
767 <condition var1="tw_operation_state" var2="1" />
768 <condition var1="tw_operation_status" var2="1" />
769 </conditions>
770 <actions>
771 <action function="set">tw_fileexists=0</action>
772 <action function="page">%tw_notexistpage%</action>
773 </actions>
774 </object>
775 </page>
776
777 <page name="rebootcheck">
778 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600779 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500780 <action function="reboot">%tw_action_param%</action>
781 </object>
782
783 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600784 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500785 <action function="page">confirm_action</action>
786 </object>
787 </page>
788
789 <page name="reboot">
790 <object type="template" name="header" />
791
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600792 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500793 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
794 <text>Reboot Menu</text>
795 </object>
796
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600797 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500798 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500799 <text>System</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500800 </object>
801
802 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500803 <condition var1="tw_reboot_poweroff" var2="1" />
804 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500805 <text>Power Off</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500806 <actions>
807 <action function="set">tw_back=reboot</action>
808 <action function="set">tw_action=reboot</action>
809 <action function="set">tw_action_param=poweroff</action>
810 <action function="set">tw_has_action2=0</action>
811 <action function="set">tw_text1=No OS Installed! Are you</action>
812 <action function="set">tw_text2=sure you wish to power off?</action>
813 <action function="set">tw_action_text1=Turning Off...</action>
814 <action function="set">tw_complete_text1=Turning Off...</action>
815 <action function="set">tw_slider_text=Swipe to Power Off</action>
816 <action function="page">rebootcheck</action>
817 </actions>
818 </object>
819
820 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500821 <condition var1="tw_reboot_recovery" var2="1" />
822 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500823 <text>Recovery</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500824 <actions>
825 <action function="set">tw_back=reboot</action>
826 <action function="set">tw_action=reboot</action>
827 <action function="set">tw_action_param=recovery</action>
828 <action function="set">tw_has_action2=0</action>
829 <action function="set">tw_text1=No OS Installed! Are you</action>
830 <action function="set">tw_text2=sure you wish to reboot?</action>
831 <action function="set">tw_action_text1=Rebooting...</action>
832 <action function="set">tw_complete_text1=Rebooting...</action>
833 <action function="set">tw_slider_text=Swipe to Reboot</action>
834 <action function="page">rebootcheck</action>
835 </actions>
836 </object>
837
838 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500839 <condition var1="tw_reboot_bootloader" var2="1" />
840 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500841 <text>Bootloader</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500842 <actions>
843 <action function="set">tw_back=reboot</action>
844 <action function="set">tw_action=reboot</action>
845 <action function="set">tw_action_param=bootloader</action>
846 <action function="set">tw_has_action2=0</action>
847 <action function="set">tw_text1=No OS Installed! Are you</action>
848 <action function="set">tw_text2=sure you wish to reboot?</action>
849 <action function="set">tw_action_text1=Rebooting...</action>
850 <action function="set">tw_complete_text1=Rebooting...</action>
851 <action function="set">tw_slider_text=Swipe to Reboot</action>
852 <action function="page">rebootcheck</action>
853 </actions>
854 </object>
855
856 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500857 <condition var1="tw_download_mode" var2="1" />
858 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500859 <text>Download</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500860 <actions>
861 <action function="set">tw_back=reboot</action>
862 <action function="set">tw_action=reboot</action>
863 <action function="set">tw_action_param=download</action>
864 <action function="set">tw_has_action2=0</action>
865 <action function="set">tw_text1=No OS Installed! Are you</action>
866 <action function="set">tw_text2=sure you wish to reboot?</action>
867 <action function="set">tw_action_text1=Rebooting...</action>
868 <action function="set">tw_complete_text1=Rebooting...</action>
869 <action function="set">tw_slider_text=Swipe to Reboot</action>
870 <action function="page">rebootcheck</action>
871 </actions>
872 </object>
873
874 <object type="action">
875 <touch key="home" />
876 <action function="page">main</action>
877 </object>
878
879 <object type="action">
880 <touch key="back" />
881 <action function="page">main</action>
882 </object>
883
884 <object type="template" name="footer" />
885 </page>
886
887 <page name="selectstorage">
888 <object type="template" name="header" />
889
890 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -0500891 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500892 <text>Select Storage:</text>
893 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500894 <data name="tw_storage_path" />
895 <listtype name="storage" />
896 </object>
897
898 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500899 <placement x="%filemanager_select_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500900 <text>OK</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500901 <actions>
902 <action function="set">tw_clear_destination=%tw_back%</action>
903 <action function="page">clear_vars</action>
904 </actions>
905 </object>
906
907 <object type="action">
908 <touch key="home" />
909 <action function="page">main</action>
910 </object>
911
912 <object type="action">
913 <touch key="back" />
914 <actions>
915 <action function="page">%tw_back%</action>
916 </actions>
917 </object>
918
919 <object type="template" name="footer" />
920 </page>
921
922 <page name="mount">
923 <object type="template" name="header" />
924
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600925 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500926 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
927 <text>Mount Menu</text>
928 </object>
929
930 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -0500931 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500932 <text>Select Partitions to Mount:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500933 <listtype name="mount" />
934 </object>
935
936 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500937 <conditions>
938 <condition var1="tw_is_encrypted" var2="1" />
939 <condition var1="tw_is_decrypted" var2="0" />
940 </conditions>
941 <placement x="%col3_x%" y="row1_y" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500942 <text>Decrypt Data</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500943 <action function="page">decrypt</action>
944 </object>
945
946 <object type="button">
947 <condition var1="tw_has_usb_storage" var2="1" />
948 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500949 <text>Mount USB Storage</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500950 <action function="page">usb_mount</action>
951 </object>
952
953 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400954 <conditions>
955 <condition var1="tw_has_mtp" var2="1" />
956 <condition var1="tw_mtp_enabled" var2="0" />
957 </conditions>
958 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400959 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400960 <action function="startmtp"></action>
961 </object>
962
963 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400964 <conditions>
965 <condition var1="tw_has_mtp" var2="1" />
966 <condition var1="tw_mtp_enabled" var2="1" />
967 </conditions>
968 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400969 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400970 <action function="stopmtp"></action>
971 </object>
972
973 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400974 <conditions>
975 <condition var1="tw_is_encrypted" var2="1" />
976 <condition var1="tw_is_decrypted" var2="0" />
977 </conditions>
978 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400979 <text>Decrypt Data</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400980 <action function="page">decrypt</action>
981 </object>
982
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600983 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500984 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500985 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
986 <actions>
987 <action function="set">tw_back=mount</action>
988 <action function="page">selectstorage</action>
989 </actions>
990 </object>
991
992 <object type="action">
993 <touch key="home" />
994 <action function="page">main</action>
995 </object>
996
997 <object type="action">
998 <touch key="back" />
999 <action function="page">main</action>
1000 </object>
1001
1002 <object type="template" name="footer" />
1003 </page>
1004
1005 <page name="usb_mount">
1006 <object type="template" name="header" />
1007
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001008 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001009 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001010 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1011 </object>
1012
Ethan Yonker780cd392014-07-21 15:24:39 -05001013 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001014 <placement x="%col_center_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001015 <text>Unmount</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001016 <action function="page">usb_umount</action>
1017 </object>
1018
1019 <object type="action">
1020 <action function="mount">usb</action>
1021 </object>
1022
1023 <object type="template" name="footer" />
1024 </page>
1025
1026 <page name="usb_umount">
1027 <object type="action">
1028 <action function="unmount">usb</action>
1029 </object>
1030
1031 <object type="action">
1032 <action function="page">mount</action>
1033 </object>
1034
1035 <object type="template" name="footer" />
1036 </page>
1037
1038 <page name="wipe">
1039 <object type="template" name="header" />
1040
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001041 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001042 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1043 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1044 </object>
1045
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001046 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001047 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001048 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1049 <text>(not including internal storage)</text>
1050 </object>
1051
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001052 <object type="text">
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001053 <conditions>
1054 <condition var1="tw_has_android_secure" var2="1" />
1055 <condition var1="fileexists" var2="/and-sec" />
1056 </conditions>
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001057 <placement x="%center_x%" y="%row3_text_y%" placement="1" />
1058 <text>Android Secure </text>
1059 </object>
1060
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001061 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001062 <condition var1="tw_has_sdext_partition" var2="1" />
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001063 <placement x="%center_x%" y="%row3_text_y%" />
1064 <text> SD-EXT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001065 </object>
1066
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001067 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001068 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1069 <text>Most of the time this is the only wipe that you need.</text>
1070 </object>
1071
1072 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001073 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001074 <text>Advanced Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001075 <action function="page">advancedwipe</action>
1076 </object>
1077
1078 <object type="button">
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001079 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001080 <placement x="%col3_x%" y="%wipe_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001081 <text>Format Data</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001082 <actions>
1083 <action function="page">formatdata</action>
1084 </actions>
1085 </object>
1086
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001087 <object type="button">
1088 <conditions>
1089 <condition var1="tw_is_encrypted" var2="1" />
1090 <condition var1="tw_has_data_media" var2="0" />
1091 </conditions>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001092 <placement x="%col3_x%" y="%wipe_button_y%" />
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001093 <text>Wipe Encryption</text>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001094 <actions>
1095 <action function="set">tw_back=wipe</action>
1096 <action function="set">tw_action=wipe</action>
1097 <action function="set">tw_action_param=DATAMEDIA</action>
1098 <action function="set">tw_has_action2=0</action>
1099 <action function="set">tw_text1=Wipe Encryption from Data?</action>
1100 <action function="set">tw_text2=</action>
1101 <action function="set">tw_action_text1=Formatting Data...</action>
1102 <action function="set">tw_complete_text1=Data Format Complete</action>
1103 <action function="set">tw_slider_text=Swipe to Format Data</action>
1104 <action function="page">confirm_action</action>
1105 </actions>
1106 </object>
1107
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001108 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001109 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1110 <text>Press back button to cancel.</text>
1111 </object>
1112
1113 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001114 <text>Swipe to Factory Reset</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001115 <actions>
1116 <action function="set">tw_back=wipe</action>
1117 <action function="set">tw_action=wipe</action>
1118 <action function="set">tw_action_param=data</action>
1119 <action function="set">tw_action_text1=Factory Reset...</action>
1120 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1121 <action function="page">action_page</action>
1122 </actions>
1123 </object>
1124
Ethan Yonker780cd392014-07-21 15:24:39 -05001125 <object type="action">
1126 <touch key="home" />
1127 <action function="page">main</action>
1128 </object>
1129
1130 <object type="action">
1131 <touch key="back" />
1132 <action function="page">main</action>
1133 </object>
1134
1135 <object type="template" name="footer" />
1136 </page>
1137
1138 <page name="advancedwipe">
1139 <object type="template" name="header" />
1140
1141 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05001142 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001143 <text>Select Partitions to Wipe:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001144 <data name="tw_wipe_list" />
1145 <listtype name="wipe" />
1146 </object>
1147
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001148 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001149 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001150 <text>Repair or Change File System</text>
1151 <actions>
1152 <action function="checkpartitionlist"></action>
1153 <action function="page">checkpartitionlist</action>
1154 </actions>
1155 </object>
1156
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001157 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001158 <condition var1="partitionlisterror" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001159 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001160 <placement x="%col3_x%" y="%backup_storage_y%" />
1161 <text>Invalid partition selection</text>
1162 </object>
1163
1164 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001165 <text>Swipe to Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001166 <actions>
1167 <action function="set">tw_back=advancedwipe</action>
1168 <action function="set">tw_action=wipe</action>
1169 <action function="set">tw_action_param=LIST</action>
1170 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1171 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1172 <action function="set">tw_complete_text1=Wipe Complete</action>
1173 <action function="page">action_page</action>
1174 </actions>
1175 </object>
1176
Ethan Yonker780cd392014-07-21 15:24:39 -05001177 <object type="action">
1178 <touch key="home" />
1179 <action function="page">main</action>
1180 </object>
1181
1182 <object type="action">
1183 <touch key="back" />
1184 <action function="page">wipe</action>
1185 </object>
1186
1187 <object type="template" name="footer" />
1188 </page>
1189
1190 <page name="formatdata">
1191 <object type="template" name="header" />
1192
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001193 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001194 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1195 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1196 </object>
1197
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001198 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001199 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1200 <text>videos, media, and removes encryption on internal storage.</text>
1201 </object>
1202
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001203 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001204 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1205 <text>This cannot be undone. Press back to cancel.</text>
1206 </object>
1207
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001208 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001209 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1210 <text>Type yes to continue.</text>
1211 </object>
1212
1213 <object type="input">
1214 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001215 <text>%tw_confirm_formatdata%</text>
1216 <data name="tw_confirm_formatdata" />
1217 <restrict minlen="3" maxlen="3" allow="yes" />
1218 <action function="page">formatdata_confirm</action>
1219 </object>
1220
1221 <object type="template" name="keyboardtemplate" />
1222
1223 <object type="action">
1224 <touch key="home" />
1225 <action function="page">main</action>
1226 </object>
1227
1228 <object type="action">
1229 <touch key="back" />
1230 <action function="page">wipe</action>
1231 </object>
1232
1233 <object type="template" name="footer" />
1234 </page>
1235
1236 <page name="formatdata_confirm">
1237 <object type="action">
1238 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1239 <actions>
1240 <action function="set">tw_back=formatdata</action>
1241 <action function="set">tw_action=wipe</action>
1242 <action function="set">tw_action_param=DATAMEDIA</action>
1243 <action function="set">tw_action_text1=Formatting Data...</action>
1244 <action function="set">tw_complete_text1=Data Format Complete</action>
1245 <action function="page">action_page</action>
1246 </actions>
1247 </object>
1248
1249 <object type="action">
1250 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
Matt Mower82931532015-02-27 14:19:59 -06001251 <action function="page">formatdata</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001252 </object>
1253 </page>
1254
1255 <page name="checkpartitionlist">
1256 <object type="action">
1257 <condition var1="tw_check_partition_list" op="=" var2="1" />
1258 <actions>
1259 <action function="set">partitionlisterror=0</action>
1260 <action function="getpartitiondetails"></action>
1261 <action function="page">partitionoptions</action>
1262 </actions>
1263 </object>
1264
1265 <object type="action">
1266 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1267 <actions>
1268 <action function="set">partitionlisterror=1</action>
1269 <action function="set">tw_wipe_list=</action>
1270 <action function="page">advancedwipe</action>
1271 </actions>
1272 </object>
1273 </page>
1274
1275 <page name="partitionoptions">
1276 <object type="template" name="header" />
1277
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001278 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001279 <placement x="%col1_x%" y="%row1_text_y%" />
1280 <text>Partition Options for: %tw_partition_name%</text>
1281 </object>
1282
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001283 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001284 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1285 <text>Mount Point: %tw_partition_mount_point%</text>
1286 </object>
1287
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001288 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001289 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1290 <text>Current file system: %tw_partition_file_system%</text>
1291 </object>
1292
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001293 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001294 <condition var1="tw_partition_is_present" op="!=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001295 <placement x="%col2_x%" y="%row3_text_y%" />
1296 <text>Present: Yes</text>
1297 </object>
1298
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001299 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001300 <condition var1="tw_partition_is_present" op="=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001301 <placement x="%col2_x%" y="%row3_text_y%" />
1302 <text>Present: No</text>
1303 </object>
1304
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001305 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001306 <condition var1="tw_partition_removable" op="!=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001307 <placement x="%col3_x%" y="%row3_text_y%" />
1308 <text>Removable: Yes</text>
1309 </object>
1310
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001311 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001312 <condition var1="tw_partition_removable" op="=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001313 <placement x="%col3_x%" y="%row3_text_y%" />
1314 <text>Removable: No</text>
1315 </object>
1316
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001317 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001318 <placement x="%col1_x%" y="%row4_text_y%" />
1319 <text>Size: %tw_partition_size%MB</text>
1320 </object>
1321
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001322 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001323 <placement x="%col2_x%" y="%row4_text_y%" />
1324 <text>Used: %tw_partition_used%MB</text>
1325 </object>
1326
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001327 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001328 <placement x="%col3_x%" y="%row4_text_y%" />
1329 <text>Free: %tw_partition_free%MB</text>
1330 </object>
1331
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001332 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001333 <placement x="%col4_x%" y="%row4_text_y%" />
1334 <text>Backup Size: %tw_partition_backup_size%MB</text>
1335 </object>
1336
1337 <object type="button">
1338 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001339 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001340 <text>Repair</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001341 <actions>
1342 <action function="set">tw_back=partitionoptions</action>
1343 <action function="set">tw_action=repair</action>
1344 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1345 <action function="set">tw_has_action2=0</action>
1346 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1347 <action function="set">tw_text2=</action>
1348 <action function="set">tw_action_text1=Repairing...</action>
1349 <action function="set">tw_complete_text1=Repair Complete</action>
1350 <action function="set">tw_slider_text=Swipe to Repair</action>
1351 <action function="page">confirm_action</action>
1352 </actions>
1353 </object>
1354
1355 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001356 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001357 <text>Change File System</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001358 <action function="page">selectfilesystem</action>
1359 </object>
1360
1361 <object type="action">
1362 <touch key="home" />
1363 <action function="page">main</action>
1364 </object>
1365
1366 <object type="action">
1367 <touch key="back" />
1368 <action function="page">advancedwipe</action>
1369 </object>
1370
1371 <object type="template" name="footer" />
1372 </page>
1373
Dees Troy298c4382014-09-03 14:42:26 +00001374 <page name="refreshfilesystem">
1375 <object type="action">
1376 <condition var1="tw_check_partition_list" op="=" var2="1" />
1377 <actions>
1378 <action function="set">partitionlisterror=0</action>
1379 <action function="getpartitiondetails"></action>
1380 <action function="page">selectfilesystem</action>
1381 </actions>
1382 </object>
1383
1384 <object type="action">
1385 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1386 <actions>
1387 <action function="set">partitionlisterror=1</action>
1388 <action function="set">tw_wipe_list=</action>
1389 <action function="page">advancedwipe</action>
1390 </actions>
1391 </object>
1392 </page>
1393
Ethan Yonker780cd392014-07-21 15:24:39 -05001394 <page name="selectfilesystem">
1395 <object type="template" name="header" />
1396
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001397 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001398 <placement x="%col1_x%" y="%row1_text_y%" />
1399 <text>Change file system for: %tw_partition_name%</text>
1400 </object>
1401
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001402 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001403 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1404 <text>Mount Point: %tw_partition_mount_point%</text>
1405 </object>
1406
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001407 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001408 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1409 <text>Current file system: %tw_partition_file_system%</text>
1410 </object>
1411
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001412 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001413 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1414 <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text>
1415 </object>
1416
1417 <object type="button">
1418 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001419 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001420 <text>EXT2</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001421 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001422 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001423 <action function="set">tw_action=changefilesystem</action>
1424 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1425 <action function="set">tw_action_new_file_system=ext2</action>
1426 <action function="set">tw_has_action2=0</action>
1427 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1428 <action function="set">tw_text2=</action>
1429 <action function="set">tw_action_text1=Formatting...</action>
1430 <action function="set">tw_complete_text1=Format Complete</action>
1431 <action function="set">tw_slider_text=Swipe to Change</action>
1432 <action function="page">confirm_action</action>
1433 </actions>
1434 </object>
1435
1436 <object type="button">
1437 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001438 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001439 <text>EXT3</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001440 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001441 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001442 <action function="set">tw_action=changefilesystem</action>
1443 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1444 <action function="set">tw_action_new_file_system=ext3</action>
1445 <action function="set">tw_has_action2=0</action>
1446 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1447 <action function="set">tw_text2=</action>
1448 <action function="set">tw_action_text1=Formatting...</action>
1449 <action function="set">tw_complete_text1=Format Complete</action>
1450 <action function="set">tw_slider_text=Swipe to Change</action>
1451 <action function="page">confirm_action</action>
1452 </actions>
1453 </object>
1454
1455 <object type="button">
1456 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001457 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001458 <text>EXT4</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001459 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001460 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001461 <action function="set">tw_action=changefilesystem</action>
1462 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1463 <action function="set">tw_action_new_file_system=ext4</action>
1464 <action function="set">tw_has_action2=0</action>
1465 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1466 <action function="set">tw_text2=</action>
1467 <action function="set">tw_action_text1=Formatting...</action>
1468 <action function="set">tw_complete_text1=Format Complete</action>
1469 <action function="set">tw_slider_text=Swipe to Change</action>
1470 <action function="page">confirm_action</action>
1471 </actions>
1472 </object>
1473
1474 <object type="button">
1475 <condition var1="tw_partition_f2fs" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001476 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001477 <text>F2FS</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001478 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001479 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001480 <action function="set">tw_action=changefilesystem</action>
1481 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1482 <action function="set">tw_action_new_file_system=f2fs</action>
1483 <action function="set">tw_has_action2=0</action>
1484 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1485 <action function="set">tw_text2=</action>
1486 <action function="set">tw_action_text1=Formatting...</action>
1487 <action function="set">tw_complete_text1=Format Complete</action>
1488 <action function="set">tw_slider_text=Swipe to Change</action>
1489 <action function="page">confirm_action</action>
1490 </actions>
1491 </object>
1492
1493 <object type="button">
1494 <condition var1="tw_partition_vfat" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001495 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001496 <text>FAT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001497 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001498 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001499 <action function="set">tw_action=changefilesystem</action>
1500 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1501 <action function="set">tw_action_new_file_system=vfat</action>
1502 <action function="set">tw_has_action2=0</action>
1503 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1504 <action function="set">tw_text2=</action>
1505 <action function="set">tw_action_text1=Formatting...</action>
1506 <action function="set">tw_complete_text1=Format Complete</action>
1507 <action function="set">tw_slider_text=Swipe to Change</action>
1508 <action function="page">confirm_action</action>
1509 </actions>
1510 </object>
1511
1512 <object type="button">
1513 <condition var1="tw_partition_exfat" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001514 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001515 <text>exFAT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001516 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001517 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001518 <action function="set">tw_action=changefilesystem</action>
1519 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1520 <action function="set">tw_action_new_file_system=exfat</action>
1521 <action function="set">tw_has_action2=0</action>
1522 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1523 <action function="set">tw_text2=</action>
1524 <action function="set">tw_action_text1=Formatting...</action>
1525 <action function="set">tw_complete_text1=Format Complete</action>
1526 <action function="set">tw_slider_text=Swipe to Change</action>
1527 <action function="page">confirm_action</action>
1528 </actions>
1529 </object>
1530
1531 <object type="action">
1532 <touch key="home" />
1533 <action function="page">main</action>
1534 </object>
1535
1536 <object type="action">
1537 <touch key="back" />
1538 <action function="page">partitionoptions</action>
1539 </object>
1540
1541 <object type="template" name="footer" />
1542 </page>
1543
1544 <page name="backup">
1545 <object type="template" name="header" />
1546
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001547 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1549 <text>Back Up Device</text>
1550 </object>
1551
1552 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05001553 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001554 <text>Select Partitions to Back Up:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001555 <data name="tw_backup_list" />
1556 <listtype name="backup" />
1557 </object>
1558
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001559 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001560 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1561 <text>Backup Name: %tw_backup_name%</text>
1562 </object>
1563
1564 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001565 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001566 <text>Refresh Sizes</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001567 <actions>
1568 <action function="refreshsizes"></action>
1569 <action function="page">backup</action>
1570 </actions>
1571 </object>
1572
1573 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001574 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001575 <text>Set Backup Name</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001576 <actions>
1577 <action function="set">tw_fileexists=0</action>
1578 <action function="page">backupname1</action>
1579 </actions>
1580 </object>
1581
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001582 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001583 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001584 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1585 <actions>
1586 <action function="set">tw_back=backup</action>
1587 <action function="page">selectstorage</action>
1588 </actions>
1589 </object>
1590
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001591 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001592 <conditions>
1593 <condition var1="tw_include_encrypted_backup" var2="1" />
1594 <condition var1="tw_encrypt_backup" var2="0" />
1595 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05001596 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001597 <text>No Encryption</text>
1598 <actions>
1599 <action function="page">backupencryption</action>
1600 </actions>
1601 </object>
1602
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001603 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001604 <conditions>
1605 <condition var1="tw_include_encrypted_backup" var2="1" />
1606 <condition var1="tw_encrypt_backup" var2="1" />
1607 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05001608 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001609 <text>Using Encryption</text>
1610 <actions>
1611 <action function="page">backupencryption</action>
1612 </actions>
1613 </object>
1614
1615 <object type="checkbox">
1616 <placement x="%col3_x%" y="%nandcheck_row6%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001617 <text>Enable Compression (Requires more time)</text>
1618 <data variable="tw_use_compression" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001619 </object>
1620
1621 <object type="checkbox">
1622 <placement x="%col3_x%" y="%nandcheck_row7%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001623 <text>Skip MD5 generation on backups</text>
1624 <data variable="tw_skip_md5_generate" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001625 </object>
1626
bigbiffbf1d6722015-02-14 16:25:59 -05001627 <object type="checkbox">
1628 <placement x="%col3_x%" y="%nandcheck_row8%" />
1629 <font resource="font" color="%text_color%" />
1630 <text>Disable Free Space Check.</text>
1631 <data variable="tw_disable_free_space" />
1632 <image checked="checkbox_true" unchecked="checkbox_false" />
1633 </object>
1634
Ethan Yonker780cd392014-07-21 15:24:39 -05001635 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001636 <text>Swipe to Back Up</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001637 <actions>
1638 <action function="set">tw_operation_state=0</action>
1639 <action function="page">backup_run</action>
1640 </actions>
1641 </object>
1642
Ethan Yonker780cd392014-07-21 15:24:39 -05001643 <object type="action">
1644 <touch key="home" />
1645 <action function="page">main</action>
1646 </object>
1647
1648 <object type="action">
1649 <touch key="back" />
1650 <action function="page">main</action>
1651 </object>
1652
1653 <object type="template" name="footer" />
1654 </page>
1655
1656 <page name="backupname1">
1657 <object type="action">
1658 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001659 <action function="generatebackupname"></action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001660 </object>
1661
1662 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001663 <action function="page">backupname2</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001664 </object>
1665 </page>
1666
1667 <page name="backupname2">
1668 <object type="template" name="header" />
1669
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001670 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001671 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001672 <text>Please Enter a Backup Name</text>
1673 </object>
1674
1675 <object type="input">
1676 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001677 <text>%tw_backup_name%</text>
1678 <data name="tw_backup_name" />
1679 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1680 <actions>
1681 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1682 <action function="set">tw_existpage=backupname2</action>
1683 <action function="set">tw_notexistpage=backup</action>
1684 <action function="page">filecheck</action>
1685 </actions>
1686 </object>
1687
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001688 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001689 <condition var1="tw_fileexists" var2="1" />
1690 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001691 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001692 <text>A backup with that name already exists!</text>
1693 </object>
1694
1695 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001696 <placement x="%col2_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001697 <text>Append Date</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001698 <action function="appenddatetobackupname"></action>
1699 </object>
1700
1701 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001702 <placement x="%col3_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001703 <text>Cancel / Clear</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001704 <actions>
1705 <action function="set">tw_backup_name=(Auto Generate)</action>
1706 <action function="page">backup</action>
1707 </actions>
1708 </object>
1709
1710 <object type="template" name="keyboardtemplate" />
1711
1712 <object type="action">
1713 <touch key="home" />
1714 <actions>
1715 <action function="set">tw_backup_name=(Auto Generate)</action>
1716 <action function="page">main</action>
1717 </actions>
1718 </object>
1719
1720 <object type="action">
1721 <touch key="back" />
1722 <actions>
1723 <action function="set">tw_backup_name=(Auto Generate)</action>
1724 <action function="page">backup</action>
1725 </actions>
1726 </object>
1727
1728 <object type="template" name="footer" />
1729 </page>
1730
1731 <page name="backupencryption">
1732 <object type="template" name="header" />
1733
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001734 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001735 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1736 <text>Encrypt your backup? Please enter a password:</text>
1737 </object>
1738
1739 <object type="input">
1740 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001741 <text>%tw_backup_encrypt_display%</text>
1742 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1743 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1744 <action function="page">backupencryption2</action>
1745 </object>
1746
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001747 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001748 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001749 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001750 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1751 <text>Passwords Do Not Match</text>
1752 </object>
1753
1754 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001755 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001756 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001757 <actions>
1758 <action function="set">tw_encrypt_backup=0</action>
1759 <action function="set">tw_backup_password=</action>
1760 <action function="set">tw_backup_password2=</action>
1761 <action function="set">tw_backup_encrypt_display=</action>
1762 <action function="set">tw_backup_encrypt_display2=</action>
1763 <action function="page">backup</action>
1764 </actions>
1765 </object>
1766
1767 <object type="template" name="keyboardtemplate" />
1768
1769 <object type="action">
1770 <touch key="home" />
1771 <action function="page">main</action>
1772 </object>
1773
1774 <object type="action">
1775 <touch key="back" />
1776 <action function="page">backup</action>
1777 </object>
1778
1779 <object type="template" name="footer" />
1780 </page>
1781
1782 <page name="backupencryption2">
1783 <object type="template" name="header" />
1784
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001785 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001786 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1787 <text>Encrypt your backup? Please Enter Password Again:</text>
1788 </object>
1789
1790 <object type="input">
1791 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001792 <text>%tw_backup_encrypt_display2%</text>
1793 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1794 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1795 <actions>
1796 <action function="page">checkbackuppassword</action>
1797 </actions>
1798 </object>
1799
1800 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001801 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001802 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001803 <actions>
1804 <action function="set">tw_encrypt_backup=0</action>
1805 <action function="set">tw_backup_password=</action>
1806 <action function="set">tw_backup_password2=</action>
1807 <action function="set">tw_backup_encrypt_display=</action>
1808 <action function="set">tw_backup_encrypt_display2=</action>
1809 <action function="page">backup</action>
1810 </actions>
1811 </object>
1812
1813 <object type="template" name="keyboardtemplate" />
1814
1815 <object type="action">
1816 <touch key="home" />
1817 <action function="page">main</action>
1818 </object>
1819
1820 <object type="action">
1821 <touch key="back" />
1822 <action function="page">backup</action>
1823 </object>
1824
1825 <object type="template" name="footer" />
1826 </page>
1827
1828 <page name="checkbackuppassword">
1829 <object type="action">
1830 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1831 <actions>
1832 <action function="set">tw_encrypt_backup=1</action>
1833 <action function="page">backup</action>
1834 </actions>
1835 </object>
1836
1837 <object type="action">
1838 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1839 <actions>
1840 <action function="set">tw_encrypt_backup=0</action>
1841 <action function="set">tw_password_not_match=1</action>
1842 <action function="set">tw_backup_password=</action>
1843 <action function="set">tw_backup_password2=</action>
1844 <action function="set">tw_backup_encrypt_display=</action>
1845 <action function="set">tw_backup_encrypt_display2=</action>
1846 <action function="page">backupencryption</action>
1847 </actions>
1848 </object>
1849 </page>
1850
1851 <page name="backup_run">
1852 <object type="template" name="header" />
1853
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001854 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001855 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1856 <text>%tw_operation% %tw_partition%</text>
1857 </object>
1858
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001859 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001860 <placement x="%col1_x%" y="%row2_text_y%" />
1861 <text>%tw_file_progress%</text>
1862 </object>
1863
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001864 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001865 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1866 <text>%tw_size_progress%</text>
1867 </object>
1868
1869 <object type="template" name="action_page_console" />
1870
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001871 <object type="button" style="mediumbutton">
1872 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001873 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001874 <actions>
1875 <action function="cancelbackup"></action>
1876 </actions>
1877 </object>
1878
Ethan Yonker780cd392014-07-21 15:24:39 -05001879 <object type="template" name="progress_bar" />
1880
1881 <object type="action">
1882 <action function="nandroid">backup</action>
1883 </object>
1884
1885 <object type="action">
1886 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001887 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001888 <actions>
1889 <action function="set">tw_back=backup</action>
1890 <action function="set">tw_complete_text1=Backup Complete</action>
1891 <action function="set">tw_show_reboot=1</action>
1892 <action function="page">action_complete</action>
1893 </actions>
1894 </object>
1895
bigbiff7abc5fe2015-01-17 16:53:12 -05001896 <object type="action">
1897 <condition var1="tw_operation_state" var2="1" />
1898 <condition var1="tw_cancel_backup" var2="1" />
1899 <actions>
1900 <action function="set">tw_back=backup</action>
1901 <action function="set">tw_complete_text1=Backup Cancelled</action>
1902 <action function="set">tw_show_reboot=1</action>
1903 <action function="page">action_complete</action>
1904 </actions>
1905 </object>
1906
Ethan Yonker780cd392014-07-21 15:24:39 -05001907 <object type="template" name="footer" />
1908 </page>
1909
1910 <page name="restore">
1911 <object type="template" name="header" />
1912
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001913 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001914 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001915 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1916 <actions>
1917 <action function="set">tw_back=restore</action>
1918 <action function="page">selectstorage</action>
1919 </actions>
1920 </object>
1921
1922 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05001923 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001924 <text>Select Package to Restore:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001925 <filter folders="1" files="0" nav="0" />
1926 <path name="tw_backups_folder" />
1927 <data name="tw_restore" default="" />
1928 <selection name="tw_restore_name" />
1929 </object>
1930
1931 <object type="template" name="sort_options" />
1932
1933 <object type="action">
1934 <condition var1="tw_restore" op="modified" />
1935 <actions>
1936 <action function="readBackup"></action>
1937 <action function="page">restore_read</action>
1938 </actions>
1939 </object>
1940
1941 <object type="action">
1942 <touch key="home" />
1943 <action function="page">main</action>
1944 </object>
1945
1946 <object type="action">
1947 <touch key="back" />
1948 <action function="page">main</action>
1949 </object>
1950
1951 <object type="template" name="footer" />
1952 </page>
1953
1954 <page name="restore_read">
1955 <object type="action">
1956 <condition var1="tw_restore_encrypted" var2="1" />
1957 <actions>
1958 <action function="set">tw_password_fail=0</action>
1959 <action function="page">restore_decrypt</action>
1960 </actions>
1961 </object>
1962
1963 <object type="action">
1964 <condition var1="tw_restore_encrypted" var2="0" />
1965 <actions>
1966 <action function="page">restore_select</action>
1967 </actions>
1968 </object>
1969 </page>
1970
1971 <page name="restore_decrypt">
1972 <object type="template" name="header" />
1973
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001974 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1976 <text>Backup encrypted. Please enter your password:</text>
1977 </object>
1978
1979 <object type="input">
1980 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001981 <text>%tw_restore_display%</text>
1982 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1983 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1984 <actions>
1985 <action function="page">try_restore_decrypt</action>
1986 </actions>
1987 </object>
1988
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001989 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001990 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001991 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001992 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1993 <text>Password Failed, Please Try Again</text>
1994 </object>
1995
1996 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001997 <placement x="%col2_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001998 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001999 <actions>
2000 <action function="set">tw_page_done=1</action>
2001 <action function="page">restore</action>
2002 </actions>
2003 </object>
2004
2005 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002006 <placement x="%col3_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002007 <text>Delete</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002008 <actions>
2009 <action function="set">tw_back=restore</action>
2010 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002011 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002012 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2013 <action function="set">tw_text2=This cannot be undone!</action>
2014 <action function="set">tw_action_text1=Deleting Backup...</action>
2015 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2016 <action function="set">tw_slider_text=Swipe to Delete</action>
2017 <action function="page">confirm_action</action>
2018 </actions>
2019 </object>
2020
2021 <object type="template" name="keyboardtemplate" />
2022
2023 <object type="action">
2024 <touch key="home" />
2025 <action function="page">main</action>
2026 </object>
2027
2028 <object type="action">
2029 <touch key="back" />
2030 <action function="page">restore</action>
2031 </object>
2032
2033 <object type="template" name="footer" />
2034 </page>
2035
2036 <page name="try_restore_decrypt">
2037 <object type="template" name="header" />
2038
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002039 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002040 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2041 <text>Trying Decryption with Your Password</text>
2042 </object>
2043
2044 <object type="template" name="action_page_console" />
2045
2046 <object type="template" name="progress_bar" />
2047
2048 <object type="action">
2049 <action function="decrypt_backup"></action>
2050 </object>
2051
2052 <object type="action">
2053 <conditions>
2054 <condition var1="tw_operation_state" var2="1" />
2055 <condition var1="tw_operation_status" op="!=" var2="0" />
2056 </conditions>
2057 <actions>
2058 <action function="set">tw_password_fail=1</action>
2059 <action function="page">restore_decrypt</action>
2060 </actions>
2061 </object>
2062
2063 <object type="action">
2064 <conditions>
2065 <condition var1="tw_operation_state" var2="1" />
2066 <condition var1="tw_operation_status" op="=" var2="0" />
2067 </conditions>
2068 <actions>
2069 <action function="set">tw_page_done=1</action>
2070 <action function="page">restore_select</action>
2071 </actions>
2072 </object>
2073 </page>
2074
2075 <page name="restore_select">
2076 <object type="template" name="header" />
2077
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002078 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002079 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2080 <text>Package to Restore: %tw_restore_name%</text>
2081 </object>
2082
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002083 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002084 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2085 <text>Package Date: %tw_restore_file_date%</text>
2086 </object>
2087
2088 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05002089 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002090 <text>Select Partitions to Restore:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002091 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2092 <listtype name="restore" />
2093 </object>
2094
2095 <object type="checkbox">
2096 <placement x="%col3_x%" y="%nandcheck_row6%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002097 <text>Enable MD5 checking of backup files</text>
2098 <data variable="tw_skip_md5_check" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002099 </object>
2100
2101 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002102 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002103 <text>Rename Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002104 <actions>
2105 <action function="set">tw_backup_rename=</action>
2106 <action function="set">tw_fileexists=0</action>
2107 <action function="page">renamebackup</action>
2108 </actions>
2109 </object>
2110
2111 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002112 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002113 <text>Delete Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002114 <actions>
2115 <action function="set">tw_back=restore</action>
2116 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002117 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002118 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2119 <action function="set">tw_text2=This cannot be undone!</action>
2120 <action function="set">tw_action_text1=Deleting Backup...</action>
2121 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2122 <action function="set">tw_slider_text=Swipe to Delete</action>
2123 <action function="page">confirm_action</action>
2124 </actions>
2125 </object>
2126
2127 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05002128 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002129 <action function="page">restore_run</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002130 </object>
2131
2132 <object type="action">
2133 <touch key="home" />
2134 <action function="page">main</action>
2135 </object>
2136
2137 <object type="action">
2138 <touch key="back" />
2139 <action function="page">restore</action>
2140 </object>
2141
2142 <object type="template" name="footer" />
2143 </page>
2144
2145 <page name="renamebackup">
2146 <object type="template" name="header" />
2147
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002148 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002149 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002150 <text>Please Enter a New Backup Name</text>
2151 </object>
2152
2153 <object type="input">
2154 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002155 <text>%tw_backup_rename%</text>
2156 <data name="tw_backup_rename" />
2157 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2158 <actions>
2159 <action function="set">tw_back=restore</action>
2160 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002161 <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 Yonker780cd392014-07-21 15:24:39 -05002162 <action function="set">tw_text1=Rename Backup?</action>
2163 <action function="set">tw_text2=This cannot be undone!</action>
2164 <action function="set">tw_action_text1=Renaming Backup...</action>
2165 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2166 <action function="set">tw_slider_text=Swipe to Rename</action>
2167 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2168 <action function="set">tw_existpage=renamebackup</action>
2169 <action function="set">tw_notexistpage=confirm_action</action>
2170 <action function="page">filecheck</action>
2171 </actions>
2172 </object>
2173
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002174 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002175 <condition var1="tw_fileexists" var2="1" />
2176 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002177 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002178 <text>A backup with that name already exists!</text>
2179 </object>
2180
2181 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002182 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002183 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002184 <action function="page">restore_select</action>
2185 </object>
2186
2187 <object type="template" name="keyboardtemplate" />
2188
2189 <object type="action">
2190 <touch key="home" />
2191 <action function="page">main</action>
2192 </object>
2193
2194 <object type="action">
2195 <touch key="back" />
2196 <action function="page">restore_select</action>
2197 </object>
2198
2199 <object type="template" name="footer" />
2200 </page>
2201
2202 <page name="restore_run">
2203 <object type="template" name="header" />
2204
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002205 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002206 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2207 <text>%tw_operation% %tw_partition%</text>
2208 </object>
2209
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002210 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002211 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2212 <text>%tw_size_progress%</text>
2213 </object>
2214
2215 <object type="template" name="action_page_console" />
2216
2217 <object type="template" name="progress_bar" />
2218
2219 <object type="action">
2220 <condition var1="tw_operation_state" var2="1" />
2221 <actions>
2222 <action function="set">tw_back=restore_select</action>
2223 <action function="set">tw_complete_text1=Restore Complete</action>
2224 <action function="set">tw_show_reboot=1</action>
2225 <action function="page">action_complete</action>
2226 </actions>
2227 </object>
2228
2229 <object type="action">
2230 <action function="nandroid">restore</action>
2231 </object>
2232 </page>
2233
2234 <page name="settings">
2235 <object type="template" name="header" />
2236
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002237 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002238 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2239 <text>Settings</text>
2240 </object>
2241
2242 <object type="checkbox">
2243 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002244 <text>Zip file signature verification?</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002245 <data variable="tw_signed_zip_verify" />>
Ethan Yonker780cd392014-07-21 15:24:39 -05002246 </object>
2247
2248 <object type="checkbox">
2249 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002250 <text>Use rm -rf instead of formatting?</text>
2251 <data variable="tw_rm_rf" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002252 </object>
2253
2254 <object type="checkbox">
2255 <placement x="%col1_x%" y="%row4_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002256 <text>Skip MD5 generation on backups</text>
2257 <data variable="tw_skip_md5_generate" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002258 </object>
2259
2260 <object type="checkbox">
2261 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002262 <text>Enable MD5 checking of backup files</text>
2263 <data variable="tw_skip_md5_check" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002264 </object>
2265
2266 <object type="checkbox">
2267 <placement x="%col1_x%" y="%row6_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002268 <text>Use 24-hour clock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002269 <data variable="tw_military_time" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002270 </object>
2271
2272 <object type="checkbox">
2273 <placement x="%col1_x%" y="%row7_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002274 <text>Simulate most actions for theme testing</text>
2275 <data variable="tw_simulate_actions" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002276 </object>
2277
2278 <object type="checkbox">
2279 <condition var1="tw_simulate_actions" var2="1" />
2280 <placement x="%col1_x%" y="%row8_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002281 <text>Simulate failure for actions</text>
2282 <data variable="tw_simulate_fail" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002283 </object>
2284
2285 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002286 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002287 <text>Time Zone</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002288 <action function="page">timezone</action>
2289 </object>
2290
2291 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002292 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002293 <text>Restore Defaults</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002294 <action function="restoredefaultsettings"></action>
2295 </object>
2296
2297 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002298 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002299 <text>Vibration Duration</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002300 <action function="page">Vibrate</action>
2301 </object>
2302
2303 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002304 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002305 <text>Screen</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002306 <action function="page">screen</action>
2307 </object>
2308
2309 <object type="action">
2310 <touch key="home" />
2311 <action function="page">main</action>
2312 </object>
2313
2314 <object type="action">
2315 <touch key="back" />
2316 <action function="page">main</action>
2317 </object>
2318
2319 <object type="template" name="footer" />
2320 </page>
2321
2322 <page name="timezone">
2323 <object type="template" name="header" />
2324
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002325 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002326 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2327 <text>Select Time Zone</text>
2328 </object>
2329
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002330 <object type="listbox" style="scrolllist">
Ethan Yonker780cd392014-07-21 15:24:39 -05002331 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002332 <text>Select Time Zone:</text>
2333 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002334 <data name="tw_time_zone_guisel" />
2335 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2336 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2337 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2338 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2339 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2340 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2341 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2342 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2343 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2344 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2345 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2346 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2347 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2348 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2349 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2350 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2351 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2352 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2353 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2354 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2355 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2356 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2357 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2358 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2359 </object>
2360
2361 <object type="checkbox">
2362 <placement x="%col1_medium_x%" y="%row11_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002363 <text>Do you use daylight savings time (DST)?</text>
2364 <data variable="tw_time_zone_guidst" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002365 </object>
2366
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002367 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002368 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2369 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2370 </object>
2371
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002372 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002373 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002374 <text>0</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002375 <action function="set">tw_time_zone_guioffset=0</action>
2376 </object>
2377
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002378 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002379 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002380 <text>15</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002381 <action function="set">tw_time_zone_guioffset=15</action>
2382 </object>
2383
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002384 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002385 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002386 <text>30</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002387 <action function="set">tw_time_zone_guioffset=30</action>
2388 </object>
2389
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002390 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002391 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002392 <text>45</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002393 <action function="set">tw_time_zone_guioffset=45</action>
2394 </object>
2395
2396 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002397 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002398 <text>Set Time Zone</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002399 <action function="setguitimezone"></action>
2400 </object>
2401
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002402 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002403 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2404 <text>Current Time Zone: %tw_time_zone%</text>
2405 </object>
2406
2407 <object type="action">
2408 <touch key="home" />
2409 <action function="page">main</action>
2410 </object>
2411
2412 <object type="action">
2413 <touch key="back" />
2414 <action function="page">settings</action>
2415 </object>
2416
2417 <object type="template" name="footer" />
2418 </page>
2419
2420 <page name="screen">
2421 <object type="template" name="header" />
2422
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002423 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002424 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2425 <text>Screen Settings</text>
2426 </object>
2427
2428 <object type="button">
2429 <placement x="%slidervalue_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002430 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2431 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2432 <text>Enable screen timeout.</text>
2433 <image resource="checkbox_false" />
2434 <action function="set">tw_screen_timeout_secs=60</action>
2435 </object>
2436
2437 <object type="button">
2438 <placement x="%slidervalue_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002439 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2440 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2441 <text>Enable screen timeout.</text>
2442 <image resource="checkbox_true" />
2443 <action function="set">tw_screen_timeout_secs=0</action>
2444 </object>
2445
2446 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002447 <conditions>
2448 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2449 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2450 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05002451 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002452 <text>Screen timeout in seconds:</text>
2453 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2454 </object>
2455
2456 <object type="slidervalue">
2457 <condition var1="tw_has_brightnesss_file" var2="1" />
2458 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002459 <text>Brightness: %tw_brightness_pct%%</text>
2460 <data variable="tw_brightness_pct" min="10" max="100" />
2461 <actions>
2462 <action function="set">tw_brightness=%tw_brightness_max%</action>
2463 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2464 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002465 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002466 </actions>
2467 </object>
2468
2469 <object type="action">
2470 <touch key="home" />
2471 <action function="page">main</action>
2472 </object>
2473
2474 <object type="action">
2475 <touch key="back" />
2476 <action function="page">settings</action>
2477 </object>
2478
2479 <object type="template" name="footer" />
2480 </page>
2481
2482 <page name="Vibrate">
2483 <object type="template" name="header" />
2484
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002485 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002486 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2487 <text>Vibration Settings :</text>
2488 </object>
2489
2490 <object type="slidervalue">
2491 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002492 <text>Button Vibration:</text>
2493 <data variable="tw_button_vibrate" min="0" max="300" />
2494 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2495 </object>
2496
2497 <object type="slidervalue">
2498 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002499 <text>Keyboard Vibration:</text>
2500 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2501 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2502 </object>
2503
2504 <object type="slidervalue">
2505 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002506 <text>Action Vibration:</text>
2507 <data variable="tw_action_vibrate" min="0" max="500" />
2508 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2509 </object>
2510
2511 <object type="action">
2512 <touch key="home" />
2513 <action function="page">main</action>
2514 </object>
2515
2516 <object type="action">
2517 <touch key="back" />
2518 <action function="page">settings</action>
2519 </object>
2520
2521 <object type="template" name="footer" />
2522 </page>
2523
2524 <page name="advanced">
2525 <object type="template" name="header" />
2526
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002527 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002528 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2529 <text>Advanced</text>
2530 </object>
2531
2532 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002533 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002534 <text>Copy Log to SD</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002535 <actions>
2536 <action function="set">tw_back=advanced</action>
2537 <action function="set">tw_action=copylog</action>
2538 <action function="set">tw_text1=Copy Log to SD Card?</action>
2539 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2540 <action function="set">tw_complete_text1=Log Copy Complete</action>
2541 <action function="set">tw_slider_text=Swipe to Confirm</action>
2542 <action function="page">confirm_action</action>
2543 </actions>
2544 </object>
2545
2546 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002547 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002548 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002549 <action function="page">fixperms</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002550 </object>
2551
2552 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002553 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002554 <text>Terminal Command</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002555 <action function="page">terminalfolder</action>
2556 </object>
2557
2558 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002559 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002560 <text>ADB Sideload</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002561 <action function="page">sideload</action>
2562 </object>
2563
2564 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002565 <condition var1="tw_allow_partition_sdcard" var2="1" />
2566 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002567 <text>Partition SD Card</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002568 <action function="page">partsdcard</action>
2569 </object>
2570
2571 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002572 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002573 <text>File Manager</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002574 <action function="page">filemanagerlist</action>
2575 </object>
2576
2577 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002578 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002579 <text>Reload Theme</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002580 <action function="reload"></action>
2581 </object>
2582
2583 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002584 <condition var1="tw_show_dumlock" var2="1" />
2585 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002586 <text>HTC Dumlock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002587 <action function="page">htcdumlock</action>
2588 </object>
2589
2590 <object type="action">
2591 <touch key="home" />
2592 <action function="page">main</action>
2593 </object>
2594
2595 <object type="action">
2596 <touch key="back" />
2597 <action function="page">main</action>
2598 </object>
2599
2600 <object type="template" name="footer" />
2601 </page>
2602
2603 <page name="partsdcard">
2604 <object type="template" name="header" />
2605
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002606 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002607 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2608 <text>Partition SD Card</text>
2609 </object>
2610
2611 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002612 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002613 <text></text>
2614 <image resource="minus_button" />
2615 <action function="addsubtract">tw_sdext_size-128</action>
2616 </object>
2617
2618 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002619 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002620 <text></text>
2621 <image resource="plus_button" />
2622 <action function="addsubtract">tw_sdext_size+128</action>
2623 </object>
2624
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002625 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002626 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2627 <text>EXT Size: %tw_sdext_size%</text>
2628 </object>
2629
2630 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002631 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002632 <text></text>
2633 <image resource="minus_button" />
2634 <action function="addsubtract">tw_swap_size-32</action>
2635 </object>
2636
2637 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002638 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002639 <text></text>
2640 <image resource="plus_button" />
2641 <action function="addsubtract">tw_swap_size+32</action>
2642 </object>
2643
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002644 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002645 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2646 <text>Swap Size: %tw_swap_size%</text>
2647 </object>
2648
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002649 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002650 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2651 <text>File system: %tw_sdpart_file_system%</text>
2652 </object>
2653
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002654 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002655 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002656 <text>EXT3</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002657 <action function="set">tw_sdpart_file_system=ext3</action>
2658 </object>
2659
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002660 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002661 <condition var1="tw_sdext_disable_ext4" var2="0" />
2662 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002663 <text>EXT4</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002664 <action function="set">tw_sdpart_file_system=ext4</action>
2665 </object>
2666
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002667 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002668 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2669 <text>You will lose all files on your SD card!</text>
2670 </object>
2671
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002672 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002673 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2674 <text>This action cannot be undone!</text>
2675 </object>
2676
2677 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002678 <text>Swipe to Confirm Partition</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002679 <actions>
2680 <action function="set">tw_back=partsdcard</action>
2681 <action function="set">tw_action=partitionsd</action>
2682 <action function="set">tw_has_action2=1</action>
2683 <action function="set">tw_action2=set</action>
2684 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2685 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2686 <action function="set">tw_action_text2=This will take a few minutes.</action>
2687 <action function="set">tw_complete_text1=Partitioning Complete</action>
2688 <action function="page">action_page</action>
2689 </actions>
2690 </object>
2691
Ethan Yonker780cd392014-07-21 15:24:39 -05002692 <object type="action">
2693 <touch key="home" />
2694 <action function="page">main</action>
2695 </object>
2696
2697 <object type="action">
2698 <touch key="back" />
2699 <action function="page">advanced</action>
2700 </object>
2701
2702 <object type="template" name="footer" />
2703 </page>
2704
2705
2706 <page name="htcdumlock">
2707 <object type="template" name="header" />
2708
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002709 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002710 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2711 <text>HTC Dumlock</text>
2712 </object>
2713
2714 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002715 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002716 <text>Restore Original Boot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002717 <actions>
2718 <action function="set">tw_back=htcdumlock</action>
2719 <action function="set">tw_action=htcdumlockrestoreboot</action>
2720 <action function="set">tw_text1=Restore original boot image?</action>
2721 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2722 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2723 <action function="set">tw_slider_text=Swipe to Confirm</action>
2724 <action function="page">confirm_action</action>
2725 </actions>
2726 </object>
2727
2728 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002729 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002730 <text>Reflash Recovery->Boot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002731 <actions>
2732 <action function="set">tw_back=htcdumlock</action>
2733 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2734 <action function="set">tw_text1=Reflash recovery to boot?</action>
2735 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2736 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2737 <action function="set">tw_slider_text=Swipe to Confirm</action>
2738 <action function="page">confirm_action</action>
2739 </actions>
2740 </object>
2741
2742 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002743 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002744 <text>Install HTC Dumlock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002745 <actions>
2746 <action function="set">tw_back=htcdumlock</action>
2747 <action function="set">tw_action=installhtcdumlock</action>
2748 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2749 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2750 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2751 <action function="set">tw_slider_text=Swipe to Confirm</action>
2752 <action function="page">confirm_action</action>
2753 </actions>
2754 </object>
2755
2756 <object type="action">
2757 <touch key="home" />
2758 <action function="page">main</action>
2759 </object>
2760
2761 <object type="action">
2762 <touch key="back" />
2763 <action function="page">advanced</action>
2764 </object>
2765
2766 <object type="template" name="footer" />
2767 </page>
2768
2769 <page name="lock">
2770 <background color="#000000A0" />
2771
2772 <object type="image">
2773 <image resource="unlock-icon" />
2774 <placement x="%lock_x%" y="%lock_y%" />
2775 </object>
2776
2777 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05002778 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002779 <action function="overlay"></action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002780 </object>
2781 </page>
2782
2783
2784 <page name="filemanagerlist">
2785 <object type="template" name="header" />
2786
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002787 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002788 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2789 <text>File Manager: Select a File or Folder</text>
2790 </object>
2791
2792 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05002793 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002794 <text>Folders:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002795 <filter folders="1" files="0" />
2796 <path name="tw_file_location1" default="/sdcard" />
2797 <data name="select" />
2798 <selection name="tw_selection1" />
2799 </object>
2800
2801 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05002802 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002803 <text>%tw_file_location1%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002804 <filter folders="0" files="1" />
2805 <path name="tw_file_location1" default="/" />
2806 <data name="tw_filename1" />
2807 <selection name="tw_selection1" />
2808 </object>
2809
2810 <object type="template" name="sort_options" />
2811
2812 <object type="action">
2813 <actions>
2814 <action function="set">tw_fm_type=File</action>
2815 <action function="set">tw_fm_isfolder=0</action>
2816 </actions>
2817 </object>
2818
2819 <object type="action">
2820 <touch key="home" />
2821 <action function="page">main</action>
2822 </object>
2823
2824 <object type="action">
2825 <touch key="back" />
2826 <action function="page">advanced</action>
2827 </object>
2828
2829 <object type="action">
2830 <condition var1="tw_filename1" op="modified" />
2831 <actions>
2832 <action function="page">filemanageroptions</action>
2833 </actions>
2834 </object>
2835
2836 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002837 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002838 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002839 <actions>
2840 <action function="set">tw_filename1=tw_file_location1</action>
2841 <action function="set">tw_fm_isfolder=1</action>
2842 <action function="set">tw_fm_type=Folder</action>
2843 <action function="page">filemanageroptions</action>
2844 </actions>
2845 </object>
2846
2847 <object type="template" name="footer" />
2848 </page>
2849
2850 <page name="filemanageroptions">
2851 <object type="template" name="header" />
2852
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002853 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002854 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2855 <text>%tw_fm_type% Selected:</text>
2856 </object>
2857
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002858 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002859 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2860 <text>%tw_filename1%</text>
2861 </object>
2862
2863 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002864 <condition var1="tw_fm_isfolder" var2="0" />
2865 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002866 <text>Copy File</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002867 <actions>
2868 <action function="set">tw_filemanager_command=cp</action>
2869 <action function="set">tw_fm_text1=Copying</action>
2870 <action function="page">choosedestinationfolder</action>
2871 </actions>
2872 </object>
2873
2874 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002875 <condition var1="tw_fm_isfolder" var2="1" />
2876 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002877 <text>Copy Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002878 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002879 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; cp -R</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002880 <action function="set">tw_fm_text1=Copying</action>
2881 <action function="page">choosedestinationfolder</action>
2882 </actions>
2883 </object>
2884
2885 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002886 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002887 <text>Move</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002888 <actions>
2889 <action function="set">tw_filemanager_command=mv</action>
2890 <action function="set">tw_fm_text1=Moving</action>
2891 <action function="page">choosedestinationfolder</action>
2892 </actions>
2893 </object>
2894
2895 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002896 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002897 <text>chmod 755</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002898 <actions>
2899 <action function="set">tw_filemanager_command=chmod 755</action>
2900 <action function="set">tw_fm_text1=chmod 755</action>
2901 <action function="set">tw_fm_text2=</action>
2902 <action function="set">tw_fm_text3=</action>
2903 <action function="set">tw_include_text3=0</action>
2904 <action function="set">tw_back=filemanageroptions</action>
2905 <action function="page">filemanagerconfirm</action>
2906 </actions>
2907 </object>
2908
2909 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002910 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002911 <text>chmod</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002912 <actions>
2913 <action function="set">tw_filemanager_rename=0000</action>
2914 <action function="set">tw_fm_text2=</action>
2915 <action function="set">tw_fm_text3=</action>
2916 <action function="set">tw_include_text3=0</action>
2917 <action function="set">tw_back=filemanageroptions</action>
2918 <action function="page">filemanagerchmod</action>
2919 </actions>
2920 </object>
2921
2922 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002923 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002924 <text>Delete</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002925 <actions>
2926 <action function="set">tw_filemanager_command=rm -rf</action>
2927 <action function="set">tw_fm_text1=Deleting</action>
2928 <action function="set">tw_fm_text2=</action>
2929 <action function="set">tw_fm_text3=</action>
2930 <action function="set">tw_include_text3=0</action>
2931 <action function="set">tw_back=filemanageroptions</action>
2932 <action function="page">filemanagerconfirm</action>
2933 </actions>
2934 </object>
2935
2936 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002937 <condition var1="tw_fm_isfolder" var2="0" />
2938 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002939 <text>Rename File</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002940 <actions>
2941 <action function="set">tw_filemanager_rename=tw_selection1</action>
2942 <action function="set">tw_fm_text1=Renaming</action>
2943 <action function="set">tw_filemanager_command=mv</action>
2944 <action function="page">filemanagerrenamefile</action>
2945 </actions>
2946 </object>
2947
2948 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002949 <condition var1="tw_fm_isfolder" var2="1" />
2950 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002951 <text>Rename Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002952 <actions>
2953 <action function="set">tw_filemanager_rename=tw_selection1</action>
2954 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06002955 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; mv</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002956 <action function="page">filemanagerrenamefolder</action>
2957 </actions>
2958 </object>
2959
2960 <object type="action">
2961 <touch key="home" />
2962 <action function="page">main</action>
2963 </object>
2964
2965 <object type="action">
2966 <touch key="back" />
2967 <action function="page">filemanagerlist</action>
2968 </object>
2969
2970 <object type="template" name="footer" />
2971 </page>
2972
2973 <page name="choosedestinationfolder">
2974 <object type="template" name="header" />
2975
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002976 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002977 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06002978 <text>Browse to Destination Folder &amp; Press Select</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002979 </object>
2980
2981 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05002982 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002983 <text>%tw_file_location2%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002984 <background color="%fileselector_background%" />
2985 <filter folders="1" files="0" />
2986 <path name="tw_file_location2" default="/sdcard" />
2987 <data name="tw_filename2" />
2988 </object>
2989
2990 <object type="template" name="sort_options" />
2991
2992 <object type="action">
2993 <touch key="home" />
2994 <action function="page">main</action>
2995 </object>
2996
2997 <object type="action">
2998 <touch key="back" />
2999 <action function="page">filemanageroptions</action>
3000 </object>
3001
3002 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003003 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003004 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003005 <actions>
3006 <action function="set">tw_fm_text2=to</action>
3007 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3008 <action function="set">tw_include_text3=1</action>
3009 <action function="set">tw_back=filemanageroptions</action>
3010 <action function="page">filemanagerconfirm</action>
3011 </actions>
3012 </object>
3013
3014 <object type="template" name="footer" />
3015 </page>
3016
3017 <page name="filemanagerrenamefile">
3018 <object type="template" name="header" />
3019
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003020 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003021 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003022 <font resource="font" color="%text_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003023 <text>Please Enter a New %tw_fm_type% Name</text>
3024 </object>
3025
3026 <object type="input">
3027 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003028 <text>%tw_filemanager_rename%</text>
3029 <data name="tw_filemanager_rename" />
3030 <restrict minlen="1" maxlen="128" />
3031 <actions>
3032 <action function="set">tw_fm_text2=to</action>
3033 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3034 <action function="set">tw_include_text3=1</action>
3035 <action function="set">tw_back=filemanageroptions</action>
3036 <action function="page">filemanagerconfirm</action>
3037 </actions>
3038 </object>
3039
3040 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003041 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003042 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003043 <action function="page">filemanageroptions</action>
3044 </object>
3045
3046 <object type="template" name="keyboardtemplate" />
3047
3048 <object type="action">
3049 <touch key="home" />
3050 <action function="page">main</action>
3051 </object>
3052
3053 <object type="action">
3054 <touch key="back" />
3055 <action function="page">filemanageroptions</action>
3056 </object>
3057
3058 <object type="template" name="footer" />
3059 </page>
3060
3061 <page name="filemanagerrenamefolder">
3062 <object type="template" name="header" />
3063
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003064 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003065 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003066 <text>Please Enter a New %tw_fm_type% Name</text>
3067 </object>
3068
3069 <object type="input">
3070 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003071 <text>%tw_filemanager_rename%</text>
3072 <data name="tw_filemanager_rename" />
3073 <restrict minlen="1" maxlen="128" />
3074 <actions>
3075 <action function="set">tw_fm_text2=to</action>
3076 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3077 <action function="set">tw_include_text3=1</action>
3078 <action function="set">tw_back=filemanageroptions</action>
3079 <action function="page">filemanagerconfirm</action>
3080 </actions>
3081 </object>
3082
3083 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003084 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003085 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003086 <action function="page">filemanageroptions</action>
3087 </object>
3088
3089 <object type="template" name="keyboardtemplate" />
3090
3091 <object type="action">
3092 <touch key="home" />
3093 <action function="page">main</action>
3094 </object>
3095
3096 <object type="action">
3097 <touch key="back" />
3098 <action function="page">filemanageroptions</action>
3099 </object>
3100
3101 <object type="template" name="footer" />
3102 </page>
3103
3104 <page name="filemanagerchmod">
3105 <object type="template" name="header" />
3106
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003107 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003108 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003109 <text>Please Enter New Permissions</text>
3110 </object>
3111
3112 <object type="input">
3113 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003114 <text>%tw_filemanager_rename%</text>
3115 <data name="tw_filemanager_rename" />
3116 <restrict minlen="3" maxlen="4" allow="0123456789" />
3117 <actions>
3118 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3119 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3120 <action function="set">tw_back=filemanageroptions</action>
3121 <action function="page">filemanagerconfirm</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003126 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003127 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003128 <action function="page">filemanageroptions</action>
3129 </object>
3130
3131 <object type="template" name="keyboardtemplate" />
3132
3133 <object type="action">
3134 <touch key="home" />
3135 <action function="page">main</action>
3136 </object>
3137
3138 <object type="action">
3139 <touch key="back" />
3140 <action function="page">filemanageroptions</action>
3141 </object>
3142
3143 <object type="template" name="footer" />
3144 </page>
3145
3146 <page name="filemanagerconfirm">
3147 <object type="template" name="header" />
3148
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003149 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003150 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3151 <text>%tw_fm_text1%</text>
3152 </object>
3153
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003154 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003155 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3156 <text>%tw_filename1%</text>
3157 </object>
3158
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003159 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003160 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3161 <text>%tw_fm_text2%</text>
3162 </object>
3163
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003164 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003165 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3166 <text>%tw_fm_text3%</text>
3167 </object>
3168
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003169 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003170 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3171 <text>Press back button to cancel.</text>
3172 </object>
3173
3174 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05003175 <action function="page">filemanageracction</action>
3176 </object>
3177
Ethan Yonker780cd392014-07-21 15:24:39 -05003178 <object type="action">
3179 <touch key="back" />
3180 <action function="page">%tw_back%</action>
3181 </object>
3182
3183 <object type="action">
3184 <touch key="home" />
3185 <action function="page">main</action>
3186 </object>
3187
3188 <object type="template" name="footer" />
3189 </page>
3190
3191 <page name="filemanageracction">
3192 <object type="template" name="header" />
3193
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003194 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003195 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3196 <text>%tw_fm_text1%</text>
3197 </object>
3198
3199 <object type="template" name="action_page_console" />
3200
3201 <object type="template" name="progress_bar" />
3202
3203 <object type="action">
3204 <conditions>
3205 <condition var1="tw_operation_state" var2="1" />
3206 <condition var1="tw_operation_status" var2="0" />
3207 </conditions>
3208 <actions>
3209 <action function="set">tw_back=filemanagerlist</action>
3210 <action function="set">tw_complete_text1=File Operation Complete</action>
3211 <action function="page">action_complete</action>
3212 </actions>
3213 </object>
3214
3215 <object type="action">
3216 <conditions>
3217 <condition var1="tw_operation_state" var2="1" />
3218 <condition var1="tw_operation_status" op="!=" var2="0" />
3219 </conditions>
3220 <actions>
3221 <action function="set">tw_complete_text1=File Operation Complete</action>
3222 <action function="page">action_complete</action>
3223 </actions>
3224 </object>
3225
3226 <object type="action">
3227 <condition var1="tw_include_text3" var2="0" />
3228 <actions>
3229 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3230 </actions>
3231 </object>
3232
3233 <object type="action">
3234 <condition var1="tw_include_text3" var2="1" />
3235 <actions>
3236 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3237 </actions>
3238 </object>
3239 </page>
3240
3241 <page name="decrypt">
3242 <object type="template" name="header" />
3243
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003244 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003245 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3246 <text>Please Enter Your Password</text>
3247 </object>
3248
3249 <object type="input">
3250 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003251 <text>%tw_crypto_display%</text>
3252 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3253 <restrict minlen="1" maxlen="254" />
3254 <actions>
3255 <action function="page">trydecrypt</action>
3256 </actions>
3257 </object>
3258
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003259 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003260 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003261 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003262 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3263 <text>Password Failed, Please Try Again</text>
3264 </object>
3265
3266 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003267 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003268 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003269 <actions>
3270 <action function="set">tw_page_done=1</action>
3271 <action function="page">main</action>
3272 </actions>
3273 </object>
3274
3275 <object type="template" name="keyboardtemplate" />
3276
3277 <object type="template" name="footer" />
3278 </page>
3279
3280 <page name="trydecrypt">
3281 <object type="template" name="header" />
3282
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003283 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003284 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3285 <text>Trying Decryption with Your Password</text>
3286 </object>
3287
3288 <object type="template" name="action_page_console" />
3289
3290 <object type="template" name="progress_bar" />
3291
3292 <object type="action">
3293 <action function="decrypt"></action>
3294 </object>
3295
3296 <object type="action">
3297 <conditions>
3298 <condition var1="tw_operation_state" var2="1" />
3299 <condition var1="tw_operation_status" op="!=" var2="0" />
3300 </conditions>
3301 <actions>
3302 <action function="set">tw_password_fail=1</action>
3303 <action function="page">decrypt</action>
3304 </actions>
3305 </object>
3306
3307 <object type="action">
3308 <conditions>
3309 <condition var1="tw_operation_state" var2="1" />
3310 <condition var1="tw_operation_status" op="=" var2="0" />
3311 </conditions>
3312 <actions>
3313 <action function="set">tw_page_done=1</action>
3314 <action function="page">main</action>
3315 </actions>
3316 </object>
3317 </page>
3318
3319 <page name="terminalfolder">
3320 <object type="template" name="header" />
3321
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003322 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003323 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3324 <text>Browse to Starting Folder</text>
3325 </object>
3326
3327 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05003328 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003329 <text>%tw_terminal_location%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003330 <filter folders="1" files="0" />
3331 <path name="tw_terminal_location" default="/" />
3332 <data name="tw_terminal" />
3333 <selection name="tw_terminal_selection" />
3334 </object>
3335
3336 <object type="template" name="sort_options" />
3337
3338 <object type="action">
3339 <touch key="home" />
3340 <action function="page">main</action>
3341 </object>
3342
3343 <object type="action">
3344 <touch key="back" />
3345 <action function="page">advanced</action>
3346 </object>
3347
3348 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003349 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003350 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003351 <actions>
3352 <action function="page">terminalcommand</action>
3353 </actions>
3354 </object>
3355
3356 <object type="template" name="footer" />
3357 </page>
3358
3359 <page name="terminalcommand">
3360 <background color="#000000FF" />
3361
3362 <object type="console">
3363 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003364 </object>
3365
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003366 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003367 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003368 <text>Starting Path: %tw_terminal_location%</text>
3369 </object>
3370
3371 <object type="input">
3372 <condition var1="tw_terminal_state" var2="0" />
3373 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003374 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003375 <font resource="fixed" color="%text_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003376 <data name="tw_terminal_command" />
3377 <restrict minlen="1" />
3378 <action function="terminalcommand">%tw_terminal_command%</action>
3379 </object>
3380
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003381 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05003382 <condition var1="tw_terminal_state" var2="1" />
3383 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003384 <text>KILL</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003385 <action function="killterminal"></action>
3386 </object>
3387
3388 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003389 <placement x="%home_button_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003390 <text></text>
3391 <image resource="home_icon" />
3392 <condition var1="tw_busy" var2="0" />
3393 <action function="key">home</action>
3394 </object>
3395
3396 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003397 <placement x="%back_button_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003398 <text></text>
3399 <image resource="back_icon" />
3400 <condition var1="tw_busy" var2="0" />
3401 <action function="key">back</action>
3402 </object>
3403
3404 <object type="action">
3405 <touch key="power" />
3406 <action function="overlay">lock</action>
3407 </object>
3408
3409 <object type="action">
3410 <touch key="power+voldown" />
3411 <action function="screenshot" />
3412 </object>
3413
3414 <object type="template" name="keyboardtemplate" />
3415
3416 <object type="action">
3417 <touch key="home" />
3418 <action function="page">main</action>
3419 </object>
3420
3421 <object type="action">
3422 <touch key="back" />
3423 <action function="page">terminalfolder</action>
3424 </object>
3425 </page>
3426
3427 <page name="sideload">
3428 <object type="template" name="header" />
3429
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003430 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003431 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3432 <text>ADB Sideload</text>
3433 </object>
3434
3435 <object type="checkbox">
3436 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003437 <text>Wipe Dalvik Cache.</text>
3438 <data variable="tw_wipe_dalvik" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003439 </object>
3440
3441 <object type="checkbox">
3442 <placement x="%col1_x%" y="%row4_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003443 <text>Wipe Cache.</text>
3444 <data variable="tw_wipe_cache" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003445 </object>
3446
3447 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003448 <text>Swipe to Start Sideload</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003449 <actions>
3450 <action function="set">tw_back=advanced</action>
3451 <action function="set">tw_action=adbsideload</action>
3452 <action function="set">tw_action_text1=ADB Sideload</action>
3453 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3454 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3455 <action function="set">tw_has_cancel=1</action>
3456 <action function="set">tw_show_reboot=1</action>
3457 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3458 <action function="page">action_page</action>
3459 </actions>
3460 </object>
3461
Ethan Yonker780cd392014-07-21 15:24:39 -05003462 <object type="action">
3463 <touch key="home" />
3464 <action function="page">main</action>
3465 </object>
3466
3467 <object type="action">
3468 <touch key="back" />
3469 <action function="page">advanced</action>
3470 </object>
3471
3472 <object type="template" name="footer" />
3473 </page>
3474
thata3d31fb2014-12-21 22:27:40 +01003475 <page name="fixperms">
3476 <object type="template" name="header" />
3477
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003478 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003479 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3480 <text>Fix Permissions</text>
3481 </object>
3482
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003483 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003484 <placement x="%col2_x%" y="%row2_text_y%" />
3485 <text>Note: Fixing permissions is rarely needed.</text>
3486 </object>
3487
3488 <object type="checkbox">
3489 <placement x="%col2_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003490 <text>Also fix SELinux contexts</text>
3491 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003492 </object>
3493
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003494 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003495 <placement x="%col2_x%" y="%row4_text_y%" />
3496 <text>Fixing SELinux contexts may cause your device to not boot properly.</text>
3497 </object>
3498
3499 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003500 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003501 <actions>
3502 <action function="set">tw_back=advanced</action>
3503 <action function="set">tw_action=fixpermissions</action>
3504 <action function="set">tw_action_text1=Fixing Permissions...</action>
3505 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3506 <action function="set">tw_slider_text=Swipe to Confirm</action>
3507 <action function="set">tw_show_reboot=1</action>
3508 <action function="page">action_page</action>
3509 </actions>
3510 </object>
3511
thata3d31fb2014-12-21 22:27:40 +01003512 <object type="action">
3513 <touch key="home" />
3514 <action function="page">main</action>
3515 </object>
3516
3517 <object type="action">
3518 <touch key="back" />
3519 <action function="page">advanced</action>
3520 </object>
3521
3522 <object type="template" name="footer" />
3523 </page>
3524
Ethan Yonker780cd392014-07-21 15:24:39 -05003525 <page name="installsu">
3526 <object type="template" name="header" />
3527
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003528 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003529 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3530 <text>Install SuperSU?</text>
3531 </object>
3532
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003533 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003534 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3535 <text>Your device does not appear to be rooted.</text>
3536 </object>
3537
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003538 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003539 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3540 <text>Install SuperSU now? This will root your device.</text>
3541 </object>
3542
3543 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003544 <placement x="%col_center_x%" y="%row2_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003545 <text>Do Not Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003546 <action function="set">tw_page_done=1</action>
3547 </object>
3548
3549 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003550 <text>Swipe to Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003551 <actions>
3552 <action function="set">tw_action=installsu</action>
3553 <action function="set">tw_action_text1=Installing SuperSU</action>
3554 <action function="set">tw_action_text2=</action>
3555 <action function="page">singleaction_page</action>
3556 </actions>
3557 </object>
Ethan Yonker780cd392014-07-21 15:24:39 -05003558 </page>
3559 </pages>
3560</recovery>