blob: d6a3fa8a2a6c73011a488352a4c2a2c4c060da10 [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">
1099 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001100 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001101 <text>Repair</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001102 <actions>
1103 <action function="set">tw_back=partitionoptions</action>
1104 <action function="set">tw_action=repair</action>
1105 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1106 <action function="set">tw_has_action2=0</action>
1107 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1108 <action function="set">tw_text2=</action>
1109 <action function="set">tw_action_text1=Repairing...</action>
1110 <action function="set">tw_complete_text1=Repair Complete</action>
1111 <action function="set">tw_slider_text=Swipe to Repair</action>
1112 <action function="page">confirm_action</action>
1113 </actions>
1114 </object>
1115
1116 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001117 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001118 <text>Change File Sys</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001119 <action function="page">selectfilesystem</action>
1120 </object>
1121
1122 <object type="action">
1123 <touch key="home" />
1124 <action function="page">main</action>
1125 </object>
1126
1127 <object type="action">
1128 <touch key="back" />
1129 <action function="page">advancedwipe</action>
1130 </object>
1131
1132 <object type="template" name="footer" />
1133 </page>
1134
Dees Troy298c4382014-09-03 14:42:26 +00001135 <page name="refreshfilesystem">
1136 <object type="action">
1137 <condition var1="tw_check_partition_list" op="=" var2="1" />
1138 <actions>
1139 <action function="set">partitionlisterror=0</action>
1140 <action function="getpartitiondetails"></action>
1141 <action function="page">selectfilesystem</action>
1142 </actions>
1143 </object>
1144
1145 <object type="action">
1146 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1147 <actions>
1148 <action function="set">partitionlisterror=1</action>
1149 <action function="set">tw_wipe_list=</action>
1150 <action function="page">advancedwipe</action>
1151 </actions>
1152 </object>
1153 </page>
1154
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001155 <page name="selectfilesystem">
1156 <object type="template" name="header" />
1157
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001158 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001159 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1160 <text>Change file system for: %tw_partition_name%</text>
1161 </object>
1162
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001163 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001164 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1165 <text>Mount Point: %tw_partition_mount_point%</text>
1166 </object>
1167
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001168 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001169 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1170 <text>Current file system: %tw_partition_file_system%</text>
1171 </object>
1172
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001173 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001174 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1175 <text>Proceed with caution!</text>
1176 </object>
1177
1178 <object type="button">
1179 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001180 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001181 <text>EXT2</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001182 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001183 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001184 <action function="set">tw_action=changefilesystem</action>
1185 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1186 <action function="set">tw_action_new_file_system=ext2</action>
1187 <action function="set">tw_has_action2=0</action>
1188 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1189 <action function="set">tw_text2=</action>
1190 <action function="set">tw_action_text1=Formatting...</action>
1191 <action function="set">tw_complete_text1=Format Complete</action>
1192 <action function="set">tw_slider_text=Swipe to Change</action>
1193 <action function="page">confirm_action</action>
1194 </actions>
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="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001200 <text>EXT3</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=ext3</action>
1206 <action function="set">tw_has_action2=0</action>
1207 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</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="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001219 <text>EXT4</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=ext4</action>
1225 <action function="set">tw_has_action2=0</action>
1226 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</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_f2fs" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001237 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001238 <text>F2FS</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=f2fs</action>
1244 <action function="set">tw_has_action2=0</action>
1245 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</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_vfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001256 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001257 <text>FAT</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=vfat</action>
1263 <action function="set">tw_has_action2=0</action>
1264 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</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_exfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001275 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001276 <text>exFAT</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=exfat</action>
1282 <action function="set">tw_has_action2=0</action>
1283 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</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="action">
1293 <touch key="home" />
1294 <action function="page">main</action>
1295 </object>
1296
1297 <object type="action">
1298 <touch key="back" />
1299 <action function="page">partitionoptions</action>
1300 </object>
1301
1302 <object type="template" name="footer" />
1303 </page>
1304
1305 <page name="backup">
1306 <object type="template" name="header" />
1307
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001308 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -06001309 <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 -05001310 <text>Backup Name: %tw_backup_name%</text>
1311 <actions>
1312 <action function="set">tw_fileexists=0</action>
1313 <action function="page">backupname1</action>
1314 </actions>
1315 </object>
1316
1317 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001318 <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001319 <text>Select Partitions to Back Up:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001320 <data name="tw_backup_list" />
1321 <listtype name="backup" />
1322 </object>
1323
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001324 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001325 <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 -05001326 <text>More...</text>
1327 <action function="page">backupoptions</action>
1328 </object>
1329
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001330 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001331 <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 -05001332 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1333 <actions>
1334 <action function="set">tw_back=backup</action>
1335 <action function="page">selectstorage</action>
1336 </actions>
1337 </object>
1338
1339 <object type="checkbox">
1340 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001341 <text>Compression</text>
1342 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001343 </object>
1344
1345 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001346 <text>Swipe to Back Up</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001347 <action function="page">backup_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001348 </object>
1349
1350 <object type="action">
1351 <touch key="home" />
1352 <action function="page">main</action>
1353 </object>
1354
1355 <object type="action">
1356 <touch key="back" />
1357 <action function="page">main</action>
1358 </object>
1359 </page>
1360
1361 <page name="backupoptions">
1362 <object type="template" name="header" />
1363
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001364 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001365 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1366 <text>More Backup Options</text>
1367 </object>
1368
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001369 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001370 <conditions>
1371 <condition var1="tw_include_encrypted_backup" var2="1" />
1372 <condition var1="tw_encrypt_backup" var2="0" />
1373 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001374 <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 -05001375 <text>No Encryption</text>
1376 <actions>
1377 <action function="page">backupencryption</action>
1378 </actions>
1379 </object>
1380
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001381 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001382 <conditions>
1383 <condition var1="tw_include_encrypted_backup" var2="1" />
1384 <condition var1="tw_encrypt_backup" var2="1" />
1385 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001386 <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 -05001387 <text>Using Encryption</text>
1388 <actions>
1389 <action function="set">tw_password_not_match=0</action>
1390 <action function="page">backupencryption</action>
1391 </actions>
1392 </object>
1393
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001394 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001395 <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 -05001396 <text>Refresh Sizes</text>
1397 <actions>
1398 <action function="refreshsizes"></action>
1399 <action function="page">backupoptions</action>
1400 </actions>
1401 </object>
1402
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001403 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001404 <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 -05001405 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1406 <actions>
1407 <action function="set">tw_back=backupotions</action>
1408 <action function="page">selectstorage</action>
1409 </actions>
1410 </object>
1411
1412 <object type="checkbox">
1413 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001414 <text>Enable compression.</text>
1415 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001416 </object>
1417
1418 <object type="checkbox">
bigbiffbf1d6722015-02-14 16:25:59 -05001419 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001420 <text>Skip MD5 generation during backup.</text>
1421 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001422 </object>
1423
bigbiffbf1d6722015-02-14 16:25:59 -05001424 <object type="checkbox">
1425 <placement x="%col1_x%" y="%row4_text_y%" />
1426 <font resource="font" color="%text_color%" />
1427 <text>Disable Free Space Check.</text>
1428 <data variable="tw_disable_free_space" />
1429 <image checked="checkbox_true" unchecked="checkbox_false" />
1430 </object>
1431
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001432 <object type="action">
1433 <touch key="home" />
1434 <action function="page">main</action>
1435 </object>
1436
1437 <object type="action">
1438 <touch key="back" />
1439 <action function="page">backup</action>
1440 </object>
1441 </page>
1442
1443 <page name="backupname1">
1444 <object type="action">
1445 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001446 <action function="generatebackupname"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001447 </object>
1448
1449 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001450 <action function="page">backupname2</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001451 </object>
1452 </page>
1453
1454 <page name="backupname2">
1455 <object type="template" name="header" />
1456
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001457 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001458 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001459 <text>Please Enter a Backup Name</text>
1460 </object>
1461
1462 <object type="input">
1463 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001464 <text>%tw_backup_name%</text>
1465 <data name="tw_backup_name" />
1466 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1467 <actions>
1468 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1469 <action function="set">tw_existpage=backupname2</action>
1470 <action function="set">tw_notexistpage=backup</action>
1471 <action function="page">filecheck</action>
1472 </actions>
1473 </object>
1474
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001475 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001476 <condition var1="tw_fileexists" var2="1" />
1477 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001478 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001479 <text>A backup with that name already exists!</text>
1480 </object>
1481
1482 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001483 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001484 <text>Append Date</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001485 <action function="appenddatetobackupname"></action>
1486 </object>
1487
1488 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001489 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001490 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001491 <actions>
1492 <action function="set">tw_backup_name=(Auto Generate)</action>
1493 <action function="page">backup</action>
1494 </actions>
1495 </object>
1496
1497 <object type="template" name="keyboardtemplate" />
1498
1499 <object type="action">
1500 <touch key="home" />
1501 <actions>
1502 <action function="set">tw_backup_name=(Auto Generate)</action>
1503 <action function="page">main</action>
1504 </actions>
1505 </object>
1506
1507 <object type="action">
1508 <touch key="back" />
1509 <actions>
1510 <action function="set">tw_backup_name=(Auto Generate)</action>
1511 <action function="page">backup</action>
1512 </actions>
1513 </object>
1514
1515 <object type="template" name="footer" />
1516 </page>
1517
1518 <page name="backupencryption">
1519 <object type="template" name="header" />
1520
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001521 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001522 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1523 <text>Encrypt your backup?</text>
1524 </object>
1525
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001526 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001527 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1528 <text>Please Enter A Password:</text>
1529 </object>
1530
1531 <object type="input">
1532 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001533 <text>%tw_backup_encrypt_display%</text>
1534 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1535 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1536 <action function="page">backupencryption2</action>
1537 </object>
1538
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001539 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001540 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001541 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001542 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1543 <text>Passwords Do Not Match</text>
1544 </object>
1545
1546 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001547 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001548 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001549 <actions>
1550 <action function="set">tw_encrypt_backup=0</action>
1551 <action function="set">tw_backup_password=</action>
1552 <action function="set">tw_backup_password2=</action>
1553 <action function="set">tw_backup_encrypt_display=</action>
1554 <action function="set">tw_backup_encrypt_display2=</action>
1555 <action function="page">backupoptions</action>
1556 </actions>
1557 </object>
1558
1559 <object type="template" name="keyboardtemplate" />
1560
1561 <object type="action">
1562 <touch key="home" />
1563 <action function="page">main</action>
1564 </object>
1565
1566 <object type="action">
1567 <touch key="back" />
1568 <action function="page">backupoptions</action>
1569 </object>
1570
1571 <object type="template" name="footer" />
1572 </page>
1573
1574 <page name="backupencryption2">
1575 <object type="template" name="header" />
1576
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001577 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001578 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1579 <text>Encrypt your backup?</text>
1580 </object>
1581
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001582 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001583 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1584 <text>Please Enter Password Again:</text>
1585 </object>
1586
1587 <object type="input">
1588 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001589 <text>%tw_backup_encrypt_display2%</text>
1590 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1591 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1592 <actions>
1593 <action function="page">checkbackuppassword</action>
1594 </actions>
1595 </object>
1596
1597 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001598 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001599 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001600 <actions>
1601 <action function="set">tw_encrypt_backup=0</action>
1602 <action function="set">tw_backup_password=</action>
1603 <action function="set">tw_backup_password2=</action>
1604 <action function="set">tw_backup_encrypt_display=</action>
1605 <action function="set">tw_backup_encrypt_display2=</action>
1606 <action function="page">backupoptions</action>
1607 </actions>
1608 </object>
1609
1610 <object type="template" name="keyboardtemplate" />
1611
1612 <object type="action">
1613 <touch key="home" />
1614 <action function="page">main</action>
1615 </object>
1616
1617 <object type="action">
1618 <touch key="back" />
1619 <action function="page">backupoptions</action>
1620 </object>
1621
1622 <object type="template" name="footer" />
1623 </page>
1624
1625 <page name="checkbackuppassword">
1626 <object type="action">
1627 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1628 <actions>
1629 <action function="set">tw_encrypt_backup=1</action>
1630 <action function="page">backupoptions</action>
1631 </actions>
1632 </object>
1633
1634 <object type="action">
1635 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1636 <actions>
1637 <action function="set">tw_encrypt_backup=0</action>
1638 <action function="set">tw_password_not_match=1</action>
1639 <action function="set">tw_backup_password=</action>
1640 <action function="set">tw_backup_password2=</action>
1641 <action function="set">tw_backup_encrypt_display=</action>
1642 <action function="set">tw_backup_encrypt_display2=</action>
1643 <action function="page">backupencryption</action>
1644 </actions>
1645 </object>
1646 </page>
1647
1648 <page name="backup_run">
1649 <object type="template" name="header" />
1650
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001651 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001652 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1653 <text>%tw_operation% %tw_partition%</text>
1654 </object>
1655
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001656 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001657 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1658 <text>%tw_file_progress%</text>
1659 </object>
1660
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001661 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001662 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1663 <text>%tw_size_progress%</text>
1664 </object>
1665
1666 <object type="template" name="action_page_console" />
1667
bigbiff7abc5fe2015-01-17 16:53:12 -05001668
1669
1670 <object type="template" name="progress_bar" />
1671
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001672 <object type="button" style="mediumbutton">
bigbiff7abc5fe2015-01-17 16:53:12 -05001673 <placement x="%col_center_medium_x%" y="%row4_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001674 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001675 <actions>
1676 <action function="cancelbackup"></action>
1677 </actions>
1678 </object>
1679
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001680 <object type="template" name="progress_bar" />
1681
1682 <object type="action">
1683 <action function="nandroid">backup</action>
1684 </object>
1685
1686 <object type="action">
1687 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001688 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001689 <actions>
1690 <action function="set">tw_back=backup</action>
1691 <action function="set">tw_complete_text1=Backup Complete</action>
1692 <action function="set">tw_show_reboot=1</action>
1693 <action function="page">action_complete</action>
1694 </actions>
1695 </object>
bigbiff7abc5fe2015-01-17 16:53:12 -05001696
1697 <object type="action">
1698 <condition var1="tw_operation_state" var2="1" />
1699 <condition var1="tw_cancel_backup" var2="1" />
1700 <actions>
1701 <action function="set">tw_back=backup</action>
1702 <action function="set">tw_complete_text1=Backup Cancelled</action>
1703 <action function="set">tw_show_reboot=1</action>
1704 <action function="page">action_complete</action>
1705 </actions>
1706 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001707 </page>
1708
1709 <page name="restore">
1710 <object type="template" name="header" />
1711
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001712 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001713 <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 -05001714 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1715 <actions>
1716 <action function="set">tw_back=restore</action>
1717 <action function="page">selectstorage</action>
1718 </actions>
1719 </object>
1720
1721 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001722 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001723 <text>Select Package to Restore:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001724 <filter folders="1" files="0" nav="0" />
1725 <path name="tw_backups_folder" />
1726 <data name="tw_restore" default="" />
1727 <selection name="tw_restore_name" />
1728 </object>
1729
1730 <object type="template" name="sort_options" />
1731
1732 <object type="action">
1733 <condition var1="tw_restore" op="modified" />
1734 <actions>
1735 <action function="readBackup"></action>
1736 <action function="page">restore_read</action>
1737 </actions>
1738 </object>
1739
1740 <object type="action">
1741 <touch key="home" />
1742 <action function="page">main</action>
1743 </object>
1744
1745 <object type="action">
1746 <touch key="back" />
1747 <action function="page">main</action>
1748 </object>
1749
1750 <object type="template" name="footer" />
1751 </page>
1752
1753 <page name="restore_read">
1754 <object type="action">
1755 <condition var1="tw_restore_encrypted" var2="1" />
1756 <actions>
1757 <action function="set">tw_password_fail=0</action>
1758 <action function="page">restore_decrypt</action>
1759 </actions>
1760 </object>
1761
1762 <object type="action">
1763 <condition var1="tw_restore_encrypted" var2="0" />
1764 <actions>
1765 <action function="page">restore_select</action>
1766 </actions>
1767 </object>
1768 </page>
1769
1770 <page name="restore_decrypt">
1771 <object type="template" name="header" />
1772
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001773 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001774 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1775 <text>Backup Encrypted</text>
1776 </object>
1777
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001778 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001779 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1780 <text>Please Enter Your Password:</text>
1781 </object>
1782
1783 <object type="input">
1784 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001785 <text>%tw_restore_display%</text>
1786 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1787 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1788 <actions>
1789 <action function="page">try_restore_decrypt</action>
1790 </actions>
1791 </object>
1792
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001793 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001794 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001795 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001796 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1797 <text>Password Failed, Please Try Again</text>
1798 </object>
1799
1800 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001801 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001802 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001803 <actions>
1804 <action function="set">tw_page_done=1</action>
1805 <action function="page">restore</action>
1806 </actions>
1807 </object>
1808
1809 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001810 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001811 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001812 <actions>
1813 <action function="set">tw_back=restore</action>
1814 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001815 <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 -05001816 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1817 <action function="set">tw_text2=This cannot be undone!</action>
1818 <action function="set">tw_action_text1=Deleting Backup...</action>
1819 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1820 <action function="set">tw_slider_text=Swipe to Delete</action>
1821 <action function="page">confirm_action</action>
1822 </actions>
1823 </object>
1824
1825 <object type="template" name="keyboardtemplate" />
1826
1827 <object type="action">
1828 <touch key="home" />
1829 <action function="page">main</action>
1830 </object>
1831
1832 <object type="action">
1833 <touch key="back" />
1834 <action function="page">restore</action>
1835 </object>
1836
1837 <object type="template" name="footer" />
1838 </page>
1839
1840 <page name="try_restore_decrypt">
1841 <object type="template" name="header" />
1842
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001843 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001844 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1845 <text>Trying Decryption with Your Password</text>
1846 </object>
1847
1848 <object type="template" name="action_page_console" />
1849
1850 <object type="template" name="progress_bar" />
1851
1852 <object type="action">
1853 <action function="decrypt_backup"></action>
1854 </object>
1855
1856 <object type="action">
1857 <conditions>
1858 <condition var1="tw_operation_state" var2="1" />
1859 <condition var1="tw_operation_status" op="!=" var2="0" />
1860 </conditions>
1861 <actions>
1862 <action function="set">tw_password_fail=1</action>
1863 <action function="page">restore_decrypt</action>
1864 </actions>
1865 </object>
1866
1867 <object type="action">
1868 <conditions>
1869 <condition var1="tw_operation_state" var2="1" />
1870 <condition var1="tw_operation_status" op="=" var2="0" />
1871 </conditions>
1872 <actions>
1873 <action function="set">tw_page_done=1</action>
1874 <action function="page">restore_select</action>
1875 </actions>
1876 </object>
1877 </page>
1878
1879 <page name="restore_select">
1880 <object type="template" name="header" />
1881
1882 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001883 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001884 <text>Restoring: %tw_restore_name%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001885 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1886 <listtype name="restore" />
1887 </object>
1888
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001889 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001890 <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 -05001891 <text>Rename Backup</text>
1892 <actions>
1893 <action function="set">tw_backup_rename=</action>
1894 <action function="set">tw_fileexists=0</action>
1895 <action function="page">renamebackup</action>
1896 </actions>
1897 </object>
1898
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001899 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001900 <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 -05001901 <text>Delete Backup</text>
1902 <actions>
1903 <action function="set">tw_back=restore</action>
1904 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001905 <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 -05001906 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1907 <action function="set">tw_text2=This cannot be undone!</action>
1908 <action function="set">tw_action_text1=Deleting Backup...</action>
1909 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1910 <action function="set">tw_slider_text=Swipe to Delete</action>
1911 <action function="page">confirm_action</action>
1912 </actions>
1913 </object>
1914
1915 <object type="checkbox">
1916 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001917 <text>Enable MD5 verification of backup.</text>
1918 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001919 </object>
1920
1921 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001922 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001923 <action function="page">restore_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001924 </object>
1925
1926 <object type="action">
1927 <touch key="home" />
1928 <action function="page">main</action>
1929 </object>
1930
1931 <object type="action">
1932 <touch key="back" />
1933 <action function="page">restore</action>
1934 </object>
1935 </page>
1936
1937 <page name="renamebackup">
1938 <object type="template" name="header" />
1939
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001940 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001941 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001942 <text>Please Enter a New Backup Name</text>
1943 </object>
1944
1945 <object type="input">
1946 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001947 <text>%tw_backup_rename%</text>
1948 <data name="tw_backup_rename" />
1949 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1950 <actions>
1951 <action function="set">tw_back=restore</action>
1952 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001953 <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 -05001954 <action function="set">tw_text1=Rename Backup?</action>
1955 <action function="set">tw_text2=This cannot be undone!</action>
1956 <action function="set">tw_action_text1=Renaming Backup...</action>
1957 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1958 <action function="set">tw_slider_text=Swipe to Rename</action>
1959 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1960 <action function="set">tw_existpage=renamebackup</action>
1961 <action function="set">tw_notexistpage=confirm_action</action>
1962 <action function="page">filecheck</action>
1963 </actions>
1964 </object>
1965
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001966 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001967 <condition var1="tw_fileexists" var2="1" />
1968 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001969 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001970 <text>A backup with that name already exists!</text>
1971 </object>
1972
1973 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001974 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001975 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001976 <action function="page">restore_select</action>
1977 </object>
1978
1979 <object type="template" name="keyboardtemplate" />
1980
1981 <object type="action">
1982 <touch key="home" />
1983 <action function="page">main</action>
1984 </object>
1985
1986 <object type="action">
1987 <touch key="back" />
1988 <action function="page">restore_select</action>
1989 </object>
1990
1991 <object type="template" name="footer" />
1992 </page>
1993
1994 <page name="restore_run">
1995 <object type="template" name="header" />
1996
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001997 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001998 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1999 <text>%tw_operation% %tw_partition%</text>
2000 </object>
2001
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002002 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002003 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2004 <text>%tw_size_progress%</text>
2005 </object>
2006
2007 <object type="template" name="action_page_console" />
2008
2009 <object type="template" name="progress_bar" />
2010
2011 <object type="action">
2012 <condition var1="tw_operation_state" var2="1" />
2013 <actions>
2014 <action function="set">tw_back=restore_select</action>
2015 <action function="set">tw_complete_text1=Restore Complete</action>
2016 <action function="set">tw_show_reboot=1</action>
2017 <action function="page">action_complete</action>
2018 </actions>
2019 </object>
2020
2021 <object type="action">
2022 <action function="nandroid">restore</action>
2023 </object>
2024 </page>
2025
2026 <page name="selectstorage">
2027 <object type="template" name="header" />
2028
2029 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002030 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002031 <text>Select Storage:</text>
2032 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002033 <data name="tw_storage_path" />
2034 <listtype name="storage" />
2035 </object>
2036
2037 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002038 <placement x="%col_center_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002039 <text>OK</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002040 <actions>
2041 <action function="set">tw_clear_destination=%tw_back%</action>
2042 <action function="page">clear_vars</action>
2043 </actions>
2044 </object>
2045
2046 <object type="action">
2047 <touch key="home" />
2048 <action function="page">main</action>
2049 </object>
2050
2051 <object type="action">
2052 <touch key="back" />
2053 <actions>
2054 <action function="page">%tw_back%</action>
2055 </actions>
2056 </object>
2057
2058 <object type="template" name="footer" />
2059 </page>
2060
2061 <page name="mount">
2062 <object type="template" name="header" />
2063
2064 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002065 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002066 <text>Select Partitions to Mount:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002067 <listtype name="mount" />
2068 </object>
2069
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002070 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002071 <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 -05002072 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2073 <actions>
2074 <action function="set">tw_back=mount</action>
2075 <action function="page">selectstorage</action>
2076 </actions>
2077 </object>
2078
2079 <object type="button">
Ethan Yonker3d49ea72014-08-04 09:14:12 -05002080 <condition var1="tw_has_usb_storage" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002081 <placement x="%col1_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002082 <text>USB Storage</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002083 <action function="page">usb_mount</action>
2084 </object>
2085
2086 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002087 <conditions>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002088 <condition var1="tw_has_mtp" var2="1" />
2089 <condition var1="tw_mtp_enabled" var2="0" />
2090 </conditions>
2091 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002092 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002093 <action function="startmtp"></action>
2094 </object>
2095
2096 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002097 <conditions>
2098 <condition var1="tw_has_mtp" var2="1" />
2099 <condition var1="tw_mtp_enabled" var2="1" />
2100 </conditions>
2101 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002102 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002103 <action function="stopmtp"></action>
2104 </object>
2105
2106 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002107 <conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002108 <condition var1="tw_is_encrypted" var2="1" />
2109 <condition var1="tw_is_decrypted" var2="0" />
2110 </conditions>
2111 <placement x="%col2_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002112 <text>Decrypt Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002113 <action function="page">decrypt</action>
2114 </object>
2115
2116 <object type="action">
2117 <touch key="home" />
2118 <action function="page">main</action>
2119 </object>
2120
2121 <object type="action">
2122 <touch key="back" />
2123 <action function="page">main</action>
2124 </object>
2125
2126 <object type="template" name="footer" />
2127 </page>
2128
2129 <page name="usb_mount">
2130 <object type="template" name="header" />
2131
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002132 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002133 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2134 <text>USB Storage Mounted</text>
2135 </object>
2136
2137 <object type="text" color="%text_color%">
2138 <placement x="%col1_x%" y="%row1_text_y%" />
2139 <font resource="font" />
2140 <text>Be sure to safely remove your device</text>
2141 </object>
2142
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002143 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002144 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002145 <text>from your computer before unmounting!</text>
2146 </object>
2147
2148 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002149 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002150 <text>Unmount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002151 <action function="page">usb_umount</action>
2152 </object>
2153
2154 <object type="action">
2155 <action function="mount">usb</action>
2156 </object>
2157
2158 <object type="template" name="footer" />
2159 </page>
2160
2161 <page name="usb_umount">
2162 <object type="action">
2163 <action function="unmount">usb</action>
2164 </object>
2165
2166 <object type="action">
2167 <action function="page">mount</action>
2168 </object>
2169 </page>
2170
2171 <page name="reboot">
2172 <object type="template" name="header" />
2173
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002174 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002175 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2176 <text>Reboot Menu</text>
2177 </object>
2178
Ethan Yonker72b90ab2015-02-23 08:35:48 -06002179 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002180 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002181 <text>System</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002182 </object>
2183
2184 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002185 <condition var1="tw_reboot_poweroff" var2="1" />
2186 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002187 <text>Power Off</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002188 <actions>
2189 <action function="set">tw_back=reboot</action>
2190 <action function="set">tw_action=reboot</action>
2191 <action function="set">tw_action_param=poweroff</action>
2192 <action function="set">tw_has_action2=0</action>
2193 <action function="set">tw_text1=No OS Installed! Are you</action>
2194 <action function="set">tw_text2=sure you wish to power off?</action>
2195 <action function="set">tw_action_text1=Turning Off...</action>
2196 <action function="set">tw_complete_text1=Turning Off...</action>
2197 <action function="set">tw_slider_text=Swipe to Power Off</action>
2198 <action function="page">rebootcheck</action>
2199 </actions>
2200 </object>
2201
2202 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002203 <condition var1="tw_reboot_recovery" var2="1" />
2204 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002205 <text>Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002206 <actions>
2207 <action function="set">tw_back=reboot</action>
2208 <action function="set">tw_action=reboot</action>
2209 <action function="set">tw_action_param=recovery</action>
2210 <action function="set">tw_has_action2=0</action>
2211 <action function="set">tw_text1=No OS Installed! Are you</action>
2212 <action function="set">tw_text2=sure you wish to reboot?</action>
2213 <action function="set">tw_action_text1=Rebooting...</action>
2214 <action function="set">tw_complete_text1=Rebooting...</action>
2215 <action function="set">tw_slider_text=Swipe to Reboot</action>
2216 <action function="page">rebootcheck</action>
2217 </actions>
2218 </object>
2219
2220 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002221 <condition var1="tw_reboot_bootloader" var2="1" />
2222 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002223 <text>Bootloader</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002224 <actions>
2225 <action function="set">tw_back=reboot</action>
2226 <action function="set">tw_action=reboot</action>
2227 <action function="set">tw_action_param=bootloader</action>
2228 <action function="set">tw_has_action2=0</action>
2229 <action function="set">tw_text1=No OS Installed! Are you</action>
2230 <action function="set">tw_text2=sure you wish to reboot?</action>
2231 <action function="set">tw_action_text1=Rebooting...</action>
2232 <action function="set">tw_complete_text1=Rebooting...</action>
2233 <action function="set">tw_slider_text=Swipe to Reboot</action>
2234 <action function="page">rebootcheck</action>
2235 </actions>
2236 </object>
2237
2238 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002239 <condition var1="tw_download_mode" var2="1" />
2240 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002241 <text>Download</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002242 <actions>
2243 <action function="set">tw_back=reboot</action>
2244 <action function="set">tw_action=reboot</action>
2245 <action function="set">tw_action_param=download</action>
2246 <action function="set">tw_has_action2=0</action>
2247 <action function="set">tw_text1=No OS Installed! Are you</action>
2248 <action function="set">tw_text2=sure you wish to reboot?</action>
2249 <action function="set">tw_action_text1=Rebooting...</action>
2250 <action function="set">tw_complete_text1=Rebooting...</action>
2251 <action function="set">tw_slider_text=Swipe to Reboot</action>
2252 <action function="page">rebootcheck</action>
2253 </actions>
2254 </object>
2255
2256 <object type="action">
2257 <touch key="home" />
2258 <action function="page">main</action>
2259 </object>
2260
2261 <object type="action">
2262 <touch key="back" />
2263 <action function="page">main</action>
2264 </object>
2265
2266 <object type="template" name="footer" />
2267 </page>
2268
2269 <page name="settings">
2270 <object type="template" name="header" />
2271
2272 <object type="checkbox">
2273 <placement x="%col1_x%" y="%row1_header_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002274 <text>Zip file signature verification.</text>
2275 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002276 </object>
2277
2278 <object type="checkbox">
2279 <placement x="%col1_x%" y="%row1_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002280 <text>Use rm -rf instead of formatting.</text>
2281 <data variable="tw_rm_rf" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002282 </object>
2283
2284 <object type="checkbox">
2285 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002286 <text>Skip MD5 generation during backup.</text>
2287 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002288 </object>
2289
2290 <object type="checkbox">
2291 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002292 <text>Enable MD5 verification of backup files.</text>
2293 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002294 </object>
2295
2296 <object type="checkbox">
2297 <placement x="%col1_x%" y="%row4_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002298 <text>Use 24-hour clock.</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002299 <data variable="tw_military_time" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002300 </object>
2301
2302 <object type="checkbox">
2303 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002304 <text>Simulate actions for theme testing.</text>
2305 <data variable="tw_simulate_actions" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002306 </object>
2307
2308 <object type="checkbox">
2309 <condition var1="tw_simulate_actions" var2="1" />
2310 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002311 <text>Simulate failure for actions.</text>
2312 <data variable="tw_simulate_fail" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002313 </object>
2314
2315 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002316 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002317 <text>Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002318 <action function="page">timezone</action>
2319 </object>
2320
2321 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002322 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002323 <text>Screen</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002324 <action function="page">screen</action>
2325 </object>
2326
2327 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002328 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002329 <text>Restore Defaults</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002330 <action function="restoredefaultsettings"></action>
2331 </object>
2332
2333 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002334 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002335 <text>Vibration</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002336 <action function="page">vibrate</action>
2337 </object>
2338
2339 <object type="action">
2340 <touch key="home" />
2341 <action function="page">main</action>
2342 </object>
2343
2344 <object type="action">
2345 <touch key="back" />
2346 <action function="page">main</action>
2347 </object>
2348
2349 <object type="template" name="footer" />
2350 </page>
2351
2352 <page name="timezone">
2353 <object type="template" name="header" />
2354
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002355 <object type="listbox" style="scrolllist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002356 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002357 <text>Select Time Zone:</text>
2358 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002359 <data name="tw_time_zone_guisel" />
2360 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2361 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2362 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2363 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2364 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2365 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2366 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2367 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2368 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2369 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2370 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2371 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2372 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2373 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2374 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2375 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2376 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2377 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2378 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2379 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2380 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2381 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2382 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2383 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2384 </object>
2385
2386 <object type="checkbox">
2387 <placement x="%col1_x%" y="%row_dst_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002388 <text>Do you use daylight savings time (DST)?</text>
2389 <data variable="tw_time_zone_guidst" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002390 </object>
2391
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002392 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002393 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2394 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2395 </object>
2396
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002397 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002398 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002399 <text>None</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002400 <action function="set">tw_time_zone_guioffset=0</action>
2401 </object>
2402
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002403 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002404 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002405 <text>15</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002406 <action function="set">tw_time_zone_guioffset=15</action>
2407 </object>
2408
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002409 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002410 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002411 <text>30</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002412 <action function="set">tw_time_zone_guioffset=30</action>
2413 </object>
2414
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002415 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002416 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002417 <text>45</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002418 <action function="set">tw_time_zone_guioffset=45</action>
2419 </object>
2420
2421 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002422 <placement x="%col_center_x%" y="%tz_set_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002423 <text>Set Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002424 <action function="setguitimezone"></action>
2425 </object>
2426
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002427 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002428 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2429 <text>Current Time Zone: %tw_time_zone%</text>
2430 </object>
2431
2432 <object type="action">
2433 <touch key="home" />
2434 <action function="page">main</action>
2435 </object>
2436
2437 <object type="action">
2438 <touch key="back" />
2439 <action function="page">settings</action>
2440 </object>
2441 </page>
2442
2443 <page name="screen">
2444 <object type="template" name="header" />
2445
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002446 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002447 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2448 <text>Screen Settings</text>
2449 </object>
2450
2451 <object type="button">
2452 <placement x="%col1_x%" y="%row2_text_y%" />
2453 <font resource="font" color="%text_color%" />
2454 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2455 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2456 <text>Enable screen timeout.</text>
2457 <image resource="checkbox_false" />
2458 <action function="set">tw_screen_timeout_secs=60</action>
2459 </object>
2460
2461 <object type="button">
2462 <placement x="%col1_x%" y="%row2_text_y%" />
2463 <font resource="font" color="%text_color%" />
2464 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2465 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2466 <text>Enable screen timeout.</text>
2467 <image resource="checkbox_true" />
2468 <action function="set">tw_screen_timeout_secs=0</action>
2469 </object>
2470
2471 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002472 <conditions>
2473 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2474 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2475 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002476 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002477 <text>Screen timeout in seconds:</text>
2478 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2479 </object>
2480
2481 <object type="slidervalue">
2482 <condition var1="tw_has_brightnesss_file" var2="1" />
2483 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002484 <text>Brightness: %tw_brightness_pct%%</text>
2485 <data variable="tw_brightness_pct" min="10" max="100" />
2486 <actions>
2487 <action function="set">tw_brightness=%tw_brightness_max%</action>
2488 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2489 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002490 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002491 </actions>
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
2504 <object type="template" name="footer" />
2505 </page>
2506
2507 <page name="vibrate">
2508 <object type="template" name="header" />
2509
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002510 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002511 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2512 <text>Vibration Settings :</text>
2513 </object>
2514
2515 <object type="slidervalue">
2516 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002517 <text>Button Vibration:</text>
2518 <data variable="tw_button_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002519 </object>
2520
2521 <object type="slidervalue">
2522 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002523 <text>Keyboard Vibration:</text>
2524 <data variable="tw_keyboard_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002525 </object>
2526
2527 <object type="slidervalue">
2528 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002529 <text>Action Vibration:</text>
2530 <data variable="tw_action_vibrate" min="0" max="500" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002531 </object>
2532
2533 <object type="action">
2534 <touch key="home" />
2535 <action function="page">main</action>
2536 </object>
2537
2538 <object type="action">
2539 <touch key="back" />
2540 <action function="page">settings</action>
2541 </object>
2542
2543 <object type="template" name="footer" />
2544 </page>
2545
2546 <page name="advanced">
2547 <object type="template" name="header" />
2548
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002549 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002550 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2551 <text>Advanced</text>
2552 </object>
2553
2554 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002555 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002556 <text>Copy Log to SD</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002557 <actions>
2558 <action function="set">tw_back=advanced</action>
2559 <action function="set">tw_action=copylog</action>
2560 <action function="set">tw_text1=Copy Log to SD Card?</action>
2561 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2562 <action function="set">tw_complete_text1=Log Copy Complete</action>
2563 <action function="set">tw_slider_text=Swipe to Confirm</action>
2564 <action function="page">confirm_action</action>
2565 </actions>
2566 </object>
2567
2568 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002569 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002570 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002571 <action function="page">fixperms</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002572 </object>
2573
2574 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002575 <condition var1="tw_allow_partition_sdcard" var2="1" />
2576 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002577 <text>Partition SD Card</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002578 <action function="page">partsdcard</action>
2579 </object>
2580
2581 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002582 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002583 <text>File Manager</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002584 <action function="page">filemanagerlist</action>
2585 </object>
2586
2587 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002588 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002589 <text>Terminal Command</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002590 <action function="page">terminalfolder</action>
2591 </object>
2592
2593 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002594 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002595 <text>Reload Theme</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002596 <action function="reload"></action>
2597 </object>
2598
2599 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002600 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002601 <text>ADB Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002602 <action function="page">sideload</action>
2603 </object>
2604
2605 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002606 <condition var1="tw_show_dumlock" var2="1" />
2607 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002608 <text>HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002609 <action function="page">htcdumlock</action>
2610 </object>
2611
2612 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002613 <condition var1="tw_has_injecttwrp" var2="1" />
2614 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002615 <text>Re-Inject TWRP</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002616 <actions>
2617 <action function="set">tw_back=advanced</action>
2618 <action function="set">tw_action=reinjecttwrp</action>
2619 <action function="set">tw_text1=Re-Inject TWRP?</action>
2620 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2621 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2622 <action function="set">tw_slider_text=Swipe to Confirm</action>
2623 <action function="page">confirm_action</action>
2624 </actions>
2625 </object>
2626
2627 <object type="action">
2628 <touch key="home" />
2629 <action function="page">main</action>
2630 </object>
2631
2632 <object type="action">
2633 <touch key="back" />
2634 <action function="page">main</action>
2635 </object>
2636
2637 <object type="template" name="footer" />
2638 </page>
2639
2640 <page name="partsdcard">
2641 <object type="template" name="header" />
2642
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002643 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002644 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2645 <text>Partition SD Card</text>
2646 </object>
2647
2648 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002649 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002650 <text></text>
2651 <image resource="minus_button" />
2652 <action function="addsubtract">tw_sdext_size-128</action>
2653 </object>
2654
2655 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002656 <placement x="%sd_plus_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002657 <text></text>
2658 <image resource="plus_button" />
2659 <action function="addsubtract">tw_sdext_size+128</action>
2660 </object>
2661
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002662 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002663 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2664 <text>EXT Size: %tw_sdext_size%</text>
2665 </object>
2666
2667 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002668 <placement x="%col1_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002669 <text></text>
2670 <image resource="minus_button" />
2671 <action function="addsubtract">tw_swap_size-32</action>
2672 </object>
2673
2674 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002675 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002676 <text></text>
2677 <image resource="plus_button" />
2678 <action function="addsubtract">tw_swap_size+32</action>
2679 </object>
2680
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002681 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002682 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2683 <text>Swap Size: %tw_swap_size%</text>
2684 </object>
2685
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002686 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002687 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2688 <text>File system: %tw_sdpart_file_system%</text>
2689 </object>
2690
2691 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002692 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2693 <font resource="font" color="%button_text_color%" />
2694 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002695 <action function="set">tw_sdpart_file_system=ext3</action>
2696 </object>
2697
2698 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002699 <condition var1="tw_sdext_disable_ext4" var2="0" />
2700 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002701 <text>EXT4</text>
2702 <image resource="main_button" />
2703 <action function="set">tw_sdpart_file_system=ext4</action>
2704 </object>
2705
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002706 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002707 <placement x="%col1_x%" y="%row10_text_y%" />
2708 <text>You will lose all files on your SD card!</text>
2709 </object>
2710
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002711 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002712 <placement x="%col1_x%" y="%row11_text_y%" />
2713 <text>This action cannot be undone!</text>
2714 </object>
2715
2716 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002717 <text>Swipe to Partition</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002718 <actions>
2719 <action function="set">tw_back=partsdcard</action>
2720 <action function="set">tw_action=partitionsd</action>
2721 <action function="set">tw_has_action2=1</action>
2722 <action function="set">tw_action2=set</action>
2723 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2724 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2725 <action function="set">tw_action_text2=This will take a few minutes.</action>
2726 <action function="set">tw_complete_text1=Partitioning Complete</action>
2727 <action function="page">action_page</action>
2728 </actions>
2729 </object>
2730
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002731 <object type="action">
2732 <touch key="home" />
2733 <action function="page">main</action>
2734 </object>
2735
2736 <object type="action">
2737 <touch key="back" />
2738 <action function="page">advanced</action>
2739 </object>
2740 </page>
2741
2742 <page name="htcdumlock">
2743 <object type="template" name="header" />
2744
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002745 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002746 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2747 <text>HTC Dumlock</text>
2748 </object>
2749
2750 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002751 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002752 <text>Restore Original Boot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002753 <actions>
2754 <action function="set">tw_back=htcdumlock</action>
2755 <action function="set">tw_action=htcdumlockrestoreboot</action>
2756 <action function="set">tw_text1=Restore original boot image?</action>
2757 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2758 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2759 <action function="set">tw_slider_text=Swipe to Confirm</action>
2760 <action function="page">confirm_action</action>
2761 </actions>
2762 </object>
2763
2764 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002765 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002766 <text>Reflash Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002767 <actions>
2768 <action function="set">tw_back=htcdumlock</action>
2769 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2770 <action function="set">tw_text1=Reflash recovery to boot?</action>
2771 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2772 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2773 <action function="set">tw_slider_text=Swipe to Confirm</action>
2774 <action function="page">confirm_action</action>
2775 </actions>
2776 </object>
2777
2778 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002779 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002780 <text>Install HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002781 <actions>
2782 <action function="set">tw_back=htcdumlock</action>
2783 <action function="set">tw_action=installhtcdumlock</action>
2784 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2785 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2786 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2787 <action function="set">tw_slider_text=Swipe to Confirm</action>
2788 <action function="page">confirm_action</action>
2789 </actions>
2790 </object>
2791
2792 <object type="action">
2793 <touch key="home" />
2794 <action function="page">main</action>
2795 </object>
2796
2797 <object type="action">
2798 <touch key="back" />
2799 <action function="page">advanced</action>
2800 </object>
2801
2802 <object type="template" name="footer" />
2803 </page>
2804
2805 <page name="lock">
2806 <background color="#000000A0" />
2807
2808 <object type="image">
2809 <image resource="unlock-icon" />
Ethan Yonker591b9202015-03-11 11:17:15 -05002810 <placement x="%center_x%" y="%lock_y%" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002811 </object>
2812
2813 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002814 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002815 <action function="overlay"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002816 </object>
2817 </page>
2818
2819 <page name="filemanagerlist">
2820 <object type="template" name="header" />
2821
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002822 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002823 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2824 <text>File Manager: Select a File or Folder</text>
2825 </object>
2826
2827 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002828 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002829 <text>%tw_file_location1%</text>
Matt Mower82931532015-02-27 14:19:59 -06002830 <filter folders="1" files="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002831 <path name="tw_file_location1" default="/" />
2832 <data name="tw_filename1" />
2833 <selection name="tw_selection1" />
2834 </object>
2835
2836 <object type="template" name="sort_options" />
2837
2838 <object type="action">
2839 <actions>
2840 <action function="set">tw_fm_type=File</action>
2841 <action function="set">tw_fm_isfolder=0</action>
2842 </actions>
2843 </object>
2844
2845 <object type="action">
2846 <touch key="home" />
2847 <action function="page">main</action>
2848 </object>
2849
2850 <object type="action">
2851 <touch key="back" />
2852 <action function="page">advanced</action>
2853 </object>
2854
2855 <object type="action">
2856 <condition var1="tw_filename1" op="modified" />
2857 <actions>
2858 <action function="page">filemanageroptions</action>
2859 </actions>
2860 </object>
2861
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002862 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002863 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002864 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002865 <actions>
2866 <action function="set">tw_filename1=tw_file_location1</action>
2867 <action function="set">tw_fm_isfolder=1</action>
2868 <action function="set">tw_fm_type=Folder</action>
2869 <action function="page">filemanageroptions</action>
2870 </actions>
2871 </object>
2872 </page>
2873
2874 <page name="filemanageroptions">
2875 <object type="template" name="header" />
2876
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002877 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002878 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2879 <text>%tw_fm_type% Selected:</text>
2880 </object>
2881
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002882 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002883 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2884 <text>%tw_filename1%</text>
2885 </object>
2886
2887 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002888 <condition var1="tw_fm_isfolder" var2="0" />
2889 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002890 <text>Copy File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002891 <actions>
2892 <action function="set">tw_filemanager_command=cp</action>
2893 <action function="set">tw_fm_text1=Copying</action>
2894 <action function="page">choosedestinationfolder</action>
2895 </actions>
2896 </object>
2897
2898 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002899 <condition var1="tw_fm_isfolder" var2="1" />
2900 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002901 <text>Copy Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002902 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002903 <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 -05002904 <action function="set">tw_fm_text1=Copying</action>
2905 <action function="page">choosedestinationfolder</action>
2906 </actions>
2907 </object>
2908
2909 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002910 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002911 <text>Move</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002912 <actions>
2913 <action function="set">tw_filemanager_command=mv</action>
2914 <action function="set">tw_fm_text1=Moving</action>
2915 <action function="page">choosedestinationfolder</action>
2916 </actions>
2917 </object>
2918
2919 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002920 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002921 <text>chmod 755</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002922 <actions>
2923 <action function="set">tw_filemanager_command=chmod 755</action>
2924 <action function="set">tw_fm_text1=chmod 755</action>
2925 <action function="set">tw_fm_text2=</action>
2926 <action function="set">tw_fm_text3=</action>
2927 <action function="set">tw_include_text3=0</action>
2928 <action function="set">tw_back=filemanageroptions</action>
2929 <action function="page">filemanagerconfirm</action>
2930 </actions>
2931 </object>
2932
2933 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002934 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002935 <text>chmod</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002936 <actions>
2937 <action function="set">tw_filemanager_rename=0000</action>
2938 <action function="set">tw_fm_text2=</action>
2939 <action function="set">tw_fm_text3=</action>
2940 <action function="set">tw_include_text3=0</action>
2941 <action function="set">tw_back=filemanageroptions</action>
2942 <action function="page">filemanagerchmod</action>
2943 </actions>
2944 </object>
2945
2946 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002947 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002948 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002949 <actions>
2950 <action function="set">tw_filemanager_command=rm -rf</action>
2951 <action function="set">tw_fm_text1=Deleting</action>
2952 <action function="set">tw_fm_text2=</action>
2953 <action function="set">tw_fm_text3=</action>
2954 <action function="set">tw_include_text3=0</action>
2955 <action function="set">tw_back=filemanageroptions</action>
2956 <action function="page">filemanagerconfirm</action>
2957 </actions>
2958 </object>
2959
2960 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002961 <condition var1="tw_fm_isfolder" var2="0" />
2962 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002963 <text>Rename File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002964 <actions>
2965 <action function="set">tw_filemanager_rename=tw_selection1</action>
2966 <action function="set">tw_fm_text1=Renaming</action>
2967 <action function="set">tw_filemanager_command=mv</action>
2968 <action function="page">filemanagerrenamefile</action>
2969 </actions>
2970 </object>
2971
2972 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002973 <condition var1="tw_fm_isfolder" var2="1" />
2974 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002975 <text>Rename Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002976 <actions>
2977 <action function="set">tw_filemanager_rename=tw_selection1</action>
2978 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06002979 <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 -05002980 <action function="page">filemanagerrenamefolder</action>
2981 </actions>
2982 </object>
2983
2984 <object type="action">
2985 <touch key="home" />
2986 <action function="page">main</action>
2987 </object>
2988
2989 <object type="action">
2990 <touch key="back" />
2991 <action function="page">filemanagerlist</action>
2992 </object>
2993
2994 <object type="template" name="footer" />
2995 </page>
2996
2997 <page name="choosedestinationfolder">
2998 <object type="template" name="header" />
2999
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003000 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003001 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06003002 <text>Browse to Destination &amp; Press Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003003 </object>
3004
3005 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003006 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003007 <text>%tw_file_location2%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003008 <filter folders="1" files="0" />
3009 <path name="tw_file_location2" default="/" />
3010 <data name="tw_filename2" />
3011 <selection name="tw_selection2" />
3012 </object>
3013
3014 <object type="template" name="sort_options" />
3015
3016 <object type="action">
3017 <touch key="home" />
3018 <action function="page">main</action>
3019 </object>
3020
3021 <object type="action">
3022 <touch key="back" />
3023 <action function="page">filemanageroptions</action>
3024 </object>
3025
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003026 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003027 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003028 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003029 <actions>
3030 <action function="set">tw_fm_text2=to</action>
3031 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3032 <action function="set">tw_include_text3=1</action>
3033 <action function="set">tw_back=filemanageroptions</action>
3034 <action function="page">filemanagerconfirm</action>
3035 </actions>
3036 </object>
3037 </page>
3038
3039 <page name="filemanagerrenamefile">
3040 <object type="template" name="header" />
3041
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003042 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003043 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003044 <text>Please Enter a New %tw_fm_type% Name</text>
3045 </object>
3046
3047 <object type="input">
3048 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003049 <text>%tw_filemanager_rename%</text>
3050 <data name="tw_filemanager_rename" />
3051 <restrict minlen="1" maxlen="128" />
3052 <actions>
3053 <action function="set">tw_fm_text2=to</action>
3054 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3055 <action function="set">tw_include_text3=1</action>
3056 <action function="set">tw_back=filemanageroptions</action>
3057 <action function="page">filemanagerconfirm</action>
3058 </actions>
3059 </object>
3060
3061 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003062 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003063 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003064 <action function="page">filemanageroptions</action>
3065 </object>
3066
3067 <object type="template" name="keyboardtemplate" />
3068
3069 <object type="action">
3070 <touch key="home" />
3071 <action function="page">main</action>
3072 </object>
3073
3074 <object type="action">
3075 <touch key="back" />
3076 <action function="page">filemanageroptions</action>
3077 </object>
3078
3079 <object type="template" name="footer" />
3080 </page>
3081
3082 <page name="filemanagerrenamefolder">
3083 <object type="template" name="header" />
3084
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003085 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003086 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003087 <text>Please Enter a New %tw_fm_type% Name</text>
3088 </object>
3089
3090 <object type="input">
3091 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003092 <text>%tw_filemanager_rename%</text>
3093 <data name="tw_filemanager_rename" />
3094 <restrict minlen="1" maxlen="128" />
3095 <actions>
3096 <action function="set">tw_fm_text2=to</action>
3097 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3098 <action function="set">tw_include_text3=1</action>
3099 <action function="set">tw_back=filemanageroptions</action>
3100 <action function="page">filemanagerconfirm</action>
3101 </actions>
3102 </object>
3103
3104 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003105 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003106 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003107 <action function="page">filemanageroptions</action>
3108 </object>
3109
3110 <object type="template" name="keyboardtemplate" />
3111
3112 <object type="action">
3113 <touch key="home" />
3114 <action function="page">main</action>
3115 </object>
3116
3117 <object type="action">
3118 <touch key="back" />
3119 <action function="page">filemanageroptions</action>
3120 </object>
3121
3122 <object type="template" name="footer" />
3123 </page>
3124
3125 <page name="filemanagerchmod">
3126 <object type="template" name="header" />
3127
3128 <object type="text" color="%text_color%">
3129 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3130 <font resource="font" />
3131 <text>Please Enter New Permissions</text>
3132 </object>
3133
3134 <object type="input">
3135 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003136 <text>%tw_filemanager_rename%</text>
3137 <data name="tw_filemanager_rename" />
3138 <restrict minlen="3" maxlen="4" allow="0123456789" />
3139 <actions>
3140 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3141 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3142 <action function="set">tw_back=filemanageroptions</action>
3143 <action function="page">filemanagerconfirm</action>
3144 </actions>
3145 </object>
3146
3147 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003148 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003149 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003150 <action function="page">filemanageroptions</action>
3151 </object>
3152
3153 <object type="template" name="keyboardtemplate" />
3154
3155 <object type="action">
3156 <touch key="home" />
3157 <action function="page">main</action>
3158 </object>
3159
3160 <object type="action">
3161 <touch key="back" />
3162 <action function="page">filemanageroptions</action>
3163 </object>
3164
3165 <object type="template" name="footer" />
3166 </page>
3167
3168 <page name="filemanagerconfirm">
3169 <object type="template" name="header" />
3170
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003171 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003172 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3173 <text>%tw_fm_text1%</text>
3174 </object>
3175
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003176 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003177 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3178 <text>%tw_filename1%</text>
3179 </object>
3180
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003181 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003182 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3183 <text>%tw_fm_text2%</text>
3184 </object>
3185
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003186 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003187 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3188 <text>%tw_fm_text3%</text>
3189 </object>
3190
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003191 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003192 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3193 <text>Press back button to cancel.</text>
3194 </object>
3195
3196 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003197 <action function="page">filemanageracction</action>
3198 </object>
3199
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003200 <object type="action">
3201 <touch key="back" />
3202 <action function="page">%tw_back%</action>
3203 </object>
3204
3205 <object type="action">
3206 <touch key="home" />
3207 <action function="page">main</action>
3208 </object>
3209 </page>
3210
3211 <page name="filemanageracction">
3212 <object type="template" name="header" />
3213
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003214 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003215 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3216 <text>%tw_fm_text1%</text>
3217 </object>
3218
3219 <object type="template" name="action_page_console" />
3220
3221 <object type="template" name="progress_bar" />
3222
3223 <object type="action">
3224 <conditions>
3225 <condition var1="tw_operation_state" var2="1" />
3226 <condition var1="tw_operation_status" var2="0" />
3227 </conditions>
3228 <actions>
3229 <action function="set">tw_back=filemanagerlist</action>
3230 <action function="set">tw_complete_text1=File Operation Complete</action>
3231 <action function="page">action_complete</action>
3232 </actions>
3233 </object>
3234
3235 <object type="action">
3236 <conditions>
3237 <condition var1="tw_operation_state" var2="1" />
3238 <condition var1="tw_operation_status" op="!=" var2="0" />
3239 </conditions>
3240 <actions>
3241 <action function="set">tw_complete_text1=File Operation Complete</action>
3242 <action function="page">action_complete</action>
3243 </actions>
3244 </object>
3245
3246 <object type="action">
3247 <condition var1="tw_include_text3" var2="0" />
3248 <actions>
3249 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3250 </actions>
3251 </object>
3252
3253 <object type="action">
3254 <condition var1="tw_include_text3" var2="1" />
3255 <actions>
3256 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3257 </actions>
3258 </object>
3259 </page>
3260
3261 <page name="decrypt">
3262 <object type="template" name="header" />
3263
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003264 <object type="action">
3265 <condition var1="tw_crypto_pwtype" var2="2" />
3266 <action function="page">decrypt_pattern</action>
3267 </object>
3268
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003269 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003270 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3271 <text>Please Enter Your Password</text>
3272 </object>
3273
3274 <object type="input">
3275 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003276 <text>%tw_crypto_display%</text>
3277 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3278 <restrict minlen="1" maxlen="254" />
3279 <actions>
3280 <action function="page">trydecrypt</action>
3281 </actions>
3282 </object>
3283
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003284 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003285 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003286 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003287 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3288 <text>Password Failed, Please Try Again</text>
3289 </object>
3290
3291 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003292 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003293 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003294 <actions>
3295 <action function="set">tw_page_done=1</action>
3296 <action function="page">main</action>
3297 </actions>
3298 </object>
3299
3300 <object type="template" name="keyboardtemplate" />
3301
3302 <object type="template" name="footer" />
3303 </page>
3304
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003305 <page name="decrypt_pattern">
3306 <object type="template" name="header" />
3307
3308 <object type="text">
3309 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3310 <text>Please Enter Your Pattern</text>
3311 </object>
3312
3313 <object type="text">
3314 <condition var1="tw_password_fail" var2="1" />
3315 <font resource="font" color="%text_fail_color%"/>
3316 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3317 <text>Pattern Failed, Please Try Again</text>
3318 </object>
3319
3320 <object type="patternpassword">
3321 <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
3322 <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
3323 <line color="%pattern_line_color%" width="%pattern_line_width%" />
3324 <data name="tw_crypto_password"/>
3325 <action function="page">trydecrypt</action>
3326 </object>
3327
3328 <object type="button">
3329 <placement x="%col_center_x%" y="%row4_y%" />
3330 <text>Cancel</text>
3331 <actions>
3332 <action function="set">tw_page_done=1</action>
3333 <action function="page">main</action>
3334 </actions>
3335 </object>
3336
3337 <object type="template" name="footer" />
3338 </page>
3339
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003340 <page name="trydecrypt">
3341 <object type="template" name="header" />
3342
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003343 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003344 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3345 <text>Trying Decryption with Your Password</text>
3346 </object>
3347
3348 <object type="template" name="action_page_console" />
3349
3350 <object type="template" name="progress_bar" />
3351
3352 <object type="action">
3353 <action function="decrypt"></action>
3354 </object>
3355
3356 <object type="action">
3357 <conditions>
3358 <condition var1="tw_operation_state" var2="1" />
3359 <condition var1="tw_operation_status" op="!=" var2="0" />
3360 </conditions>
3361 <actions>
3362 <action function="set">tw_password_fail=1</action>
3363 <action function="page">decrypt</action>
3364 </actions>
3365 </object>
3366
3367 <object type="action">
3368 <conditions>
3369 <condition var1="tw_operation_state" var2="1" />
3370 <condition var1="tw_operation_status" op="=" var2="0" />
3371 </conditions>
3372 <actions>
3373 <action function="set">tw_page_done=1</action>
3374 <action function="page">main</action>
3375 </actions>
3376 </object>
3377 </page>
3378
3379 <page name="terminalfolder">
3380 <object type="template" name="header" />
3381
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003382 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003383 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3384 <text>Browse to Starting Folder</text>
3385 </object>
3386
3387 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003388 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003389 <text>%tw_terminal_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003390 <filter folders="1" files="0" />
3391 <path name="tw_terminal_location" default="/" />
3392 <data name="tw_terminal" />
3393 <selection name="tw_terminal_selection" />
3394 </object>
3395
3396 <object type="template" name="sort_options" />
3397
3398 <object type="action">
3399 <touch key="home" />
3400 <action function="page">main</action>
3401 </object>
3402
3403 <object type="action">
3404 <touch key="back" />
3405 <action function="page">advanced</action>
3406 </object>
3407
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003408 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003409 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003410 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003411 <actions>
3412 <action function="page">terminalcommand</action>
3413 </actions>
3414 </object>
3415 </page>
3416
3417 <page name="terminalcommand">
3418 <object type="template" name="header" />
3419
3420 <object type="console">
3421 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003422 </object>
3423
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003424 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003425 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003426 <text>Starting Path: %tw_terminal_location%</text>
3427 </object>
3428
3429 <object type="input">
3430 <condition var1="tw_terminal_state" var2="0" />
3431 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003432 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003433 <font resource="fixed" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003434 <data name="tw_terminal_command" />
3435 <restrict minlen="1" />
3436 <action function="terminalcommand">%tw_terminal_command%</action>
3437 </object>
3438
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003439 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003440 <condition var1="tw_terminal_state" var2="1" />
3441 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003442 <text>KILL</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003443 <action function="killterminal"></action>
3444 </object>
3445
3446 <object type="template" name="keyboardtemplate" />
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">terminalfolder</action>
3456 </object>
3457 </page>
3458
3459 <page name="sideload">
3460 <object type="template" name="header" />
3461
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003462 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003463 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3464 <text>ADB Sideload</text>
3465 </object>
3466
3467 <object type="checkbox">
3468 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003469 <text>Wipe Dalvik Cache.</text>
3470 <data variable="tw_wipe_dalvik" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003471 </object>
3472
3473 <object type="checkbox">
3474 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003475 <text>Wipe Cache.</text>
3476 <data variable="tw_wipe_cache" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003477 </object>
3478
3479 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003480 <text>Swipe to Start Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003481 <actions>
3482 <action function="set">tw_back=advanced</action>
3483 <action function="set">tw_action=adbsideload</action>
3484 <action function="set">tw_action_text1=ADB Sideload</action>
3485 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3486 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3487 <action function="set">tw_has_cancel=1</action>
3488 <action function="set">tw_show_reboot=1</action>
3489 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3490 <action function="page">action_page</action>
3491 </actions>
3492 </object>
3493
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003494 <object type="action">
3495 <touch key="home" />
3496 <action function="page">main</action>
3497 </object>
3498
3499 <object type="action">
3500 <touch key="back" />
3501 <action function="page">advanced</action>
3502 </object>
3503 </page>
3504
thata3d31fb2014-12-21 22:27:40 +01003505 <page name="fixperms">
3506 <object type="template" name="header" />
3507
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003508 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003509 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3510 <text>Fix Permissions</text>
3511 </object>
3512
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003513 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003514 <placement x="%col1_x%" y="%row2_text_y%" />
3515 <text>Note: Fixing permissions is rarely needed.</text>
3516 </object>
3517
3518 <object type="checkbox">
3519 <placement x="%col1_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003520 <text>Also fix SELinux contexts</text>
3521 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003522 </object>
3523
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003524 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003525 <placement x="%col1_x%" y="%row4_text_y%" />
3526 <text>Fixing SELinux contexts may cause</text>
3527 </object>
3528
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003529 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003530 <placement x="%col1_x%" y="%row5_text_y%" />
3531 <text>your device to not boot properly.</text>
3532 </object>
3533
3534 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003535 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003536 <actions>
3537 <action function="set">tw_back=advanced</action>
3538 <action function="set">tw_action=fixpermissions</action>
3539 <action function="set">tw_action_text1=Fixing Permissions...</action>
3540 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3541 <action function="set">tw_slider_text=Swipe to Confirm</action>
3542 <action function="set">tw_show_reboot=1</action>
3543 <action function="page">action_page</action>
3544 </actions>
3545 </object>
3546
thata3d31fb2014-12-21 22:27:40 +01003547 <object type="action">
3548 <touch key="home" />
3549 <action function="page">main</action>
3550 </object>
3551
3552 <object type="action">
3553 <touch key="back" />
3554 <action function="page">advanced</action>
3555 </object>
3556
3557 <object type="template" name="footer" />
3558 </page>
3559
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003560 <page name="installsu">
3561 <object type="template" name="header" />
3562
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003563 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003564 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3565 <text>Install SuperSU?</text>
3566 </object>
3567
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003568 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003569 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3570 <text>Your device does not appear to be rooted.</text>
3571 </object>
3572
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003573 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003574 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3575 <text>Install SuperSU now?</text>
3576 </object>
3577
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003578 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003579 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3580 <text>This will root your device.</text>
3581 </object>
3582
3583 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003584 <placement x="%col_center_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003585 <text>Do Not Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003586 <action function="set">tw_page_done=1</action>
3587 </object>
3588
3589 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003590 <text>Swipe to Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003591 <actions>
3592 <action function="set">tw_action=installsu</action>
3593 <action function="set">tw_action_text1=Installing SuperSU</action>
3594 <action function="set">tw_action_text2=</action>
3595 <action function="page">singleaction_page</action>
3596 </actions>
3597 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003598 </page>
3599 </pages>
3600</recovery>