blob: 7fae5f3d7da94bbdc07e58a1122d16fc7b1bb2f4 [file] [log] [blame]
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001<?xml version="1.0"?>
2
3<recovery>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06004 <styles>
5 <style name="buttontext">
6 <highlight color="%highlight_color%" />
7 <font resource="font" color="%button_text_color%" />
8 </style>
9
10 <style name="button">
11 <style name="buttontext" />
12 <image resource="main_button" />
13 </style>
14
15 <style name="mediumbutton">
16 <style name="buttontext" />
17 <image resource="medium_button" />
18 </style>
19
20 <style name="fillbutton">
21 <style name="buttontext" />
22 <fill color="%button_fill_color%" />
23 </style>
24
25 <style name="rebootsystem">
26 <condition var1="tw_reboot_system" var2="1" />
27 <style name="button" />
28 <text>Reboot System</text>
29 <actions>
30 <action function="set">tw_back=main2</action>
31 <action function="set">tw_action=reboot</action>
32 <action function="set">tw_action_param=system</action>
33 <action function="set">tw_has_action2=0</action>
34 <action function="set">tw_text1=No OS Installed! Are you</action>
35 <action function="set">tw_text2=sure you wish to reboot?</action>
36 <action function="set">tw_text3=</action>
37 <action function="set">tw_text4=</action>
38 <action function="set">tw_action_text1=Rebooting...</action>
39 <action function="set">tw_action_text2=</action>
40 <action function="set">tw_complete_text1=Rebooting...</action>
41 <action function="set">tw_slider_text=Swipe to Reboot</action>
42 <action function="page">rebootcheck</action>
43 </actions>
44 </style>
45
46 <style name="scrolllist">
47 <highlight color="%fileselector_highlight_color%" />
48 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
49 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
50 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
51 <background color="%fileselector_background%" />
52 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
53 </style>
54
55 <style name="fileselector">
56 <style name="scrolllist" />
57 <icon folder="folder_icon" file="file_icon" />
58 <sort name="tw_gui_sort_order" />
59 </style>
60
61 <style name="partitionlist">
62 <style name="scrolllist" />
63 <icon selected="checkbox_true" unselected="checkbox_false" />
64 </style>
65
66 <style name="text">
67 <font resource="font" color="%text_color%" />
68 </style>
69
70 <style name="checkbox">
71 <font resource="font" color="%text_color%" />
72 <image checked="checkbox_true" unchecked="checkbox_false" />
73 </style>
74
75 <style name="slider">
76 <text>Swipe to Confirm</text>
77 <font resource="font" color="%text_color%" />
Ethan Yonker591b9202015-03-11 11:17:15 -050078 <placement x="%center_x%" y="%slider_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -060079 <resource base="slider" used="slider-used" touch="slider-touch" />
80 </style>
81
82 <style name="console">
83 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
84 <font resource="fixed" />
that8d46c092015-02-26 01:30:04 +010085 <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 -060086 </style>
87
88 <style name="input">
89 <background color="%input_background_color%" />
90 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
91 <font resource="font" color="%text_color%" />
92 </style>
93
94 <style name="slidervalue">
95 <font resource="font" color="%text_color%" />
96 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
97 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
98 </style>
99 </styles>
100
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500101 <pages>
102 <page name="main">
103 <object type="action">
104 <actions>
105 <action function="set">tw_clear_destination=main2</action>
106 <action function="page">clear_vars</action>
107 </actions>
108 </object>
109 </page>
110
111 <page name="main2">
112 <object type="template" name="twrpheader" />
113
114 <object type="template" name="header" />
115
116 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500117 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500118 <text>Install</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600119 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500120 </object>
121
122 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500123 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500124 <text>Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500125 <action function="page">wipe</action>
126 </object>
127
128 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500129 <placement x="%col1_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500130 <text>Backup</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500131 <action function="page">backup</action>
132 </object>
133
134 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500135 <placement x="%col2_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500136 <text>Restore</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500137 <action function="page">restore</action>
138 </object>
139
140 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500141 <placement x="%col1_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500142 <text>Mount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500143 <action function="page">mount</action>
144 </object>
145
146 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500147 <placement x="%col2_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500148 <text>Settings</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500149 <action function="page">settings</action>
150 </object>
151
152
153 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500154 <placement x="%col1_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500155 <text>Advanced</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500156 <action function="page">advanced</action>
157 </object>
158
159 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500160 <placement x="%col2_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500161 <text>Reboot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500162 <action function="page">reboot</action>
163 </object>
164
165 <object type="template" name="footer" />
166 </page>
167
Ethan Yonker96af84a2015-01-05 14:58:36 -0600168 <page name="install_select">
169 <object type="template" name="twrpheader" />
170
171 <object type="template" name="header" />
172
173 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600174 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600175 <text>Install Zips</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600176 <actions>
177 <action function="queueclear"></action>
178 <action function="page">install</action>
179 </actions>
180 </object>
181
182 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600183 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600184 <text>Install Images</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600185 <action function="page">install_image</action>
186 </object>
187
188 <object type="action">
189 <touch key="back" />
190 <action function="page">main</action>
191 </object>
192
193 <object type="action">
194 <touch key="home" />
195 <action function="page">main</action>
196 </object>
197
198 <object type="template" name="footer" />
199 </page>
200
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500201 <page name="install">
202 <object type="template" name="header" />
203
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600204 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
206 <text>Select Zip to Install</text>
207 </object>
208
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600209 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500210 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500211 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
212 <actions>
213 <action function="set">tw_back=install</action>
214 <action function="page">selectstorage</action>
215 </actions>
216 </object>
217
218 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500219 <placement x="%fileselector_x%" y="%fileselector_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500220 <text>%tw_zip_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500221 <filter extn=".zip" folders="1" files="1" />
222 <path name="tw_zip_location" default="/sdcard" />
223 <data name="tw_filename" />
224 <selection name="tw_file" />
225 </object>
226
227 <object type="template" name="sort_options" />
228
229 <object type="action">
230 <condition var1="tw_filename" op="modified" />
231 <actions>
232 <action function="queuezip"></action>
233 <action function="page">flash_confirm</action>
234 </actions>
235 </object>
236
237 <object type="action">
238 <touch key="back" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600239 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500240 </object>
241
242 <object type="action">
243 <touch key="home" />
244 <action function="page">main</action>
245 </object>
246
247 <object type="template" name="footer" />
248 </page>
249
250 <page name="flash_confirm">
251 <object type="template" name="header" />
252
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600253 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500254 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
255 <text>This operation may install incompatible</text>
256 </object>
257
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600258 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500259 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
260 <text>software and render your device unusable.</text>
261 </object>
262
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600263 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500264 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
265 <text>Folder and File:</text>
266 </object>
267
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600268 <object type="text">
269 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500270 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
271 <text>%tw_zip_location%</text>
272 </object>
273
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600274 <object type="text">
275 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500276 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
277 <text>%tw_file%</text>
278 </object>
279
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600280 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500281 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
282 <text>Press back to cancel adding this zip.</text>
283 </object>
284
285 <object type="checkbox">
286 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500287 <text>Zip file signature verification.</text>
288 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500289 </object>
290
291 <object type="checkbox">
292 <condition var1="tw_has_injecttwrp" var2="1" />
293 <placement x="%col1_x%" y="%row7_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500294 <text>Inject TWRP after install.</text>
295 <data variable="tw_inject_after_zip" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500296 </object>
297
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600298 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500299 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
300 <text>File %tw_zip_queue_count% of max of 10</text>
301 </object>
302
303 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600304 <text>Swipe to Confirm Flash</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500305 <action function="flash">flash_zip</action>
306 </object>
307
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500308 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500309 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
310 <placement x="%col1_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500311 <text>Add More Zips</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500312 <action function="page">install</action>
313 </object>
314
315 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500316 <placement x="%col2_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500317 <text>Clear Zip Queue</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500318 <actions>
319 <action function="queueclear"></action>
320 <action function="page">install</action>
321 </actions>
322 </object>
323
324 <object type="action">
325 <touch key="back" />
326 <actions>
327 <action function="cancelzip"></action>
328 <action function="page">install</action>
329 </actions>
330 </object>
331
332 <object type="action">
333 <touch key="home" />
334 <action function="page">main</action>
335 </object>
336 </page>
337
338 <page name="flash_zip">
339 <object type="template" name="header" />
340
341 <object type="console">
342 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500343 </object>
344
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600345 <object type="text">
346 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500347 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
348 </object>
349
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600350 <object type="text">
351 <font resource="mediumfont" color="%text_color%"/>
352 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500353 <text>%tw_filename%</text>
354 </object>
355
356 <object type="template" name="progress_bar" />
357
358 <object type="action">
359 <condition var1="tw_operation_state" var2="1" />
360 <action function="page">flash_done</action>
361 </object>
362 </page>
363
364 <page name="flash_done">
365 <object type="template" name="header" />
366
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600367 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500368 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
369 <text>Zip Install Complete</text>
370 </object>
371
372 <object type="console">
373 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500374 </object>
375
376 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500377 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500378 <text>Wipe cache/dalvik</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500379 <actions>
380 <action function="set">tw_back=flash_done</action>
381 <action function="set">tw_action=wipe</action>
382 <action function="set">tw_action_param=/cache</action>
383 <action function="set">tw_has_action2=1</action>
384 <action function="set">tw_action2=wipe</action>
385 <action function="set">tw_action2_param=dalvik</action>
Matt Mower82931532015-02-27 14:19:59 -0600386 <action function="set">tw_text1=Wipe Cache &amp; Dalvik?</action>
387 <action function="set">tw_action_text1=Wiping Cache &amp; Dalvik...</action>
388 <action function="set">tw_complete_text1=Cache &amp; Dalvik Wipe Complete</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500389 <action function="set">tw_slider_text=Swipe to Wipe</action>
390 <action function="page">confirm_action</action>
391 </actions>
392 </object>
393
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600394 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500395 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500396 </object>
397
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600398 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500399 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600400 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500401 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
402 <text>Failed</text>
403 </object>
404
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600405 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500406 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600407 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500408 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
409 <text>Successful</text>
410 </object>
411
412 <object type="action">
413 <touch key="back" />
414 <actions>
415 <action function="set">tw_clear_destination=install</action>
416 <action function="page">clear_vars</action>
417 </actions>
418 </object>
419
420 <object type="action">
421 <touch key="home" />
422 <actions>
423 <action function="set">tw_clear_destination=main2</action>
424 <action function="page">clear_vars</action>
425 </actions>
426 </object>
427 </page>
428
Ethan Yonker96af84a2015-01-05 14:58:36 -0600429 <page name="install_image">
430 <object type="template" name="header" />
431
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600432 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600433 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
434 <text>Select Image to Install</text>
435 </object>
436
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600437 <object type="button" style="fillbutton">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600438 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600439 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
440 <actions>
441 <action function="set">tw_back=install_image</action>
442 <action function="page">selectstorage</action>
443 </actions>
444 </object>
445
446 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600447 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600448 <text>%tw_zip_location%</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600449 <filter extn=".img" folders="1" files="1" />
450 <path name="tw_zip_location" default="/sdcard" />
451 <data name="tw_filename" />
452 <selection name="tw_file" />
453 </object>
454
455 <object type="template" name="sort_options" />
456
457 <object type="action">
458 <condition var1="tw_filename" op="modified" />
459 <action function="page">flashimage_confirm</action>
460 </object>
461
462 <object type="action">
463 <touch key="back" />
464 <action function="page">install_select</action>
465 </object>
466
467 <object type="action">
468 <touch key="home" />
469 <action function="page">main</action>
470 </object>
471
472 <object type="template" name="footer" />
473 </page>
474
475 <page name="flashimage_confirm">
476 <object type="template" name="header" />
477
478 <object type="partitionlist">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600479 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%flash_list_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600480 <text>Select Partition to Flash Image:</text>
481 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600482 <data name="tw_flash_partition" />
483 <listtype name="flashimg" />
484 </object>
485
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600486 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600487 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
488 <text>Folder:</text>
489 </object>
490
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600491 <object type="text">
492 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600493 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
494 <text>%tw_zip_location%</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="%row10_text_y%" placement="5" />
499 <text>File to flash:</text>
500 </object>
501
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600502 <object type="text" >
503 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600504 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
505 <text>%tw_file%</text>
506 </object>
507
508 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600509 <text>Swipe to Confirm Flash</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600510 <actions>
511 <action function="set">tw_back=flashimage_confirm</action>
512 <action function="set">tw_action=flashimage</action>
513 <action function="set">tw_has_action2=0</action>
514 <action function="set">tw_action_text1=Flashing Image...</action>
515 <action function="set">tw_action_text2=</action>
516 <action function="set">tw_complete_text1=Image Flashed</action>
517 <action function="page">action_page</action>
518 </actions>
519 <action function="flashimage"></action>
520 </object>
521
Ethan Yonker96af84a2015-01-05 14:58:36 -0600522 <object type="action">
523 <touch key="back" />
524 <actions>
525 <action function="set">tw_clear_destination=install_image</action>
526 <action function="page">clear_vars</action>
527 </actions>
528 </object>
529
530 <object type="action">
531 <touch key="home" />
532 <actions>
533 <action function="set">tw_clear_destination=main2</action>
534 <action function="page">clear_vars</action>
535 </actions>
536 </object>
537 </page>
538
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500539 <page name="clear_vars">
540 <object type="action">
541 <action function="set">tw_operation_state=0</action>
542 <action function="set">tw_text1=</action>
543 <action function="set">tw_text2=</action>
544 <action function="set">tw_text3=</action>
545 <action function="set">tw_text4=</action>
546 <action function="set">tw_action_text1=</action>
547 <action function="set">tw_action_text2=</action>
548 <action function="set">tw_action_param=</action>
549 <action function="set">tw_has_action2=0</action>
550 <action function="set">tw_action2=</action>
551 <action function="set">tw_action2_param=</action>
552 <action function="set">tw_has_cancel=0</action>
553 <action function="set">tw_cancel_action=</action>
554 <action function="set">tw_cancel_param=</action>
555 <action function="set">tw_show_exclamation=0</action>
556 <action function="set">tw_show_reboot=0</action>
557 <action function="page">%tw_clear_destination%</action>
558 </object>
559 </page>
560
561 <page name="confirm_action">
562 <object type="template" name="header" />
563
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600564 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>%tw_text1%</text>
567 </object>
568
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600569 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500570 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
571 <text>%tw_text2%</text>
572 </object>
573
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600574 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500575 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
576 <text>%tw_text3%</text>
577 </object>
578
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600579 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500580 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
581 <text>%tw_text4%</text>
582 </object>
583
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600584 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500585 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
586 <text>Press back button to cancel.</text>
587 </object>
588
589 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500590 <text>%tw_slider_text%</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600591 <action function="page">action_page</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500592 </object>
593
594 <object type="action">
595 <touch key="back" />
596 <actions>
597 <action function="set">tw_clear_destination=%tw_back%</action>
598 <action function="page">clear_vars</action>
599 </actions>
600 </object>
601
602 <object type="action">
603 <touch key="home" />
604 <action function="page">main</action>
605 </object>
606 </page>
607
608 <page name="action_page">
609 <object type="template" name="header" />
610
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600611 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500612 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
613 <text>%tw_action_text1%</text>
614 </object>
615
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600616 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500617 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
618 <text>%tw_action_text2%</text>
619 </object>
620
621 <object type="template" name="action_page_console" />
622
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600623 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500624 <condition var1="tw_has_cancel" var2="1" />
625 <placement x="%col_center_medium_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500626 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500627 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
628 </object>
629
630 <object type="template" name="progress_bar" />
631
632 <object type="action">
633 <condition var1="tw_operation_state" var2="1" />
634 <actions>
635 <action function="page">action_complete</action>
636 </actions>
637 </object>
638
639 <object type="action">
640 <condition var1="tw_has_action2" var2="0" />
641 <actions>
642 <action function="%tw_action%">%tw_action_param%</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <condition var1="tw_has_action2" var2="1" />
648 <actions>
649 <action function="%tw_action%">%tw_action_param%</action>
650 <action function="%tw_action2%">%tw_action2_param%</action>
651 </actions>
652 </object>
653 </page>
654
655 <page name="singleaction_page">
656 <object type="template" name="header" />
657
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600658 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500659 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
660 <text>%tw_action_text1%</text>
661 </object>
662
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600663 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500664 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
665 <text>%tw_action_text2%</text>
666 </object>
667
668 <object type="template" name="action_page_console" />
669
670 <object type="template" name="progress_bar" />
671
672 <object type="action">
673 <condition var1="tw_operation_state" var2="1" />
674 <actions>
675 <action function="set">tw_page_done=1</action>
676 </actions>
677 </object>
678
679 <object type="action">
680 <condition var1="tw_has_action2" var2="0" />
681 <actions>
682 <action function="%tw_action%">%tw_action_param%</action>
683 </actions>
684 </object>
685
686 <object type="action">
687 <condition var1="tw_has_action2" var2="1" />
688 <actions>
689 <action function="%tw_action%">%tw_action_param%</action>
690 <action function="%tw_action2%">%tw_action2_param%</action>
691 </actions>
692 </object>
693 </page>
694
695 <page name="action_complete">
696 <object type="template" name="header" />
697
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600698 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500699 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
700 <text>%tw_complete_text1%</text>
701 </object>
702
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600703 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500704 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600705 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500706 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
707 <text>Failed</text>
708 </object>
709
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600710 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500711 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600712 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500713 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
714 <text>Successful</text>
715 </object>
716
717 <object type="template" name="action_page_console" />
718
719 <object type="action">
720 <touch key="home" />
721 <actions>
722 <action function="set">tw_clear_destination=main2</action>
723 <action function="page">clear_vars</action>
724 </actions>
725 </object>
726
727 <object type="action">
728 <touch key="back" />
729 <actions>
730 <action function="set">tw_clear_destination=%tw_back%</action>
731 <action function="page">clear_vars</action>
732 </actions>
733 </object>
734 </page>
735
736 <page name="filecheck">
737 <object type="action">
738 <action function="fileexists">%tw_filecheck%</action>
739 </object>
740
741 <object type="action">
742 <conditions>
743 <condition var1="tw_operation_state" var2="1" />
744 <condition var1="tw_operation_status" var2="0" />
745 </conditions>
746 <actions>
747 <action function="set">tw_fileexists=1</action>
748 <action function="page">%tw_existpage%</action>
749 </actions>
750 </object>
751
752 <object type="action">
753 <conditions>
754 <condition var1="tw_operation_state" var2="1" />
755 <condition var1="tw_operation_status" var2="1" />
756 </conditions>
757 <actions>
758 <action function="set">tw_fileexists=0</action>
759 <action function="page">%tw_notexistpage%</action>
760 </actions>
761 </object>
762 </page>
763
764 <page name="rebootcheck">
765 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600766 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500767 <action function="reboot">%tw_action_param%</action>
768 </object>
769
770 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600771 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500772 <action function="page">confirm_action</action>
773 </object>
774 </page>
775
776 <page name="wipe">
777 <object type="template" name="header" />
778
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600779 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500780 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
781 <text>Factory Reset</text>
782 </object>
783
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600784 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500785 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
786 <text>Wipes Data, Cache, and Dalvik</text>
787 </object>
788
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600789 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500790 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500791 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
792 <text>(not including internal storage)</text>
793 </object>
794
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600795 <object type="text">
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400796 <conditions>
797 <condition var1="tw_has_android_secure" var2="1" />
798 <condition var1="fileexists" var2="/and-sec" />
799 </conditions>
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400800 <placement x="%col2_x%" y="%row4_text_y%" placement="1" />
801 <text>Android Secure </text>
802 </object>
803
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600804 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500805 <condition var1="tw_has_sdext_partition" var2="1" />
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400806 <placement x="%col2_x%" y="%row4_text_y%" />
807 <text> SD-EXT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500808 </object>
809
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600810 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500811 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
812 <text>Most of the time this is</text>
813 </object>
814
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600815 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500816 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
817 <text>the only wipe that you need.</text>
818 </object>
819
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600820 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500821 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
822 <text>Press back button to cancel.</text>
823 </object>
824
825 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500826 <placement x="%col1_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500827 <text>Advanced Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500828 <actions>
829 <action function="set">partitionlisterror=0</action>
830 <action function="page">advancedwipe</action>
831 </actions>
832 </object>
833
834 <object type="button">
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600835 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500836 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500837 <text>Format Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500838 <actions>
839 <action function="page">formatdata</action>
840 </actions>
841 </object>
842
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600843 <object type="button">
844 <conditions>
845 <condition var1="tw_is_encrypted" var2="1" />
846 <condition var1="tw_has_data_media" var2="0" />
847 </conditions>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600848 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600849 <text>Wipe Encryption</text>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600850 <actions>
851 <action function="set">tw_back=wipe</action>
852 <action function="set">tw_action=wipe</action>
853 <action function="set">tw_action_param=DATAMEDIA</action>
854 <action function="set">tw_has_action2=0</action>
855 <action function="set">tw_text1=Wipe Encryption from Data?</action>
856 <action function="set">tw_text2=</action>
857 <action function="set">tw_action_text1=Formatting Data...</action>
858 <action function="set">tw_complete_text1=Data Format Complete</action>
859 <action function="set">tw_slider_text=Swipe to Format Data</action>
860 <action function="page">confirm_action</action>
861 </actions>
862 </object>
863
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500864 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600865 <text>Swipe to Factory Reset</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500866 <actions>
867 <action function="set">tw_back=wipe</action>
868 <action function="set">tw_action=wipe</action>
869 <action function="set">tw_action_param=data</action>
870 <action function="set">tw_action_text1=Factory Reset...</action>
871 <action function="set">tw_complete_text1=Factory Reset Complete</action>
872 <action function="page">action_page</action>
873 </actions>
874 </object>
875
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500876 <object type="action">
877 <touch key="back" />
878 <action function="page">main</action>
879 </object>
880
881 <object type="action">
882 <touch key="home" />
883 <action function="page">main</action>
884 </object>
885 </page>
886
887 <page name="advancedwipe">
888 <object type="template" name="header" />
889
890 <object type="action">
891 <action function="set">tw_wipe_list=</action>
892 </object>
893
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600894 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500895 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
896 <text>Wipe Menu</text>
897 </object>
898
899 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500900 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500901 <text>Select Partitions to Wipe:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500902 <data name="tw_wipe_list" />
903 <listtype name="wipe" />
904 </object>
905
906 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600907 <text>Swipe to Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500908 <actions>
909 <action function="set">tw_back=advancedwipe</action>
910 <action function="set">tw_action=wipe</action>
911 <action function="set">tw_action_param=LIST</action>
912 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
913 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
914 <action function="set">tw_complete_text1=Wipe Complete</action>
915 <action function="page">action_page</action>
916 </actions>
917 </object>
918
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600919 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -0600920 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500921 <text>Repair or Change File System</text>
922 <actions>
923 <action function="checkpartitionlist"></action>
924 <action function="page">checkpartitionlist</action>
925 </actions>
926 </object>
927
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600928 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500929 <condition var1="partitionlisterror" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600930 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500931 <placement x="%center_x%" y="%invalid_partition_y%" placement="5" />
932 <text>Invalid partition selection</text>
933 </object>
934
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500935 <object type="action">
936 <touch key="home" />
937 <action function="page">main</action>
938 </object>
939
940 <object type="action">
941 <touch key="back" />
942 <action function="page">wipe</action>
943 </object>
944 </page>
945
946 <page name="formatdata">
947 <object type="template" name="header" />
948
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600949 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500950 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
951 <text>Format Data will wipe all of your apps,</text>
952 </object>
953
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600954 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500955 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
956 <text>backups, pictures, videos, media, and</text>
957 </object>
958
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600959 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500960 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
961 <text>removes encryption on internal storage.</text>
962 </object>
963
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600964 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500965 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
966 <text>This cannot be undone. Press back to cancel.</text>
967 </object>
968
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600969 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500970 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
971 <text>Type yes to continue.</text>
972 </object>
973
974 <object type="input">
975 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500976 <text>%tw_confirm_formatdata%</text>
977 <data name="tw_confirm_formatdata" />
978 <restrict minlen="3" maxlen="3" allow="yes" />
979 <action function="page">formatdata_confirm</action>
980 </object>
981
982 <object type="template" name="keyboardtemplate" />
983
984 <object type="action">
985 <touch key="home" />
986 <action function="page">main</action>
987 </object>
988
989 <object type="action">
990 <touch key="back" />
991 <action function="page">wipe</action>
992 </object>
993
994 <object type="template" name="footer" />
995 </page>
996
997 <page name="formatdata_confirm">
998 <object type="action">
999 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1000 <actions>
1001 <action function="set">tw_back=formatdata</action>
1002 <action function="set">tw_action=wipe</action>
1003 <action function="set">tw_action_param=DATAMEDIA</action>
1004 <action function="set">tw_action_text1=Formatting Data...</action>
1005 <action function="set">tw_complete_text1=Data Format Complete</action>
1006 <action function="page">action_page</action>
1007 </actions>
1008 </object>
1009
1010 <object type="action">
1011 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
Matt Mower82931532015-02-27 14:19:59 -06001012 <action function="page">formatdata</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001013 </object>
1014 </page>
1015
1016 <page name="checkpartitionlist">
1017 <object type="action">
1018 <condition var1="tw_check_partition_list" op="=" var2="1" />
1019 <actions>
1020 <action function="set">partitionlisterror=0</action>
1021 <action function="getpartitiondetails"></action>
1022 <action function="page">partitionoptions</action>
1023 </actions>
1024 </object>
1025
1026 <object type="action">
1027 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1028 <actions>
1029 <action function="set">partitionlisterror=1</action>
1030 <action function="set">tw_wipe_list=</action>
1031 <action function="page">advancedwipe</action>
1032 </actions>
1033 </object>
1034 </page>
1035
1036 <page name="partitionoptions">
1037 <object type="template" name="header" />
1038
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001039 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001040 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1041 <text>Partition Options for: %tw_partition_name%</text>
1042 </object>
1043
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001044 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001045 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1046 <text>Mount Point: %tw_partition_mount_point%</text>
1047 </object>
1048
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001049 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001050 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1051 <text>Current file system: %tw_partition_file_system%</text>
1052 </object>
1053
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001054 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001055 <condition var1="tw_partition_is_present" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001056 <placement x="%col1_x%" y="%row3_text_y%" />
1057 <text>Present: Yes</text>
1058 </object>
1059
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001060 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001061 <condition var1="tw_partition_is_present" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001062 <placement x="%col1_x%" y="%row3_text_y%" />
1063 <text>Present: No</text>
1064 </object>
1065
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001066 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001067 <condition var1="tw_partition_removable" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001068 <placement x="%col2_x%" y="%row3_text_y%" />
1069 <text>Removable: Yes</text>
1070 </object>
1071
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001072 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001073 <condition var1="tw_partition_removable" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001074 <placement x="%col2_x%" y="%row3_text_y%" />
1075 <text>Removable: No</text>
1076 </object>
1077
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001078 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001079 <placement x="%col1_x%" y="%row4_text_y%" />
1080 <text>Size: %tw_partition_size%MB</text>
1081 </object>
1082
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001083 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001084 <placement x="%col2_x%" y="%row4_text_y%" />
1085 <text>Used: %tw_partition_used%MB</text>
1086 </object>
1087
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001088 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001089 <placement x="%col1_x%" y="%row5_text_y%" />
1090 <text>Free: %tw_partition_free%MB</text>
1091 </object>
1092
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001093 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001094 <placement x="%col2_x%" y="%row5_text_y%" />
1095 <text>Backup Size: %tw_partition_backup_size%MB</text>
1096 </object>
1097
1098 <object type="button">
Ethan Yonkera2719152015-05-28 09:44:41 -05001099 <condition var1="tw_partition_can_resize" op="=" var2="1" />
1100 <placement x="%col1_x%" y="%row3_y%" />
1101 <text>Resize</text>
1102 <actions>
1103 <action function="set">tw_back=partitionoptions</action>
1104 <action function="set">tw_action=resize</action>
1105 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1106 <action function="set">tw_has_action2=1</action>
1107 <action function="set">tw_action2=getpartitiondetails</action>
1108 <action function="set">tw_text1=Resize %tw_partition_name%?</action>
1109 <action function="set">tw_text2=</action>
1110 <action function="set">tw_action_text1=Resizing...</action>
1111 <action function="set">tw_complete_text1=Resize Complete</action>
1112 <action function="set">tw_slider_text=Swipe to Resize</action>
1113 <action function="page">confirm_action</action>
1114 </actions>
1115 </object>
1116
1117 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001118 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001119 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001120 <text>Repair</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001121 <actions>
1122 <action function="set">tw_back=partitionoptions</action>
1123 <action function="set">tw_action=repair</action>
1124 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1125 <action function="set">tw_has_action2=0</action>
1126 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1127 <action function="set">tw_text2=</action>
1128 <action function="set">tw_action_text1=Repairing...</action>
1129 <action function="set">tw_complete_text1=Repair Complete</action>
1130 <action function="set">tw_slider_text=Swipe to Repair</action>
1131 <action function="page">confirm_action</action>
1132 </actions>
1133 </object>
1134
1135 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001136 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001137 <text>Change File Sys</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001138 <action function="page">selectfilesystem</action>
1139 </object>
1140
1141 <object type="action">
1142 <touch key="home" />
1143 <action function="page">main</action>
1144 </object>
1145
1146 <object type="action">
1147 <touch key="back" />
1148 <action function="page">advancedwipe</action>
1149 </object>
1150
1151 <object type="template" name="footer" />
1152 </page>
1153
Dees Troy298c4382014-09-03 14:42:26 +00001154 <page name="refreshfilesystem">
1155 <object type="action">
1156 <condition var1="tw_check_partition_list" op="=" var2="1" />
1157 <actions>
1158 <action function="set">partitionlisterror=0</action>
1159 <action function="getpartitiondetails"></action>
1160 <action function="page">selectfilesystem</action>
1161 </actions>
1162 </object>
1163
1164 <object type="action">
1165 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1166 <actions>
1167 <action function="set">partitionlisterror=1</action>
1168 <action function="set">tw_wipe_list=</action>
1169 <action function="page">advancedwipe</action>
1170 </actions>
1171 </object>
1172 </page>
1173
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001174 <page name="selectfilesystem">
1175 <object type="template" name="header" />
1176
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001177 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001178 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1179 <text>Change file system for: %tw_partition_name%</text>
1180 </object>
1181
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001182 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001183 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1184 <text>Mount Point: %tw_partition_mount_point%</text>
1185 </object>
1186
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001187 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001188 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1189 <text>Current file system: %tw_partition_file_system%</text>
1190 </object>
1191
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001192 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001193 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1194 <text>Proceed with caution!</text>
1195 </object>
1196
1197 <object type="button">
1198 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001199 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001200 <text>EXT2</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001201 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001202 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001203 <action function="set">tw_action=changefilesystem</action>
1204 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1205 <action function="set">tw_action_new_file_system=ext2</action>
1206 <action function="set">tw_has_action2=0</action>
1207 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1208 <action function="set">tw_text2=</action>
1209 <action function="set">tw_action_text1=Formatting...</action>
1210 <action function="set">tw_complete_text1=Format Complete</action>
1211 <action function="set">tw_slider_text=Swipe to Change</action>
1212 <action function="page">confirm_action</action>
1213 </actions>
1214 </object>
1215
1216 <object type="button">
1217 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001218 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001219 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001220 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001221 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001222 <action function="set">tw_action=changefilesystem</action>
1223 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1224 <action function="set">tw_action_new_file_system=ext3</action>
1225 <action function="set">tw_has_action2=0</action>
1226 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1227 <action function="set">tw_text2=</action>
1228 <action function="set">tw_action_text1=Formatting...</action>
1229 <action function="set">tw_complete_text1=Format Complete</action>
1230 <action function="set">tw_slider_text=Swipe to Change</action>
1231 <action function="page">confirm_action</action>
1232 </actions>
1233 </object>
1234
1235 <object type="button">
1236 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001237 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001238 <text>EXT4</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001239 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001240 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001241 <action function="set">tw_action=changefilesystem</action>
1242 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1243 <action function="set">tw_action_new_file_system=ext4</action>
1244 <action function="set">tw_has_action2=0</action>
1245 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1246 <action function="set">tw_text2=</action>
1247 <action function="set">tw_action_text1=Formatting...</action>
1248 <action function="set">tw_complete_text1=Format Complete</action>
1249 <action function="set">tw_slider_text=Swipe to Change</action>
1250 <action function="page">confirm_action</action>
1251 </actions>
1252 </object>
1253
1254 <object type="button">
1255 <condition var1="tw_partition_f2fs" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001256 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001257 <text>F2FS</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001258 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001259 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001260 <action function="set">tw_action=changefilesystem</action>
1261 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1262 <action function="set">tw_action_new_file_system=f2fs</action>
1263 <action function="set">tw_has_action2=0</action>
1264 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1265 <action function="set">tw_text2=</action>
1266 <action function="set">tw_action_text1=Formatting...</action>
1267 <action function="set">tw_complete_text1=Format Complete</action>
1268 <action function="set">tw_slider_text=Swipe to Change</action>
1269 <action function="page">confirm_action</action>
1270 </actions>
1271 </object>
1272
1273 <object type="button">
1274 <condition var1="tw_partition_vfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001275 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001276 <text>FAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001277 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001278 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001279 <action function="set">tw_action=changefilesystem</action>
1280 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1281 <action function="set">tw_action_new_file_system=vfat</action>
1282 <action function="set">tw_has_action2=0</action>
1283 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1284 <action function="set">tw_text2=</action>
1285 <action function="set">tw_action_text1=Formatting...</action>
1286 <action function="set">tw_complete_text1=Format Complete</action>
1287 <action function="set">tw_slider_text=Swipe to Change</action>
1288 <action function="page">confirm_action</action>
1289 </actions>
1290 </object>
1291
1292 <object type="button">
1293 <condition var1="tw_partition_exfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001294 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001295 <text>exFAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001296 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001297 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001298 <action function="set">tw_action=changefilesystem</action>
1299 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1300 <action function="set">tw_action_new_file_system=exfat</action>
1301 <action function="set">tw_has_action2=0</action>
1302 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1303 <action function="set">tw_text2=</action>
1304 <action function="set">tw_action_text1=Formatting...</action>
1305 <action function="set">tw_complete_text1=Format Complete</action>
1306 <action function="set">tw_slider_text=Swipe to Change</action>
1307 <action function="page">confirm_action</action>
1308 </actions>
1309 </object>
1310
1311 <object type="action">
1312 <touch key="home" />
1313 <action function="page">main</action>
1314 </object>
1315
1316 <object type="action">
1317 <touch key="back" />
1318 <action function="page">partitionoptions</action>
1319 </object>
1320
1321 <object type="template" name="footer" />
1322 </page>
1323
1324 <page name="backup">
1325 <object type="template" name="header" />
1326
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001327 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -06001328 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001329 <text>Backup Name: %tw_backup_name%</text>
1330 <actions>
1331 <action function="set">tw_fileexists=0</action>
1332 <action function="page">backupname1</action>
1333 </actions>
1334 </object>
1335
1336 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001337 <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001338 <text>Select Partitions to Back Up:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001339 <data name="tw_backup_list" />
1340 <listtype name="backup" />
1341 </object>
1342
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001343 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001344 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001345 <text>More...</text>
1346 <action function="page">backupoptions</action>
1347 </object>
1348
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001349 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001350 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001351 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1352 <actions>
1353 <action function="set">tw_back=backup</action>
1354 <action function="page">selectstorage</action>
1355 </actions>
1356 </object>
1357
1358 <object type="checkbox">
1359 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001360 <text>Compression</text>
1361 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001362 </object>
1363
1364 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001365 <text>Swipe to Back Up</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001366 <action function="page">backup_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001367 </object>
1368
1369 <object type="action">
1370 <touch key="home" />
1371 <action function="page">main</action>
1372 </object>
1373
1374 <object type="action">
1375 <touch key="back" />
1376 <action function="page">main</action>
1377 </object>
1378 </page>
1379
1380 <page name="backupoptions">
1381 <object type="template" name="header" />
1382
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001383 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001384 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1385 <text>More Backup Options</text>
1386 </object>
1387
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001388 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001389 <conditions>
1390 <condition var1="tw_include_encrypted_backup" var2="1" />
1391 <condition var1="tw_encrypt_backup" var2="0" />
1392 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001393 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001394 <text>No Encryption</text>
1395 <actions>
1396 <action function="page">backupencryption</action>
1397 </actions>
1398 </object>
1399
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001400 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001401 <conditions>
1402 <condition var1="tw_include_encrypted_backup" var2="1" />
1403 <condition var1="tw_encrypt_backup" var2="1" />
1404 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001405 <placement x="%col1_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001406 <text>Using Encryption</text>
1407 <actions>
1408 <action function="set">tw_password_not_match=0</action>
1409 <action function="page">backupencryption</action>
1410 </actions>
1411 </object>
1412
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001413 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001414 <placement x="%col2_x%" y="%row6_text_y%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001415 <text>Refresh Sizes</text>
1416 <actions>
1417 <action function="refreshsizes"></action>
1418 <action function="page">backupoptions</action>
1419 </actions>
1420 </object>
1421
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001422 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001423 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001424 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1425 <actions>
1426 <action function="set">tw_back=backupotions</action>
1427 <action function="page">selectstorage</action>
1428 </actions>
1429 </object>
1430
1431 <object type="checkbox">
1432 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001433 <text>Enable compression.</text>
1434 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001435 </object>
1436
1437 <object type="checkbox">
bigbiffbf1d6722015-02-14 16:25:59 -05001438 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001439 <text>Skip MD5 generation during backup.</text>
1440 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001441 </object>
1442
bigbiffbf1d6722015-02-14 16:25:59 -05001443 <object type="checkbox">
1444 <placement x="%col1_x%" y="%row4_text_y%" />
1445 <font resource="font" color="%text_color%" />
1446 <text>Disable Free Space Check.</text>
1447 <data variable="tw_disable_free_space" />
1448 <image checked="checkbox_true" unchecked="checkbox_false" />
1449 </object>
1450
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001451 <object type="action">
1452 <touch key="home" />
1453 <action function="page">main</action>
1454 </object>
1455
1456 <object type="action">
1457 <touch key="back" />
1458 <action function="page">backup</action>
1459 </object>
1460 </page>
1461
1462 <page name="backupname1">
1463 <object type="action">
1464 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001465 <action function="generatebackupname"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001466 </object>
1467
1468 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001469 <action function="page">backupname2</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001470 </object>
1471 </page>
1472
1473 <page name="backupname2">
1474 <object type="template" name="header" />
1475
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001476 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001477 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001478 <text>Please Enter a Backup Name</text>
1479 </object>
1480
1481 <object type="input">
1482 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001483 <text>%tw_backup_name%</text>
1484 <data name="tw_backup_name" />
1485 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1486 <actions>
1487 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1488 <action function="set">tw_existpage=backupname2</action>
1489 <action function="set">tw_notexistpage=backup</action>
1490 <action function="page">filecheck</action>
1491 </actions>
1492 </object>
1493
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001494 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001495 <condition var1="tw_fileexists" var2="1" />
1496 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001497 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001498 <text>A backup with that name already exists!</text>
1499 </object>
1500
1501 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001502 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001503 <text>Append Date</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001504 <action function="appenddatetobackupname"></action>
1505 </object>
1506
1507 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001508 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001509 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001510 <actions>
1511 <action function="set">tw_backup_name=(Auto Generate)</action>
1512 <action function="page">backup</action>
1513 </actions>
1514 </object>
1515
1516 <object type="template" name="keyboardtemplate" />
1517
1518 <object type="action">
1519 <touch key="home" />
1520 <actions>
1521 <action function="set">tw_backup_name=(Auto Generate)</action>
1522 <action function="page">main</action>
1523 </actions>
1524 </object>
1525
1526 <object type="action">
1527 <touch key="back" />
1528 <actions>
1529 <action function="set">tw_backup_name=(Auto Generate)</action>
1530 <action function="page">backup</action>
1531 </actions>
1532 </object>
1533
1534 <object type="template" name="footer" />
1535 </page>
1536
1537 <page name="backupencryption">
1538 <object type="template" name="header" />
1539
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001540 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001541 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1542 <text>Encrypt your backup?</text>
1543 </object>
1544
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001545 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001546 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1547 <text>Please Enter A Password:</text>
1548 </object>
1549
1550 <object type="input">
1551 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001552 <text>%tw_backup_encrypt_display%</text>
1553 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1554 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1555 <action function="page">backupencryption2</action>
1556 </object>
1557
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001558 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001559 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001560 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001561 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1562 <text>Passwords Do Not Match</text>
1563 </object>
1564
1565 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001566 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001567 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001568 <actions>
1569 <action function="set">tw_encrypt_backup=0</action>
1570 <action function="set">tw_backup_password=</action>
1571 <action function="set">tw_backup_password2=</action>
1572 <action function="set">tw_backup_encrypt_display=</action>
1573 <action function="set">tw_backup_encrypt_display2=</action>
1574 <action function="page">backupoptions</action>
1575 </actions>
1576 </object>
1577
1578 <object type="template" name="keyboardtemplate" />
1579
1580 <object type="action">
1581 <touch key="home" />
1582 <action function="page">main</action>
1583 </object>
1584
1585 <object type="action">
1586 <touch key="back" />
1587 <action function="page">backupoptions</action>
1588 </object>
1589
1590 <object type="template" name="footer" />
1591 </page>
1592
1593 <page name="backupencryption2">
1594 <object type="template" name="header" />
1595
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001596 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001597 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1598 <text>Encrypt your backup?</text>
1599 </object>
1600
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001601 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001602 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1603 <text>Please Enter Password Again:</text>
1604 </object>
1605
1606 <object type="input">
1607 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001608 <text>%tw_backup_encrypt_display2%</text>
1609 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1610 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1611 <actions>
1612 <action function="page">checkbackuppassword</action>
1613 </actions>
1614 </object>
1615
1616 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001617 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001618 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001619 <actions>
1620 <action function="set">tw_encrypt_backup=0</action>
1621 <action function="set">tw_backup_password=</action>
1622 <action function="set">tw_backup_password2=</action>
1623 <action function="set">tw_backup_encrypt_display=</action>
1624 <action function="set">tw_backup_encrypt_display2=</action>
1625 <action function="page">backupoptions</action>
1626 </actions>
1627 </object>
1628
1629 <object type="template" name="keyboardtemplate" />
1630
1631 <object type="action">
1632 <touch key="home" />
1633 <action function="page">main</action>
1634 </object>
1635
1636 <object type="action">
1637 <touch key="back" />
1638 <action function="page">backupoptions</action>
1639 </object>
1640
1641 <object type="template" name="footer" />
1642 </page>
1643
1644 <page name="checkbackuppassword">
1645 <object type="action">
1646 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1647 <actions>
1648 <action function="set">tw_encrypt_backup=1</action>
1649 <action function="page">backupoptions</action>
1650 </actions>
1651 </object>
1652
1653 <object type="action">
1654 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1655 <actions>
1656 <action function="set">tw_encrypt_backup=0</action>
1657 <action function="set">tw_password_not_match=1</action>
1658 <action function="set">tw_backup_password=</action>
1659 <action function="set">tw_backup_password2=</action>
1660 <action function="set">tw_backup_encrypt_display=</action>
1661 <action function="set">tw_backup_encrypt_display2=</action>
1662 <action function="page">backupencryption</action>
1663 </actions>
1664 </object>
1665 </page>
1666
1667 <page name="backup_run">
1668 <object type="template" name="header" />
1669
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001670 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001671 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1672 <text>%tw_operation% %tw_partition%</text>
1673 </object>
1674
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001675 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001676 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1677 <text>%tw_file_progress%</text>
1678 </object>
1679
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001680 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001681 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1682 <text>%tw_size_progress%</text>
1683 </object>
1684
1685 <object type="template" name="action_page_console" />
1686
bigbiff7abc5fe2015-01-17 16:53:12 -05001687
1688
1689 <object type="template" name="progress_bar" />
1690
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001691 <object type="button" style="mediumbutton">
bigbiff7abc5fe2015-01-17 16:53:12 -05001692 <placement x="%col_center_medium_x%" y="%row4_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001693 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001694 <actions>
1695 <action function="cancelbackup"></action>
1696 </actions>
1697 </object>
1698
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001699 <object type="template" name="progress_bar" />
1700
1701 <object type="action">
1702 <action function="nandroid">backup</action>
1703 </object>
1704
1705 <object type="action">
1706 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001707 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001708 <actions>
1709 <action function="set">tw_back=backup</action>
1710 <action function="set">tw_complete_text1=Backup Complete</action>
1711 <action function="set">tw_show_reboot=1</action>
1712 <action function="page">action_complete</action>
1713 </actions>
1714 </object>
bigbiff7abc5fe2015-01-17 16:53:12 -05001715
1716 <object type="action">
1717 <condition var1="tw_operation_state" var2="1" />
1718 <condition var1="tw_cancel_backup" var2="1" />
1719 <actions>
1720 <action function="set">tw_back=backup</action>
1721 <action function="set">tw_complete_text1=Backup Cancelled</action>
1722 <action function="set">tw_show_reboot=1</action>
1723 <action function="page">action_complete</action>
1724 </actions>
1725 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001726 </page>
1727
1728 <page name="restore">
1729 <object type="template" name="header" />
1730
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001731 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001732 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001733 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1734 <actions>
1735 <action function="set">tw_back=restore</action>
1736 <action function="page">selectstorage</action>
1737 </actions>
1738 </object>
1739
1740 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001741 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001742 <text>Select Package to Restore:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001743 <filter folders="1" files="0" nav="0" />
1744 <path name="tw_backups_folder" />
1745 <data name="tw_restore" default="" />
1746 <selection name="tw_restore_name" />
1747 </object>
1748
1749 <object type="template" name="sort_options" />
1750
1751 <object type="action">
1752 <condition var1="tw_restore" op="modified" />
1753 <actions>
1754 <action function="readBackup"></action>
1755 <action function="page">restore_read</action>
1756 </actions>
1757 </object>
1758
1759 <object type="action">
1760 <touch key="home" />
1761 <action function="page">main</action>
1762 </object>
1763
1764 <object type="action">
1765 <touch key="back" />
1766 <action function="page">main</action>
1767 </object>
1768
1769 <object type="template" name="footer" />
1770 </page>
1771
1772 <page name="restore_read">
1773 <object type="action">
1774 <condition var1="tw_restore_encrypted" var2="1" />
1775 <actions>
1776 <action function="set">tw_password_fail=0</action>
1777 <action function="page">restore_decrypt</action>
1778 </actions>
1779 </object>
1780
1781 <object type="action">
1782 <condition var1="tw_restore_encrypted" var2="0" />
1783 <actions>
1784 <action function="page">restore_select</action>
1785 </actions>
1786 </object>
1787 </page>
1788
1789 <page name="restore_decrypt">
1790 <object type="template" name="header" />
1791
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001792 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001793 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1794 <text>Backup Encrypted</text>
1795 </object>
1796
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001797 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001798 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1799 <text>Please Enter Your Password:</text>
1800 </object>
1801
1802 <object type="input">
1803 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001804 <text>%tw_restore_display%</text>
1805 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1806 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1807 <actions>
1808 <action function="page">try_restore_decrypt</action>
1809 </actions>
1810 </object>
1811
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001812 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001813 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001814 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001815 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1816 <text>Password Failed, Please Try Again</text>
1817 </object>
1818
1819 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001820 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001821 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001822 <actions>
1823 <action function="set">tw_page_done=1</action>
1824 <action function="page">restore</action>
1825 </actions>
1826 </object>
1827
1828 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001829 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001830 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001831 <actions>
1832 <action function="set">tw_back=restore</action>
1833 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001834 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001835 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1836 <action function="set">tw_text2=This cannot be undone!</action>
1837 <action function="set">tw_action_text1=Deleting Backup...</action>
1838 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1839 <action function="set">tw_slider_text=Swipe to Delete</action>
1840 <action function="page">confirm_action</action>
1841 </actions>
1842 </object>
1843
1844 <object type="template" name="keyboardtemplate" />
1845
1846 <object type="action">
1847 <touch key="home" />
1848 <action function="page">main</action>
1849 </object>
1850
1851 <object type="action">
1852 <touch key="back" />
1853 <action function="page">restore</action>
1854 </object>
1855
1856 <object type="template" name="footer" />
1857 </page>
1858
1859 <page name="try_restore_decrypt">
1860 <object type="template" name="header" />
1861
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001862 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001863 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1864 <text>Trying Decryption with Your Password</text>
1865 </object>
1866
1867 <object type="template" name="action_page_console" />
1868
1869 <object type="template" name="progress_bar" />
1870
1871 <object type="action">
1872 <action function="decrypt_backup"></action>
1873 </object>
1874
1875 <object type="action">
1876 <conditions>
1877 <condition var1="tw_operation_state" var2="1" />
1878 <condition var1="tw_operation_status" op="!=" var2="0" />
1879 </conditions>
1880 <actions>
1881 <action function="set">tw_password_fail=1</action>
1882 <action function="page">restore_decrypt</action>
1883 </actions>
1884 </object>
1885
1886 <object type="action">
1887 <conditions>
1888 <condition var1="tw_operation_state" var2="1" />
1889 <condition var1="tw_operation_status" op="=" var2="0" />
1890 </conditions>
1891 <actions>
1892 <action function="set">tw_page_done=1</action>
1893 <action function="page">restore_select</action>
1894 </actions>
1895 </object>
1896 </page>
1897
1898 <page name="restore_select">
1899 <object type="template" name="header" />
1900
1901 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001902 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001903 <text>Restoring: %tw_restore_name%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001904 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1905 <listtype name="restore" />
1906 </object>
1907
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001908 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001909 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001910 <text>Rename Backup</text>
1911 <actions>
1912 <action function="set">tw_backup_rename=</action>
1913 <action function="set">tw_fileexists=0</action>
1914 <action function="page">renamebackup</action>
1915 </actions>
1916 </object>
1917
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001918 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001919 <placement x="%col2_x%" y="%backup_button_row2%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001920 <text>Delete Backup</text>
1921 <actions>
1922 <action function="set">tw_back=restore</action>
1923 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001924 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001925 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1926 <action function="set">tw_text2=This cannot be undone!</action>
1927 <action function="set">tw_action_text1=Deleting Backup...</action>
1928 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1929 <action function="set">tw_slider_text=Swipe to Delete</action>
1930 <action function="page">confirm_action</action>
1931 </actions>
1932 </object>
1933
1934 <object type="checkbox">
1935 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001936 <text>Enable MD5 verification of backup.</text>
1937 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001938 </object>
1939
1940 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001941 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001942 <action function="page">restore_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001943 </object>
1944
1945 <object type="action">
1946 <touch key="home" />
1947 <action function="page">main</action>
1948 </object>
1949
1950 <object type="action">
1951 <touch key="back" />
1952 <action function="page">restore</action>
1953 </object>
1954 </page>
1955
1956 <page name="renamebackup">
1957 <object type="template" name="header" />
1958
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001959 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001960 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001961 <text>Please Enter a New Backup Name</text>
1962 </object>
1963
1964 <object type="input">
1965 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001966 <text>%tw_backup_rename%</text>
1967 <data name="tw_backup_rename" />
1968 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1969 <actions>
1970 <action function="set">tw_back=restore</action>
1971 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001972 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001973 <action function="set">tw_text1=Rename Backup?</action>
1974 <action function="set">tw_text2=This cannot be undone!</action>
1975 <action function="set">tw_action_text1=Renaming Backup...</action>
1976 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1977 <action function="set">tw_slider_text=Swipe to Rename</action>
1978 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1979 <action function="set">tw_existpage=renamebackup</action>
1980 <action function="set">tw_notexistpage=confirm_action</action>
1981 <action function="page">filecheck</action>
1982 </actions>
1983 </object>
1984
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001985 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001986 <condition var1="tw_fileexists" var2="1" />
1987 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001988 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001989 <text>A backup with that name already exists!</text>
1990 </object>
1991
1992 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001993 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001994 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001995 <action function="page">restore_select</action>
1996 </object>
1997
1998 <object type="template" name="keyboardtemplate" />
1999
2000 <object type="action">
2001 <touch key="home" />
2002 <action function="page">main</action>
2003 </object>
2004
2005 <object type="action">
2006 <touch key="back" />
2007 <action function="page">restore_select</action>
2008 </object>
2009
2010 <object type="template" name="footer" />
2011 </page>
2012
2013 <page name="restore_run">
2014 <object type="template" name="header" />
2015
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002016 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002017 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2018 <text>%tw_operation% %tw_partition%</text>
2019 </object>
2020
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002021 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002022 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2023 <text>%tw_size_progress%</text>
2024 </object>
2025
2026 <object type="template" name="action_page_console" />
2027
2028 <object type="template" name="progress_bar" />
2029
2030 <object type="action">
2031 <condition var1="tw_operation_state" var2="1" />
2032 <actions>
2033 <action function="set">tw_back=restore_select</action>
2034 <action function="set">tw_complete_text1=Restore Complete</action>
2035 <action function="set">tw_show_reboot=1</action>
2036 <action function="page">action_complete</action>
2037 </actions>
2038 </object>
2039
2040 <object type="action">
2041 <action function="nandroid">restore</action>
2042 </object>
2043 </page>
2044
2045 <page name="selectstorage">
2046 <object type="template" name="header" />
2047
2048 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002049 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002050 <text>Select Storage:</text>
2051 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002052 <data name="tw_storage_path" />
2053 <listtype name="storage" />
2054 </object>
2055
2056 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002057 <placement x="%col_center_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002058 <text>OK</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002059 <actions>
2060 <action function="set">tw_clear_destination=%tw_back%</action>
2061 <action function="page">clear_vars</action>
2062 </actions>
2063 </object>
2064
2065 <object type="action">
2066 <touch key="home" />
2067 <action function="page">main</action>
2068 </object>
2069
2070 <object type="action">
2071 <touch key="back" />
2072 <actions>
2073 <action function="page">%tw_back%</action>
2074 </actions>
2075 </object>
2076
2077 <object type="template" name="footer" />
2078 </page>
2079
2080 <page name="mount">
2081 <object type="template" name="header" />
2082
2083 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002084 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002085 <text>Select Partitions to Mount:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002086 <listtype name="mount" />
2087 </object>
2088
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002089 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002090 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002091 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2092 <actions>
2093 <action function="set">tw_back=mount</action>
2094 <action function="page">selectstorage</action>
2095 </actions>
2096 </object>
2097
2098 <object type="button">
Ethan Yonker3d49ea72014-08-04 09:14:12 -05002099 <condition var1="tw_has_usb_storage" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002100 <placement x="%col1_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002101 <text>USB Storage</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002102 <action function="page">usb_mount</action>
2103 </object>
2104
2105 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002106 <conditions>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002107 <condition var1="tw_has_mtp" var2="1" />
2108 <condition var1="tw_mtp_enabled" var2="0" />
2109 </conditions>
2110 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002111 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002112 <action function="startmtp"></action>
2113 </object>
2114
2115 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002116 <conditions>
2117 <condition var1="tw_has_mtp" var2="1" />
2118 <condition var1="tw_mtp_enabled" var2="1" />
2119 </conditions>
2120 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002121 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002122 <action function="stopmtp"></action>
2123 </object>
2124
2125 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002126 <conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002127 <condition var1="tw_is_encrypted" var2="1" />
2128 <condition var1="tw_is_decrypted" var2="0" />
2129 </conditions>
2130 <placement x="%col2_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002131 <text>Decrypt Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002132 <action function="page">decrypt</action>
2133 </object>
2134
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002135 <object type="button">
2136 <placement x="%col1_x%" y="%system_ro_y%" />
2137 <font resource="font" color="%text_color%" />
2138 <condition var1="tw_mount_system_ro" op="=" var2="0" />
2139 <text>Only mount system read-only</text>
2140 <image resource="checkbox_false" />
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002141 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002142 </object>
2143
2144 <object type="button">
2145 <placement x="%col1_x%" y="%system_ro_y%" />
2146 <font resource="font" color="%text_color%" />
2147 <condition var1="tw_mount_system_ro" op="!=" var2="0" />
2148 <text>Only mount system read-only</text>
2149 <image resource="checkbox_true" />
2150 <actions>
2151 <action function="set">tw_lifetime_writes=2</action>
2152 <action function="page">system_readonly_check</action>
2153 </actions>
2154 </object>
2155
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002156 <object type="action">
2157 <touch key="home" />
2158 <action function="page">main</action>
2159 </object>
2160
2161 <object type="action">
2162 <touch key="back" />
2163 <action function="page">main</action>
2164 </object>
2165
2166 <object type="template" name="footer" />
2167 </page>
2168
2169 <page name="usb_mount">
2170 <object type="template" name="header" />
2171
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002172 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002173 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2174 <text>USB Storage Mounted</text>
2175 </object>
2176
2177 <object type="text" color="%text_color%">
2178 <placement x="%col1_x%" y="%row1_text_y%" />
2179 <font resource="font" />
2180 <text>Be sure to safely remove your device</text>
2181 </object>
2182
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002183 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002184 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002185 <text>from your computer before unmounting!</text>
2186 </object>
2187
2188 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002189 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002190 <text>Unmount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002191 <action function="page">usb_umount</action>
2192 </object>
2193
2194 <object type="action">
2195 <action function="mount">usb</action>
2196 </object>
2197
2198 <object type="template" name="footer" />
2199 </page>
2200
2201 <page name="usb_umount">
2202 <object type="action">
2203 <action function="unmount">usb</action>
2204 </object>
2205
2206 <object type="action">
2207 <action function="page">mount</action>
2208 </object>
2209 </page>
2210
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002211 <page name="system_readonly_check">
2212 <object type="action">
2213 <action function="checkpartitionlifetimewrites">/system</action>
2214 </object>
2215
2216 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002217 <condition var1="tw_lifetime_writes" var2="1" />
2218 <actions>
2219 <action function="mountsystemtoggle">0</action>
2220 <action function="page">mount</action>
2221 </actions>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002222 </object>
2223
2224 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002225 <condition var1="tw_lifetime_writes" var2="0" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002226 <actions>
2227 <action function="set">tw_back=mount</action>
2228 <action function="page">system_readonly</action>
2229 </actions>
2230 </object>
2231 </page>
2232
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002233 <page name="reboot">
2234 <object type="template" name="header" />
2235
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002236 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002237 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2238 <text>Reboot Menu</text>
2239 </object>
2240
Ethan Yonker72b90ab2015-02-23 08:35:48 -06002241 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002242 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002243 <text>System</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002244 </object>
2245
2246 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002247 <condition var1="tw_reboot_poweroff" var2="1" />
2248 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002249 <text>Power Off</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002250 <actions>
2251 <action function="set">tw_back=reboot</action>
2252 <action function="set">tw_action=reboot</action>
2253 <action function="set">tw_action_param=poweroff</action>
2254 <action function="set">tw_has_action2=0</action>
2255 <action function="set">tw_text1=No OS Installed! Are you</action>
2256 <action function="set">tw_text2=sure you wish to power off?</action>
2257 <action function="set">tw_action_text1=Turning Off...</action>
2258 <action function="set">tw_complete_text1=Turning Off...</action>
2259 <action function="set">tw_slider_text=Swipe to Power Off</action>
2260 <action function="page">rebootcheck</action>
2261 </actions>
2262 </object>
2263
2264 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002265 <condition var1="tw_reboot_recovery" var2="1" />
2266 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002267 <text>Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002268 <actions>
2269 <action function="set">tw_back=reboot</action>
2270 <action function="set">tw_action=reboot</action>
2271 <action function="set">tw_action_param=recovery</action>
2272 <action function="set">tw_has_action2=0</action>
2273 <action function="set">tw_text1=No OS Installed! Are you</action>
2274 <action function="set">tw_text2=sure you wish to reboot?</action>
2275 <action function="set">tw_action_text1=Rebooting...</action>
2276 <action function="set">tw_complete_text1=Rebooting...</action>
2277 <action function="set">tw_slider_text=Swipe to Reboot</action>
2278 <action function="page">rebootcheck</action>
2279 </actions>
2280 </object>
2281
2282 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002283 <condition var1="tw_reboot_bootloader" var2="1" />
2284 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002285 <text>Bootloader</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002286 <actions>
2287 <action function="set">tw_back=reboot</action>
2288 <action function="set">tw_action=reboot</action>
2289 <action function="set">tw_action_param=bootloader</action>
2290 <action function="set">tw_has_action2=0</action>
2291 <action function="set">tw_text1=No OS Installed! Are you</action>
2292 <action function="set">tw_text2=sure you wish to reboot?</action>
2293 <action function="set">tw_action_text1=Rebooting...</action>
2294 <action function="set">tw_complete_text1=Rebooting...</action>
2295 <action function="set">tw_slider_text=Swipe to Reboot</action>
2296 <action function="page">rebootcheck</action>
2297 </actions>
2298 </object>
2299
2300 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002301 <condition var1="tw_download_mode" var2="1" />
2302 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002303 <text>Download</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002304 <actions>
2305 <action function="set">tw_back=reboot</action>
2306 <action function="set">tw_action=reboot</action>
2307 <action function="set">tw_action_param=download</action>
2308 <action function="set">tw_has_action2=0</action>
2309 <action function="set">tw_text1=No OS Installed! Are you</action>
2310 <action function="set">tw_text2=sure you wish to reboot?</action>
2311 <action function="set">tw_action_text1=Rebooting...</action>
2312 <action function="set">tw_complete_text1=Rebooting...</action>
2313 <action function="set">tw_slider_text=Swipe to Reboot</action>
2314 <action function="page">rebootcheck</action>
2315 </actions>
2316 </object>
2317
2318 <object type="action">
2319 <touch key="home" />
2320 <action function="page">main</action>
2321 </object>
2322
2323 <object type="action">
2324 <touch key="back" />
2325 <action function="page">main</action>
2326 </object>
2327
2328 <object type="template" name="footer" />
2329 </page>
2330
2331 <page name="settings">
2332 <object type="template" name="header" />
2333
2334 <object type="checkbox">
2335 <placement x="%col1_x%" y="%row1_header_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002336 <text>Zip file signature verification.</text>
2337 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002338 </object>
2339
2340 <object type="checkbox">
2341 <placement x="%col1_x%" y="%row1_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002342 <text>Use rm -rf instead of formatting.</text>
2343 <data variable="tw_rm_rf" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002344 </object>
2345
2346 <object type="checkbox">
2347 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002348 <text>Skip MD5 generation during backup.</text>
2349 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002350 </object>
2351
2352 <object type="checkbox">
2353 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002354 <text>Enable MD5 verification of backup files.</text>
2355 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002356 </object>
2357
2358 <object type="checkbox">
2359 <placement x="%col1_x%" y="%row4_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002360 <text>Use 24-hour clock.</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002361 <data variable="tw_military_time" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002362 </object>
2363
2364 <object type="checkbox">
2365 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002366 <text>Simulate actions for theme testing.</text>
2367 <data variable="tw_simulate_actions" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002368 </object>
2369
2370 <object type="checkbox">
2371 <condition var1="tw_simulate_actions" var2="1" />
2372 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002373 <text>Simulate failure for actions.</text>
2374 <data variable="tw_simulate_fail" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002375 </object>
2376
2377 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002378 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002379 <text>Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002380 <action function="page">timezone</action>
2381 </object>
2382
2383 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002384 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002385 <text>Screen</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002386 <action function="page">screen</action>
2387 </object>
2388
2389 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002390 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002391 <text>Restore Defaults</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002392 <action function="restoredefaultsettings"></action>
2393 </object>
2394
2395 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002396 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002397 <text>Vibration</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002398 <action function="page">vibrate</action>
2399 </object>
2400
2401 <object type="action">
2402 <touch key="home" />
2403 <action function="page">main</action>
2404 </object>
2405
2406 <object type="action">
2407 <touch key="back" />
2408 <action function="page">main</action>
2409 </object>
2410
2411 <object type="template" name="footer" />
2412 </page>
2413
2414 <page name="timezone">
2415 <object type="template" name="header" />
2416
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002417 <object type="listbox" style="scrolllist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002418 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002419 <text>Select Time Zone:</text>
2420 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002421 <data name="tw_time_zone_guisel" />
2422 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2423 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2424 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
that202e51b2015-03-24 21:07:59 +01002425 <listitem name="(UTC -8) Pacific Time">PST8;PDT,M3.2.0,M11.1.0</listitem>
2426 <listitem name="(UTC -7) Mountain Time">MST7;MDT,M3.2.0,M11.1.0</listitem>
2427 <listitem name="(UTC -6) Central Time">CST6;CDT,M3.2.0,M11.1.0</listitem>
2428 <listitem name="(UTC -5) Eastern Time">EST5;EDT,M3.2.0,M11.1.0</listitem>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002429 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2430 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2431 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2432 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
that202e51b2015-03-24 21:07:59 +01002433 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST,M3.5.0,M10.5.0</listitem>
2434 <listitem name="(UTC +1) Berlin, Brussels, Paris">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2435 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET,M3.5.0,M10.5.0</listitem>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002436 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2437 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2438 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2439 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2440 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2441 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2442 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2443 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2444 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2445 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2446 </object>
2447
2448 <object type="checkbox">
2449 <placement x="%col1_x%" y="%row_dst_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002450 <text>Do you use daylight savings time (DST)?</text>
2451 <data variable="tw_time_zone_guidst" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002452 </object>
2453
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002454 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002455 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2456 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2457 </object>
2458
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002459 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002460 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002461 <text>None</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002462 <action function="set">tw_time_zone_guioffset=0</action>
2463 </object>
2464
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002465 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002466 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002467 <text>15</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002468 <action function="set">tw_time_zone_guioffset=15</action>
2469 </object>
2470
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002471 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002472 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002473 <text>30</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002474 <action function="set">tw_time_zone_guioffset=30</action>
2475 </object>
2476
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002477 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002478 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002479 <text>45</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002480 <action function="set">tw_time_zone_guioffset=45</action>
2481 </object>
2482
2483 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002484 <placement x="%col_center_x%" y="%tz_set_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002485 <text>Set Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002486 <action function="setguitimezone"></action>
2487 </object>
2488
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002489 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002490 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2491 <text>Current Time Zone: %tw_time_zone%</text>
2492 </object>
2493
2494 <object type="action">
2495 <touch key="home" />
2496 <action function="page">main</action>
2497 </object>
2498
2499 <object type="action">
2500 <touch key="back" />
2501 <action function="page">settings</action>
2502 </object>
2503 </page>
2504
2505 <page name="screen">
2506 <object type="template" name="header" />
2507
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002508 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002509 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2510 <text>Screen Settings</text>
2511 </object>
2512
2513 <object type="button">
2514 <placement x="%col1_x%" y="%row2_text_y%" />
2515 <font resource="font" color="%text_color%" />
2516 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2517 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2518 <text>Enable screen timeout.</text>
2519 <image resource="checkbox_false" />
2520 <action function="set">tw_screen_timeout_secs=60</action>
2521 </object>
2522
2523 <object type="button">
2524 <placement x="%col1_x%" y="%row2_text_y%" />
2525 <font resource="font" color="%text_color%" />
2526 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2527 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2528 <text>Enable screen timeout.</text>
2529 <image resource="checkbox_true" />
2530 <action function="set">tw_screen_timeout_secs=0</action>
2531 </object>
2532
2533 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002534 <conditions>
2535 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2536 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2537 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002538 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002539 <text>Screen timeout in seconds:</text>
2540 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2541 </object>
2542
2543 <object type="slidervalue">
2544 <condition var1="tw_has_brightnesss_file" var2="1" />
2545 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002546 <text>Brightness: %tw_brightness_pct%%</text>
2547 <data variable="tw_brightness_pct" min="10" max="100" />
2548 <actions>
2549 <action function="set">tw_brightness=%tw_brightness_max%</action>
2550 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2551 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002552 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002553 </actions>
2554 </object>
2555
2556 <object type="action">
2557 <touch key="home" />
2558 <action function="page">main</action>
2559 </object>
2560
2561 <object type="action">
2562 <touch key="back" />
2563 <action function="page">settings</action>
2564 </object>
2565
2566 <object type="template" name="footer" />
2567 </page>
2568
2569 <page name="vibrate">
2570 <object type="template" name="header" />
2571
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002572 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002573 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2574 <text>Vibration Settings :</text>
2575 </object>
2576
2577 <object type="slidervalue">
2578 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002579 <text>Button Vibration:</text>
2580 <data variable="tw_button_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002581 </object>
2582
2583 <object type="slidervalue">
2584 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002585 <text>Keyboard Vibration:</text>
2586 <data variable="tw_keyboard_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002587 </object>
2588
2589 <object type="slidervalue">
2590 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002591 <text>Action Vibration:</text>
2592 <data variable="tw_action_vibrate" min="0" max="500" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002593 </object>
2594
2595 <object type="action">
2596 <touch key="home" />
2597 <action function="page">main</action>
2598 </object>
2599
2600 <object type="action">
2601 <touch key="back" />
2602 <action function="page">settings</action>
2603 </object>
2604
2605 <object type="template" name="footer" />
2606 </page>
2607
2608 <page name="advanced">
2609 <object type="template" name="header" />
2610
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002611 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002612 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2613 <text>Advanced</text>
2614 </object>
2615
2616 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002617 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002618 <text>Copy Log to SD</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002619 <actions>
2620 <action function="set">tw_back=advanced</action>
2621 <action function="set">tw_action=copylog</action>
2622 <action function="set">tw_text1=Copy Log to SD Card?</action>
2623 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2624 <action function="set">tw_complete_text1=Log Copy Complete</action>
2625 <action function="set">tw_slider_text=Swipe to Confirm</action>
2626 <action function="page">confirm_action</action>
2627 </actions>
2628 </object>
2629
2630 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002631 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002632 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002633 <action function="page">fixperms</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002634 </object>
2635
2636 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002637 <condition var1="tw_allow_partition_sdcard" var2="1" />
2638 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002639 <text>Partition SD Card</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002640 <action function="page">partsdcard</action>
2641 </object>
2642
2643 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002644 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002645 <text>File Manager</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002646 <action function="page">filemanagerlist</action>
2647 </object>
2648
2649 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002650 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002651 <text>Terminal Command</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002652 <action function="page">terminalfolder</action>
2653 </object>
2654
2655 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002656 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002657 <text>Reload Theme</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002658 <action function="reload"></action>
2659 </object>
2660
2661 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002662 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002663 <text>ADB Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002664 <action function="page">sideload</action>
2665 </object>
2666
2667 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002668 <condition var1="tw_show_dumlock" var2="1" />
2669 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002670 <text>HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002671 <action function="page">htcdumlock</action>
2672 </object>
2673
2674 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002675 <condition var1="tw_has_injecttwrp" var2="1" />
2676 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002677 <text>Re-Inject TWRP</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002678 <actions>
2679 <action function="set">tw_back=advanced</action>
2680 <action function="set">tw_action=reinjecttwrp</action>
2681 <action function="set">tw_text1=Re-Inject TWRP?</action>
2682 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2683 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2684 <action function="set">tw_slider_text=Swipe to Confirm</action>
2685 <action function="page">confirm_action</action>
2686 </actions>
2687 </object>
2688
2689 <object type="action">
2690 <touch key="home" />
2691 <action function="page">main</action>
2692 </object>
2693
2694 <object type="action">
2695 <touch key="back" />
2696 <action function="page">main</action>
2697 </object>
2698
2699 <object type="template" name="footer" />
2700 </page>
2701
2702 <page name="partsdcard">
2703 <object type="template" name="header" />
2704
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002705 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002706 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2707 <text>Partition SD Card</text>
2708 </object>
2709
2710 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002711 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002712 <text></text>
2713 <image resource="minus_button" />
2714 <action function="addsubtract">tw_sdext_size-128</action>
2715 </object>
2716
2717 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002718 <placement x="%sd_plus_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002719 <text></text>
2720 <image resource="plus_button" />
2721 <action function="addsubtract">tw_sdext_size+128</action>
2722 </object>
2723
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002724 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002725 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2726 <text>EXT Size: %tw_sdext_size%</text>
2727 </object>
2728
2729 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002730 <placement x="%col1_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002731 <text></text>
2732 <image resource="minus_button" />
2733 <action function="addsubtract">tw_swap_size-32</action>
2734 </object>
2735
2736 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002737 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002738 <text></text>
2739 <image resource="plus_button" />
2740 <action function="addsubtract">tw_swap_size+32</action>
2741 </object>
2742
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002743 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002744 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2745 <text>Swap Size: %tw_swap_size%</text>
2746 </object>
2747
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002748 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002749 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2750 <text>File system: %tw_sdpart_file_system%</text>
2751 </object>
2752
2753 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002754 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2755 <font resource="font" color="%button_text_color%" />
2756 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002757 <action function="set">tw_sdpart_file_system=ext3</action>
2758 </object>
2759
2760 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002761 <condition var1="tw_sdext_disable_ext4" var2="0" />
2762 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002763 <text>EXT4</text>
2764 <image resource="main_button" />
2765 <action function="set">tw_sdpart_file_system=ext4</action>
2766 </object>
2767
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002768 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002769 <placement x="%col1_x%" y="%row10_text_y%" />
2770 <text>You will lose all files on your SD card!</text>
2771 </object>
2772
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002773 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002774 <placement x="%col1_x%" y="%row11_text_y%" />
2775 <text>This action cannot be undone!</text>
2776 </object>
2777
2778 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002779 <text>Swipe to Partition</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002780 <actions>
2781 <action function="set">tw_back=partsdcard</action>
2782 <action function="set">tw_action=partitionsd</action>
2783 <action function="set">tw_has_action2=1</action>
2784 <action function="set">tw_action2=set</action>
2785 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2786 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2787 <action function="set">tw_action_text2=This will take a few minutes.</action>
2788 <action function="set">tw_complete_text1=Partitioning Complete</action>
2789 <action function="page">action_page</action>
2790 </actions>
2791 </object>
2792
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002793 <object type="action">
2794 <touch key="home" />
2795 <action function="page">main</action>
2796 </object>
2797
2798 <object type="action">
2799 <touch key="back" />
2800 <action function="page">advanced</action>
2801 </object>
2802 </page>
2803
2804 <page name="htcdumlock">
2805 <object type="template" name="header" />
2806
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002807 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002808 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2809 <text>HTC Dumlock</text>
2810 </object>
2811
2812 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002813 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002814 <text>Restore Original Boot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002815 <actions>
2816 <action function="set">tw_back=htcdumlock</action>
2817 <action function="set">tw_action=htcdumlockrestoreboot</action>
2818 <action function="set">tw_text1=Restore original boot image?</action>
2819 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2820 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2821 <action function="set">tw_slider_text=Swipe to Confirm</action>
2822 <action function="page">confirm_action</action>
2823 </actions>
2824 </object>
2825
2826 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002827 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002828 <text>Reflash Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002829 <actions>
2830 <action function="set">tw_back=htcdumlock</action>
2831 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2832 <action function="set">tw_text1=Reflash recovery to boot?</action>
2833 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2834 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2835 <action function="set">tw_slider_text=Swipe to Confirm</action>
2836 <action function="page">confirm_action</action>
2837 </actions>
2838 </object>
2839
2840 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002841 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002842 <text>Install HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002843 <actions>
2844 <action function="set">tw_back=htcdumlock</action>
2845 <action function="set">tw_action=installhtcdumlock</action>
2846 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2847 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2848 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2849 <action function="set">tw_slider_text=Swipe to Confirm</action>
2850 <action function="page">confirm_action</action>
2851 </actions>
2852 </object>
2853
2854 <object type="action">
2855 <touch key="home" />
2856 <action function="page">main</action>
2857 </object>
2858
2859 <object type="action">
2860 <touch key="back" />
2861 <action function="page">advanced</action>
2862 </object>
2863
2864 <object type="template" name="footer" />
2865 </page>
2866
2867 <page name="lock">
2868 <background color="#000000A0" />
2869
2870 <object type="image">
2871 <image resource="unlock-icon" />
Ethan Yonker591b9202015-03-11 11:17:15 -05002872 <placement x="%center_x%" y="%lock_y%" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002873 </object>
2874
2875 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002876 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002877 <action function="overlay"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002878 </object>
2879 </page>
2880
2881 <page name="filemanagerlist">
2882 <object type="template" name="header" />
2883
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002884 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002885 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2886 <text>File Manager: Select a File or Folder</text>
2887 </object>
2888
2889 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002890 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002891 <text>%tw_file_location1%</text>
Matt Mower82931532015-02-27 14:19:59 -06002892 <filter folders="1" files="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002893 <path name="tw_file_location1" default="/" />
2894 <data name="tw_filename1" />
2895 <selection name="tw_selection1" />
2896 </object>
2897
2898 <object type="template" name="sort_options" />
2899
2900 <object type="action">
2901 <actions>
2902 <action function="set">tw_fm_type=File</action>
2903 <action function="set">tw_fm_isfolder=0</action>
2904 </actions>
2905 </object>
2906
2907 <object type="action">
2908 <touch key="home" />
2909 <action function="page">main</action>
2910 </object>
2911
2912 <object type="action">
2913 <touch key="back" />
2914 <action function="page">advanced</action>
2915 </object>
2916
2917 <object type="action">
2918 <condition var1="tw_filename1" op="modified" />
2919 <actions>
2920 <action function="page">filemanageroptions</action>
2921 </actions>
2922 </object>
2923
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002924 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002925 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002926 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002927 <actions>
2928 <action function="set">tw_filename1=tw_file_location1</action>
2929 <action function="set">tw_fm_isfolder=1</action>
2930 <action function="set">tw_fm_type=Folder</action>
2931 <action function="page">filemanageroptions</action>
2932 </actions>
2933 </object>
2934 </page>
2935
2936 <page name="filemanageroptions">
2937 <object type="template" name="header" />
2938
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002939 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002940 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2941 <text>%tw_fm_type% Selected:</text>
2942 </object>
2943
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002944 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002945 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2946 <text>%tw_filename1%</text>
2947 </object>
2948
2949 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002950 <condition var1="tw_fm_isfolder" var2="0" />
2951 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002952 <text>Copy File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002953 <actions>
2954 <action function="set">tw_filemanager_command=cp</action>
2955 <action function="set">tw_fm_text1=Copying</action>
2956 <action function="page">choosedestinationfolder</action>
2957 </actions>
2958 </object>
2959
2960 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002961 <condition var1="tw_fm_isfolder" var2="1" />
2962 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002963 <text>Copy Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002964 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002965 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; cp -R</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002966 <action function="set">tw_fm_text1=Copying</action>
2967 <action function="page">choosedestinationfolder</action>
2968 </actions>
2969 </object>
2970
2971 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002972 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002973 <text>Move</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002974 <actions>
2975 <action function="set">tw_filemanager_command=mv</action>
2976 <action function="set">tw_fm_text1=Moving</action>
2977 <action function="page">choosedestinationfolder</action>
2978 </actions>
2979 </object>
2980
2981 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002982 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002983 <text>chmod 755</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002984 <actions>
2985 <action function="set">tw_filemanager_command=chmod 755</action>
2986 <action function="set">tw_fm_text1=chmod 755</action>
2987 <action function="set">tw_fm_text2=</action>
2988 <action function="set">tw_fm_text3=</action>
2989 <action function="set">tw_include_text3=0</action>
2990 <action function="set">tw_back=filemanageroptions</action>
2991 <action function="page">filemanagerconfirm</action>
2992 </actions>
2993 </object>
2994
2995 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002996 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002997 <text>chmod</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002998 <actions>
2999 <action function="set">tw_filemanager_rename=0000</action>
3000 <action function="set">tw_fm_text2=</action>
3001 <action function="set">tw_fm_text3=</action>
3002 <action function="set">tw_include_text3=0</action>
3003 <action function="set">tw_back=filemanageroptions</action>
3004 <action function="page">filemanagerchmod</action>
3005 </actions>
3006 </object>
3007
3008 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003009 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003010 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003011 <actions>
3012 <action function="set">tw_filemanager_command=rm -rf</action>
3013 <action function="set">tw_fm_text1=Deleting</action>
3014 <action function="set">tw_fm_text2=</action>
3015 <action function="set">tw_fm_text3=</action>
3016 <action function="set">tw_include_text3=0</action>
3017 <action function="set">tw_back=filemanageroptions</action>
3018 <action function="page">filemanagerconfirm</action>
3019 </actions>
3020 </object>
3021
3022 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003023 <condition var1="tw_fm_isfolder" var2="0" />
3024 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003025 <text>Rename File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003026 <actions>
3027 <action function="set">tw_filemanager_rename=tw_selection1</action>
3028 <action function="set">tw_fm_text1=Renaming</action>
3029 <action function="set">tw_filemanager_command=mv</action>
3030 <action function="page">filemanagerrenamefile</action>
3031 </actions>
3032 </object>
3033
3034 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003035 <condition var1="tw_fm_isfolder" var2="1" />
3036 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003037 <text>Rename Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003038 <actions>
3039 <action function="set">tw_filemanager_rename=tw_selection1</action>
3040 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06003041 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; mv</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003042 <action function="page">filemanagerrenamefolder</action>
3043 </actions>
3044 </object>
3045
3046 <object type="action">
3047 <touch key="home" />
3048 <action function="page">main</action>
3049 </object>
3050
3051 <object type="action">
3052 <touch key="back" />
3053 <action function="page">filemanagerlist</action>
3054 </object>
3055
3056 <object type="template" name="footer" />
3057 </page>
3058
3059 <page name="choosedestinationfolder">
3060 <object type="template" name="header" />
3061
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003062 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003063 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06003064 <text>Browse to Destination &amp; Press Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003065 </object>
3066
3067 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003068 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003069 <text>%tw_file_location2%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003070 <filter folders="1" files="0" />
3071 <path name="tw_file_location2" default="/" />
3072 <data name="tw_filename2" />
3073 <selection name="tw_selection2" />
3074 </object>
3075
3076 <object type="template" name="sort_options" />
3077
3078 <object type="action">
3079 <touch key="home" />
3080 <action function="page">main</action>
3081 </object>
3082
3083 <object type="action">
3084 <touch key="back" />
3085 <action function="page">filemanageroptions</action>
3086 </object>
3087
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003088 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003089 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003090 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003091 <actions>
3092 <action function="set">tw_fm_text2=to</action>
3093 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3094 <action function="set">tw_include_text3=1</action>
3095 <action function="set">tw_back=filemanageroptions</action>
3096 <action function="page">filemanagerconfirm</action>
3097 </actions>
3098 </object>
3099 </page>
3100
3101 <page name="filemanagerrenamefile">
3102 <object type="template" name="header" />
3103
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003104 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003105 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003106 <text>Please Enter a New %tw_fm_type% Name</text>
3107 </object>
3108
3109 <object type="input">
3110 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003111 <text>%tw_filemanager_rename%</text>
3112 <data name="tw_filemanager_rename" />
3113 <restrict minlen="1" maxlen="128" />
3114 <actions>
3115 <action function="set">tw_fm_text2=to</action>
3116 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3117 <action function="set">tw_include_text3=1</action>
3118 <action function="set">tw_back=filemanageroptions</action>
3119 <action function="page">filemanagerconfirm</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003124 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003125 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003126 <action function="page">filemanageroptions</action>
3127 </object>
3128
3129 <object type="template" name="keyboardtemplate" />
3130
3131 <object type="action">
3132 <touch key="home" />
3133 <action function="page">main</action>
3134 </object>
3135
3136 <object type="action">
3137 <touch key="back" />
3138 <action function="page">filemanageroptions</action>
3139 </object>
3140
3141 <object type="template" name="footer" />
3142 </page>
3143
3144 <page name="filemanagerrenamefolder">
3145 <object type="template" name="header" />
3146
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003147 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003148 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003149 <text>Please Enter a New %tw_fm_type% Name</text>
3150 </object>
3151
3152 <object type="input">
3153 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003154 <text>%tw_filemanager_rename%</text>
3155 <data name="tw_filemanager_rename" />
3156 <restrict minlen="1" maxlen="128" />
3157 <actions>
3158 <action function="set">tw_fm_text2=to</action>
3159 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3160 <action function="set">tw_include_text3=1</action>
3161 <action function="set">tw_back=filemanageroptions</action>
3162 <action function="page">filemanagerconfirm</action>
3163 </actions>
3164 </object>
3165
3166 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003167 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003168 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003169 <action function="page">filemanageroptions</action>
3170 </object>
3171
3172 <object type="template" name="keyboardtemplate" />
3173
3174 <object type="action">
3175 <touch key="home" />
3176 <action function="page">main</action>
3177 </object>
3178
3179 <object type="action">
3180 <touch key="back" />
3181 <action function="page">filemanageroptions</action>
3182 </object>
3183
3184 <object type="template" name="footer" />
3185 </page>
3186
3187 <page name="filemanagerchmod">
3188 <object type="template" name="header" />
3189
3190 <object type="text" color="%text_color%">
3191 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3192 <font resource="font" />
3193 <text>Please Enter New Permissions</text>
3194 </object>
3195
3196 <object type="input">
3197 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003198 <text>%tw_filemanager_rename%</text>
3199 <data name="tw_filemanager_rename" />
3200 <restrict minlen="3" maxlen="4" allow="0123456789" />
3201 <actions>
3202 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3203 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3204 <action function="set">tw_back=filemanageroptions</action>
3205 <action function="page">filemanagerconfirm</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003210 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003211 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003212 <action function="page">filemanageroptions</action>
3213 </object>
3214
3215 <object type="template" name="keyboardtemplate" />
3216
3217 <object type="action">
3218 <touch key="home" />
3219 <action function="page">main</action>
3220 </object>
3221
3222 <object type="action">
3223 <touch key="back" />
3224 <action function="page">filemanageroptions</action>
3225 </object>
3226
3227 <object type="template" name="footer" />
3228 </page>
3229
3230 <page name="filemanagerconfirm">
3231 <object type="template" name="header" />
3232
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003233 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003234 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3235 <text>%tw_fm_text1%</text>
3236 </object>
3237
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003238 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003239 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3240 <text>%tw_filename1%</text>
3241 </object>
3242
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003243 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003244 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3245 <text>%tw_fm_text2%</text>
3246 </object>
3247
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003248 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003249 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3250 <text>%tw_fm_text3%</text>
3251 </object>
3252
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003253 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003254 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3255 <text>Press back button to cancel.</text>
3256 </object>
3257
3258 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003259 <action function="page">filemanageracction</action>
3260 </object>
3261
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003262 <object type="action">
3263 <touch key="back" />
3264 <action function="page">%tw_back%</action>
3265 </object>
3266
3267 <object type="action">
3268 <touch key="home" />
3269 <action function="page">main</action>
3270 </object>
3271 </page>
3272
3273 <page name="filemanageracction">
3274 <object type="template" name="header" />
3275
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003276 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003277 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3278 <text>%tw_fm_text1%</text>
3279 </object>
3280
3281 <object type="template" name="action_page_console" />
3282
3283 <object type="template" name="progress_bar" />
3284
3285 <object type="action">
3286 <conditions>
3287 <condition var1="tw_operation_state" var2="1" />
3288 <condition var1="tw_operation_status" var2="0" />
3289 </conditions>
3290 <actions>
3291 <action function="set">tw_back=filemanagerlist</action>
3292 <action function="set">tw_complete_text1=File Operation Complete</action>
3293 <action function="page">action_complete</action>
3294 </actions>
3295 </object>
3296
3297 <object type="action">
3298 <conditions>
3299 <condition var1="tw_operation_state" var2="1" />
3300 <condition var1="tw_operation_status" op="!=" var2="0" />
3301 </conditions>
3302 <actions>
3303 <action function="set">tw_complete_text1=File Operation Complete</action>
3304 <action function="page">action_complete</action>
3305 </actions>
3306 </object>
3307
3308 <object type="action">
3309 <condition var1="tw_include_text3" var2="0" />
3310 <actions>
3311 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3312 </actions>
3313 </object>
3314
3315 <object type="action">
3316 <condition var1="tw_include_text3" var2="1" />
3317 <actions>
3318 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3319 </actions>
3320 </object>
3321 </page>
3322
3323 <page name="decrypt">
3324 <object type="template" name="header" />
3325
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003326 <object type="action">
3327 <condition var1="tw_crypto_pwtype" var2="2" />
3328 <action function="page">decrypt_pattern</action>
3329 </object>
3330
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003331 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003332 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3333 <text>Please Enter Your Password</text>
3334 </object>
3335
3336 <object type="input">
3337 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003338 <text>%tw_crypto_display%</text>
3339 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3340 <restrict minlen="1" maxlen="254" />
3341 <actions>
3342 <action function="page">trydecrypt</action>
3343 </actions>
3344 </object>
3345
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003346 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003347 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003348 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003349 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3350 <text>Password Failed, Please Try Again</text>
3351 </object>
3352
3353 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003354 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003355 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003356 <actions>
3357 <action function="set">tw_page_done=1</action>
3358 <action function="page">main</action>
3359 </actions>
3360 </object>
3361
3362 <object type="template" name="keyboardtemplate" />
3363
3364 <object type="template" name="footer" />
3365 </page>
3366
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003367 <page name="decrypt_pattern">
3368 <object type="template" name="header" />
3369
3370 <object type="text">
3371 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3372 <text>Please Enter Your Pattern</text>
3373 </object>
3374
3375 <object type="text">
3376 <condition var1="tw_password_fail" var2="1" />
3377 <font resource="font" color="%text_fail_color%"/>
3378 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3379 <text>Pattern Failed, Please Try Again</text>
3380 </object>
3381
3382 <object type="patternpassword">
3383 <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
3384 <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
3385 <line color="%pattern_line_color%" width="%pattern_line_width%" />
3386 <data name="tw_crypto_password"/>
3387 <action function="page">trydecrypt</action>
3388 </object>
3389
3390 <object type="button">
3391 <placement x="%col_center_x%" y="%row4_y%" />
3392 <text>Cancel</text>
3393 <actions>
3394 <action function="set">tw_page_done=1</action>
3395 <action function="page">main</action>
3396 </actions>
3397 </object>
3398
3399 <object type="template" name="footer" />
3400 </page>
3401
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003402 <page name="trydecrypt">
3403 <object type="template" name="header" />
3404
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003405 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003406 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3407 <text>Trying Decryption with Your Password</text>
3408 </object>
3409
3410 <object type="template" name="action_page_console" />
3411
3412 <object type="template" name="progress_bar" />
3413
3414 <object type="action">
3415 <action function="decrypt"></action>
3416 </object>
3417
3418 <object type="action">
3419 <conditions>
3420 <condition var1="tw_operation_state" var2="1" />
3421 <condition var1="tw_operation_status" op="!=" var2="0" />
3422 </conditions>
3423 <actions>
3424 <action function="set">tw_password_fail=1</action>
3425 <action function="page">decrypt</action>
3426 </actions>
3427 </object>
3428
3429 <object type="action">
3430 <conditions>
3431 <condition var1="tw_operation_state" var2="1" />
3432 <condition var1="tw_operation_status" op="=" var2="0" />
3433 </conditions>
3434 <actions>
3435 <action function="set">tw_page_done=1</action>
3436 <action function="page">main</action>
3437 </actions>
3438 </object>
3439 </page>
3440
3441 <page name="terminalfolder">
3442 <object type="template" name="header" />
3443
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003444 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003445 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3446 <text>Browse to Starting Folder</text>
3447 </object>
3448
3449 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003450 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003451 <text>%tw_terminal_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003452 <filter folders="1" files="0" />
3453 <path name="tw_terminal_location" default="/" />
3454 <data name="tw_terminal" />
3455 <selection name="tw_terminal_selection" />
3456 </object>
3457
3458 <object type="template" name="sort_options" />
3459
3460 <object type="action">
3461 <touch key="home" />
3462 <action function="page">main</action>
3463 </object>
3464
3465 <object type="action">
3466 <touch key="back" />
3467 <action function="page">advanced</action>
3468 </object>
3469
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003470 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003471 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003472 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003473 <actions>
3474 <action function="page">terminalcommand</action>
3475 </actions>
3476 </object>
3477 </page>
3478
3479 <page name="terminalcommand">
3480 <object type="template" name="header" />
3481
3482 <object type="console">
3483 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003484 </object>
3485
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003486 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003487 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003488 <text>Starting Path: %tw_terminal_location%</text>
3489 </object>
3490
3491 <object type="input">
3492 <condition var1="tw_terminal_state" var2="0" />
3493 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003494 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003495 <font resource="fixed" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003496 <data name="tw_terminal_command" />
3497 <restrict minlen="1" />
3498 <action function="terminalcommand">%tw_terminal_command%</action>
3499 </object>
3500
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003501 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003502 <condition var1="tw_terminal_state" var2="1" />
3503 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003504 <text>KILL</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003505 <action function="killterminal"></action>
3506 </object>
3507
3508 <object type="template" name="keyboardtemplate" />
3509
3510 <object type="action">
3511 <touch key="home" />
3512 <action function="page">main</action>
3513 </object>
3514
3515 <object type="action">
3516 <touch key="back" />
3517 <action function="page">terminalfolder</action>
3518 </object>
3519 </page>
3520
3521 <page name="sideload">
3522 <object type="template" name="header" />
3523
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003524 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003525 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3526 <text>ADB Sideload</text>
3527 </object>
3528
3529 <object type="checkbox">
3530 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003531 <text>Wipe Dalvik Cache.</text>
3532 <data variable="tw_wipe_dalvik" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003533 </object>
3534
3535 <object type="checkbox">
3536 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003537 <text>Wipe Cache.</text>
3538 <data variable="tw_wipe_cache" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003539 </object>
3540
3541 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003542 <text>Swipe to Start Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003543 <actions>
3544 <action function="set">tw_back=advanced</action>
3545 <action function="set">tw_action=adbsideload</action>
3546 <action function="set">tw_action_text1=ADB Sideload</action>
3547 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3548 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3549 <action function="set">tw_has_cancel=1</action>
3550 <action function="set">tw_show_reboot=1</action>
3551 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3552 <action function="page">action_page</action>
3553 </actions>
3554 </object>
3555
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003556 <object type="action">
3557 <touch key="home" />
3558 <action function="page">main</action>
3559 </object>
3560
3561 <object type="action">
3562 <touch key="back" />
3563 <action function="page">advanced</action>
3564 </object>
3565 </page>
3566
thata3d31fb2014-12-21 22:27:40 +01003567 <page name="fixperms">
3568 <object type="template" name="header" />
3569
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003570 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003571 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3572 <text>Fix Permissions</text>
3573 </object>
3574
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003575 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003576 <placement x="%col1_x%" y="%row2_text_y%" />
3577 <text>Note: Fixing permissions is rarely needed.</text>
3578 </object>
3579
3580 <object type="checkbox">
3581 <placement x="%col1_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003582 <text>Also fix SELinux contexts</text>
3583 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003584 </object>
3585
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003586 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003587 <placement x="%col1_x%" y="%row4_text_y%" />
3588 <text>Fixing SELinux contexts may cause</text>
3589 </object>
3590
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003591 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003592 <placement x="%col1_x%" y="%row5_text_y%" />
3593 <text>your device to not boot properly.</text>
3594 </object>
3595
3596 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003597 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003598 <actions>
3599 <action function="set">tw_back=advanced</action>
3600 <action function="set">tw_action=fixpermissions</action>
3601 <action function="set">tw_action_text1=Fixing Permissions...</action>
3602 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3603 <action function="set">tw_slider_text=Swipe to Confirm</action>
3604 <action function="set">tw_show_reboot=1</action>
3605 <action function="page">action_page</action>
3606 </actions>
3607 </object>
3608
thata3d31fb2014-12-21 22:27:40 +01003609 <object type="action">
3610 <touch key="home" />
3611 <action function="page">main</action>
3612 </object>
3613
3614 <object type="action">
3615 <touch key="back" />
3616 <action function="page">advanced</action>
3617 </object>
3618
3619 <object type="template" name="footer" />
3620 </page>
3621
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003622 <page name="installsu">
3623 <object type="template" name="header" />
3624
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003625 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003626 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3627 <text>Install SuperSU?</text>
3628 </object>
3629
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003630 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003631 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3632 <text>Your device does not appear to be rooted.</text>
3633 </object>
3634
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003635 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003636 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3637 <text>Install SuperSU now?</text>
3638 </object>
3639
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003640 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003641 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3642 <text>This will root your device.</text>
3643 </object>
3644
3645 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003646 <placement x="%col_center_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003647 <text>Do Not Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003648 <action function="set">tw_page_done=1</action>
3649 </object>
3650
3651 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003652 <text>Swipe to Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003653 <actions>
3654 <action function="set">tw_action=installsu</action>
3655 <action function="set">tw_action_text1=Installing SuperSU</action>
3656 <action function="set">tw_action_text2=</action>
3657 <action function="page">singleaction_page</action>
3658 </actions>
3659 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003660 </page>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003661
3662 <page name="system_readonly">
3663 <object type="template" name="header" />
3664
3665 <object type="text">
3666 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3667 <text>TWRP has detected an unmodified system partition.</text>
3668 </object>
3669
3670 <object type="text">
3671 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3672 <text>TWRP can leave your system partition unmodified</text>
3673 </object>
3674
3675 <object type="text">
3676 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3677 <text>to make it easier for you to take official updates.</text>
3678 </object>
3679
3680 <object type="text">
3681 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
3682 <text>TWRP will be unable to prevent the stock ROM from</text>
3683 </object>
3684
3685 <object type="text">
3686 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3687 <text>replacing TWRP and will not offer to root your device.</text>
3688 </object>
3689
3690 <object type="text">
3691 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
3692 <text>Installing zips or performing adb operations may still</text>
3693 </object>
3694
3695 <object type="text">
3696 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
3697 <text>modify the system partition.</text>
3698 </object>
3699
3700 <object type="checkbox">
3701 <condition var1="tw_is_encrypted" var2="0" />
3702 <placement x="%col1_x%" y="%row7_text_y%" />
3703 <text>Never show this screen during boot again</text>
3704 <data variable="tw_never_show_system_ro_page" />
3705 </object>
3706
3707 <object type="button">
3708 <placement x="%col_center_x%" y="%row9_text_y%" />
3709 <text>Keep Read Only</text>
3710 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003711 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003712 <action function="set">tw_page_done=1</action>
3713 <action function="page">%tw_back%</action>
3714 </actions>
3715 </object>
3716
3717 <object type="slider">
3718 <text>Swipe to Allow Modifications</text>
3719 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003720 <action function="mountsystemtoggle">0</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003721 <action function="set">tw_page_done=1</action>
3722 <action function="page">%tw_back%</action>
3723 </actions>
3724 </object>
3725 </page>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003726 </pages>
3727</recovery>