blob: 2dc29122495a38b066498028eb18d9f9d16dcde3 [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
Aleksa Saraib25a1832015-12-31 17:36:00 +010061 <style name="patternpassword">
62 <size name="tw_gui_pattern_grid_size" default="3" />
63 </style>
64
Ethan Yonker21ff02a2015-02-18 14:35:00 -060065 <style name="partitionlist">
66 <style name="scrolllist" />
67 <icon selected="checkbox_true" unselected="checkbox_false" />
68 </style>
69
70 <style name="text">
71 <font resource="font" color="%text_color%" />
72 </style>
73
74 <style name="checkbox">
75 <font resource="font" color="%text_color%" />
76 <image checked="checkbox_true" unchecked="checkbox_false" />
77 </style>
78
79 <style name="slider">
80 <text>Swipe to Confirm</text>
81 <font resource="font" color="%text_color%" />
Ethan Yonker591b9202015-03-11 11:17:15 -050082 <placement x="%center_x%" y="%slider_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -060083 <resource base="slider" used="slider-used" touch="slider-touch" />
84 </style>
85
86 <style name="console">
87 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
88 <font resource="fixed" />
that8d46c092015-02-26 01:30:04 +010089 <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 -060090 </style>
91
92 <style name="input">
93 <background color="%input_background_color%" />
94 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
95 <font resource="font" color="%text_color%" />
96 </style>
97
98 <style name="slidervalue">
99 <font resource="font" color="%text_color%" />
100 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
101 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
102 </style>
103 </styles>
104
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500105 <pages>
106 <page name="main">
107 <object type="action">
108 <actions>
109 <action function="set">tw_clear_destination=main2</action>
110 <action function="page">clear_vars</action>
111 </actions>
112 </object>
113 </page>
114
115 <page name="main2">
116 <object type="template" name="twrpheader" />
117
118 <object type="template" name="header" />
119
120 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500121 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500122 <text>Install</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600123 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500124 </object>
125
126 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500127 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500128 <text>Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500129 <action function="page">wipe</action>
130 </object>
131
132 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500133 <placement x="%col1_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500134 <text>Backup</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500135 <action function="page">backup</action>
136 </object>
137
138 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500139 <placement x="%col2_x%" y="%row2_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500140 <text>Restore</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500141 <action function="page">restore</action>
142 </object>
143
144 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500145 <placement x="%col1_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500146 <text>Mount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500147 <action function="page">mount</action>
148 </object>
149
150 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500151 <placement x="%col2_x%" y="%row3_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500152 <text>Settings</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500153 <action function="page">settings</action>
154 </object>
155
156
157 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500158 <placement x="%col1_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500159 <text>Advanced</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500160 <action function="page">advanced</action>
161 </object>
162
163 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500164 <placement x="%col2_x%" y="%row4_home_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500165 <text>Reboot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500166 <action function="page">reboot</action>
167 </object>
168
169 <object type="template" name="footer" />
170 </page>
171
Ethan Yonker96af84a2015-01-05 14:58:36 -0600172 <page name="install_select">
173 <object type="template" name="twrpheader" />
174
175 <object type="template" name="header" />
176
177 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600178 <placement x="%col1_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600179 <text>Install Zips</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600180 <actions>
181 <action function="queueclear"></action>
182 <action function="page">install</action>
183 </actions>
184 </object>
185
186 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600187 <placement x="%col2_x%" y="%row1_home_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600188 <text>Install Images</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600189 <action function="page">install_image</action>
190 </object>
191
192 <object type="action">
193 <touch key="back" />
194 <action function="page">main</action>
195 </object>
196
197 <object type="action">
198 <touch key="home" />
199 <action function="page">main</action>
200 </object>
201
202 <object type="template" name="footer" />
203 </page>
204
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500205 <page name="install">
206 <object type="template" name="header" />
207
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600208 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500209 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
210 <text>Select Zip to Install</text>
211 </object>
212
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600213 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500214 <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 -0500215 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
216 <actions>
217 <action function="set">tw_back=install</action>
218 <action function="page">selectstorage</action>
219 </actions>
220 </object>
221
222 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500223 <placement x="%fileselector_x%" y="%fileselector_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500224 <text>%tw_zip_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500225 <filter extn=".zip" folders="1" files="1" />
226 <path name="tw_zip_location" default="/sdcard" />
227 <data name="tw_filename" />
228 <selection name="tw_file" />
229 </object>
230
231 <object type="template" name="sort_options" />
232
233 <object type="action">
234 <condition var1="tw_filename" op="modified" />
235 <actions>
236 <action function="queuezip"></action>
237 <action function="page">flash_confirm</action>
238 </actions>
239 </object>
240
241 <object type="action">
242 <touch key="back" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600243 <action function="page">install_select</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500244 </object>
245
246 <object type="action">
247 <touch key="home" />
248 <action function="page">main</action>
249 </object>
250
251 <object type="template" name="footer" />
252 </page>
253
254 <page name="flash_confirm">
255 <object type="template" name="header" />
256
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600257 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500258 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
259 <text>This operation may install incompatible</text>
260 </object>
261
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600262 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500263 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
264 <text>software and render your device unusable.</text>
265 </object>
266
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600267 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500268 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
269 <text>Folder and File:</text>
270 </object>
271
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600272 <object type="text">
273 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500274 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
275 <text>%tw_zip_location%</text>
276 </object>
277
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600278 <object type="text">
279 <font resource="mediumfont" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500280 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
281 <text>%tw_file%</text>
282 </object>
283
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600284 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500285 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
286 <text>Press back to cancel adding this zip.</text>
287 </object>
288
289 <object type="checkbox">
290 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500291 <text>Zip file signature verification.</text>
292 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500293 </object>
294
295 <object type="checkbox">
296 <condition var1="tw_has_injecttwrp" var2="1" />
297 <placement x="%col1_x%" y="%row7_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500298 <text>Inject TWRP after install.</text>
299 <data variable="tw_inject_after_zip" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500300 </object>
301
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600302 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500303 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
304 <text>File %tw_zip_queue_count% of max of 10</text>
305 </object>
306
307 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600308 <text>Swipe to Confirm Flash</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500309 <action function="flash">flash_zip</action>
310 </object>
311
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500312 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500313 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
314 <placement x="%col1_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500315 <text>Add More Zips</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500316 <action function="page">install</action>
317 </object>
318
319 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500320 <placement x="%col2_x%" y="%row_queue_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500321 <text>Clear Zip Queue</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500322 <actions>
323 <action function="queueclear"></action>
324 <action function="page">install</action>
325 </actions>
326 </object>
327
328 <object type="action">
329 <touch key="back" />
330 <actions>
331 <action function="cancelzip"></action>
332 <action function="page">install</action>
333 </actions>
334 </object>
335
336 <object type="action">
337 <touch key="home" />
338 <action function="page">main</action>
339 </object>
340 </page>
341
342 <page name="flash_zip">
343 <object type="template" name="header" />
344
345 <object type="console">
346 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500347 </object>
348
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600349 <object type="text">
350 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500351 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
352 </object>
353
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600354 <object type="text">
355 <font resource="mediumfont" color="%text_color%"/>
356 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500357 <text>%tw_filename%</text>
358 </object>
359
360 <object type="template" name="progress_bar" />
361
362 <object type="action">
363 <condition var1="tw_operation_state" var2="1" />
364 <action function="page">flash_done</action>
365 </object>
366 </page>
367
368 <page name="flash_done">
369 <object type="template" name="header" />
370
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600371 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500372 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
373 <text>Zip Install Complete</text>
374 </object>
375
376 <object type="console">
377 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500378 </object>
379
380 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500381 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500382 <text>Wipe cache/dalvik</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500383 <actions>
384 <action function="set">tw_back=flash_done</action>
385 <action function="set">tw_action=wipe</action>
386 <action function="set">tw_action_param=/cache</action>
387 <action function="set">tw_has_action2=1</action>
388 <action function="set">tw_action2=wipe</action>
389 <action function="set">tw_action2_param=dalvik</action>
Matt Mower82931532015-02-27 14:19:59 -0600390 <action function="set">tw_text1=Wipe Cache &amp; Dalvik?</action>
391 <action function="set">tw_action_text1=Wiping Cache &amp; Dalvik...</action>
392 <action function="set">tw_complete_text1=Cache &amp; Dalvik Wipe Complete</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500393 <action function="set">tw_slider_text=Swipe to Wipe</action>
394 <action function="page">confirm_action</action>
395 </actions>
396 </object>
397
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600398 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500399 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500400 </object>
401
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600402 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500403 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600404 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500405 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
406 <text>Failed</text>
407 </object>
408
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600409 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500410 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600411 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500412 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
413 <text>Successful</text>
414 </object>
415
416 <object type="action">
417 <touch key="back" />
418 <actions>
419 <action function="set">tw_clear_destination=install</action>
420 <action function="page">clear_vars</action>
421 </actions>
422 </object>
423
424 <object type="action">
425 <touch key="home" />
426 <actions>
427 <action function="set">tw_clear_destination=main2</action>
428 <action function="page">clear_vars</action>
429 </actions>
430 </object>
431 </page>
432
Ethan Yonker96af84a2015-01-05 14:58:36 -0600433 <page name="install_image">
434 <object type="template" name="header" />
435
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600436 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600437 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
438 <text>Select Image to Install</text>
439 </object>
440
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600441 <object type="button" style="fillbutton">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600442 <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 -0600443 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
444 <actions>
445 <action function="set">tw_back=install_image</action>
446 <action function="page">selectstorage</action>
447 </actions>
448 </object>
449
450 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600451 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600452 <text>%tw_zip_location%</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600453 <filter extn=".img" folders="1" files="1" />
454 <path name="tw_zip_location" default="/sdcard" />
455 <data name="tw_filename" />
456 <selection name="tw_file" />
457 </object>
458
459 <object type="template" name="sort_options" />
460
461 <object type="action">
462 <condition var1="tw_filename" op="modified" />
463 <action function="page">flashimage_confirm</action>
464 </object>
465
466 <object type="action">
467 <touch key="back" />
468 <action function="page">install_select</action>
469 </object>
470
471 <object type="action">
472 <touch key="home" />
473 <action function="page">main</action>
474 </object>
475
476 <object type="template" name="footer" />
477 </page>
478
479 <page name="flashimage_confirm">
480 <object type="template" name="header" />
481
482 <object type="partitionlist">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600483 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%flash_list_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600484 <text>Select Partition to Flash Image:</text>
485 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600486 <data name="tw_flash_partition" />
487 <listtype name="flashimg" />
488 </object>
489
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600490 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600491 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
492 <text>Folder:</text>
493 </object>
494
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600495 <object type="text">
496 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600497 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
498 <text>%tw_zip_location%</text>
499 </object>
500
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600501 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600502 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
503 <text>File to flash:</text>
504 </object>
505
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600506 <object type="text" >
507 <font resource="mediumfont" color="%text_color%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600508 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
509 <text>%tw_file%</text>
510 </object>
511
512 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600513 <text>Swipe to Confirm Flash</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600514 <actions>
515 <action function="set">tw_back=flashimage_confirm</action>
516 <action function="set">tw_action=flashimage</action>
517 <action function="set">tw_has_action2=0</action>
518 <action function="set">tw_action_text1=Flashing Image...</action>
519 <action function="set">tw_action_text2=</action>
520 <action function="set">tw_complete_text1=Image Flashed</action>
521 <action function="page">action_page</action>
522 </actions>
523 <action function="flashimage"></action>
524 </object>
525
Ethan Yonker96af84a2015-01-05 14:58:36 -0600526 <object type="action">
527 <touch key="back" />
528 <actions>
529 <action function="set">tw_clear_destination=install_image</action>
530 <action function="page">clear_vars</action>
531 </actions>
532 </object>
533
534 <object type="action">
535 <touch key="home" />
536 <actions>
537 <action function="set">tw_clear_destination=main2</action>
538 <action function="page">clear_vars</action>
539 </actions>
540 </object>
541 </page>
542
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500543 <page name="clear_vars">
544 <object type="action">
545 <action function="set">tw_operation_state=0</action>
546 <action function="set">tw_text1=</action>
547 <action function="set">tw_text2=</action>
548 <action function="set">tw_text3=</action>
549 <action function="set">tw_text4=</action>
550 <action function="set">tw_action_text1=</action>
551 <action function="set">tw_action_text2=</action>
552 <action function="set">tw_action_param=</action>
553 <action function="set">tw_has_action2=0</action>
554 <action function="set">tw_action2=</action>
555 <action function="set">tw_action2_param=</action>
556 <action function="set">tw_has_cancel=0</action>
557 <action function="set">tw_cancel_action=</action>
558 <action function="set">tw_cancel_param=</action>
559 <action function="set">tw_show_exclamation=0</action>
560 <action function="set">tw_show_reboot=0</action>
561 <action function="page">%tw_clear_destination%</action>
562 </object>
563 </page>
564
565 <page name="confirm_action">
566 <object type="template" name="header" />
567
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600568 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500569 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
570 <text>%tw_text1%</text>
571 </object>
572
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600573 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500574 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
575 <text>%tw_text2%</text>
576 </object>
577
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600578 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500579 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
580 <text>%tw_text3%</text>
581 </object>
582
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600583 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500584 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
585 <text>%tw_text4%</text>
586 </object>
587
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600588 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500589 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
590 <text>Press back button to cancel.</text>
591 </object>
592
593 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500594 <text>%tw_slider_text%</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600595 <action function="page">action_page</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500596 </object>
597
598 <object type="action">
599 <touch key="back" />
600 <actions>
601 <action function="set">tw_clear_destination=%tw_back%</action>
602 <action function="page">clear_vars</action>
603 </actions>
604 </object>
605
606 <object type="action">
607 <touch key="home" />
608 <action function="page">main</action>
609 </object>
610 </page>
611
612 <page name="action_page">
613 <object type="template" name="header" />
614
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600615 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500616 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
617 <text>%tw_action_text1%</text>
618 </object>
619
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600620 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500621 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
622 <text>%tw_action_text2%</text>
623 </object>
624
625 <object type="template" name="action_page_console" />
626
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600627 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500628 <condition var1="tw_has_cancel" var2="1" />
629 <placement x="%col_center_medium_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500630 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500631 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
632 </object>
633
634 <object type="template" name="progress_bar" />
635
636 <object type="action">
637 <condition var1="tw_operation_state" var2="1" />
638 <actions>
639 <action function="page">action_complete</action>
640 </actions>
641 </object>
642
643 <object type="action">
644 <condition var1="tw_has_action2" var2="0" />
645 <actions>
646 <action function="%tw_action%">%tw_action_param%</action>
647 </actions>
648 </object>
649
650 <object type="action">
651 <condition var1="tw_has_action2" var2="1" />
652 <actions>
653 <action function="%tw_action%">%tw_action_param%</action>
654 <action function="%tw_action2%">%tw_action2_param%</action>
655 </actions>
656 </object>
657 </page>
658
659 <page name="singleaction_page">
660 <object type="template" name="header" />
661
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600662 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500663 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
664 <text>%tw_action_text1%</text>
665 </object>
666
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600667 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500668 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
669 <text>%tw_action_text2%</text>
670 </object>
671
672 <object type="template" name="action_page_console" />
673
674 <object type="template" name="progress_bar" />
675
676 <object type="action">
677 <condition var1="tw_operation_state" var2="1" />
678 <actions>
679 <action function="set">tw_page_done=1</action>
680 </actions>
681 </object>
682
683 <object type="action">
684 <condition var1="tw_has_action2" var2="0" />
685 <actions>
686 <action function="%tw_action%">%tw_action_param%</action>
687 </actions>
688 </object>
689
690 <object type="action">
691 <condition var1="tw_has_action2" var2="1" />
692 <actions>
693 <action function="%tw_action%">%tw_action_param%</action>
694 <action function="%tw_action2%">%tw_action2_param%</action>
695 </actions>
696 </object>
697 </page>
698
699 <page name="action_complete">
700 <object type="template" name="header" />
701
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600702 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500703 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
704 <text>%tw_complete_text1%</text>
705 </object>
706
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600707 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500708 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600709 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500710 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
711 <text>Failed</text>
712 </object>
713
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600714 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500715 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600716 <font resource="font" color="%text_success_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500717 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
718 <text>Successful</text>
719 </object>
720
721 <object type="template" name="action_page_console" />
722
723 <object type="action">
724 <touch key="home" />
725 <actions>
726 <action function="set">tw_clear_destination=main2</action>
727 <action function="page">clear_vars</action>
728 </actions>
729 </object>
730
731 <object type="action">
732 <touch key="back" />
733 <actions>
734 <action function="set">tw_clear_destination=%tw_back%</action>
735 <action function="page">clear_vars</action>
736 </actions>
737 </object>
738 </page>
739
740 <page name="filecheck">
741 <object type="action">
742 <action function="fileexists">%tw_filecheck%</action>
743 </object>
744
745 <object type="action">
746 <conditions>
747 <condition var1="tw_operation_state" var2="1" />
748 <condition var1="tw_operation_status" var2="0" />
749 </conditions>
750 <actions>
751 <action function="set">tw_fileexists=1</action>
752 <action function="page">%tw_existpage%</action>
753 </actions>
754 </object>
755
756 <object type="action">
757 <conditions>
758 <condition var1="tw_operation_state" var2="1" />
759 <condition var1="tw_operation_status" var2="1" />
760 </conditions>
761 <actions>
762 <action function="set">tw_fileexists=0</action>
763 <action function="page">%tw_notexistpage%</action>
764 </actions>
765 </object>
766 </page>
767
768 <page name="rebootcheck">
769 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600770 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500771 <action function="reboot">%tw_action_param%</action>
772 </object>
773
774 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600775 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500776 <action function="page">confirm_action</action>
777 </object>
778 </page>
779
780 <page name="wipe">
781 <object type="template" name="header" />
782
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600783 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500784 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
785 <text>Factory Reset</text>
786 </object>
787
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600788 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500789 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
790 <text>Wipes Data, Cache, and Dalvik</text>
791 </object>
792
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600793 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500794 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500795 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
796 <text>(not including internal storage)</text>
797 </object>
798
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600799 <object type="text">
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400800 <conditions>
801 <condition var1="tw_has_android_secure" var2="1" />
802 <condition var1="fileexists" var2="/and-sec" />
803 </conditions>
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400804 <placement x="%col2_x%" y="%row4_text_y%" placement="1" />
805 <text>Android Secure </text>
806 </object>
807
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600808 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500809 <condition var1="tw_has_sdext_partition" var2="1" />
Captain Throwbacka7f5ce32014-10-10 09:33:20 -0400810 <placement x="%col2_x%" y="%row4_text_y%" />
811 <text> SD-EXT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500812 </object>
813
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600814 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500815 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
816 <text>Most of the time this is</text>
817 </object>
818
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600819 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500820 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
821 <text>the only wipe that you need.</text>
822 </object>
823
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600824 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500825 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
826 <text>Press back button to cancel.</text>
827 </object>
828
829 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500830 <placement x="%col1_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500831 <text>Advanced Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500832 <actions>
833 <action function="set">partitionlisterror=0</action>
834 <action function="page">advancedwipe</action>
835 </actions>
836 </object>
837
838 <object type="button">
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600839 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500840 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500841 <text>Format Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500842 <actions>
843 <action function="page">formatdata</action>
844 </actions>
845 </object>
846
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600847 <object type="button">
848 <conditions>
849 <condition var1="tw_is_encrypted" var2="1" />
850 <condition var1="tw_has_data_media" var2="0" />
851 </conditions>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600852 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600853 <text>Wipe Encryption</text>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -0600854 <actions>
855 <action function="set">tw_back=wipe</action>
856 <action function="set">tw_action=wipe</action>
857 <action function="set">tw_action_param=DATAMEDIA</action>
858 <action function="set">tw_has_action2=0</action>
859 <action function="set">tw_text1=Wipe Encryption from Data?</action>
860 <action function="set">tw_text2=</action>
861 <action function="set">tw_action_text1=Formatting Data...</action>
862 <action function="set">tw_complete_text1=Data Format Complete</action>
863 <action function="set">tw_slider_text=Swipe to Format Data</action>
864 <action function="page">confirm_action</action>
865 </actions>
866 </object>
867
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500868 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600869 <text>Swipe to Factory Reset</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500870 <actions>
871 <action function="set">tw_back=wipe</action>
872 <action function="set">tw_action=wipe</action>
873 <action function="set">tw_action_param=data</action>
874 <action function="set">tw_action_text1=Factory Reset...</action>
875 <action function="set">tw_complete_text1=Factory Reset Complete</action>
876 <action function="page">action_page</action>
877 </actions>
878 </object>
879
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500880 <object type="action">
881 <touch key="back" />
882 <action function="page">main</action>
883 </object>
884
885 <object type="action">
886 <touch key="home" />
887 <action function="page">main</action>
888 </object>
889 </page>
890
891 <page name="advancedwipe">
892 <object type="template" name="header" />
893
894 <object type="action">
895 <action function="set">tw_wipe_list=</action>
896 </object>
897
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600898 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500899 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
900 <text>Wipe Menu</text>
901 </object>
902
903 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500904 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500905 <text>Select Partitions to Wipe:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500906 <data name="tw_wipe_list" />
907 <listtype name="wipe" />
908 </object>
909
910 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600911 <text>Swipe to Wipe</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500912 <actions>
913 <action function="set">tw_back=advancedwipe</action>
914 <action function="set">tw_action=wipe</action>
915 <action function="set">tw_action_param=LIST</action>
916 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
917 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
918 <action function="set">tw_complete_text1=Wipe Complete</action>
919 <action function="page">action_page</action>
920 </actions>
921 </object>
922
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600923 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -0600924 <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 -0500925 <text>Repair or Change File System</text>
926 <actions>
927 <action function="checkpartitionlist"></action>
928 <action function="page">checkpartitionlist</action>
929 </actions>
930 </object>
931
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600932 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500933 <condition var1="partitionlisterror" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600934 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500935 <placement x="%center_x%" y="%invalid_partition_y%" placement="5" />
936 <text>Invalid partition selection</text>
937 </object>
938
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500939 <object type="action">
940 <touch key="home" />
941 <action function="page">main</action>
942 </object>
943
944 <object type="action">
945 <touch key="back" />
946 <action function="page">wipe</action>
947 </object>
948 </page>
949
950 <page name="formatdata">
951 <object type="template" name="header" />
952
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600953 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500954 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
955 <text>Format Data will wipe all of your apps,</text>
956 </object>
957
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600958 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500959 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
960 <text>backups, pictures, videos, media, and</text>
961 </object>
962
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600963 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500964 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
965 <text>removes encryption on internal storage.</text>
966 </object>
967
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600968 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500969 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
970 <text>This cannot be undone. Press back to cancel.</text>
971 </object>
972
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600973 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500974 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
975 <text>Type yes to continue.</text>
976 </object>
977
978 <object type="input">
979 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -0500980 <text>%tw_confirm_formatdata%</text>
981 <data name="tw_confirm_formatdata" />
982 <restrict minlen="3" maxlen="3" allow="yes" />
983 <action function="page">formatdata_confirm</action>
984 </object>
985
986 <object type="template" name="keyboardtemplate" />
987
988 <object type="action">
989 <touch key="home" />
990 <action function="page">main</action>
991 </object>
992
993 <object type="action">
994 <touch key="back" />
995 <action function="page">wipe</action>
996 </object>
997
998 <object type="template" name="footer" />
999 </page>
1000
1001 <page name="formatdata_confirm">
1002 <object type="action">
1003 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1004 <actions>
1005 <action function="set">tw_back=formatdata</action>
1006 <action function="set">tw_action=wipe</action>
1007 <action function="set">tw_action_param=DATAMEDIA</action>
1008 <action function="set">tw_action_text1=Formatting Data...</action>
1009 <action function="set">tw_complete_text1=Data Format Complete</action>
1010 <action function="page">action_page</action>
1011 </actions>
1012 </object>
1013
1014 <object type="action">
1015 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
Matt Mower82931532015-02-27 14:19:59 -06001016 <action function="page">formatdata</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001017 </object>
1018 </page>
1019
1020 <page name="checkpartitionlist">
1021 <object type="action">
1022 <condition var1="tw_check_partition_list" op="=" var2="1" />
1023 <actions>
1024 <action function="set">partitionlisterror=0</action>
1025 <action function="getpartitiondetails"></action>
1026 <action function="page">partitionoptions</action>
1027 </actions>
1028 </object>
1029
1030 <object type="action">
1031 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1032 <actions>
1033 <action function="set">partitionlisterror=1</action>
1034 <action function="set">tw_wipe_list=</action>
1035 <action function="page">advancedwipe</action>
1036 </actions>
1037 </object>
1038 </page>
1039
1040 <page name="partitionoptions">
1041 <object type="template" name="header" />
1042
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001043 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001044 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1045 <text>Partition Options for: %tw_partition_name%</text>
1046 </object>
1047
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001048 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001049 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1050 <text>Mount Point: %tw_partition_mount_point%</text>
1051 </object>
1052
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001053 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001054 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1055 <text>Current file system: %tw_partition_file_system%</text>
1056 </object>
1057
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001058 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001059 <condition var1="tw_partition_is_present" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001060 <placement x="%col1_x%" y="%row3_text_y%" />
1061 <text>Present: Yes</text>
1062 </object>
1063
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001064 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001065 <condition var1="tw_partition_is_present" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001066 <placement x="%col1_x%" y="%row3_text_y%" />
1067 <text>Present: No</text>
1068 </object>
1069
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001070 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001071 <condition var1="tw_partition_removable" op="!=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001072 <placement x="%col2_x%" y="%row3_text_y%" />
1073 <text>Removable: Yes</text>
1074 </object>
1075
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001076 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001077 <condition var1="tw_partition_removable" op="=" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001078 <placement x="%col2_x%" y="%row3_text_y%" />
1079 <text>Removable: No</text>
1080 </object>
1081
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001082 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001083 <placement x="%col1_x%" y="%row4_text_y%" />
1084 <text>Size: %tw_partition_size%MB</text>
1085 </object>
1086
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001087 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001088 <placement x="%col2_x%" y="%row4_text_y%" />
1089 <text>Used: %tw_partition_used%MB</text>
1090 </object>
1091
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001092 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001093 <placement x="%col1_x%" y="%row5_text_y%" />
1094 <text>Free: %tw_partition_free%MB</text>
1095 </object>
1096
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001097 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001098 <placement x="%col2_x%" y="%row5_text_y%" />
1099 <text>Backup Size: %tw_partition_backup_size%MB</text>
1100 </object>
1101
1102 <object type="button">
Ethan Yonkera2719152015-05-28 09:44:41 -05001103 <condition var1="tw_partition_can_resize" op="=" var2="1" />
1104 <placement x="%col1_x%" y="%row3_y%" />
1105 <text>Resize</text>
1106 <actions>
1107 <action function="set">tw_back=partitionoptions</action>
1108 <action function="set">tw_action=resize</action>
1109 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1110 <action function="set">tw_has_action2=1</action>
1111 <action function="set">tw_action2=getpartitiondetails</action>
1112 <action function="set">tw_text1=Resize %tw_partition_name%?</action>
1113 <action function="set">tw_text2=</action>
1114 <action function="set">tw_action_text1=Resizing...</action>
1115 <action function="set">tw_complete_text1=Resize Complete</action>
1116 <action function="set">tw_slider_text=Swipe to Resize</action>
1117 <action function="page">confirm_action</action>
1118 </actions>
1119 </object>
1120
1121 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001122 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001123 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001124 <text>Repair</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001125 <actions>
1126 <action function="set">tw_back=partitionoptions</action>
1127 <action function="set">tw_action=repair</action>
1128 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1129 <action function="set">tw_has_action2=0</action>
1130 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1131 <action function="set">tw_text2=</action>
1132 <action function="set">tw_action_text1=Repairing...</action>
1133 <action function="set">tw_complete_text1=Repair Complete</action>
1134 <action function="set">tw_slider_text=Swipe to Repair</action>
1135 <action function="page">confirm_action</action>
1136 </actions>
1137 </object>
1138
1139 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001140 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001141 <text>Change File Sys</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001142 <action function="page">selectfilesystem</action>
1143 </object>
1144
1145 <object type="action">
1146 <touch key="home" />
1147 <action function="page">main</action>
1148 </object>
1149
1150 <object type="action">
1151 <touch key="back" />
1152 <action function="page">advancedwipe</action>
1153 </object>
1154
1155 <object type="template" name="footer" />
1156 </page>
1157
Dees Troy298c4382014-09-03 14:42:26 +00001158 <page name="refreshfilesystem">
1159 <object type="action">
1160 <condition var1="tw_check_partition_list" op="=" var2="1" />
1161 <actions>
1162 <action function="set">partitionlisterror=0</action>
1163 <action function="getpartitiondetails"></action>
1164 <action function="page">selectfilesystem</action>
1165 </actions>
1166 </object>
1167
1168 <object type="action">
1169 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1170 <actions>
1171 <action function="set">partitionlisterror=1</action>
1172 <action function="set">tw_wipe_list=</action>
1173 <action function="page">advancedwipe</action>
1174 </actions>
1175 </object>
1176 </page>
1177
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001178 <page name="selectfilesystem">
1179 <object type="template" name="header" />
1180
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001181 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001182 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1183 <text>Change file system for: %tw_partition_name%</text>
1184 </object>
1185
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001186 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001187 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1188 <text>Mount Point: %tw_partition_mount_point%</text>
1189 </object>
1190
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001191 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001192 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1193 <text>Current file system: %tw_partition_file_system%</text>
1194 </object>
1195
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001196 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001197 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1198 <text>Proceed with caution!</text>
1199 </object>
1200
1201 <object type="button">
1202 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001203 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001204 <text>EXT2</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001205 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001206 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001207 <action function="set">tw_action=changefilesystem</action>
1208 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1209 <action function="set">tw_action_new_file_system=ext2</action>
1210 <action function="set">tw_has_action2=0</action>
1211 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1212 <action function="set">tw_text2=</action>
1213 <action function="set">tw_action_text1=Formatting...</action>
1214 <action function="set">tw_complete_text1=Format Complete</action>
1215 <action function="set">tw_slider_text=Swipe to Change</action>
1216 <action function="page">confirm_action</action>
1217 </actions>
1218 </object>
1219
1220 <object type="button">
1221 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001222 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001223 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001224 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001225 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001226 <action function="set">tw_action=changefilesystem</action>
1227 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1228 <action function="set">tw_action_new_file_system=ext3</action>
1229 <action function="set">tw_has_action2=0</action>
1230 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1231 <action function="set">tw_text2=</action>
1232 <action function="set">tw_action_text1=Formatting...</action>
1233 <action function="set">tw_complete_text1=Format Complete</action>
1234 <action function="set">tw_slider_text=Swipe to Change</action>
1235 <action function="page">confirm_action</action>
1236 </actions>
1237 </object>
1238
1239 <object type="button">
1240 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001241 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001242 <text>EXT4</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001243 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001244 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001245 <action function="set">tw_action=changefilesystem</action>
1246 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1247 <action function="set">tw_action_new_file_system=ext4</action>
1248 <action function="set">tw_has_action2=0</action>
1249 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1250 <action function="set">tw_text2=</action>
1251 <action function="set">tw_action_text1=Formatting...</action>
1252 <action function="set">tw_complete_text1=Format Complete</action>
1253 <action function="set">tw_slider_text=Swipe to Change</action>
1254 <action function="page">confirm_action</action>
1255 </actions>
1256 </object>
1257
1258 <object type="button">
1259 <condition var1="tw_partition_f2fs" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001260 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001261 <text>F2FS</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001262 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001263 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001264 <action function="set">tw_action=changefilesystem</action>
1265 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1266 <action function="set">tw_action_new_file_system=f2fs</action>
1267 <action function="set">tw_has_action2=0</action>
1268 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1269 <action function="set">tw_text2=</action>
1270 <action function="set">tw_action_text1=Formatting...</action>
1271 <action function="set">tw_complete_text1=Format Complete</action>
1272 <action function="set">tw_slider_text=Swipe to Change</action>
1273 <action function="page">confirm_action</action>
1274 </actions>
1275 </object>
1276
1277 <object type="button">
1278 <condition var1="tw_partition_vfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001279 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001280 <text>FAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001281 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001282 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001283 <action function="set">tw_action=changefilesystem</action>
1284 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1285 <action function="set">tw_action_new_file_system=vfat</action>
1286 <action function="set">tw_has_action2=0</action>
1287 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1288 <action function="set">tw_text2=</action>
1289 <action function="set">tw_action_text1=Formatting...</action>
1290 <action function="set">tw_complete_text1=Format Complete</action>
1291 <action function="set">tw_slider_text=Swipe to Change</action>
1292 <action function="page">confirm_action</action>
1293 </actions>
1294 </object>
1295
1296 <object type="button">
1297 <condition var1="tw_partition_exfat" op="=" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001298 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001299 <text>exFAT</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001300 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001301 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001302 <action function="set">tw_action=changefilesystem</action>
1303 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1304 <action function="set">tw_action_new_file_system=exfat</action>
1305 <action function="set">tw_has_action2=0</action>
1306 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1307 <action function="set">tw_text2=</action>
1308 <action function="set">tw_action_text1=Formatting...</action>
1309 <action function="set">tw_complete_text1=Format Complete</action>
1310 <action function="set">tw_slider_text=Swipe to Change</action>
1311 <action function="page">confirm_action</action>
1312 </actions>
1313 </object>
1314
1315 <object type="action">
1316 <touch key="home" />
1317 <action function="page">main</action>
1318 </object>
1319
1320 <object type="action">
1321 <touch key="back" />
1322 <action function="page">partitionoptions</action>
1323 </object>
1324
1325 <object type="template" name="footer" />
1326 </page>
1327
1328 <page name="backup">
1329 <object type="template" name="header" />
1330
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001331 <object type="button" style="fillbutton">
Ethan Yonker751a85e2014-12-12 16:59:10 -06001332 <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 -05001333 <text>Backup Name: %tw_backup_name%</text>
1334 <actions>
1335 <action function="set">tw_fileexists=0</action>
1336 <action function="page">backupname1</action>
1337 </actions>
1338 </object>
1339
1340 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001341 <placement x="%listbox_x%" y="%backup_list_y%" w="%listbox_width%" h="%backup_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001342 <text>Select Partitions to Back Up:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001343 <data name="tw_backup_list" />
1344 <listtype name="backup" />
1345 </object>
1346
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001347 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001348 <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 -05001349 <text>More...</text>
1350 <action function="page">backupoptions</action>
1351 </object>
1352
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001353 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001354 <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 -05001355 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1356 <actions>
1357 <action function="set">tw_back=backup</action>
1358 <action function="page">selectstorage</action>
1359 </actions>
1360 </object>
1361
1362 <object type="checkbox">
1363 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001364 <text>Compression</text>
1365 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001366 </object>
1367
1368 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001369 <text>Swipe to Back Up</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001370 <action function="page">backup_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001371 </object>
1372
1373 <object type="action">
1374 <touch key="home" />
1375 <action function="page">main</action>
1376 </object>
1377
1378 <object type="action">
1379 <touch key="back" />
1380 <action function="page">main</action>
1381 </object>
1382 </page>
1383
1384 <page name="backupoptions">
1385 <object type="template" name="header" />
1386
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001387 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001388 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1389 <text>More Backup Options</text>
1390 </object>
1391
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001392 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001393 <conditions>
1394 <condition var1="tw_include_encrypted_backup" var2="1" />
1395 <condition var1="tw_encrypt_backup" var2="0" />
1396 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001397 <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 -05001398 <text>No Encryption</text>
1399 <actions>
1400 <action function="page">backupencryption</action>
1401 </actions>
1402 </object>
1403
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001404 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001405 <conditions>
1406 <condition var1="tw_include_encrypted_backup" var2="1" />
1407 <condition var1="tw_encrypt_backup" var2="1" />
1408 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001409 <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 -05001410 <text>Using Encryption</text>
1411 <actions>
1412 <action function="set">tw_password_not_match=0</action>
1413 <action function="page">backupencryption</action>
1414 </actions>
1415 </object>
1416
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001417 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001418 <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 -05001419 <text>Refresh Sizes</text>
1420 <actions>
1421 <action function="refreshsizes"></action>
1422 <action function="page">backupoptions</action>
1423 </actions>
1424 </object>
1425
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001426 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001427 <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 -05001428 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1429 <actions>
1430 <action function="set">tw_back=backupotions</action>
1431 <action function="page">selectstorage</action>
1432 </actions>
1433 </object>
1434
1435 <object type="checkbox">
1436 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001437 <text>Enable compression.</text>
1438 <data variable="tw_use_compression" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001439 </object>
1440
1441 <object type="checkbox">
bigbiffbf1d6722015-02-14 16:25:59 -05001442 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001443 <text>Skip MD5 generation during backup.</text>
1444 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001445 </object>
1446
bigbiffbf1d6722015-02-14 16:25:59 -05001447 <object type="checkbox">
1448 <placement x="%col1_x%" y="%row4_text_y%" />
1449 <font resource="font" color="%text_color%" />
1450 <text>Disable Free Space Check.</text>
1451 <data variable="tw_disable_free_space" />
1452 <image checked="checkbox_true" unchecked="checkbox_false" />
1453 </object>
1454
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001455 <object type="action">
1456 <touch key="home" />
1457 <action function="page">main</action>
1458 </object>
1459
1460 <object type="action">
1461 <touch key="back" />
1462 <action function="page">backup</action>
1463 </object>
1464 </page>
1465
1466 <page name="backupname1">
1467 <object type="action">
1468 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001469 <action function="generatebackupname"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001470 </object>
1471
1472 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001473 <action function="page">backupname2</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001474 </object>
1475 </page>
1476
1477 <page name="backupname2">
1478 <object type="template" name="header" />
1479
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001480 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001481 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001482 <text>Please Enter a Backup Name</text>
1483 </object>
1484
1485 <object type="input">
1486 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001487 <text>%tw_backup_name%</text>
1488 <data name="tw_backup_name" />
1489 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1490 <actions>
1491 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1492 <action function="set">tw_existpage=backupname2</action>
1493 <action function="set">tw_notexistpage=backup</action>
1494 <action function="page">filecheck</action>
1495 </actions>
1496 </object>
1497
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001498 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001499 <condition var1="tw_fileexists" var2="1" />
1500 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001501 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001502 <text>A backup with that name already exists!</text>
1503 </object>
1504
1505 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001506 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001507 <text>Append Date</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001508 <action function="appenddatetobackupname"></action>
1509 </object>
1510
1511 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001512 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001513 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001514 <actions>
1515 <action function="set">tw_backup_name=(Auto Generate)</action>
1516 <action function="page">backup</action>
1517 </actions>
1518 </object>
1519
1520 <object type="template" name="keyboardtemplate" />
1521
1522 <object type="action">
1523 <touch key="home" />
1524 <actions>
1525 <action function="set">tw_backup_name=(Auto Generate)</action>
1526 <action function="page">main</action>
1527 </actions>
1528 </object>
1529
1530 <object type="action">
1531 <touch key="back" />
1532 <actions>
1533 <action function="set">tw_backup_name=(Auto Generate)</action>
1534 <action function="page">backup</action>
1535 </actions>
1536 </object>
1537
1538 <object type="template" name="footer" />
1539 </page>
1540
1541 <page name="backupencryption">
1542 <object type="template" name="header" />
1543
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001544 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001545 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1546 <text>Encrypt your backup?</text>
1547 </object>
1548
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001549 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1551 <text>Please Enter A Password:</text>
1552 </object>
1553
1554 <object type="input">
1555 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001556 <text>%tw_backup_encrypt_display%</text>
1557 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1558 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1559 <action function="page">backupencryption2</action>
1560 </object>
1561
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001562 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001563 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001564 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001565 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1566 <text>Passwords Do Not Match</text>
1567 </object>
1568
1569 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001570 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001571 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001572 <actions>
1573 <action function="set">tw_encrypt_backup=0</action>
1574 <action function="set">tw_backup_password=</action>
1575 <action function="set">tw_backup_password2=</action>
1576 <action function="set">tw_backup_encrypt_display=</action>
1577 <action function="set">tw_backup_encrypt_display2=</action>
1578 <action function="page">backupoptions</action>
1579 </actions>
1580 </object>
1581
1582 <object type="template" name="keyboardtemplate" />
1583
1584 <object type="action">
1585 <touch key="home" />
1586 <action function="page">main</action>
1587 </object>
1588
1589 <object type="action">
1590 <touch key="back" />
1591 <action function="page">backupoptions</action>
1592 </object>
1593
1594 <object type="template" name="footer" />
1595 </page>
1596
1597 <page name="backupencryption2">
1598 <object type="template" name="header" />
1599
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001600 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001601 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1602 <text>Encrypt your backup?</text>
1603 </object>
1604
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001605 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001606 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1607 <text>Please Enter Password Again:</text>
1608 </object>
1609
1610 <object type="input">
1611 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001612 <text>%tw_backup_encrypt_display2%</text>
1613 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1614 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1615 <actions>
1616 <action function="page">checkbackuppassword</action>
1617 </actions>
1618 </object>
1619
1620 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001621 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001622 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001623 <actions>
1624 <action function="set">tw_encrypt_backup=0</action>
1625 <action function="set">tw_backup_password=</action>
1626 <action function="set">tw_backup_password2=</action>
1627 <action function="set">tw_backup_encrypt_display=</action>
1628 <action function="set">tw_backup_encrypt_display2=</action>
1629 <action function="page">backupoptions</action>
1630 </actions>
1631 </object>
1632
1633 <object type="template" name="keyboardtemplate" />
1634
1635 <object type="action">
1636 <touch key="home" />
1637 <action function="page">main</action>
1638 </object>
1639
1640 <object type="action">
1641 <touch key="back" />
1642 <action function="page">backupoptions</action>
1643 </object>
1644
1645 <object type="template" name="footer" />
1646 </page>
1647
1648 <page name="checkbackuppassword">
1649 <object type="action">
1650 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1651 <actions>
1652 <action function="set">tw_encrypt_backup=1</action>
1653 <action function="page">backupoptions</action>
1654 </actions>
1655 </object>
1656
1657 <object type="action">
1658 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1659 <actions>
1660 <action function="set">tw_encrypt_backup=0</action>
1661 <action function="set">tw_password_not_match=1</action>
1662 <action function="set">tw_backup_password=</action>
1663 <action function="set">tw_backup_password2=</action>
1664 <action function="set">tw_backup_encrypt_display=</action>
1665 <action function="set">tw_backup_encrypt_display2=</action>
1666 <action function="page">backupencryption</action>
1667 </actions>
1668 </object>
1669 </page>
1670
1671 <page name="backup_run">
1672 <object type="template" name="header" />
1673
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001674 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001675 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1676 <text>%tw_operation% %tw_partition%</text>
1677 </object>
1678
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001679 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001680 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1681 <text>%tw_file_progress%</text>
1682 </object>
1683
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001684 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001685 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1686 <text>%tw_size_progress%</text>
1687 </object>
1688
1689 <object type="template" name="action_page_console" />
1690
bigbiff7abc5fe2015-01-17 16:53:12 -05001691
1692
1693 <object type="template" name="progress_bar" />
1694
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001695 <object type="button" style="mediumbutton">
bigbiff7abc5fe2015-01-17 16:53:12 -05001696 <placement x="%col_center_medium_x%" y="%row4_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001697 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001698 <actions>
1699 <action function="cancelbackup"></action>
1700 </actions>
1701 </object>
1702
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001703 <object type="template" name="progress_bar" />
1704
1705 <object type="action">
1706 <action function="nandroid">backup</action>
1707 </object>
1708
1709 <object type="action">
1710 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001711 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001712 <actions>
1713 <action function="set">tw_back=backup</action>
1714 <action function="set">tw_complete_text1=Backup Complete</action>
1715 <action function="set">tw_show_reboot=1</action>
1716 <action function="page">action_complete</action>
1717 </actions>
1718 </object>
bigbiff7abc5fe2015-01-17 16:53:12 -05001719
1720 <object type="action">
1721 <condition var1="tw_operation_state" var2="1" />
1722 <condition var1="tw_cancel_backup" var2="1" />
1723 <actions>
1724 <action function="set">tw_back=backup</action>
1725 <action function="set">tw_complete_text1=Backup Cancelled</action>
1726 <action function="set">tw_show_reboot=1</action>
1727 <action function="page">action_complete</action>
1728 </actions>
1729 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001730 </page>
1731
1732 <page name="restore">
1733 <object type="template" name="header" />
1734
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001735 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001736 <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 -05001737 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1738 <actions>
1739 <action function="set">tw_back=restore</action>
1740 <action function="page">selectstorage</action>
1741 </actions>
1742 </object>
1743
1744 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001745 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001746 <text>Select Package to Restore:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001747 <filter folders="1" files="0" nav="0" />
1748 <path name="tw_backups_folder" />
1749 <data name="tw_restore" default="" />
1750 <selection name="tw_restore_name" />
1751 </object>
1752
1753 <object type="template" name="sort_options" />
1754
1755 <object type="action">
1756 <condition var1="tw_restore" op="modified" />
1757 <actions>
1758 <action function="readBackup"></action>
1759 <action function="page">restore_read</action>
1760 </actions>
1761 </object>
1762
1763 <object type="action">
1764 <touch key="home" />
1765 <action function="page">main</action>
1766 </object>
1767
1768 <object type="action">
1769 <touch key="back" />
1770 <action function="page">main</action>
1771 </object>
1772
1773 <object type="template" name="footer" />
1774 </page>
1775
1776 <page name="restore_read">
1777 <object type="action">
1778 <condition var1="tw_restore_encrypted" var2="1" />
1779 <actions>
1780 <action function="set">tw_password_fail=0</action>
1781 <action function="page">restore_decrypt</action>
1782 </actions>
1783 </object>
1784
1785 <object type="action">
1786 <condition var1="tw_restore_encrypted" var2="0" />
1787 <actions>
1788 <action function="page">restore_select</action>
1789 </actions>
1790 </object>
1791 </page>
1792
1793 <page name="restore_decrypt">
1794 <object type="template" name="header" />
1795
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001796 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001797 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1798 <text>Backup Encrypted</text>
1799 </object>
1800
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001801 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001802 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1803 <text>Please Enter Your Password:</text>
1804 </object>
1805
1806 <object type="input">
1807 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001808 <text>%tw_restore_display%</text>
1809 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1810 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1811 <actions>
1812 <action function="page">try_restore_decrypt</action>
1813 </actions>
1814 </object>
1815
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001816 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001817 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001818 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001819 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1820 <text>Password Failed, Please Try Again</text>
1821 </object>
1822
1823 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001824 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001825 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001826 <actions>
1827 <action function="set">tw_page_done=1</action>
1828 <action function="page">restore</action>
1829 </actions>
1830 </object>
1831
1832 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001833 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001834 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001835 <actions>
1836 <action function="set">tw_back=restore</action>
1837 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001838 <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 -05001839 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1840 <action function="set">tw_text2=This cannot be undone!</action>
1841 <action function="set">tw_action_text1=Deleting Backup...</action>
1842 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1843 <action function="set">tw_slider_text=Swipe to Delete</action>
1844 <action function="page">confirm_action</action>
1845 </actions>
1846 </object>
1847
1848 <object type="template" name="keyboardtemplate" />
1849
1850 <object type="action">
1851 <touch key="home" />
1852 <action function="page">main</action>
1853 </object>
1854
1855 <object type="action">
1856 <touch key="back" />
1857 <action function="page">restore</action>
1858 </object>
1859
1860 <object type="template" name="footer" />
1861 </page>
1862
1863 <page name="try_restore_decrypt">
1864 <object type="template" name="header" />
1865
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001866 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001867 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1868 <text>Trying Decryption with Your Password</text>
1869 </object>
1870
1871 <object type="template" name="action_page_console" />
1872
1873 <object type="template" name="progress_bar" />
1874
1875 <object type="action">
1876 <action function="decrypt_backup"></action>
1877 </object>
1878
1879 <object type="action">
1880 <conditions>
1881 <condition var1="tw_operation_state" var2="1" />
1882 <condition var1="tw_operation_status" op="!=" var2="0" />
1883 </conditions>
1884 <actions>
1885 <action function="set">tw_password_fail=1</action>
1886 <action function="page">restore_decrypt</action>
1887 </actions>
1888 </object>
1889
1890 <object type="action">
1891 <conditions>
1892 <condition var1="tw_operation_state" var2="1" />
1893 <condition var1="tw_operation_status" op="=" var2="0" />
1894 </conditions>
1895 <actions>
1896 <action function="set">tw_page_done=1</action>
1897 <action function="page">restore_select</action>
1898 </actions>
1899 </object>
1900 </page>
1901
1902 <page name="restore_select">
1903 <object type="template" name="header" />
1904
1905 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001906 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%restore_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001907 <text>Restoring: %tw_restore_name%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001908 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1909 <listtype name="restore" />
1910 </object>
1911
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001912 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001913 <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 -05001914 <text>Rename Backup</text>
1915 <actions>
1916 <action function="set">tw_backup_rename=</action>
1917 <action function="set">tw_fileexists=0</action>
1918 <action function="page">renamebackup</action>
1919 </actions>
1920 </object>
1921
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001922 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001923 <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 -05001924 <text>Delete Backup</text>
1925 <actions>
1926 <action function="set">tw_back=restore</action>
1927 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001928 <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 -05001929 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1930 <action function="set">tw_text2=This cannot be undone!</action>
1931 <action function="set">tw_action_text1=Deleting Backup...</action>
1932 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1933 <action function="set">tw_slider_text=Swipe to Delete</action>
1934 <action function="page">confirm_action</action>
1935 </actions>
1936 </object>
1937
1938 <object type="checkbox">
1939 <placement x="%col1_x%" y="%backup_button_row1%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001940 <text>Enable MD5 verification of backup.</text>
1941 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001942 </object>
1943
1944 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001945 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001946 <action function="page">restore_run</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001947 </object>
1948
1949 <object type="action">
1950 <touch key="home" />
1951 <action function="page">main</action>
1952 </object>
1953
1954 <object type="action">
1955 <touch key="back" />
1956 <action function="page">restore</action>
1957 </object>
1958 </page>
1959
1960 <page name="renamebackup">
1961 <object type="template" name="header" />
1962
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001963 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001964 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001965 <text>Please Enter a New Backup Name</text>
1966 </object>
1967
1968 <object type="input">
1969 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001970 <text>%tw_backup_rename%</text>
1971 <data name="tw_backup_rename" />
1972 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1973 <actions>
1974 <action function="set">tw_back=restore</action>
1975 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06001976 <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 -05001977 <action function="set">tw_text1=Rename Backup?</action>
1978 <action function="set">tw_text2=This cannot be undone!</action>
1979 <action function="set">tw_action_text1=Renaming Backup...</action>
1980 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1981 <action function="set">tw_slider_text=Swipe to Rename</action>
1982 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1983 <action function="set">tw_existpage=renamebackup</action>
1984 <action function="set">tw_notexistpage=confirm_action</action>
1985 <action function="page">filecheck</action>
1986 </actions>
1987 </object>
1988
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001989 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001990 <condition var1="tw_fileexists" var2="1" />
1991 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001992 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001993 <text>A backup with that name already exists!</text>
1994 </object>
1995
1996 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001997 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001998 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05001999 <action function="page">restore_select</action>
2000 </object>
2001
2002 <object type="template" name="keyboardtemplate" />
2003
2004 <object type="action">
2005 <touch key="home" />
2006 <action function="page">main</action>
2007 </object>
2008
2009 <object type="action">
2010 <touch key="back" />
2011 <action function="page">restore_select</action>
2012 </object>
2013
2014 <object type="template" name="footer" />
2015 </page>
2016
2017 <page name="restore_run">
2018 <object type="template" name="header" />
2019
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002020 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002021 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2022 <text>%tw_operation% %tw_partition%</text>
2023 </object>
2024
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002025 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002026 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2027 <text>%tw_size_progress%</text>
2028 </object>
2029
2030 <object type="template" name="action_page_console" />
2031
2032 <object type="template" name="progress_bar" />
2033
2034 <object type="action">
2035 <condition var1="tw_operation_state" var2="1" />
2036 <actions>
2037 <action function="set">tw_back=restore_select</action>
2038 <action function="set">tw_complete_text1=Restore Complete</action>
2039 <action function="set">tw_show_reboot=1</action>
2040 <action function="page">action_complete</action>
2041 </actions>
2042 </object>
2043
2044 <object type="action">
2045 <action function="nandroid">restore</action>
2046 </object>
2047 </page>
2048
2049 <page name="selectstorage">
2050 <object type="template" name="header" />
2051
2052 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002053 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002054 <text>Select Storage:</text>
2055 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002056 <data name="tw_storage_path" />
2057 <listtype name="storage" />
2058 </object>
2059
2060 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002061 <placement x="%col_center_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002062 <text>OK</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002063 <actions>
2064 <action function="set">tw_clear_destination=%tw_back%</action>
2065 <action function="page">clear_vars</action>
2066 </actions>
2067 </object>
2068
2069 <object type="action">
2070 <touch key="home" />
2071 <action function="page">main</action>
2072 </object>
2073
2074 <object type="action">
2075 <touch key="back" />
2076 <actions>
2077 <action function="page">%tw_back%</action>
2078 </actions>
2079 </object>
2080
2081 <object type="template" name="footer" />
2082 </page>
2083
2084 <page name="mount">
2085 <object type="template" name="header" />
2086
2087 <object type="partitionlist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002088 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002089 <text>Select Partitions to Mount:</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002090 <listtype name="mount" />
2091 </object>
2092
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002093 <object type="button" style="fillbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002094 <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 -05002095 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2096 <actions>
2097 <action function="set">tw_back=mount</action>
2098 <action function="page">selectstorage</action>
2099 </actions>
2100 </object>
2101
2102 <object type="button">
Ethan Yonker3d49ea72014-08-04 09:14:12 -05002103 <condition var1="tw_has_usb_storage" var2="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002104 <placement x="%col1_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002105 <text>USB Storage</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002106 <action function="page">usb_mount</action>
2107 </object>
2108
2109 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002110 <conditions>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002111 <condition var1="tw_has_mtp" var2="1" />
2112 <condition var1="tw_mtp_enabled" var2="0" />
2113 </conditions>
2114 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002115 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002116 <action function="startmtp"></action>
2117 </object>
2118
2119 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002120 <conditions>
2121 <condition var1="tw_has_mtp" var2="1" />
2122 <condition var1="tw_mtp_enabled" var2="1" />
2123 </conditions>
2124 <placement x="%col2_x%" y="row4_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002125 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002126 <action function="stopmtp"></action>
2127 </object>
2128
2129 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -04002130 <conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002131 <condition var1="tw_is_encrypted" var2="1" />
2132 <condition var1="tw_is_decrypted" var2="0" />
2133 </conditions>
2134 <placement x="%col2_x%" y="row4_y" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002135 <text>Decrypt Data</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002136 <action function="page">decrypt</action>
2137 </object>
2138
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002139 <object type="button">
Ethan Yonkerb7a54a32015-10-05 10:16:27 -05002140 <placement x="%col1_x%" y="%system_ro_y%" textplacement="6" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002141 <font resource="font" color="%text_color%" />
2142 <condition var1="tw_mount_system_ro" op="=" var2="0" />
2143 <text>Only mount system read-only</text>
2144 <image resource="checkbox_false" />
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002145 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002146 </object>
2147
2148 <object type="button">
Ethan Yonkerb7a54a32015-10-05 10:16:27 -05002149 <placement x="%col1_x%" y="%system_ro_y%" textplacement="6" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002150 <font resource="font" color="%text_color%" />
2151 <condition var1="tw_mount_system_ro" op="!=" var2="0" />
2152 <text>Only mount system read-only</text>
2153 <image resource="checkbox_true" />
2154 <actions>
2155 <action function="set">tw_lifetime_writes=2</action>
2156 <action function="page">system_readonly_check</action>
2157 </actions>
2158 </object>
2159
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002160 <object type="action">
2161 <touch key="home" />
2162 <action function="page">main</action>
2163 </object>
2164
2165 <object type="action">
2166 <touch key="back" />
2167 <action function="page">main</action>
2168 </object>
2169
2170 <object type="template" name="footer" />
2171 </page>
2172
2173 <page name="usb_mount">
2174 <object type="template" name="header" />
2175
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002176 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002177 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2178 <text>USB Storage Mounted</text>
2179 </object>
2180
2181 <object type="text" color="%text_color%">
2182 <placement x="%col1_x%" y="%row1_text_y%" />
2183 <font resource="font" />
2184 <text>Be sure to safely remove your device</text>
2185 </object>
2186
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002187 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002188 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002189 <text>from your computer before unmounting!</text>
2190 </object>
2191
2192 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002193 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002194 <text>Unmount</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002195 <action function="page">usb_umount</action>
2196 </object>
2197
2198 <object type="action">
2199 <action function="mount">usb</action>
2200 </object>
2201
2202 <object type="template" name="footer" />
2203 </page>
2204
2205 <page name="usb_umount">
2206 <object type="action">
2207 <action function="unmount">usb</action>
2208 </object>
2209
2210 <object type="action">
2211 <action function="page">mount</action>
2212 </object>
2213 </page>
2214
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002215 <page name="system_readonly_check">
2216 <object type="action">
2217 <action function="checkpartitionlifetimewrites">/system</action>
2218 </object>
2219
2220 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002221 <condition var1="tw_lifetime_writes" var2="1" />
2222 <actions>
2223 <action function="mountsystemtoggle">0</action>
2224 <action function="page">mount</action>
2225 </actions>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002226 </object>
2227
2228 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05002229 <condition var1="tw_lifetime_writes" var2="0" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05002230 <actions>
2231 <action function="set">tw_back=mount</action>
2232 <action function="page">system_readonly</action>
2233 </actions>
2234 </object>
2235 </page>
2236
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002237 <page name="reboot">
2238 <object type="template" name="header" />
2239
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002240 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002241 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2242 <text>Reboot Menu</text>
2243 </object>
2244
Ethan Yonker72b90ab2015-02-23 08:35:48 -06002245 <object type="button" style="rebootsystem">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002246 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002247 <text>System</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002248 </object>
2249
2250 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002251 <condition var1="tw_reboot_poweroff" var2="1" />
2252 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002253 <text>Power Off</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002254 <actions>
2255 <action function="set">tw_back=reboot</action>
2256 <action function="set">tw_action=reboot</action>
2257 <action function="set">tw_action_param=poweroff</action>
2258 <action function="set">tw_has_action2=0</action>
2259 <action function="set">tw_text1=No OS Installed! Are you</action>
2260 <action function="set">tw_text2=sure you wish to power off?</action>
2261 <action function="set">tw_action_text1=Turning Off...</action>
2262 <action function="set">tw_complete_text1=Turning Off...</action>
2263 <action function="set">tw_slider_text=Swipe to Power Off</action>
2264 <action function="page">rebootcheck</action>
2265 </actions>
2266 </object>
2267
2268 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002269 <condition var1="tw_reboot_recovery" var2="1" />
2270 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002271 <text>Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002272 <actions>
2273 <action function="set">tw_back=reboot</action>
2274 <action function="set">tw_action=reboot</action>
2275 <action function="set">tw_action_param=recovery</action>
2276 <action function="set">tw_has_action2=0</action>
2277 <action function="set">tw_text1=No OS Installed! Are you</action>
2278 <action function="set">tw_text2=sure you wish to reboot?</action>
2279 <action function="set">tw_action_text1=Rebooting...</action>
2280 <action function="set">tw_complete_text1=Rebooting...</action>
2281 <action function="set">tw_slider_text=Swipe to Reboot</action>
2282 <action function="page">rebootcheck</action>
2283 </actions>
2284 </object>
2285
2286 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002287 <condition var1="tw_reboot_bootloader" var2="1" />
2288 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002289 <text>Bootloader</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002290 <actions>
2291 <action function="set">tw_back=reboot</action>
2292 <action function="set">tw_action=reboot</action>
2293 <action function="set">tw_action_param=bootloader</action>
2294 <action function="set">tw_has_action2=0</action>
2295 <action function="set">tw_text1=No OS Installed! Are you</action>
2296 <action function="set">tw_text2=sure you wish to reboot?</action>
2297 <action function="set">tw_action_text1=Rebooting...</action>
2298 <action function="set">tw_complete_text1=Rebooting...</action>
2299 <action function="set">tw_slider_text=Swipe to Reboot</action>
2300 <action function="page">rebootcheck</action>
2301 </actions>
2302 </object>
2303
2304 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002305 <condition var1="tw_download_mode" var2="1" />
2306 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002307 <text>Download</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002308 <actions>
2309 <action function="set">tw_back=reboot</action>
2310 <action function="set">tw_action=reboot</action>
2311 <action function="set">tw_action_param=download</action>
2312 <action function="set">tw_has_action2=0</action>
2313 <action function="set">tw_text1=No OS Installed! Are you</action>
2314 <action function="set">tw_text2=sure you wish to reboot?</action>
2315 <action function="set">tw_action_text1=Rebooting...</action>
2316 <action function="set">tw_complete_text1=Rebooting...</action>
2317 <action function="set">tw_slider_text=Swipe to Reboot</action>
2318 <action function="page">rebootcheck</action>
2319 </actions>
2320 </object>
2321
2322 <object type="action">
2323 <touch key="home" />
2324 <action function="page">main</action>
2325 </object>
2326
2327 <object type="action">
2328 <touch key="back" />
2329 <action function="page">main</action>
2330 </object>
2331
2332 <object type="template" name="footer" />
2333 </page>
2334
2335 <page name="settings">
2336 <object type="template" name="header" />
2337
2338 <object type="checkbox">
2339 <placement x="%col1_x%" y="%row1_header_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002340 <text>Zip file signature verification.</text>
2341 <data variable="tw_signed_zip_verify" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002342 </object>
2343
2344 <object type="checkbox">
2345 <placement x="%col1_x%" y="%row1_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002346 <text>Use rm -rf instead of formatting.</text>
2347 <data variable="tw_rm_rf" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002348 </object>
2349
2350 <object type="checkbox">
2351 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002352 <text>Skip MD5 generation during backup.</text>
2353 <data variable="tw_skip_md5_generate" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002354 </object>
2355
2356 <object type="checkbox">
2357 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002358 <text>Enable MD5 verification of backup files.</text>
2359 <data variable="tw_skip_md5_check" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002360 </object>
2361
2362 <object type="checkbox">
2363 <placement x="%col1_x%" y="%row4_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002364 <text>Use 24-hour clock.</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002365 <data variable="tw_military_time" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002366 </object>
2367
2368 <object type="checkbox">
2369 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002370 <text>Simulate actions for theme testing.</text>
2371 <data variable="tw_simulate_actions" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002372 </object>
2373
2374 <object type="checkbox">
2375 <condition var1="tw_simulate_actions" var2="1" />
2376 <placement x="%col1_x%" y="%row6_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002377 <text>Simulate failure for actions.</text>
2378 <data variable="tw_simulate_fail" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002379 </object>
2380
2381 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002382 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002383 <text>Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002384 <action function="page">timezone</action>
2385 </object>
2386
2387 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002388 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002389 <text>Screen</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002390 <action function="page">screen</action>
2391 </object>
2392
2393 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002394 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002395 <text>Restore Defaults</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002396 <action function="restoredefaultsettings"></action>
2397 </object>
2398
2399 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002400 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002401 <text>Vibration</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002402 <action function="page">vibrate</action>
2403 </object>
2404
2405 <object type="action">
2406 <touch key="home" />
2407 <action function="page">main</action>
2408 </object>
2409
2410 <object type="action">
2411 <touch key="back" />
2412 <action function="page">main</action>
2413 </object>
2414
2415 <object type="template" name="footer" />
2416 </page>
2417
2418 <page name="timezone">
2419 <object type="template" name="header" />
2420
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002421 <object type="listbox" style="scrolllist">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002422 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002423 <text>Select Time Zone:</text>
2424 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002425 <data name="tw_time_zone_guisel" />
2426 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2427 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2428 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
that202e51b2015-03-24 21:07:59 +01002429 <listitem name="(UTC -8) Pacific Time">PST8;PDT,M3.2.0,M11.1.0</listitem>
2430 <listitem name="(UTC -7) Mountain Time">MST7;MDT,M3.2.0,M11.1.0</listitem>
2431 <listitem name="(UTC -6) Central Time">CST6;CDT,M3.2.0,M11.1.0</listitem>
2432 <listitem name="(UTC -5) Eastern Time">EST5;EDT,M3.2.0,M11.1.0</listitem>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002433 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2434 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2435 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2436 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
that202e51b2015-03-24 21:07:59 +01002437 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST,M3.5.0,M10.5.0</listitem>
2438 <listitem name="(UTC +1) Berlin, Brussels, Paris">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2439 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET,M3.5.0,M10.5.0</listitem>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002440 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2441 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2442 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2443 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2444 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2445 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2446 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2447 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2448 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2449 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2450 </object>
2451
2452 <object type="checkbox">
2453 <placement x="%col1_x%" y="%row_dst_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002454 <text>Do you use daylight savings time (DST)?</text>
2455 <data variable="tw_time_zone_guidst" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002456 </object>
2457
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002458 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002459 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2460 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2461 </object>
2462
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002463 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002464 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002465 <text>None</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002466 <action function="set">tw_time_zone_guioffset=0</action>
2467 </object>
2468
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002469 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002470 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002471 <text>15</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002472 <action function="set">tw_time_zone_guioffset=15</action>
2473 </object>
2474
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002475 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002476 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002477 <text>30</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002478 <action function="set">tw_time_zone_guioffset=30</action>
2479 </object>
2480
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002481 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002482 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002483 <text>45</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002484 <action function="set">tw_time_zone_guioffset=45</action>
2485 </object>
2486
2487 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002488 <placement x="%col_center_x%" y="%tz_set_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002489 <text>Set Time Zone</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002490 <action function="setguitimezone"></action>
2491 </object>
2492
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002493 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002494 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2495 <text>Current Time Zone: %tw_time_zone%</text>
2496 </object>
2497
2498 <object type="action">
2499 <touch key="home" />
2500 <action function="page">main</action>
2501 </object>
2502
2503 <object type="action">
2504 <touch key="back" />
2505 <action function="page">settings</action>
2506 </object>
2507 </page>
2508
2509 <page name="screen">
2510 <object type="template" name="header" />
2511
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002512 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002513 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2514 <text>Screen Settings</text>
2515 </object>
2516
2517 <object type="button">
Ethan Yonker25474e42015-10-26 21:42:02 -05002518 <placement x="%col1_x%" y="%row2_text_y%" textplacement="6" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002519 <font resource="font" color="%text_color%" />
2520 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2521 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2522 <text>Enable screen timeout.</text>
2523 <image resource="checkbox_false" />
2524 <action function="set">tw_screen_timeout_secs=60</action>
2525 </object>
2526
2527 <object type="button">
Ethan Yonker25474e42015-10-26 21:42:02 -05002528 <placement x="%col1_x%" y="%row2_text_y%" textplacement="6" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002529 <font resource="font" color="%text_color%" />
2530 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2531 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2532 <text>Enable screen timeout.</text>
2533 <image resource="checkbox_true" />
2534 <action function="set">tw_screen_timeout_secs=0</action>
2535 </object>
2536
2537 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002538 <conditions>
2539 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2540 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2541 </conditions>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002542 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002543 <text>Screen timeout in seconds:</text>
2544 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2545 </object>
2546
2547 <object type="slidervalue">
2548 <condition var1="tw_has_brightnesss_file" var2="1" />
2549 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002550 <text>Brightness: %tw_brightness_pct%%</text>
2551 <data variable="tw_brightness_pct" min="10" max="100" />
2552 <actions>
2553 <action function="set">tw_brightness=%tw_brightness_max%</action>
2554 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2555 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002556 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002557 </actions>
2558 </object>
2559
2560 <object type="action">
2561 <touch key="home" />
2562 <action function="page">main</action>
2563 </object>
2564
2565 <object type="action">
2566 <touch key="back" />
2567 <action function="page">settings</action>
2568 </object>
2569
2570 <object type="template" name="footer" />
2571 </page>
2572
2573 <page name="vibrate">
2574 <object type="template" name="header" />
2575
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002576 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002577 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2578 <text>Vibration Settings :</text>
2579 </object>
2580
2581 <object type="slidervalue">
2582 <placement x="col1_x" y="%row1_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002583 <text>Button Vibration:</text>
2584 <data variable="tw_button_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002585 </object>
2586
2587 <object type="slidervalue">
2588 <placement x="col1_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002589 <text>Keyboard Vibration:</text>
2590 <data variable="tw_keyboard_vibrate" min="0" max="300" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002591 </object>
2592
2593 <object type="slidervalue">
2594 <placement x="col1_x" y="%row9_text_y%" w="%slidervalue_w%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002595 <text>Action Vibration:</text>
2596 <data variable="tw_action_vibrate" min="0" max="500" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002597 </object>
2598
2599 <object type="action">
2600 <touch key="home" />
2601 <action function="page">main</action>
2602 </object>
2603
2604 <object type="action">
2605 <touch key="back" />
2606 <action function="page">settings</action>
2607 </object>
2608
2609 <object type="template" name="footer" />
2610 </page>
2611
2612 <page name="advanced">
2613 <object type="template" name="header" />
2614
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002615 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002616 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2617 <text>Advanced</text>
2618 </object>
2619
2620 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002621 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002622 <text>Copy Log to SD</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002623 <actions>
2624 <action function="set">tw_back=advanced</action>
2625 <action function="set">tw_action=copylog</action>
2626 <action function="set">tw_text1=Copy Log to SD Card?</action>
2627 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2628 <action function="set">tw_complete_text1=Log Copy Complete</action>
2629 <action function="set">tw_slider_text=Swipe to Confirm</action>
2630 <action function="page">confirm_action</action>
2631 </actions>
2632 </object>
2633
2634 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002635 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002636 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002637 <action function="page">fixperms</action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002638 </object>
2639
2640 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002641 <condition var1="tw_allow_partition_sdcard" var2="1" />
2642 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002643 <text>Partition SD Card</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002644 <action function="page">partsdcard</action>
2645 </object>
2646
2647 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002648 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002649 <text>File Manager</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002650 <action function="page">filemanagerlist</action>
2651 </object>
2652
2653 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002654 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002655 <text>Terminal Command</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002656 <action function="page">terminalfolder</action>
2657 </object>
2658
2659 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002660 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002661 <text>Reload Theme</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002662 <action function="reload"></action>
2663 </object>
2664
2665 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002666 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002667 <text>ADB Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002668 <action function="page">sideload</action>
2669 </object>
2670
2671 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002672 <condition var1="tw_show_dumlock" var2="1" />
2673 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002674 <text>HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002675 <action function="page">htcdumlock</action>
2676 </object>
2677
2678 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002679 <condition var1="tw_has_injecttwrp" var2="1" />
2680 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002681 <text>Re-Inject TWRP</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002682 <actions>
2683 <action function="set">tw_back=advanced</action>
2684 <action function="set">tw_action=reinjecttwrp</action>
2685 <action function="set">tw_text1=Re-Inject TWRP?</action>
2686 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2687 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2688 <action function="set">tw_slider_text=Swipe to Confirm</action>
2689 <action function="page">confirm_action</action>
2690 </actions>
2691 </object>
2692
2693 <object type="action">
2694 <touch key="home" />
2695 <action function="page">main</action>
2696 </object>
2697
2698 <object type="action">
2699 <touch key="back" />
2700 <action function="page">main</action>
2701 </object>
2702
2703 <object type="template" name="footer" />
2704 </page>
2705
2706 <page name="partsdcard">
2707 <object type="template" name="header" />
2708
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002709 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002710 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2711 <text>Partition SD Card</text>
2712 </object>
2713
2714 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002715 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002716 <text></text>
2717 <image resource="minus_button" />
2718 <action function="addsubtract">tw_sdext_size-128</action>
2719 </object>
2720
2721 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002722 <placement x="%sd_plus_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002723 <text></text>
2724 <image resource="plus_button" />
2725 <action function="addsubtract">tw_sdext_size+128</action>
2726 </object>
2727
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002728 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002729 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2730 <text>EXT Size: %tw_sdext_size%</text>
2731 </object>
2732
2733 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002734 <placement x="%col1_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002735 <text></text>
2736 <image resource="minus_button" />
2737 <action function="addsubtract">tw_swap_size-32</action>
2738 </object>
2739
2740 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002741 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002742 <text></text>
2743 <image resource="plus_button" />
2744 <action function="addsubtract">tw_swap_size+32</action>
2745 </object>
2746
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002747 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002748 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2749 <text>Swap Size: %tw_swap_size%</text>
2750 </object>
2751
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002752 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002753 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2754 <text>File system: %tw_sdpart_file_system%</text>
2755 </object>
2756
2757 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002758 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2759 <font resource="font" color="%button_text_color%" />
2760 <text>EXT3</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002761 <action function="set">tw_sdpart_file_system=ext3</action>
2762 </object>
2763
2764 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002765 <condition var1="tw_sdext_disable_ext4" var2="0" />
2766 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002767 <text>EXT4</text>
2768 <image resource="main_button" />
2769 <action function="set">tw_sdpart_file_system=ext4</action>
2770 </object>
2771
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002772 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002773 <placement x="%col1_x%" y="%row10_text_y%" />
2774 <text>You will lose all files on your SD card!</text>
2775 </object>
2776
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002777 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002778 <placement x="%col1_x%" y="%row11_text_y%" />
2779 <text>This action cannot be undone!</text>
2780 </object>
2781
2782 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002783 <text>Swipe to Partition</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002784 <actions>
2785 <action function="set">tw_back=partsdcard</action>
2786 <action function="set">tw_action=partitionsd</action>
2787 <action function="set">tw_has_action2=1</action>
2788 <action function="set">tw_action2=set</action>
2789 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2790 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2791 <action function="set">tw_action_text2=This will take a few minutes.</action>
2792 <action function="set">tw_complete_text1=Partitioning Complete</action>
2793 <action function="page">action_page</action>
2794 </actions>
2795 </object>
2796
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002797 <object type="action">
2798 <touch key="home" />
2799 <action function="page">main</action>
2800 </object>
2801
2802 <object type="action">
2803 <touch key="back" />
2804 <action function="page">advanced</action>
2805 </object>
2806 </page>
2807
2808 <page name="htcdumlock">
2809 <object type="template" name="header" />
2810
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002811 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002812 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2813 <text>HTC Dumlock</text>
2814 </object>
2815
2816 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002817 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002818 <text>Restore Original Boot</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002819 <actions>
2820 <action function="set">tw_back=htcdumlock</action>
2821 <action function="set">tw_action=htcdumlockrestoreboot</action>
2822 <action function="set">tw_text1=Restore original boot image?</action>
2823 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2824 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2825 <action function="set">tw_slider_text=Swipe to Confirm</action>
2826 <action function="page">confirm_action</action>
2827 </actions>
2828 </object>
2829
2830 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002831 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002832 <text>Reflash Recovery</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002833 <actions>
2834 <action function="set">tw_back=htcdumlock</action>
2835 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2836 <action function="set">tw_text1=Reflash recovery to boot?</action>
2837 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2838 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2839 <action function="set">tw_slider_text=Swipe to Confirm</action>
2840 <action function="page">confirm_action</action>
2841 </actions>
2842 </object>
2843
2844 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002845 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002846 <text>Install HTC Dumlock</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002847 <actions>
2848 <action function="set">tw_back=htcdumlock</action>
2849 <action function="set">tw_action=installhtcdumlock</action>
2850 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2851 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2852 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2853 <action function="set">tw_slider_text=Swipe to Confirm</action>
2854 <action function="page">confirm_action</action>
2855 </actions>
2856 </object>
2857
2858 <object type="action">
2859 <touch key="home" />
2860 <action function="page">main</action>
2861 </object>
2862
2863 <object type="action">
2864 <touch key="back" />
2865 <action function="page">advanced</action>
2866 </object>
2867
2868 <object type="template" name="footer" />
2869 </page>
2870
2871 <page name="lock">
2872 <background color="#000000A0" />
2873
2874 <object type="image">
2875 <image resource="unlock-icon" />
Ethan Yonker591b9202015-03-11 11:17:15 -05002876 <placement x="%center_x%" y="%lock_y%" placement="4" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002877 </object>
2878
2879 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002880 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002881 <action function="overlay"></action>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002882 </object>
2883 </page>
2884
2885 <page name="filemanagerlist">
2886 <object type="template" name="header" />
2887
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002888 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002889 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2890 <text>File Manager: Select a File or Folder</text>
2891 </object>
2892
2893 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002894 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002895 <text>%tw_file_location1%</text>
Matt Mower82931532015-02-27 14:19:59 -06002896 <filter folders="1" files="1" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002897 <path name="tw_file_location1" default="/" />
2898 <data name="tw_filename1" />
2899 <selection name="tw_selection1" />
2900 </object>
2901
2902 <object type="template" name="sort_options" />
2903
2904 <object type="action">
2905 <actions>
2906 <action function="set">tw_fm_type=File</action>
2907 <action function="set">tw_fm_isfolder=0</action>
2908 </actions>
2909 </object>
2910
2911 <object type="action">
2912 <touch key="home" />
2913 <action function="page">main</action>
2914 </object>
2915
2916 <object type="action">
2917 <touch key="back" />
2918 <action function="page">advanced</action>
2919 </object>
2920
2921 <object type="action">
2922 <condition var1="tw_filename1" op="modified" />
2923 <actions>
2924 <action function="page">filemanageroptions</action>
2925 </actions>
2926 </object>
2927
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002928 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002929 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002930 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002931 <actions>
2932 <action function="set">tw_filename1=tw_file_location1</action>
2933 <action function="set">tw_fm_isfolder=1</action>
2934 <action function="set">tw_fm_type=Folder</action>
2935 <action function="page">filemanageroptions</action>
2936 </actions>
2937 </object>
2938 </page>
2939
2940 <page name="filemanageroptions">
2941 <object type="template" name="header" />
2942
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002943 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002944 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2945 <text>%tw_fm_type% Selected:</text>
2946 </object>
2947
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002948 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002949 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2950 <text>%tw_filename1%</text>
2951 </object>
2952
2953 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002954 <condition var1="tw_fm_isfolder" var2="0" />
2955 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002956 <text>Copy File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002957 <actions>
2958 <action function="set">tw_filemanager_command=cp</action>
2959 <action function="set">tw_fm_text1=Copying</action>
2960 <action function="page">choosedestinationfolder</action>
2961 </actions>
2962 </object>
2963
2964 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002965 <condition var1="tw_fm_isfolder" var2="1" />
2966 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002967 <text>Copy Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002968 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002969 <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 -05002970 <action function="set">tw_fm_text1=Copying</action>
2971 <action function="page">choosedestinationfolder</action>
2972 </actions>
2973 </object>
2974
2975 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002976 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002977 <text>Move</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002978 <actions>
2979 <action function="set">tw_filemanager_command=mv</action>
2980 <action function="set">tw_fm_text1=Moving</action>
2981 <action function="page">choosedestinationfolder</action>
2982 </actions>
2983 </object>
2984
2985 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002986 <placement x="%col1_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002987 <text>chmod 755</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05002988 <actions>
2989 <action function="set">tw_filemanager_command=chmod 755</action>
2990 <action function="set">tw_fm_text1=chmod 755</action>
2991 <action function="set">tw_fm_text2=</action>
2992 <action function="set">tw_fm_text3=</action>
2993 <action function="set">tw_include_text3=0</action>
2994 <action function="set">tw_back=filemanageroptions</action>
2995 <action function="page">filemanagerconfirm</action>
2996 </actions>
2997 </object>
2998
2999 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003000 <placement x="%col2_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003001 <text>chmod</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003002 <actions>
3003 <action function="set">tw_filemanager_rename=0000</action>
3004 <action function="set">tw_fm_text2=</action>
3005 <action function="set">tw_fm_text3=</action>
3006 <action function="set">tw_include_text3=0</action>
3007 <action function="set">tw_back=filemanageroptions</action>
3008 <action function="page">filemanagerchmod</action>
3009 </actions>
3010 </object>
3011
3012 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003013 <placement x="%col1_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003014 <text>Delete</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003015 <actions>
3016 <action function="set">tw_filemanager_command=rm -rf</action>
3017 <action function="set">tw_fm_text1=Deleting</action>
3018 <action function="set">tw_fm_text2=</action>
3019 <action function="set">tw_fm_text3=</action>
3020 <action function="set">tw_include_text3=0</action>
3021 <action function="set">tw_back=filemanageroptions</action>
3022 <action function="page">filemanagerconfirm</action>
3023 </actions>
3024 </object>
3025
3026 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003027 <condition var1="tw_fm_isfolder" var2="0" />
3028 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003029 <text>Rename File</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003030 <actions>
3031 <action function="set">tw_filemanager_rename=tw_selection1</action>
3032 <action function="set">tw_fm_text1=Renaming</action>
3033 <action function="set">tw_filemanager_command=mv</action>
3034 <action function="page">filemanagerrenamefile</action>
3035 </actions>
3036 </object>
3037
3038 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003039 <condition var1="tw_fm_isfolder" var2="1" />
3040 <placement x="%col2_x%" y="%row4_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003041 <text>Rename Folder</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003042 <actions>
3043 <action function="set">tw_filemanager_rename=tw_selection1</action>
3044 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06003045 <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 -05003046 <action function="page">filemanagerrenamefolder</action>
3047 </actions>
3048 </object>
3049
3050 <object type="action">
3051 <touch key="home" />
3052 <action function="page">main</action>
3053 </object>
3054
3055 <object type="action">
3056 <touch key="back" />
3057 <action function="page">filemanagerlist</action>
3058 </object>
3059
3060 <object type="template" name="footer" />
3061 </page>
3062
3063 <page name="choosedestinationfolder">
3064 <object type="template" name="header" />
3065
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003066 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003067 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06003068 <text>Browse to Destination &amp; Press Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003069 </object>
3070
3071 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003072 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003073 <text>%tw_file_location2%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003074 <filter folders="1" files="0" />
3075 <path name="tw_file_location2" default="/" />
3076 <data name="tw_filename2" />
3077 <selection name="tw_selection2" />
3078 </object>
3079
3080 <object type="template" name="sort_options" />
3081
3082 <object type="action">
3083 <touch key="home" />
3084 <action function="page">main</action>
3085 </object>
3086
3087 <object type="action">
3088 <touch key="back" />
3089 <action function="page">filemanageroptions</action>
3090 </object>
3091
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003092 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003093 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003094 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003095 <actions>
3096 <action function="set">tw_fm_text2=to</action>
3097 <action function="set">tw_fm_text3=%tw_file_location2%</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 </page>
3104
3105 <page name="filemanagerrenamefile">
3106 <object type="template" name="header" />
3107
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003108 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003109 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003110 <text>Please Enter a New %tw_fm_type% Name</text>
3111 </object>
3112
3113 <object type="input">
3114 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003115 <text>%tw_filemanager_rename%</text>
3116 <data name="tw_filemanager_rename" />
3117 <restrict minlen="1" maxlen="128" />
3118 <actions>
3119 <action function="set">tw_fm_text2=to</action>
3120 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3121 <action function="set">tw_include_text3=1</action>
3122 <action function="set">tw_back=filemanageroptions</action>
3123 <action function="page">filemanagerconfirm</action>
3124 </actions>
3125 </object>
3126
3127 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003128 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003129 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003130 <action function="page">filemanageroptions</action>
3131 </object>
3132
3133 <object type="template" name="keyboardtemplate" />
3134
3135 <object type="action">
3136 <touch key="home" />
3137 <action function="page">main</action>
3138 </object>
3139
3140 <object type="action">
3141 <touch key="back" />
3142 <action function="page">filemanageroptions</action>
3143 </object>
3144
3145 <object type="template" name="footer" />
3146 </page>
3147
3148 <page name="filemanagerrenamefolder">
3149 <object type="template" name="header" />
3150
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003151 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003152 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003153 <text>Please Enter a New %tw_fm_type% Name</text>
3154 </object>
3155
3156 <object type="input">
3157 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003158 <text>%tw_filemanager_rename%</text>
3159 <data name="tw_filemanager_rename" />
3160 <restrict minlen="1" maxlen="128" />
3161 <actions>
3162 <action function="set">tw_fm_text2=to</action>
3163 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3164 <action function="set">tw_include_text3=1</action>
3165 <action function="set">tw_back=filemanageroptions</action>
3166 <action function="page">filemanagerconfirm</action>
3167 </actions>
3168 </object>
3169
3170 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003171 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003172 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003173 <action function="page">filemanageroptions</action>
3174 </object>
3175
3176 <object type="template" name="keyboardtemplate" />
3177
3178 <object type="action">
3179 <touch key="home" />
3180 <action function="page">main</action>
3181 </object>
3182
3183 <object type="action">
3184 <touch key="back" />
3185 <action function="page">filemanageroptions</action>
3186 </object>
3187
3188 <object type="template" name="footer" />
3189 </page>
3190
3191 <page name="filemanagerchmod">
3192 <object type="template" name="header" />
3193
3194 <object type="text" color="%text_color%">
3195 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3196 <font resource="font" />
3197 <text>Please Enter New Permissions</text>
3198 </object>
3199
3200 <object type="input">
3201 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003202 <text>%tw_filemanager_rename%</text>
3203 <data name="tw_filemanager_rename" />
3204 <restrict minlen="3" maxlen="4" allow="0123456789" />
3205 <actions>
3206 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3207 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3208 <action function="set">tw_back=filemanageroptions</action>
3209 <action function="page">filemanagerconfirm</action>
3210 </actions>
3211 </object>
3212
3213 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003214 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003215 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003216 <action function="page">filemanageroptions</action>
3217 </object>
3218
3219 <object type="template" name="keyboardtemplate" />
3220
3221 <object type="action">
3222 <touch key="home" />
3223 <action function="page">main</action>
3224 </object>
3225
3226 <object type="action">
3227 <touch key="back" />
3228 <action function="page">filemanageroptions</action>
3229 </object>
3230
3231 <object type="template" name="footer" />
3232 </page>
3233
3234 <page name="filemanagerconfirm">
3235 <object type="template" name="header" />
3236
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003237 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003238 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3239 <text>%tw_fm_text1%</text>
3240 </object>
3241
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003242 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003243 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3244 <text>%tw_filename1%</text>
3245 </object>
3246
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003247 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003248 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3249 <text>%tw_fm_text2%</text>
3250 </object>
3251
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003252 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003253 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3254 <text>%tw_fm_text3%</text>
3255 </object>
3256
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003257 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003258 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3259 <text>Press back button to cancel.</text>
3260 </object>
3261
3262 <object type="slider">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003263 <action function="page">filemanageracction</action>
3264 </object>
3265
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003266 <object type="action">
3267 <touch key="back" />
3268 <action function="page">%tw_back%</action>
3269 </object>
3270
3271 <object type="action">
3272 <touch key="home" />
3273 <action function="page">main</action>
3274 </object>
3275 </page>
3276
3277 <page name="filemanageracction">
3278 <object type="template" name="header" />
3279
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003280 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003281 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3282 <text>%tw_fm_text1%</text>
3283 </object>
3284
3285 <object type="template" name="action_page_console" />
3286
3287 <object type="template" name="progress_bar" />
3288
3289 <object type="action">
3290 <conditions>
3291 <condition var1="tw_operation_state" var2="1" />
3292 <condition var1="tw_operation_status" var2="0" />
3293 </conditions>
3294 <actions>
3295 <action function="set">tw_back=filemanagerlist</action>
3296 <action function="set">tw_complete_text1=File Operation Complete</action>
3297 <action function="page">action_complete</action>
3298 </actions>
3299 </object>
3300
3301 <object type="action">
3302 <conditions>
3303 <condition var1="tw_operation_state" var2="1" />
3304 <condition var1="tw_operation_status" op="!=" var2="0" />
3305 </conditions>
3306 <actions>
3307 <action function="set">tw_complete_text1=File Operation Complete</action>
3308 <action function="page">action_complete</action>
3309 </actions>
3310 </object>
3311
3312 <object type="action">
3313 <condition var1="tw_include_text3" var2="0" />
3314 <actions>
3315 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3316 </actions>
3317 </object>
3318
3319 <object type="action">
3320 <condition var1="tw_include_text3" var2="1" />
3321 <actions>
3322 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3323 </actions>
3324 </object>
3325 </page>
3326
3327 <page name="decrypt">
3328 <object type="template" name="header" />
3329
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003330 <object type="action">
3331 <condition var1="tw_crypto_pwtype" var2="2" />
3332 <action function="page">decrypt_pattern</action>
3333 </object>
3334
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003335 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003336 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3337 <text>Please Enter Your Password</text>
3338 </object>
3339
3340 <object type="input">
3341 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003342 <text>%tw_crypto_display%</text>
3343 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3344 <restrict minlen="1" maxlen="254" />
3345 <actions>
3346 <action function="page">trydecrypt</action>
3347 </actions>
3348 </object>
3349
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003350 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003351 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003352 <font resource="font" color="%text_fail_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003353 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3354 <text>Password Failed, Please Try Again</text>
3355 </object>
3356
3357 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003358 <placement x="%col_center_x%" y="%row2_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003359 <text>Cancel</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003360 <actions>
3361 <action function="set">tw_page_done=1</action>
3362 <action function="page">main</action>
3363 </actions>
3364 </object>
3365
3366 <object type="template" name="keyboardtemplate" />
3367
3368 <object type="template" name="footer" />
3369 </page>
3370
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003371 <page name="decrypt_pattern">
3372 <object type="template" name="header" />
3373
3374 <object type="text">
3375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3376 <text>Please Enter Your Pattern</text>
3377 </object>
3378
3379 <object type="text">
3380 <condition var1="tw_password_fail" var2="1" />
3381 <font resource="font" color="%text_fail_color%"/>
3382 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3383 <text>Pattern Failed, Please Try Again</text>
3384 </object>
3385
Aleksa Saraib25a1832015-12-31 17:36:00 +01003386 <object type="template" name="pattern_options" />
3387
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003388 <object type="patternpassword">
3389 <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
3390 <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
3391 <line color="%pattern_line_color%" width="%pattern_line_width%" />
3392 <data name="tw_crypto_password"/>
3393 <action function="page">trydecrypt</action>
3394 </object>
3395
3396 <object type="button">
3397 <placement x="%col_center_x%" y="%row4_y%" />
3398 <text>Cancel</text>
3399 <actions>
3400 <action function="set">tw_page_done=1</action>
3401 <action function="page">main</action>
3402 </actions>
3403 </object>
3404
3405 <object type="template" name="footer" />
3406 </page>
3407
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003408 <page name="trydecrypt">
3409 <object type="template" name="header" />
3410
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003411 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003412 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3413 <text>Trying Decryption with Your Password</text>
3414 </object>
3415
3416 <object type="template" name="action_page_console" />
3417
3418 <object type="template" name="progress_bar" />
3419
3420 <object type="action">
3421 <action function="decrypt"></action>
3422 </object>
3423
3424 <object type="action">
3425 <conditions>
3426 <condition var1="tw_operation_state" var2="1" />
3427 <condition var1="tw_operation_status" op="!=" var2="0" />
3428 </conditions>
3429 <actions>
3430 <action function="set">tw_password_fail=1</action>
3431 <action function="page">decrypt</action>
3432 </actions>
3433 </object>
3434
3435 <object type="action">
3436 <conditions>
3437 <condition var1="tw_operation_state" var2="1" />
3438 <condition var1="tw_operation_status" op="=" var2="0" />
3439 </conditions>
3440 <actions>
3441 <action function="set">tw_page_done=1</action>
3442 <action function="page">main</action>
3443 </actions>
3444 </object>
3445 </page>
3446
3447 <page name="terminalfolder">
3448 <object type="template" name="header" />
3449
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003450 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003451 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3452 <text>Browse to Starting Folder</text>
3453 </object>
3454
3455 <object type="fileselector">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003456 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003457 <text>%tw_terminal_location%</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003458 <filter folders="1" files="0" />
3459 <path name="tw_terminal_location" default="/" />
3460 <data name="tw_terminal" />
3461 <selection name="tw_terminal_selection" />
3462 </object>
3463
3464 <object type="template" name="sort_options" />
3465
3466 <object type="action">
3467 <touch key="home" />
3468 <action function="page">main</action>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="back" />
3473 <action function="page">advanced</action>
3474 </object>
3475
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003476 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003477 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003478 <text>Select</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003479 <actions>
3480 <action function="page">terminalcommand</action>
3481 </actions>
3482 </object>
3483 </page>
3484
3485 <page name="terminalcommand">
3486 <object type="template" name="header" />
3487
3488 <object type="console">
3489 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003490 </object>
3491
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003492 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003493 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003494 <text>Starting Path: %tw_terminal_location%</text>
3495 </object>
3496
3497 <object type="input">
3498 <condition var1="tw_terminal_state" var2="0" />
3499 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003500 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003501 <font resource="fixed" color="%text_color%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003502 <data name="tw_terminal_command" />
3503 <restrict minlen="1" />
3504 <action function="terminalcommand">%tw_terminal_command%</action>
3505 </object>
3506
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003507 <object type="button" style="mediumbutton">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003508 <condition var1="tw_terminal_state" var2="1" />
3509 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003510 <text>KILL</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003511 <action function="killterminal"></action>
3512 </object>
3513
3514 <object type="template" name="keyboardtemplate" />
3515
3516 <object type="action">
3517 <touch key="home" />
3518 <action function="page">main</action>
3519 </object>
3520
3521 <object type="action">
3522 <touch key="back" />
3523 <action function="page">terminalfolder</action>
3524 </object>
3525 </page>
3526
3527 <page name="sideload">
3528 <object type="template" name="header" />
3529
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003530 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003531 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3532 <text>ADB Sideload</text>
3533 </object>
3534
3535 <object type="checkbox">
3536 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003537 <text>Wipe Dalvik Cache.</text>
3538 <data variable="tw_wipe_dalvik" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003539 </object>
3540
3541 <object type="checkbox">
3542 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003543 <text>Wipe Cache.</text>
3544 <data variable="tw_wipe_cache" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003545 </object>
3546
3547 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003548 <text>Swipe to Start Sideload</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003549 <actions>
3550 <action function="set">tw_back=advanced</action>
3551 <action function="set">tw_action=adbsideload</action>
3552 <action function="set">tw_action_text1=ADB Sideload</action>
3553 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3554 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3555 <action function="set">tw_has_cancel=1</action>
3556 <action function="set">tw_show_reboot=1</action>
3557 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3558 <action function="page">action_page</action>
3559 </actions>
3560 </object>
3561
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003562 <object type="action">
3563 <touch key="home" />
3564 <action function="page">main</action>
3565 </object>
3566
3567 <object type="action">
3568 <touch key="back" />
3569 <action function="page">advanced</action>
3570 </object>
3571 </page>
3572
thata3d31fb2014-12-21 22:27:40 +01003573 <page name="fixperms">
3574 <object type="template" name="header" />
3575
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003576 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003577 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3578 <text>Fix Permissions</text>
3579 </object>
3580
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003581 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003582 <placement x="%col1_x%" y="%row2_text_y%" />
3583 <text>Note: Fixing permissions is rarely needed.</text>
3584 </object>
3585
3586 <object type="checkbox">
3587 <placement x="%col1_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003588 <text>Also fix SELinux contexts</text>
3589 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003590 </object>
3591
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003592 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003593 <placement x="%col1_x%" y="%row4_text_y%" />
3594 <text>Fixing SELinux contexts may cause</text>
3595 </object>
3596
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003597 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003598 <placement x="%col1_x%" y="%row5_text_y%" />
3599 <text>your device to not boot properly.</text>
3600 </object>
3601
3602 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003603 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003604 <actions>
3605 <action function="set">tw_back=advanced</action>
3606 <action function="set">tw_action=fixpermissions</action>
3607 <action function="set">tw_action_text1=Fixing Permissions...</action>
3608 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3609 <action function="set">tw_slider_text=Swipe to Confirm</action>
3610 <action function="set">tw_show_reboot=1</action>
3611 <action function="page">action_page</action>
3612 </actions>
3613 </object>
3614
thata3d31fb2014-12-21 22:27:40 +01003615 <object type="action">
3616 <touch key="home" />
3617 <action function="page">main</action>
3618 </object>
3619
3620 <object type="action">
3621 <touch key="back" />
3622 <action function="page">advanced</action>
3623 </object>
3624
3625 <object type="template" name="footer" />
3626 </page>
3627
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003628 <page name="installsu">
3629 <object type="template" name="header" />
3630
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003631 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003632 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3633 <text>Install SuperSU?</text>
3634 </object>
3635
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003636 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003637 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3638 <text>Your device does not appear to be rooted.</text>
3639 </object>
3640
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003641 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003642 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3643 <text>Install SuperSU now?</text>
3644 </object>
3645
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003646 <object type="text">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003647 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3648 <text>This will root your device.</text>
3649 </object>
3650
3651 <object type="button">
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003652 <placement x="%col_center_x%" y="%row3_y%" />
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003653 <text>Do Not Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003654 <action function="set">tw_page_done=1</action>
3655 </object>
3656
3657 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003658 <text>Swipe to Install</text>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003659 <actions>
3660 <action function="set">tw_action=installsu</action>
3661 <action function="set">tw_action_text1=Installing SuperSU</action>
3662 <action function="set">tw_action_text2=</action>
3663 <action function="page">singleaction_page</action>
3664 </actions>
3665 </object>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003666 </page>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003667
3668 <page name="system_readonly">
3669 <object type="template" name="header" />
3670
3671 <object type="text">
3672 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
Ethan Yonker961d20e2015-06-29 14:00:03 -05003673 <text>Keep System Read Only?</text>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003674 </object>
3675
3676 <object type="text">
3677 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3678 <text>TWRP can leave your system partition unmodified</text>
3679 </object>
3680
3681 <object type="text">
3682 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3683 <text>to make it easier for you to take official updates.</text>
3684 </object>
3685
3686 <object type="text">
3687 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
3688 <text>TWRP will be unable to prevent the stock ROM from</text>
3689 </object>
3690
3691 <object type="text">
3692 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3693 <text>replacing TWRP and will not offer to root your device.</text>
3694 </object>
3695
3696 <object type="text">
3697 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
3698 <text>Installing zips or performing adb operations may still</text>
3699 </object>
3700
3701 <object type="text">
3702 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
3703 <text>modify the system partition.</text>
3704 </object>
3705
3706 <object type="checkbox">
3707 <condition var1="tw_is_encrypted" var2="0" />
3708 <placement x="%col1_x%" y="%row7_text_y%" />
3709 <text>Never show this screen during boot again</text>
3710 <data variable="tw_never_show_system_ro_page" />
3711 </object>
3712
3713 <object type="button">
3714 <placement x="%col_center_x%" y="%row9_text_y%" />
3715 <text>Keep Read Only</text>
3716 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003717 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003718 <action function="set">tw_page_done=1</action>
3719 <action function="page">%tw_back%</action>
3720 </actions>
3721 </object>
3722
3723 <object type="slider">
3724 <text>Swipe to Allow Modifications</text>
3725 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003726 <action function="mountsystemtoggle">0</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003727 <action function="set">tw_page_done=1</action>
3728 <action function="page">%tw_back%</action>
3729 </actions>
3730 </object>
3731 </page>
Ethan Yonkerd9b72002014-07-30 08:46:28 -05003732 </pages>
3733</recovery>