blob: c2a117dfa23d68b1493024994a965a81557a54e1 [file] [log] [blame]
Ethan Yonker780cd392014-07-21 15:24:39 -05001<?xml version="1.0"?>
2
3<recovery>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06004 <styles>
5 <style name="buttontext">
6 <highlight color="%highlight_color%" />
7 <font resource="font" color="%button_text_color%" />
8 </style>
9
10 <style name="button">
11 <style name="buttontext" />
12 <image resource="main_button" />
13 </style>
14
15 <style name="mediumbutton">
16 <style name="buttontext" />
17 <image resource="medium_button" />
18 </style>
19
20 <style name="mediumwidebutton">
21 <style name="buttontext" />
22 <image resource="mediumwide_button" />
23 </style>
24
25 <style name="fillbutton">
26 <style name="buttontext" />
27 <fill color="%button_fill_color%" />
28 </style>
29
30 <style name="rebootsystem">
31 <condition var1="tw_reboot_system" var2="1" />
32 <style name="button" />
33 <text>Reboot System</text>
34 <actions>
35 <action function="set">tw_back=main2</action>
36 <action function="set">tw_action=reboot</action>
37 <action function="set">tw_action_param=system</action>
38 <action function="set">tw_has_action2=0</action>
39 <action function="set">tw_text1=No OS Installed! Are you</action>
40 <action function="set">tw_text2=sure you wish to reboot?</action>
41 <action function="set">tw_text3=</action>
42 <action function="set">tw_text4=</action>
43 <action function="set">tw_action_text1=Rebooting...</action>
44 <action function="set">tw_action_text2=</action>
45 <action function="set">tw_complete_text1=Rebooting...</action>
46 <action function="set">tw_slider_text=Swipe to Reboot</action>
47 <action function="page">rebootcheck</action>
48 </actions>
49 </style>
50
51 <style name="scrolllist">
52 <highlight color="%fileselector_highlight_color%" />
53 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
54 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
55 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
56 <background color="%fileselector_background%" />
57 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
58 </style>
59
60 <style name="fileselector">
61 <style name="scrolllist" />
62 <icon folder="folder_icon" file="file_icon" />
63 <sort name="tw_gui_sort_order" />
64 </style>
65
Aleksa Saraib25a1832015-12-31 17:36:00 +010066 <style name="patternpassword">
67 <size name="tw_gui_pattern_grid_size" default="3" />
68 </style>
69
Ethan Yonker21ff02a2015-02-18 14:35:00 -060070 <style name="partitionlist">
71 <style name="scrolllist" />
72 <icon selected="checkbox_true" unselected="checkbox_false" />
73 </style>
74
75 <style name="text">
76 <font resource="font" color="%text_color%" />
77 </style>
78
79 <style name="checkbox">
80 <font resource="font" color="%text_color%" />
81 <image checked="checkbox_true" unchecked="checkbox_false" />
82 </style>
83
84 <style name="slider">
85 <text>Swipe to Confirm</text>
86 <font resource="font" color="%text_color%" />
Ethan Yonker591b9202015-03-11 11:17:15 -050087 <placement x="%center_x%" y="%slider_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -060088 <resource base="slider" used="slider-used" touch="slider-touch" />
89 </style>
90
91 <style name="console">
92 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
93 <font resource="fixed" />
that8d46c092015-02-26 01:30:04 +010094 <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 -060095 </style>
96
97 <style name="input">
98 <background color="%input_background_color%" />
99 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
100 <font resource="font" color="%text_color%" />
101 </style>
102
103 <style name="slidervalue">
104 <font resource="font" color="%text_color%" />
105 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
106 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
107 </style>
108 </styles>
109
Ethan Yonker780cd392014-07-21 15:24:39 -0500110 <pages>
111 <page name="main">
112 <object type="action">
113 <actions>
114 <action function="set">tw_clear_destination=main2</action>
115 <action function="page">clear_vars</action>
116 </actions>
117 </object>
118 </page>
119
120 <page name="main2">
121 <object type="template" name="header" />
122
123 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500124 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500125 <text>Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500126 <actions>
127 <action function="queueclear"></action>
128 <action function="page">install</action>
129 </actions>
130 </object>
131
132 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500133 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500134 <text>Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500135 <action function="page">backup</action>
136 </object>
137
138 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500139 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500140 <text>Restore</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500141 <action function="page">restore</action>
142 </object>
143
144 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500145 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500146 <text>Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500147 <action function="page">wipe</action>
148 </object>
149
150 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500151 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500152 <text>Mount</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500153 <action function="page">mount</action>
154 </object>
155
156 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500157 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500158 <text>Settings</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500159 <action function="page">settings</action>
160 </object>
161
162 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500163 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500164 <text>Advanced</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500165 <action function="page">advanced</action>
166 </object>
167
168 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500169 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500170 <text>Reboot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500171 <action function="page">reboot</action>
172 </object>
173
174 <object type="template" name="footer" />
175 </page>
176
177 <page name="install">
178 <object type="template" name="header" />
179
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600180 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500181 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
182 <text>Select Zip to Install</text>
183 </object>
184
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600185 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500186 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500187 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
188 <actions>
189 <action function="set">tw_back=install</action>
190 <action function="page">selectstorage</action>
191 </actions>
192 </object>
193
194 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -0500195 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500196 <text>Folders:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500197 <filter folders="1" files="0" />
198 <path name="tw_zip_location" default="/sdcard" />
199 <data name="select" />
200 </object>
201
202 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -0500203 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500204 <text>%tw_zip_location%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500205 <filter extn=".zip" folders="0" files="1" />
206 <path name="tw_zip_location" />
207 <data name="tw_filename" />
208 <selection name="tw_file" />
209 </object>
210
211 <object type="template" name="sort_options" />
212
Ethan Yonker96af84a2015-01-05 14:58:36 -0600213 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600214 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600215 <text>Images...</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600216 <actions>
217 <action function="page">install_image</action>
218 </actions>
219 </object>
220
Ethan Yonker780cd392014-07-21 15:24:39 -0500221 <object type="action">
222 <condition var1="tw_filename" op="modified" />
223 <actions>
224 <action function="queuezip"></action>
225 <action function="page">flash_confirm</action>
226 </actions>
227 </object>
228
229 <object type="action">
230 <touch key="back" />
231 <action function="page">main</action>
232 </object>
233
234 <object type="action">
235 <touch key="home" />
236 <action function="page">main</action>
237 </object>
238
239 <object type="template" name="footer" />
240 </page>
241
242 <page name="flash_confirm">
243 <object type="template" name="header" />
244
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600245 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500246 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
247 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
248 </object>
249
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600250 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500251 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
252 <text>Folder:</text>
253 </object>
254
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600255 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500256 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
257 <text>%tw_zip_location%</text>
258 </object>
259
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600260 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500261 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
262 <text>File to flash:</text>
263 </object>
264
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600265 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500266 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
267 <text>%tw_file%</text>
268 </object>
269
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600270 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500271 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
272 <text>Press back to cancel adding this zip.</text>
273 </object>
274
275 <object type="checkbox">
276 <placement x="%col2_x%" y="%row7_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500277 <text>Zip file signature verification?</text>
278 <data variable="tw_signed_zip_verify" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500279 </object>
280
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600281 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500282 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
283 <text>File %tw_zip_queue_count% of max of 10</text>
284 </object>
285
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600286 <object type="button" style="mediumwidebutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500287 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
288 <placement x="%col2_x%" y="%row5_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500289 <text>Add More Zips</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500290 <action function="page">install</action>
291 </object>
292
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600293 <object type="button" style="mediumwidebutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500294 <placement x="%col3_x%" y="%row5_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500295 <text>Clear Queue</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500296 <actions>
297 <action function="queueclear"></action>
298 <action function="page">install</action>
299 </actions>
300 </object>
301
302 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -0500303 <text>Swipe to Confirm Flash</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600304 <action function="flash">flash_zip</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500305 </object>
306
307 <object type="action">
308 <touch key="back" />
309 <actions>
310 <action function="cancelzip"></action>
311 <action function="page">install</action>
312 </actions>
313 </object>
314
315 <object type="action">
316 <touch key="home" />
317 <action function="page">main</action>
318 </object>
319
320 <object type="template" name="footer" />
321 </page>
322
323 <page name="flash_zip">
324 <object type="template" name="header" />
325
326 <object type="template" name="flash_zip_console" />
327
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600328 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500329 <placement x="%col1_x%" y="%row16_text_y%" />
330 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
331 </object>
332
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600333 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500334 <placement x="%col1_x%" y="%row17_text_y%" />
335 <text>%tw_filename%</text>
336 </object>
337
338 <object type="template" name="progress_bar" />
339
340 <object type="action">
341 <condition var1="tw_operation_state" var2="1" />
342 <action function="page">flash_done</action>
343 </object>
344 </page>
345
346 <page name="flash_done">
347 <object type="template" name="header" />
348
349 <object type="template" name="flash_zip_console" />
350
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600351 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500352 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600353 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500354 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
355 <text>Failed</text>
356 </object>
357
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600358 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500359 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600360 <font resource="font" color="%text_success_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500361 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
362 <text>Successful</text>
363 </object>
364
365 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500366 <placement x="%col1_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500367 <text>Wipe Cache/Dalvik</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500368 <actions>
369 <action function="set">tw_back=flash_done</action>
370 <action function="set">tw_action=wipe</action>
371 <action function="set">tw_action_param=/cache</action>
372 <action function="set">tw_has_action2=1</action>
373 <action function="set">tw_action2=wipe</action>
374 <action function="set">tw_action2_param=dalvik</action>
Matt Mower82931532015-02-27 14:19:59 -0600375 <action function="set">tw_text1=Wipe Cache &amp; Dalvik?</action>
376 <action function="set">tw_action_text1=Wiping Cache &amp; Dalvik...</action>
377 <action function="set">tw_complete_text1=Cache &amp; Dalvik Wipe Complete</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500378 <action function="set">tw_slider_text=Swipe to Wipe</action>
379 <action function="page">confirm_action</action>
380 </actions>
381 </object>
382
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600383 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500384 <placement x="%col4_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500385 </object>
386
387 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500388 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500389 <text>Home</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500390 <actions>
391 <action function="set">tw_clear_destination=main2</action>
392 <action function="page">clear_vars</action>
393 </actions>
394 </object>
395
396 <object type="action">
397 <touch key="back" />
398 <actions>
399 <action function="set">tw_clear_destination=install</action>
400 <action function="page">clear_vars</action>
401 </actions>
402 </object>
403
404 <object type="action">
405 <touch key="home" />
406 <actions>
407 <action function="set">tw_clear_destination=main2</action>
408 <action function="page">clear_vars</action>
409 </actions>
410 </object>
411 </page>
412
Ethan Yonker96af84a2015-01-05 14:58:36 -0600413 <page name="install_image">
414 <object type="template" name="header" />
415
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600416 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600417 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
418 <text>Select Image to Flash</text>
419 </object>
420
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600421 <object type="button" style="fillbutton">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600422 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600423 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
424 <actions>
425 <action function="set">tw_back=install_image</action>
426 <action function="page">selectstorage</action>
427 </actions>
428 </object>
429
430 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600431 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600432 <text>Folders:</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600433 <filter folders="1" files="0" />
434 <path name="tw_zip_location" default="/sdcard" />
435 <data name="select" />
436 </object>
437
438 <object type="fileselector">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600439 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600440 <text>%tw_zip_location%</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600441 <filter extn=".img" folders="0" files="1" />
442 <path name="tw_zip_location" />
443 <data name="tw_filename" />
444 <selection name="tw_file" />
445 </object>
446
447 <object type="template" name="sort_options" />
448
449 <object type="button">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600450 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600451 <text>Zips...</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600452 <actions>
453 <action function="page">install</action>
454 </actions>
455 </object>
456
457 <object type="action">
458 <condition var1="tw_filename" op="modified" />
459 <action function="page">flashimage_confirm</action>
460 </object>
461
462 <object type="action">
463 <touch key="back" />
464 <action function="page">install</action>
465 </object>
466
467 <object type="action">
468 <touch key="home" />
469 <action function="page">main</action>
470 </object>
471
472 <object type="template" name="footer" />
473 </page>
474
475 <page name="flashimage_confirm">
476 <object type="template" name="header" />
477
478 <object type="partitionlist">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600479 <placement x="%col2_x%" y="%row1_text_y%" w="%listbox_width%" h="%flash_list_height%" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600480 <text>Select Partition to Flash Image:</text>
481 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker96af84a2015-01-05 14:58:36 -0600482 <data name="tw_flash_partition" />
483 <listtype name="flashimg" />
484 </object>
485
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600486 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600487 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
488 <text>Folder:</text>
489 </object>
490
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600491 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600492 <placement x="%center_x%" y="%row9_text_y%" placement="5" />
493 <text>%tw_zip_location%</text>
494 </object>
495
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600496 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600497 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
498 <text>File to flash:</text>
499 </object>
500
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600501 <object type="text">
Ethan Yonker96af84a2015-01-05 14:58:36 -0600502 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
503 <text>%tw_file%</text>
504 </object>
505
506 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600507 <text>Swipe to Confirm Flash</text>
Ethan Yonker96af84a2015-01-05 14:58:36 -0600508 <actions>
509 <action function="set">tw_back=flashimage_confirm</action>
510 <action function="set">tw_action=flashimage</action>
511 <action function="set">tw_has_action2=0</action>
512 <action function="set">tw_action_text1=Flashing Image...</action>
513 <action function="set">tw_action_text2=</action>
514 <action function="set">tw_complete_text1=Image Flashed</action>
515 <action function="page">action_page</action>
516 </actions>
517 <action function="flashimage"></action>
518 </object>
519
Ethan Yonker96af84a2015-01-05 14:58:36 -0600520 <object type="action">
521 <touch key="back" />
522 <actions>
523 <action function="set">tw_clear_destination=install_image</action>
524 <action function="page">clear_vars</action>
525 </actions>
526 </object>
527
528 <object type="action">
529 <touch key="home" />
530 <actions>
531 <action function="set">tw_clear_destination=main2</action>
532 <action function="page">clear_vars</action>
533 </actions>
534 </object>
535
536 <object type="template" name="footer" />
537 </page>
538
Ethan Yonker780cd392014-07-21 15:24:39 -0500539 <page name="clear_vars">
540 <object type="action">
541 <action function="set">tw_operation_state=0</action>
542 <action function="set">tw_text1=</action>
543 <action function="set">tw_text2=</action>
544 <action function="set">tw_text3=</action>
545 <action function="set">tw_text4=</action>
546 <action function="set">tw_action_text1=</action>
547 <action function="set">tw_action_text2=</action>
548 <action function="set">tw_action_param=</action>
549 <action function="set">tw_has_action2=0</action>
550 <action function="set">tw_action2=</action>
551 <action function="set">tw_action2_param=</action>
552 <action function="set">tw_has_cancel=0</action>
553 <action function="set">tw_cancel_action=</action>
554 <action function="set">tw_cancel_param=</action>
555 <action function="set">tw_show_exclamation=0</action>
556 <action function="set">tw_show_reboot=0</action>
557 <action function="page">%tw_clear_destination%</action>
558 </object>
559 </page>
560
561 <page name="confirm_action">
562 <object type="template" name="header" />
563
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600564 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>%tw_text1%</text>
567 </object>
568
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600569 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500570 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
571 <text>%tw_text2%</text>
572 </object>
573
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600574 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500575 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
576 <text>%tw_text3%</text>
577 </object>
578
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600579 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500580 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
581 <text>%tw_text4%</text>
582 </object>
583
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600584 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500585 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
586 <text>Press back button to cancel.</text>
587 </object>
588
589 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -0500590 <text>%tw_slider_text%</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600591 <action function="page">action_page</action>
Ethan Yonker780cd392014-07-21 15:24:39 -0500592 </object>
593
594 <object type="action">
595 <touch key="back" />
596 <actions>
597 <action function="set">tw_clear_destination=%tw_back%</action>
598 <action function="page">clear_vars</action>
599 </actions>
600 </object>
601
602 <object type="action">
603 <touch key="home" />
604 <action function="page">main</action>
605 </object>
606
607 <object type="template" name="footer" />
608 </page>
609
610 <page name="action_page">
611 <object type="template" name="header" />
612
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600613 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
615 <text>%tw_action_text1%</text>
616 </object>
617
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600618 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500619 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
620 <text>%tw_action_text2%</text>
621 </object>
622
623 <object type="template" name="action_page_console" />
624
625 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500626 <condition var1="tw_has_cancel" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600627 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500628 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500629 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
630 </object>
631
632 <object type="template" name="progress_bar" />
633
634 <object type="action">
635 <condition var1="tw_operation_state" var2="1" />
636 <actions>
637 <action function="page">action_complete</action>
638 </actions>
639 </object>
640
641 <object type="action">
642 <condition var1="tw_has_action2" var2="0" />
643 <actions>
644 <action function="%tw_action%">%tw_action_param%</action>
645 </actions>
646 </object>
647
648 <object type="action">
649 <condition var1="tw_has_action2" var2="1" />
650 <actions>
651 <action function="%tw_action%">%tw_action_param%</action>
652 <action function="%tw_action2%">%tw_action2_param%</action>
653 </actions>
654 </object>
655 </page>
656
657 <page name="singleaction_page">
658 <object type="template" name="header" />
659
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600660 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500661 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
662 <text>%tw_action_text1%</text>
663 </object>
664
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600665 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500666 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
667 <text>%tw_action_text2%</text>
668 </object>
669
670 <object type="template" name="action_page_console" />
671
672 <object type="template" name="progress_bar" />
673
674 <object type="action">
675 <condition var1="tw_operation_state" var2="1" />
676 <actions>
677 <action function="set">tw_page_done=1</action>
678 </actions>
679 </object>
680
681 <object type="action">
682 <condition var1="tw_has_action2" var2="0" />
683 <actions>
684 <action function="%tw_action%">%tw_action_param%</action>
685 </actions>
686 </object>
687
688 <object type="action">
689 <condition var1="tw_has_action2" var2="1" />
690 <actions>
691 <action function="%tw_action%">%tw_action_param%</action>
692 <action function="%tw_action2%">%tw_action2_param%</action>
693 </actions>
694 </object>
695 </page>
696
697 <page name="action_complete">
698 <object type="template" name="header" />
699
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600700 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500701 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
702 <text>%tw_complete_text1%</text>
703 </object>
704
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600705 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500706 <condition var1="tw_operation_status" op="!=" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600707 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500708 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
709 <text>Failed</text>
710 </object>
711
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600712 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500713 <condition var1="tw_operation_status" var2="0" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600714 <font resource="font" color="%text_success_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500715 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
716 <text>Successful</text>
717 </object>
718
719 <object type="template" name="action_page_console" />
720
721 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500722 <condition var1="tw_show_reboot" var2="0" />
723 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500724 <text>Back</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500725 <actions>
726 <action function="set">tw_clear_destination=%tw_back%</action>
727 <action function="page">clear_vars</action>
728 </actions>
729 </object>
730
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600731 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500732 <condition var1="tw_show_reboot" var2="1" />
733 <placement x="%col_center_x%" y="%slider_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500734 </object>
735
736 <object type="action">
737 <touch key="home" />
738 <actions>
739 <action function="set">tw_clear_destination=main2</action>
740 <action function="page">clear_vars</action>
741 </actions>
742 </object>
743
744 <object type="action">
745 <touch key="back" />
746 <actions>
747 <action function="set">tw_clear_destination=%tw_back%</action>
748 <action function="page">clear_vars</action>
749 </actions>
750 </object>
751 </page>
752
753 <page name="filecheck">
754 <object type="action">
755 <action function="fileexists">%tw_filecheck%</action>
756 </object>
757
758 <object type="action">
759 <conditions>
760 <condition var1="tw_operation_state" var2="1" />
761 <condition var1="tw_operation_status" var2="0" />
762 </conditions>
763 <actions>
764 <action function="set">tw_fileexists=1</action>
765 <action function="page">%tw_existpage%</action>
766 </actions>
767 </object>
768
769 <object type="action">
770 <conditions>
771 <condition var1="tw_operation_state" var2="1" />
772 <condition var1="tw_operation_status" var2="1" />
773 </conditions>
774 <actions>
775 <action function="set">tw_fileexists=0</action>
776 <action function="page">%tw_notexistpage%</action>
777 </actions>
778 </object>
779 </page>
780
781 <page name="rebootcheck">
782 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600783 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500784 <action function="reboot">%tw_action_param%</action>
785 </object>
786
787 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -0600788 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500789 <action function="page">confirm_action</action>
790 </object>
791 </page>
792
793 <page name="reboot">
794 <object type="template" name="header" />
795
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600796 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500797 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
798 <text>Reboot Menu</text>
799 </object>
800
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600801 <object type="button" style="rebootsystem">
Ethan Yonker780cd392014-07-21 15:24:39 -0500802 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500803 <text>System</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500804 </object>
805
806 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500807 <condition var1="tw_reboot_poweroff" var2="1" />
808 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500809 <text>Power Off</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500810 <actions>
811 <action function="set">tw_back=reboot</action>
812 <action function="set">tw_action=reboot</action>
813 <action function="set">tw_action_param=poweroff</action>
814 <action function="set">tw_has_action2=0</action>
815 <action function="set">tw_text1=No OS Installed! Are you</action>
816 <action function="set">tw_text2=sure you wish to power off?</action>
817 <action function="set">tw_action_text1=Turning Off...</action>
818 <action function="set">tw_complete_text1=Turning Off...</action>
819 <action function="set">tw_slider_text=Swipe to Power Off</action>
820 <action function="page">rebootcheck</action>
821 </actions>
822 </object>
823
824 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500825 <condition var1="tw_reboot_recovery" var2="1" />
826 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500827 <text>Recovery</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500828 <actions>
829 <action function="set">tw_back=reboot</action>
830 <action function="set">tw_action=reboot</action>
831 <action function="set">tw_action_param=recovery</action>
832 <action function="set">tw_has_action2=0</action>
833 <action function="set">tw_text1=No OS Installed! Are you</action>
834 <action function="set">tw_text2=sure you wish to reboot?</action>
835 <action function="set">tw_action_text1=Rebooting...</action>
836 <action function="set">tw_complete_text1=Rebooting...</action>
837 <action function="set">tw_slider_text=Swipe to Reboot</action>
838 <action function="page">rebootcheck</action>
839 </actions>
840 </object>
841
842 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500843 <condition var1="tw_reboot_bootloader" var2="1" />
844 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500845 <text>Bootloader</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500846 <actions>
847 <action function="set">tw_back=reboot</action>
848 <action function="set">tw_action=reboot</action>
849 <action function="set">tw_action_param=bootloader</action>
850 <action function="set">tw_has_action2=0</action>
851 <action function="set">tw_text1=No OS Installed! Are you</action>
852 <action function="set">tw_text2=sure you wish to reboot?</action>
853 <action function="set">tw_action_text1=Rebooting...</action>
854 <action function="set">tw_complete_text1=Rebooting...</action>
855 <action function="set">tw_slider_text=Swipe to Reboot</action>
856 <action function="page">rebootcheck</action>
857 </actions>
858 </object>
859
860 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500861 <condition var1="tw_download_mode" var2="1" />
862 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500863 <text>Download</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500864 <actions>
865 <action function="set">tw_back=reboot</action>
866 <action function="set">tw_action=reboot</action>
867 <action function="set">tw_action_param=download</action>
868 <action function="set">tw_has_action2=0</action>
869 <action function="set">tw_text1=No OS Installed! Are you</action>
870 <action function="set">tw_text2=sure you wish to reboot?</action>
871 <action function="set">tw_action_text1=Rebooting...</action>
872 <action function="set">tw_complete_text1=Rebooting...</action>
873 <action function="set">tw_slider_text=Swipe to Reboot</action>
874 <action function="page">rebootcheck</action>
875 </actions>
876 </object>
877
878 <object type="action">
879 <touch key="home" />
880 <action function="page">main</action>
881 </object>
882
883 <object type="action">
884 <touch key="back" />
885 <action function="page">main</action>
886 </object>
887
888 <object type="template" name="footer" />
889 </page>
890
891 <page name="selectstorage">
892 <object type="template" name="header" />
893
894 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -0500895 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500896 <text>Select Storage:</text>
897 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500898 <data name="tw_storage_path" />
899 <listtype name="storage" />
900 </object>
901
902 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500903 <placement x="%filemanager_select_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500904 <text>OK</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500905 <actions>
906 <action function="set">tw_clear_destination=%tw_back%</action>
907 <action function="page">clear_vars</action>
908 </actions>
909 </object>
910
911 <object type="action">
912 <touch key="home" />
913 <action function="page">main</action>
914 </object>
915
916 <object type="action">
917 <touch key="back" />
918 <actions>
919 <action function="page">%tw_back%</action>
920 </actions>
921 </object>
922
923 <object type="template" name="footer" />
924 </page>
925
926 <page name="mount">
927 <object type="template" name="header" />
928
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600929 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -0500930 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
931 <text>Mount Menu</text>
932 </object>
933
934 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -0500935 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500936 <text>Select Partitions to Mount:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500937 <listtype name="mount" />
938 </object>
939
940 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -0500941 <conditions>
942 <condition var1="tw_is_encrypted" var2="1" />
943 <condition var1="tw_is_decrypted" var2="0" />
944 </conditions>
945 <placement x="%col3_x%" y="row1_y" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500946 <text>Decrypt Data</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500947 <action function="page">decrypt</action>
948 </object>
949
950 <object type="button">
951 <condition var1="tw_has_usb_storage" var2="1" />
952 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500953 <text>Mount USB Storage</text>
Ethan Yonker780cd392014-07-21 15:24:39 -0500954 <action function="page">usb_mount</action>
955 </object>
956
957 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400958 <conditions>
959 <condition var1="tw_has_mtp" var2="1" />
960 <condition var1="tw_mtp_enabled" var2="0" />
961 </conditions>
962 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400963 <text>Enable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400964 <action function="startmtp"></action>
965 </object>
966
967 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400968 <conditions>
969 <condition var1="tw_has_mtp" var2="1" />
970 <condition var1="tw_mtp_enabled" var2="1" />
971 </conditions>
972 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400973 <text>Disable MTP</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400974 <action function="stopmtp"></action>
975 </object>
976
977 <object type="button">
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400978 <conditions>
979 <condition var1="tw_is_encrypted" var2="1" />
980 <condition var1="tw_is_decrypted" var2="0" />
981 </conditions>
982 <placement x="%col3_x%" y="row1_y" />
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400983 <text>Decrypt Data</text>
bigbiff bigbiffc7eee6f2014-09-02 18:59:01 -0400984 <action function="page">decrypt</action>
985 </object>
986
Ethan Yonker21ff02a2015-02-18 14:35:00 -0600987 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -0500988 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -0500989 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
990 <actions>
991 <action function="set">tw_back=mount</action>
992 <action function="page">selectstorage</action>
993 </actions>
994 </object>
995
Ethan Yonkereb32b1f2015-05-18 10:23:03 -0500996 <object type="button">
Ethan Yonkerb7a54a32015-10-05 10:16:27 -0500997 <placement x="%col3_x%" y="%row10_text_y%" textplacement="6" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -0500998 <font resource="font" color="%text_color%" />
999 <condition var1="tw_mount_system_ro" op="=" var2="0" />
1000 <text>Only mount system read-only</text>
1001 <image resource="checkbox_false" />
Ethan Yonkerd6966f42015-05-30 14:52:16 -05001002 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05001003 </object>
1004
1005 <object type="button">
Ethan Yonkerb7a54a32015-10-05 10:16:27 -05001006 <placement x="%col3_x%" y="%row10_text_y%" textplacement="6" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05001007 <font resource="font" color="%text_color%" />
1008 <condition var1="tw_mount_system_ro" op="!=" var2="0" />
1009 <text>Only mount system read-only</text>
1010 <image resource="checkbox_true" />
1011 <actions>
1012 <action function="set">tw_lifetime_writes=2</action>
1013 <action function="page">system_readonly_check</action>
1014 </actions>
1015 </object>
1016
Ethan Yonker780cd392014-07-21 15:24:39 -05001017 <object type="action">
1018 <touch key="home" />
1019 <action function="page">main</action>
1020 </object>
1021
1022 <object type="action">
1023 <touch key="back" />
1024 <action function="page">main</action>
1025 </object>
1026
1027 <object type="template" name="footer" />
1028 </page>
1029
1030 <page name="usb_mount">
1031 <object type="template" name="header" />
1032
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001033 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001034 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001035 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1036 </object>
1037
Ethan Yonker780cd392014-07-21 15:24:39 -05001038 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001039 <placement x="%col_center_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001040 <text>Unmount</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001041 <action function="page">usb_umount</action>
1042 </object>
1043
1044 <object type="action">
1045 <action function="mount">usb</action>
1046 </object>
1047
1048 <object type="template" name="footer" />
1049 </page>
1050
1051 <page name="usb_umount">
1052 <object type="action">
1053 <action function="unmount">usb</action>
1054 </object>
1055
1056 <object type="action">
1057 <action function="page">mount</action>
1058 </object>
1059
1060 <object type="template" name="footer" />
1061 </page>
1062
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05001063 <page name="system_readonly_check">
1064 <object type="action">
1065 <action function="checkpartitionlifetimewrites">/system</action>
1066 </object>
1067
1068 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05001069 <condition var1="tw_lifetime_writes" var2="1" />
1070 <actions>
1071 <action function="mountsystemtoggle">0</action>
1072 <action function="page">mount</action>
1073 </actions>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05001074 </object>
1075
1076 <object type="action">
Ethan Yonkerd6966f42015-05-30 14:52:16 -05001077 <condition var1="tw_lifetime_writes" var2="0" />
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05001078 <actions>
1079 <action function="set">tw_back=mount</action>
1080 <action function="page">system_readonly</action>
1081 </actions>
1082 </object>
1083 </page>
1084
Ethan Yonker780cd392014-07-21 15:24:39 -05001085 <page name="wipe">
1086 <object type="template" name="header" />
1087
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001088 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001089 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1090 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1091 </object>
1092
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001093 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001094 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001095 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1096 <text>(not including internal storage)</text>
1097 </object>
1098
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001099 <object type="text">
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001100 <conditions>
1101 <condition var1="tw_has_android_secure" var2="1" />
1102 <condition var1="fileexists" var2="/and-sec" />
1103 </conditions>
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001104 <placement x="%center_x%" y="%row3_text_y%" placement="1" />
1105 <text>Android Secure </text>
1106 </object>
1107
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001108 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001109 <condition var1="tw_has_sdext_partition" var2="1" />
Captain Throwbacka7f5ce32014-10-10 09:33:20 -04001110 <placement x="%center_x%" y="%row3_text_y%" />
1111 <text> SD-EXT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001112 </object>
1113
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001114 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001115 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1116 <text>Most of the time this is the only wipe that you need.</text>
1117 </object>
1118
1119 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001120 <placement x="%col2_x%" y="%wipe_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001121 <text>Advanced Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001122 <action function="page">advancedwipe</action>
1123 </object>
1124
1125 <object type="button">
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001126 <condition var1="tw_has_data_media" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001127 <placement x="%col3_x%" y="%wipe_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001128 <text>Format Data</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001129 <actions>
1130 <action function="page">formatdata</action>
1131 </actions>
1132 </object>
1133
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001134 <object type="button">
1135 <conditions>
1136 <condition var1="tw_is_encrypted" var2="1" />
1137 <condition var1="tw_has_data_media" var2="0" />
1138 </conditions>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001139 <placement x="%col3_x%" y="%wipe_button_y%" />
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001140 <text>Wipe Encryption</text>
Ethan Yonkerd79d9bc2014-12-20 15:38:29 -06001141 <actions>
1142 <action function="set">tw_back=wipe</action>
1143 <action function="set">tw_action=wipe</action>
1144 <action function="set">tw_action_param=DATAMEDIA</action>
1145 <action function="set">tw_has_action2=0</action>
1146 <action function="set">tw_text1=Wipe Encryption from Data?</action>
1147 <action function="set">tw_text2=</action>
1148 <action function="set">tw_action_text1=Formatting Data...</action>
1149 <action function="set">tw_complete_text1=Data Format Complete</action>
1150 <action function="set">tw_slider_text=Swipe to Format Data</action>
1151 <action function="page">confirm_action</action>
1152 </actions>
1153 </object>
1154
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001155 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001156 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1157 <text>Press back button to cancel.</text>
1158 </object>
1159
1160 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001161 <text>Swipe to Factory Reset</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001162 <actions>
1163 <action function="set">tw_back=wipe</action>
1164 <action function="set">tw_action=wipe</action>
1165 <action function="set">tw_action_param=data</action>
1166 <action function="set">tw_action_text1=Factory Reset...</action>
1167 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1168 <action function="page">action_page</action>
1169 </actions>
1170 </object>
1171
Ethan Yonker780cd392014-07-21 15:24:39 -05001172 <object type="action">
1173 <touch key="home" />
1174 <action function="page">main</action>
1175 </object>
1176
1177 <object type="action">
1178 <touch key="back" />
1179 <action function="page">main</action>
1180 </object>
1181
1182 <object type="template" name="footer" />
1183 </page>
1184
1185 <page name="advancedwipe">
1186 <object type="template" name="header" />
1187
1188 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05001189 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001190 <text>Select Partitions to Wipe:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001191 <data name="tw_wipe_list" />
1192 <listtype name="wipe" />
1193 </object>
1194
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001195 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001196 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001197 <text>Repair or Change File System</text>
1198 <actions>
1199 <action function="checkpartitionlist"></action>
1200 <action function="page">checkpartitionlist</action>
1201 </actions>
1202 </object>
1203
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001204 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001205 <condition var1="partitionlisterror" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001206 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001207 <placement x="%col3_x%" y="%backup_storage_y%" />
1208 <text>Invalid partition selection</text>
1209 </object>
1210
1211 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001212 <text>Swipe to Wipe</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001213 <actions>
1214 <action function="set">tw_back=advancedwipe</action>
1215 <action function="set">tw_action=wipe</action>
1216 <action function="set">tw_action_param=LIST</action>
1217 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1218 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1219 <action function="set">tw_complete_text1=Wipe Complete</action>
1220 <action function="page">action_page</action>
1221 </actions>
1222 </object>
1223
Ethan Yonker780cd392014-07-21 15:24:39 -05001224 <object type="action">
1225 <touch key="home" />
1226 <action function="page">main</action>
1227 </object>
1228
1229 <object type="action">
1230 <touch key="back" />
1231 <action function="page">wipe</action>
1232 </object>
1233
1234 <object type="template" name="footer" />
1235 </page>
1236
1237 <page name="formatdata">
1238 <object type="template" name="header" />
1239
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001240 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001241 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1242 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1243 </object>
1244
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001245 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001246 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1247 <text>videos, media, and removes encryption on internal storage.</text>
1248 </object>
1249
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001250 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001251 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1252 <text>This cannot be undone. Press back to cancel.</text>
1253 </object>
1254
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001255 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001256 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1257 <text>Type yes to continue.</text>
1258 </object>
1259
1260 <object type="input">
1261 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001262 <text>%tw_confirm_formatdata%</text>
1263 <data name="tw_confirm_formatdata" />
1264 <restrict minlen="3" maxlen="3" allow="yes" />
1265 <action function="page">formatdata_confirm</action>
1266 </object>
1267
1268 <object type="template" name="keyboardtemplate" />
1269
1270 <object type="action">
1271 <touch key="home" />
1272 <action function="page">main</action>
1273 </object>
1274
1275 <object type="action">
1276 <touch key="back" />
1277 <action function="page">wipe</action>
1278 </object>
1279
1280 <object type="template" name="footer" />
1281 </page>
1282
1283 <page name="formatdata_confirm">
1284 <object type="action">
1285 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1286 <actions>
1287 <action function="set">tw_back=formatdata</action>
1288 <action function="set">tw_action=wipe</action>
1289 <action function="set">tw_action_param=DATAMEDIA</action>
1290 <action function="set">tw_action_text1=Formatting Data...</action>
1291 <action function="set">tw_complete_text1=Data Format Complete</action>
1292 <action function="page">action_page</action>
1293 </actions>
1294 </object>
1295
1296 <object type="action">
1297 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
Matt Mower82931532015-02-27 14:19:59 -06001298 <action function="page">formatdata</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001299 </object>
1300 </page>
1301
1302 <page name="checkpartitionlist">
1303 <object type="action">
1304 <condition var1="tw_check_partition_list" op="=" var2="1" />
1305 <actions>
1306 <action function="set">partitionlisterror=0</action>
1307 <action function="getpartitiondetails"></action>
1308 <action function="page">partitionoptions</action>
1309 </actions>
1310 </object>
1311
1312 <object type="action">
1313 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1314 <actions>
1315 <action function="set">partitionlisterror=1</action>
1316 <action function="set">tw_wipe_list=</action>
1317 <action function="page">advancedwipe</action>
1318 </actions>
1319 </object>
1320 </page>
1321
1322 <page name="partitionoptions">
1323 <object type="template" name="header" />
1324
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001325 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001326 <placement x="%col1_x%" y="%row1_text_y%" />
1327 <text>Partition Options for: %tw_partition_name%</text>
1328 </object>
1329
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001330 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001331 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1332 <text>Mount Point: %tw_partition_mount_point%</text>
1333 </object>
1334
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001335 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001336 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1337 <text>Current file system: %tw_partition_file_system%</text>
1338 </object>
1339
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001340 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001341 <condition var1="tw_partition_is_present" op="!=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001342 <placement x="%col2_x%" y="%row3_text_y%" />
1343 <text>Present: Yes</text>
1344 </object>
1345
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001346 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001347 <condition var1="tw_partition_is_present" op="=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001348 <placement x="%col2_x%" y="%row3_text_y%" />
1349 <text>Present: No</text>
1350 </object>
1351
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001352 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001353 <condition var1="tw_partition_removable" op="!=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001354 <placement x="%col3_x%" y="%row3_text_y%" />
1355 <text>Removable: Yes</text>
1356 </object>
1357
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001358 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001359 <condition var1="tw_partition_removable" op="=" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001360 <placement x="%col3_x%" y="%row3_text_y%" />
1361 <text>Removable: No</text>
1362 </object>
1363
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001364 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001365 <placement x="%col1_x%" y="%row4_text_y%" />
1366 <text>Size: %tw_partition_size%MB</text>
1367 </object>
1368
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001369 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001370 <placement x="%col2_x%" y="%row4_text_y%" />
1371 <text>Used: %tw_partition_used%MB</text>
1372 </object>
1373
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001374 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001375 <placement x="%col3_x%" y="%row4_text_y%" />
1376 <text>Free: %tw_partition_free%MB</text>
1377 </object>
1378
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001379 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001380 <placement x="%col4_x%" y="%row4_text_y%" />
1381 <text>Backup Size: %tw_partition_backup_size%MB</text>
1382 </object>
1383
1384 <object type="button">
Ethan Yonkera2719152015-05-28 09:44:41 -05001385 <condition var1="tw_partition_can_resize" op="=" var2="1" />
1386 <placement x="%col1_x%" y="%row2_y%" />
1387 <text>Resize</text>
1388 <actions>
1389 <action function="set">tw_back=partitionoptions</action>
1390 <action function="set">tw_action=resize</action>
1391 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1392 <action function="set">tw_has_action2=1</action>
1393 <action function="set">tw_action2=getpartitiondetails</action>
1394 <action function="set">tw_text1=Resize %tw_partition_name%?</action>
1395 <action function="set">tw_text2=</action>
1396 <action function="set">tw_action_text1=Resizing...</action>
1397 <action function="set">tw_complete_text1=Resize Complete</action>
1398 <action function="set">tw_slider_text=Swipe to Resize</action>
1399 <action function="page">confirm_action</action>
1400 </actions>
1401 </object>
1402
1403 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001404 <condition var1="tw_partition_can_repair" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001405 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001406 <text>Repair</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001407 <actions>
1408 <action function="set">tw_back=partitionoptions</action>
1409 <action function="set">tw_action=repair</action>
1410 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1411 <action function="set">tw_has_action2=0</action>
1412 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1413 <action function="set">tw_text2=</action>
1414 <action function="set">tw_action_text1=Repairing...</action>
1415 <action function="set">tw_complete_text1=Repair Complete</action>
1416 <action function="set">tw_slider_text=Swipe to Repair</action>
1417 <action function="page">confirm_action</action>
1418 </actions>
1419 </object>
1420
1421 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001422 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001423 <text>Change File System</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001424 <action function="page">selectfilesystem</action>
1425 </object>
1426
1427 <object type="action">
1428 <touch key="home" />
1429 <action function="page">main</action>
1430 </object>
1431
1432 <object type="action">
1433 <touch key="back" />
1434 <action function="page">advancedwipe</action>
1435 </object>
1436
1437 <object type="template" name="footer" />
1438 </page>
1439
Dees Troy298c4382014-09-03 14:42:26 +00001440 <page name="refreshfilesystem">
1441 <object type="action">
1442 <condition var1="tw_check_partition_list" op="=" var2="1" />
1443 <actions>
1444 <action function="set">partitionlisterror=0</action>
1445 <action function="getpartitiondetails"></action>
1446 <action function="page">selectfilesystem</action>
1447 </actions>
1448 </object>
1449
1450 <object type="action">
1451 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1452 <actions>
1453 <action function="set">partitionlisterror=1</action>
1454 <action function="set">tw_wipe_list=</action>
1455 <action function="page">advancedwipe</action>
1456 </actions>
1457 </object>
1458 </page>
1459
Ethan Yonker780cd392014-07-21 15:24:39 -05001460 <page name="selectfilesystem">
1461 <object type="template" name="header" />
1462
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001463 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001464 <placement x="%col1_x%" y="%row1_text_y%" />
1465 <text>Change file system for: %tw_partition_name%</text>
1466 </object>
1467
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001468 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001469 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1470 <text>Mount Point: %tw_partition_mount_point%</text>
1471 </object>
1472
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001473 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001474 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1475 <text>Current file system: %tw_partition_file_system%</text>
1476 </object>
1477
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001478 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001479 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1480 <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text>
1481 </object>
1482
1483 <object type="button">
1484 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001485 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001486 <text>EXT2</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001487 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001488 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001489 <action function="set">tw_action=changefilesystem</action>
1490 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1491 <action function="set">tw_action_new_file_system=ext2</action>
1492 <action function="set">tw_has_action2=0</action>
1493 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1494 <action function="set">tw_text2=</action>
1495 <action function="set">tw_action_text1=Formatting...</action>
1496 <action function="set">tw_complete_text1=Format Complete</action>
1497 <action function="set">tw_slider_text=Swipe to Change</action>
1498 <action function="page">confirm_action</action>
1499 </actions>
1500 </object>
1501
1502 <object type="button">
1503 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001504 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001505 <text>EXT3</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001506 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001507 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001508 <action function="set">tw_action=changefilesystem</action>
1509 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1510 <action function="set">tw_action_new_file_system=ext3</action>
1511 <action function="set">tw_has_action2=0</action>
1512 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1513 <action function="set">tw_text2=</action>
1514 <action function="set">tw_action_text1=Formatting...</action>
1515 <action function="set">tw_complete_text1=Format Complete</action>
1516 <action function="set">tw_slider_text=Swipe to Change</action>
1517 <action function="page">confirm_action</action>
1518 </actions>
1519 </object>
1520
1521 <object type="button">
1522 <condition var1="tw_partition_ext" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001523 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001524 <text>EXT4</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001525 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001526 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001527 <action function="set">tw_action=changefilesystem</action>
1528 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1529 <action function="set">tw_action_new_file_system=ext4</action>
1530 <action function="set">tw_has_action2=0</action>
1531 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1532 <action function="set">tw_text2=</action>
1533 <action function="set">tw_action_text1=Formatting...</action>
1534 <action function="set">tw_complete_text1=Format Complete</action>
1535 <action function="set">tw_slider_text=Swipe to Change</action>
1536 <action function="page">confirm_action</action>
1537 </actions>
1538 </object>
1539
1540 <object type="button">
1541 <condition var1="tw_partition_f2fs" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001542 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001543 <text>F2FS</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001544 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001545 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001546 <action function="set">tw_action=changefilesystem</action>
1547 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1548 <action function="set">tw_action_new_file_system=f2fs</action>
1549 <action function="set">tw_has_action2=0</action>
1550 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1551 <action function="set">tw_text2=</action>
1552 <action function="set">tw_action_text1=Formatting...</action>
1553 <action function="set">tw_complete_text1=Format Complete</action>
1554 <action function="set">tw_slider_text=Swipe to Change</action>
1555 <action function="page">confirm_action</action>
1556 </actions>
1557 </object>
1558
1559 <object type="button">
1560 <condition var1="tw_partition_vfat" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001561 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001562 <text>FAT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001563 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001564 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001565 <action function="set">tw_action=changefilesystem</action>
1566 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1567 <action function="set">tw_action_new_file_system=vfat</action>
1568 <action function="set">tw_has_action2=0</action>
1569 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1570 <action function="set">tw_text2=</action>
1571 <action function="set">tw_action_text1=Formatting...</action>
1572 <action function="set">tw_complete_text1=Format Complete</action>
1573 <action function="set">tw_slider_text=Swipe to Change</action>
1574 <action function="page">confirm_action</action>
1575 </actions>
1576 </object>
1577
1578 <object type="button">
1579 <condition var1="tw_partition_exfat" op="=" var2="1" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001580 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001581 <text>exFAT</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001582 <actions>
Dees Troy298c4382014-09-03 14:42:26 +00001583 <action function="set">tw_back=refreshfilesystem</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001584 <action function="set">tw_action=changefilesystem</action>
1585 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1586 <action function="set">tw_action_new_file_system=exfat</action>
1587 <action function="set">tw_has_action2=0</action>
1588 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1589 <action function="set">tw_text2=</action>
1590 <action function="set">tw_action_text1=Formatting...</action>
1591 <action function="set">tw_complete_text1=Format Complete</action>
1592 <action function="set">tw_slider_text=Swipe to Change</action>
1593 <action function="page">confirm_action</action>
1594 </actions>
1595 </object>
1596
1597 <object type="action">
1598 <touch key="home" />
1599 <action function="page">main</action>
1600 </object>
1601
1602 <object type="action">
1603 <touch key="back" />
1604 <action function="page">partitionoptions</action>
1605 </object>
1606
1607 <object type="template" name="footer" />
1608 </page>
1609
1610 <page name="backup">
1611 <object type="template" name="header" />
1612
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001613 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1615 <text>Back Up Device</text>
1616 </object>
1617
1618 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05001619 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001620 <text>Select Partitions to Back Up:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001621 <data name="tw_backup_list" />
1622 <listtype name="backup" />
1623 </object>
1624
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001625 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001626 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1627 <text>Backup Name: %tw_backup_name%</text>
1628 </object>
1629
1630 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001631 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001632 <text>Refresh Sizes</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001633 <actions>
1634 <action function="refreshsizes"></action>
1635 <action function="page">backup</action>
1636 </actions>
1637 </object>
1638
1639 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001640 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001641 <text>Set Backup Name</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001642 <actions>
1643 <action function="set">tw_fileexists=0</action>
1644 <action function="page">backupname1</action>
1645 </actions>
1646 </object>
1647
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001648 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001649 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001650 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1651 <actions>
1652 <action function="set">tw_back=backup</action>
1653 <action function="page">selectstorage</action>
1654 </actions>
1655 </object>
1656
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001657 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001658 <conditions>
1659 <condition var1="tw_include_encrypted_backup" var2="1" />
1660 <condition var1="tw_encrypt_backup" var2="0" />
1661 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05001662 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001663 <text>No Encryption</text>
1664 <actions>
1665 <action function="page">backupencryption</action>
1666 </actions>
1667 </object>
1668
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001669 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001670 <conditions>
1671 <condition var1="tw_include_encrypted_backup" var2="1" />
1672 <condition var1="tw_encrypt_backup" var2="1" />
1673 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05001674 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001675 <text>Using Encryption</text>
1676 <actions>
1677 <action function="page">backupencryption</action>
1678 </actions>
1679 </object>
1680
1681 <object type="checkbox">
1682 <placement x="%col3_x%" y="%nandcheck_row6%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001683 <text>Enable Compression (Requires more time)</text>
1684 <data variable="tw_use_compression" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001685 </object>
1686
1687 <object type="checkbox">
1688 <placement x="%col3_x%" y="%nandcheck_row7%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001689 <text>Skip MD5 generation on backups</text>
1690 <data variable="tw_skip_md5_generate" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001691 </object>
1692
bigbiffbf1d6722015-02-14 16:25:59 -05001693 <object type="checkbox">
1694 <placement x="%col3_x%" y="%nandcheck_row8%" />
1695 <font resource="font" color="%text_color%" />
1696 <text>Disable Free Space Check.</text>
1697 <data variable="tw_disable_free_space" />
1698 <image checked="checkbox_true" unchecked="checkbox_false" />
1699 </object>
1700
Ethan Yonker780cd392014-07-21 15:24:39 -05001701 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001702 <text>Swipe to Back Up</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001703 <actions>
1704 <action function="set">tw_operation_state=0</action>
1705 <action function="page">backup_run</action>
1706 </actions>
1707 </object>
1708
Ethan Yonker780cd392014-07-21 15:24:39 -05001709 <object type="action">
1710 <touch key="home" />
1711 <action function="page">main</action>
1712 </object>
1713
1714 <object type="action">
1715 <touch key="back" />
1716 <action function="page">main</action>
1717 </object>
1718
1719 <object type="template" name="footer" />
1720 </page>
1721
1722 <page name="backupname1">
1723 <object type="action">
1724 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
Matt Mower82931532015-02-27 14:19:59 -06001725 <action function="generatebackupname"></action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001726 </object>
1727
1728 <object type="action">
Matt Mower82931532015-02-27 14:19:59 -06001729 <action function="page">backupname2</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05001730 </object>
1731 </page>
1732
1733 <page name="backupname2">
1734 <object type="template" name="header" />
1735
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001736 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001737 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001738 <text>Please Enter a Backup Name</text>
1739 </object>
1740
1741 <object type="input">
1742 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001743 <text>%tw_backup_name%</text>
1744 <data name="tw_backup_name" />
1745 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1746 <actions>
1747 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1748 <action function="set">tw_existpage=backupname2</action>
1749 <action function="set">tw_notexistpage=backup</action>
1750 <action function="page">filecheck</action>
1751 </actions>
1752 </object>
1753
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001754 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001755 <condition var1="tw_fileexists" var2="1" />
1756 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001757 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001758 <text>A backup with that name already exists!</text>
1759 </object>
1760
1761 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001762 <placement x="%col2_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001763 <text>Append Date</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001764 <action function="appenddatetobackupname"></action>
1765 </object>
1766
1767 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001768 <placement x="%col3_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001769 <text>Cancel / Clear</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001770 <actions>
1771 <action function="set">tw_backup_name=(Auto Generate)</action>
1772 <action function="page">backup</action>
1773 </actions>
1774 </object>
1775
1776 <object type="template" name="keyboardtemplate" />
1777
1778 <object type="action">
1779 <touch key="home" />
1780 <actions>
1781 <action function="set">tw_backup_name=(Auto Generate)</action>
1782 <action function="page">main</action>
1783 </actions>
1784 </object>
1785
1786 <object type="action">
1787 <touch key="back" />
1788 <actions>
1789 <action function="set">tw_backup_name=(Auto Generate)</action>
1790 <action function="page">backup</action>
1791 </actions>
1792 </object>
1793
1794 <object type="template" name="footer" />
1795 </page>
1796
1797 <page name="backupencryption">
1798 <object type="template" name="header" />
1799
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001800 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001801 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1802 <text>Encrypt your backup? Please enter a password:</text>
1803 </object>
1804
1805 <object type="input">
1806 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001807 <text>%tw_backup_encrypt_display%</text>
1808 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1809 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1810 <action function="page">backupencryption2</action>
1811 </object>
1812
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001813 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001814 <condition var1="tw_password_not_match" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001815 <font resource="font" color="%text_fail_color%"/>
Ethan Yonker780cd392014-07-21 15:24:39 -05001816 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1817 <text>Passwords Do Not Match</text>
1818 </object>
1819
1820 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001821 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001822 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001823 <actions>
1824 <action function="set">tw_encrypt_backup=0</action>
1825 <action function="set">tw_backup_password=</action>
1826 <action function="set">tw_backup_password2=</action>
1827 <action function="set">tw_backup_encrypt_display=</action>
1828 <action function="set">tw_backup_encrypt_display2=</action>
1829 <action function="page">backup</action>
1830 </actions>
1831 </object>
1832
1833 <object type="template" name="keyboardtemplate" />
1834
1835 <object type="action">
1836 <touch key="home" />
1837 <action function="page">main</action>
1838 </object>
1839
1840 <object type="action">
1841 <touch key="back" />
1842 <action function="page">backup</action>
1843 </object>
1844
1845 <object type="template" name="footer" />
1846 </page>
1847
1848 <page name="backupencryption2">
1849 <object type="template" name="header" />
1850
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001851 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001852 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1853 <text>Encrypt your backup? Please Enter Password Again:</text>
1854 </object>
1855
1856 <object type="input">
1857 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001858 <text>%tw_backup_encrypt_display2%</text>
1859 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1860 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1861 <actions>
1862 <action function="page">checkbackuppassword</action>
1863 </actions>
1864 </object>
1865
1866 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05001867 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001868 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001869 <actions>
1870 <action function="set">tw_encrypt_backup=0</action>
1871 <action function="set">tw_backup_password=</action>
1872 <action function="set">tw_backup_password2=</action>
1873 <action function="set">tw_backup_encrypt_display=</action>
1874 <action function="set">tw_backup_encrypt_display2=</action>
1875 <action function="page">backup</action>
1876 </actions>
1877 </object>
1878
1879 <object type="template" name="keyboardtemplate" />
1880
1881 <object type="action">
1882 <touch key="home" />
1883 <action function="page">main</action>
1884 </object>
1885
1886 <object type="action">
1887 <touch key="back" />
1888 <action function="page">backup</action>
1889 </object>
1890
1891 <object type="template" name="footer" />
1892 </page>
1893
1894 <page name="checkbackuppassword">
1895 <object type="action">
1896 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1897 <actions>
1898 <action function="set">tw_encrypt_backup=1</action>
1899 <action function="page">backup</action>
1900 </actions>
1901 </object>
1902
1903 <object type="action">
1904 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1905 <actions>
1906 <action function="set">tw_encrypt_backup=0</action>
1907 <action function="set">tw_password_not_match=1</action>
1908 <action function="set">tw_backup_password=</action>
1909 <action function="set">tw_backup_password2=</action>
1910 <action function="set">tw_backup_encrypt_display=</action>
1911 <action function="set">tw_backup_encrypt_display2=</action>
1912 <action function="page">backupencryption</action>
1913 </actions>
1914 </object>
1915 </page>
1916
1917 <page name="backup_run">
1918 <object type="template" name="header" />
1919
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001920 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001921 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1922 <text>%tw_operation% %tw_partition%</text>
1923 </object>
1924
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001925 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001926 <placement x="%col1_x%" y="%row2_text_y%" />
1927 <text>%tw_file_progress%</text>
1928 </object>
1929
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001930 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05001931 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1932 <text>%tw_size_progress%</text>
1933 </object>
1934
1935 <object type="template" name="action_page_console" />
1936
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001937 <object type="button" style="mediumbutton">
1938 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001939 <text>Cancel</text>
bigbiff7abc5fe2015-01-17 16:53:12 -05001940 <actions>
1941 <action function="cancelbackup"></action>
1942 </actions>
1943 </object>
1944
Ethan Yonker780cd392014-07-21 15:24:39 -05001945 <object type="template" name="progress_bar" />
1946
1947 <object type="action">
1948 <action function="nandroid">backup</action>
1949 </object>
1950
1951 <object type="action">
1952 <condition var1="tw_operation_state" var2="1" />
bigbiff7abc5fe2015-01-17 16:53:12 -05001953 <condition var1="tw_cancel_backup" var2="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001954 <actions>
1955 <action function="set">tw_back=backup</action>
1956 <action function="set">tw_complete_text1=Backup Complete</action>
1957 <action function="set">tw_show_reboot=1</action>
1958 <action function="page">action_complete</action>
1959 </actions>
1960 </object>
1961
bigbiff7abc5fe2015-01-17 16:53:12 -05001962 <object type="action">
1963 <condition var1="tw_operation_state" var2="1" />
1964 <condition var1="tw_cancel_backup" var2="1" />
1965 <actions>
1966 <action function="set">tw_back=backup</action>
1967 <action function="set">tw_complete_text1=Backup Cancelled</action>
1968 <action function="set">tw_show_reboot=1</action>
1969 <action function="page">action_complete</action>
1970 </actions>
1971 </object>
1972
Ethan Yonker780cd392014-07-21 15:24:39 -05001973 <object type="template" name="footer" />
1974 </page>
1975
1976 <page name="restore">
1977 <object type="template" name="header" />
1978
Ethan Yonker21ff02a2015-02-18 14:35:00 -06001979 <object type="button" style="fillbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05001980 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001981 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1982 <actions>
1983 <action function="set">tw_back=restore</action>
1984 <action function="page">selectstorage</action>
1985 </actions>
1986 </object>
1987
1988 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05001989 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05001990 <text>Select Package to Restore:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05001991 <filter folders="1" files="0" nav="0" />
1992 <path name="tw_backups_folder" />
1993 <data name="tw_restore" default="" />
1994 <selection name="tw_restore_name" />
1995 </object>
1996
1997 <object type="template" name="sort_options" />
1998
1999 <object type="action">
2000 <condition var1="tw_restore" op="modified" />
2001 <actions>
2002 <action function="readBackup"></action>
2003 <action function="page">restore_read</action>
2004 </actions>
2005 </object>
2006
2007 <object type="action">
2008 <touch key="home" />
2009 <action function="page">main</action>
2010 </object>
2011
2012 <object type="action">
2013 <touch key="back" />
2014 <action function="page">main</action>
2015 </object>
2016
2017 <object type="template" name="footer" />
2018 </page>
2019
2020 <page name="restore_read">
2021 <object type="action">
2022 <condition var1="tw_restore_encrypted" var2="1" />
2023 <actions>
2024 <action function="set">tw_password_fail=0</action>
2025 <action function="page">restore_decrypt</action>
2026 </actions>
2027 </object>
2028
2029 <object type="action">
2030 <condition var1="tw_restore_encrypted" var2="0" />
2031 <actions>
2032 <action function="page">restore_select</action>
2033 </actions>
2034 </object>
2035 </page>
2036
2037 <page name="restore_decrypt">
2038 <object type="template" name="header" />
2039
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002040 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002041 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2042 <text>Backup encrypted. Please enter your password:</text>
2043 </object>
2044
2045 <object type="input">
2046 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002047 <text>%tw_restore_display%</text>
2048 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2049 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2050 <actions>
2051 <action function="page">try_restore_decrypt</action>
2052 </actions>
2053 </object>
2054
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002055 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002056 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002057 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002058 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2059 <text>Password Failed, Please Try Again</text>
2060 </object>
2061
2062 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002063 <placement x="%col2_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002064 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002065 <actions>
2066 <action function="set">tw_page_done=1</action>
2067 <action function="page">restore</action>
2068 </actions>
2069 </object>
2070
2071 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002072 <placement x="%col3_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002073 <text>Delete</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002074 <actions>
2075 <action function="set">tw_back=restore</action>
2076 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002077 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002078 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2079 <action function="set">tw_text2=This cannot be undone!</action>
2080 <action function="set">tw_action_text1=Deleting Backup...</action>
2081 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2082 <action function="set">tw_slider_text=Swipe to Delete</action>
2083 <action function="page">confirm_action</action>
2084 </actions>
2085 </object>
2086
2087 <object type="template" name="keyboardtemplate" />
2088
2089 <object type="action">
2090 <touch key="home" />
2091 <action function="page">main</action>
2092 </object>
2093
2094 <object type="action">
2095 <touch key="back" />
2096 <action function="page">restore</action>
2097 </object>
2098
2099 <object type="template" name="footer" />
2100 </page>
2101
2102 <page name="try_restore_decrypt">
2103 <object type="template" name="header" />
2104
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002105 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002106 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2107 <text>Trying Decryption with Your Password</text>
2108 </object>
2109
2110 <object type="template" name="action_page_console" />
2111
2112 <object type="template" name="progress_bar" />
2113
2114 <object type="action">
2115 <action function="decrypt_backup"></action>
2116 </object>
2117
2118 <object type="action">
2119 <conditions>
2120 <condition var1="tw_operation_state" var2="1" />
2121 <condition var1="tw_operation_status" op="!=" var2="0" />
2122 </conditions>
2123 <actions>
2124 <action function="set">tw_password_fail=1</action>
2125 <action function="page">restore_decrypt</action>
2126 </actions>
2127 </object>
2128
2129 <object type="action">
2130 <conditions>
2131 <condition var1="tw_operation_state" var2="1" />
2132 <condition var1="tw_operation_status" op="=" var2="0" />
2133 </conditions>
2134 <actions>
2135 <action function="set">tw_page_done=1</action>
2136 <action function="page">restore_select</action>
2137 </actions>
2138 </object>
2139 </page>
2140
2141 <page name="restore_select">
2142 <object type="template" name="header" />
2143
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002144 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002145 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2146 <text>Package to Restore: %tw_restore_name%</text>
2147 </object>
2148
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002149 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002150 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2151 <text>Package Date: %tw_restore_file_date%</text>
2152 </object>
2153
2154 <object type="partitionlist">
Ethan Yonker780cd392014-07-21 15:24:39 -05002155 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002156 <text>Select Partitions to Restore:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002157 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2158 <listtype name="restore" />
2159 </object>
2160
2161 <object type="checkbox">
2162 <placement x="%col3_x%" y="%nandcheck_row6%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002163 <text>Enable MD5 checking of backup files</text>
2164 <data variable="tw_skip_md5_check" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002165 </object>
2166
2167 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002168 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002169 <text>Rename Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002170 <actions>
2171 <action function="set">tw_backup_rename=</action>
2172 <action function="set">tw_fileexists=0</action>
2173 <action function="page">renamebackup</action>
2174 </actions>
2175 </object>
2176
2177 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002178 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002179 <text>Delete Backup</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002180 <actions>
2181 <action function="set">tw_back=restore</action>
2182 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002183 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf &quot;%tw_restore_name%&quot;</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002184 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2185 <action function="set">tw_text2=This cannot be undone!</action>
2186 <action function="set">tw_action_text1=Deleting Backup...</action>
2187 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2188 <action function="set">tw_slider_text=Swipe to Delete</action>
2189 <action function="page">confirm_action</action>
2190 </actions>
2191 </object>
2192
2193 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05002194 <text>Swipe to Restore</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002195 <action function="page">restore_run</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002196 </object>
2197
2198 <object type="action">
2199 <touch key="home" />
2200 <action function="page">main</action>
2201 </object>
2202
2203 <object type="action">
2204 <touch key="back" />
2205 <action function="page">restore</action>
2206 </object>
2207
2208 <object type="template" name="footer" />
2209 </page>
2210
2211 <page name="renamebackup">
2212 <object type="template" name="header" />
2213
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002214 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002215 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002216 <text>Please Enter a New Backup Name</text>
2217 </object>
2218
2219 <object type="input">
2220 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002221 <text>%tw_backup_rename%</text>
2222 <data name="tw_backup_rename" />
2223 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2224 <actions>
2225 <action function="set">tw_back=restore</action>
2226 <action function="set">tw_action=cmd</action>
Matt Mower82931532015-02-27 14:19:59 -06002227 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002228 <action function="set">tw_text1=Rename Backup?</action>
2229 <action function="set">tw_text2=This cannot be undone!</action>
2230 <action function="set">tw_action_text1=Renaming Backup...</action>
2231 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2232 <action function="set">tw_slider_text=Swipe to Rename</action>
2233 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2234 <action function="set">tw_existpage=renamebackup</action>
2235 <action function="set">tw_notexistpage=confirm_action</action>
2236 <action function="page">filecheck</action>
2237 </actions>
2238 </object>
2239
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002240 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002241 <condition var1="tw_fileexists" var2="1" />
2242 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002243 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002244 <text>A backup with that name already exists!</text>
2245 </object>
2246
2247 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002248 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002249 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002250 <action function="page">restore_select</action>
2251 </object>
2252
2253 <object type="template" name="keyboardtemplate" />
2254
2255 <object type="action">
2256 <touch key="home" />
2257 <action function="page">main</action>
2258 </object>
2259
2260 <object type="action">
2261 <touch key="back" />
2262 <action function="page">restore_select</action>
2263 </object>
2264
2265 <object type="template" name="footer" />
2266 </page>
2267
2268 <page name="restore_run">
2269 <object type="template" name="header" />
2270
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002271 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002272 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2273 <text>%tw_operation% %tw_partition%</text>
2274 </object>
2275
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002276 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002277 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2278 <text>%tw_size_progress%</text>
2279 </object>
2280
2281 <object type="template" name="action_page_console" />
2282
2283 <object type="template" name="progress_bar" />
2284
2285 <object type="action">
2286 <condition var1="tw_operation_state" var2="1" />
2287 <actions>
2288 <action function="set">tw_back=restore_select</action>
2289 <action function="set">tw_complete_text1=Restore Complete</action>
2290 <action function="set">tw_show_reboot=1</action>
2291 <action function="page">action_complete</action>
2292 </actions>
2293 </object>
2294
2295 <object type="action">
2296 <action function="nandroid">restore</action>
2297 </object>
2298 </page>
2299
2300 <page name="settings">
2301 <object type="template" name="header" />
2302
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002303 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002304 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2305 <text>Settings</text>
2306 </object>
2307
2308 <object type="checkbox">
2309 <placement x="%col1_x%" y="%row2_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002310 <text>Zip file signature verification?</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002311 <data variable="tw_signed_zip_verify" />>
Ethan Yonker780cd392014-07-21 15:24:39 -05002312 </object>
2313
2314 <object type="checkbox">
2315 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002316 <text>Use rm -rf instead of formatting?</text>
2317 <data variable="tw_rm_rf" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002318 </object>
2319
2320 <object type="checkbox">
2321 <placement x="%col1_x%" y="%row4_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002322 <text>Skip MD5 generation on backups</text>
2323 <data variable="tw_skip_md5_generate" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002324 </object>
2325
2326 <object type="checkbox">
2327 <placement x="%col1_x%" y="%row5_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002328 <text>Enable MD5 checking of backup files</text>
2329 <data variable="tw_skip_md5_check" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002330 </object>
2331
2332 <object type="checkbox">
2333 <placement x="%col1_x%" y="%row6_text_y%" />
Captain Throwback5f4fd8c2014-10-10 10:36:09 -04002334 <text>Use 24-hour clock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002335 <data variable="tw_military_time" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002336 </object>
2337
2338 <object type="checkbox">
2339 <placement x="%col1_x%" y="%row7_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002340 <text>Simulate most actions for theme testing</text>
2341 <data variable="tw_simulate_actions" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002342 </object>
2343
2344 <object type="checkbox">
2345 <condition var1="tw_simulate_actions" var2="1" />
2346 <placement x="%col1_x%" y="%row8_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002347 <text>Simulate failure for actions</text>
2348 <data variable="tw_simulate_fail" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002349 </object>
2350
2351 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002352 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002353 <text>Time Zone</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002354 <action function="page">timezone</action>
2355 </object>
2356
2357 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002358 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002359 <text>Restore Defaults</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002360 <action function="restoredefaultsettings"></action>
2361 </object>
2362
2363 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002364 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002365 <text>Vibration Duration</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002366 <action function="page">Vibrate</action>
2367 </object>
2368
2369 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002370 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002371 <text>Screen</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002372 <action function="page">screen</action>
2373 </object>
2374
2375 <object type="action">
2376 <touch key="home" />
2377 <action function="page">main</action>
2378 </object>
2379
2380 <object type="action">
2381 <touch key="back" />
2382 <action function="page">main</action>
2383 </object>
2384
2385 <object type="template" name="footer" />
2386 </page>
2387
2388 <page name="timezone">
2389 <object type="template" name="header" />
2390
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002391 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002392 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2393 <text>Select Time Zone</text>
2394 </object>
2395
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002396 <object type="listbox" style="scrolllist">
Ethan Yonker780cd392014-07-21 15:24:39 -05002397 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002398 <text>Select Time Zone:</text>
2399 <icon selected="radio_true" unselected="radio_false" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002400 <data name="tw_time_zone_guisel" />
2401 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2402 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2403 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
that202e51b2015-03-24 21:07:59 +01002404 <listitem name="(UTC -8) Pacific Time">PST8;PDT,M3.2.0,M11.1.0</listitem>
2405 <listitem name="(UTC -7) Mountain Time">MST7;MDT,M3.2.0,M11.1.0</listitem>
2406 <listitem name="(UTC -6) Central Time">CST6;CDT,M3.2.0,M11.1.0</listitem>
2407 <listitem name="(UTC -5) Eastern Time">EST5;EDT,M3.2.0,M11.1.0</listitem>
Ethan Yonker780cd392014-07-21 15:24:39 -05002408 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2409 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2410 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2411 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
that202e51b2015-03-24 21:07:59 +01002412 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST,M3.5.0,M10.5.0</listitem>
2413 <listitem name="(UTC +1) Berlin, Brussels, Paris">CET-1;CEST,M3.5.0,M10.5.0</listitem>
2414 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET,M3.5.0,M10.5.0</listitem>
Ethan Yonker780cd392014-07-21 15:24:39 -05002415 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2416 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2417 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2418 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2419 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2420 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2421 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2422 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2423 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2424 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2425 </object>
2426
2427 <object type="checkbox">
2428 <placement x="%col1_medium_x%" y="%row11_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002429 <text>Do you use daylight savings time (DST)?</text>
2430 <data variable="tw_time_zone_guidst" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002431 </object>
2432
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002433 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002434 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2435 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2436 </object>
2437
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002438 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002439 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002440 <text>0</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002441 <action function="set">tw_time_zone_guioffset=0</action>
2442 </object>
2443
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002444 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002445 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002446 <text>15</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002447 <action function="set">tw_time_zone_guioffset=15</action>
2448 </object>
2449
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002450 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002451 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002452 <text>30</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002453 <action function="set">tw_time_zone_guioffset=30</action>
2454 </object>
2455
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002456 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002457 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002458 <text>45</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002459 <action function="set">tw_time_zone_guioffset=45</action>
2460 </object>
2461
2462 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002463 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002464 <text>Set Time Zone</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002465 <action function="setguitimezone"></action>
2466 </object>
2467
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002468 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002469 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2470 <text>Current Time Zone: %tw_time_zone%</text>
2471 </object>
2472
2473 <object type="action">
2474 <touch key="home" />
2475 <action function="page">main</action>
2476 </object>
2477
2478 <object type="action">
2479 <touch key="back" />
2480 <action function="page">settings</action>
2481 </object>
2482
2483 <object type="template" name="footer" />
2484 </page>
2485
2486 <page name="screen">
2487 <object type="template" name="header" />
2488
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002489 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002490 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2491 <text>Screen Settings</text>
2492 </object>
2493
2494 <object type="button">
Ethan Yonker25474e42015-10-26 21:42:02 -05002495 <placement x="%slidervalue_x%" y="%row3_text_y%" textplacement="6" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002496 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
2497 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2498 <text>Enable screen timeout.</text>
2499 <image resource="checkbox_false" />
2500 <action function="set">tw_screen_timeout_secs=60</action>
2501 </object>
2502
2503 <object type="button">
Ethan Yonker25474e42015-10-26 21:42:02 -05002504 <placement x="%slidervalue_x%" y="%row3_text_y%" textplacement="6" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002505 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2506 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2507 <text>Enable screen timeout.</text>
2508 <image resource="checkbox_true" />
2509 <action function="set">tw_screen_timeout_secs=0</action>
2510 </object>
2511
2512 <object type="slidervalue">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002513 <conditions>
2514 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2515 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
2516 </conditions>
Ethan Yonker780cd392014-07-21 15:24:39 -05002517 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002518 <text>Screen timeout in seconds:</text>
2519 <data variable="tw_screen_timeout_secs" min="15" max="300" />
2520 </object>
2521
2522 <object type="slidervalue">
2523 <condition var1="tw_has_brightnesss_file" var2="1" />
2524 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002525 <text>Brightness: %tw_brightness_pct%%</text>
2526 <data variable="tw_brightness_pct" min="10" max="100" />
2527 <actions>
2528 <action function="set">tw_brightness=%tw_brightness_max%</action>
2529 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2530 <action function="compute">tw_brightness/100</action>
xNUTxe85f02d2014-07-18 01:30:58 +02002531 <action function="setbrightness">%tw_brightness%</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002532 </actions>
2533 </object>
2534
2535 <object type="action">
2536 <touch key="home" />
2537 <action function="page">main</action>
2538 </object>
2539
2540 <object type="action">
2541 <touch key="back" />
2542 <action function="page">settings</action>
2543 </object>
2544
2545 <object type="template" name="footer" />
2546 </page>
2547
2548 <page name="Vibrate">
2549 <object type="template" name="header" />
2550
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002551 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002552 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2553 <text>Vibration Settings :</text>
2554 </object>
2555
2556 <object type="slidervalue">
2557 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002558 <text>Button Vibration:</text>
2559 <data variable="tw_button_vibrate" min="0" max="300" />
2560 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2561 </object>
2562
2563 <object type="slidervalue">
2564 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002565 <text>Keyboard Vibration:</text>
2566 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2567 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2568 </object>
2569
2570 <object type="slidervalue">
2571 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002572 <text>Action Vibration:</text>
2573 <data variable="tw_action_vibrate" min="0" max="500" />
2574 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2575 </object>
2576
2577 <object type="action">
2578 <touch key="home" />
2579 <action function="page">main</action>
2580 </object>
2581
2582 <object type="action">
2583 <touch key="back" />
2584 <action function="page">settings</action>
2585 </object>
2586
2587 <object type="template" name="footer" />
2588 </page>
2589
2590 <page name="advanced">
2591 <object type="template" name="header" />
2592
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002593 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002594 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2595 <text>Advanced</text>
2596 </object>
2597
2598 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002599 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002600 <text>Copy Log to SD</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002601 <actions>
2602 <action function="set">tw_back=advanced</action>
2603 <action function="set">tw_action=copylog</action>
2604 <action function="set">tw_text1=Copy Log to SD Card?</action>
2605 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2606 <action function="set">tw_complete_text1=Log Copy Complete</action>
2607 <action function="set">tw_slider_text=Swipe to Confirm</action>
2608 <action function="page">confirm_action</action>
2609 </actions>
2610 </object>
2611
2612 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002613 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002614 <text>Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01002615 <action function="page">fixperms</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002616 </object>
2617
2618 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002619 <placement x="%col3_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002620 <text>Terminal Command</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002621 <action function="page">terminalfolder</action>
2622 </object>
2623
2624 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002625 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002626 <text>ADB Sideload</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002627 <action function="page">sideload</action>
2628 </object>
2629
2630 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002631 <condition var1="tw_allow_partition_sdcard" var2="1" />
2632 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002633 <text>Partition SD Card</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002634 <action function="page">partsdcard</action>
2635 </object>
2636
2637 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002638 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002639 <text>File Manager</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002640 <action function="page">filemanagerlist</action>
2641 </object>
2642
2643 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002644 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002645 <text>Reload Theme</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002646 <action function="reload"></action>
2647 </object>
2648
2649 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002650 <condition var1="tw_show_dumlock" var2="1" />
2651 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002652 <text>HTC Dumlock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002653 <action function="page">htcdumlock</action>
2654 </object>
2655
2656 <object type="action">
2657 <touch key="home" />
2658 <action function="page">main</action>
2659 </object>
2660
2661 <object type="action">
2662 <touch key="back" />
2663 <action function="page">main</action>
2664 </object>
2665
2666 <object type="template" name="footer" />
2667 </page>
2668
2669 <page name="partsdcard">
2670 <object type="template" name="header" />
2671
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002672 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002673 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2674 <text>Partition SD Card</text>
2675 </object>
2676
2677 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002678 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002679 <text></text>
2680 <image resource="minus_button" />
2681 <action function="addsubtract">tw_sdext_size-128</action>
2682 </object>
2683
2684 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002685 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002686 <text></text>
2687 <image resource="plus_button" />
2688 <action function="addsubtract">tw_sdext_size+128</action>
2689 </object>
2690
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002691 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002692 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
2693 <text>EXT Size: %tw_sdext_size%</text>
2694 </object>
2695
2696 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002697 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002698 <text></text>
2699 <image resource="minus_button" />
2700 <action function="addsubtract">tw_swap_size-32</action>
2701 </object>
2702
2703 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002704 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002705 <text></text>
2706 <image resource="plus_button" />
2707 <action function="addsubtract">tw_swap_size+32</action>
2708 </object>
2709
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002710 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002711 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
2712 <text>Swap Size: %tw_swap_size%</text>
2713 </object>
2714
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002715 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002716 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
2717 <text>File system: %tw_sdpart_file_system%</text>
2718 </object>
2719
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002720 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002721 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002722 <text>EXT3</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002723 <action function="set">tw_sdpart_file_system=ext3</action>
2724 </object>
2725
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002726 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05002727 <condition var1="tw_sdext_disable_ext4" var2="0" />
2728 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002729 <text>EXT4</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002730 <action function="set">tw_sdpart_file_system=ext4</action>
2731 </object>
2732
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002733 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002734 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2735 <text>You will lose all files on your SD card!</text>
2736 </object>
2737
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002738 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002739 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2740 <text>This action cannot be undone!</text>
2741 </object>
2742
2743 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002744 <text>Swipe to Confirm Partition</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002745 <actions>
2746 <action function="set">tw_back=partsdcard</action>
2747 <action function="set">tw_action=partitionsd</action>
2748 <action function="set">tw_has_action2=1</action>
2749 <action function="set">tw_action2=set</action>
2750 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2751 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2752 <action function="set">tw_action_text2=This will take a few minutes.</action>
2753 <action function="set">tw_complete_text1=Partitioning Complete</action>
2754 <action function="page">action_page</action>
2755 </actions>
2756 </object>
2757
Ethan Yonker780cd392014-07-21 15:24:39 -05002758 <object type="action">
2759 <touch key="home" />
2760 <action function="page">main</action>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="back" />
2765 <action function="page">advanced</action>
2766 </object>
2767
2768 <object type="template" name="footer" />
2769 </page>
2770
2771
2772 <page name="htcdumlock">
2773 <object type="template" name="header" />
2774
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002775 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002776 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2777 <text>HTC Dumlock</text>
2778 </object>
2779
2780 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002781 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002782 <text>Restore Original Boot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002783 <actions>
2784 <action function="set">tw_back=htcdumlock</action>
2785 <action function="set">tw_action=htcdumlockrestoreboot</action>
2786 <action function="set">tw_text1=Restore original boot image?</action>
2787 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2788 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2789 <action function="set">tw_slider_text=Swipe to Confirm</action>
2790 <action function="page">confirm_action</action>
2791 </actions>
2792 </object>
2793
2794 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002795 <placement x="%col2_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002796 <text>Reflash Recovery->Boot</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002797 <actions>
2798 <action function="set">tw_back=htcdumlock</action>
2799 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2800 <action function="set">tw_text1=Reflash recovery to boot?</action>
2801 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2802 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2803 <action function="set">tw_slider_text=Swipe to Confirm</action>
2804 <action function="page">confirm_action</action>
2805 </actions>
2806 </object>
2807
2808 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002809 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002810 <text>Install HTC Dumlock</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002811 <actions>
2812 <action function="set">tw_back=htcdumlock</action>
2813 <action function="set">tw_action=installhtcdumlock</action>
2814 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2815 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2816 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2817 <action function="set">tw_slider_text=Swipe to Confirm</action>
2818 <action function="page">confirm_action</action>
2819 </actions>
2820 </object>
2821
2822 <object type="action">
2823 <touch key="home" />
2824 <action function="page">main</action>
2825 </object>
2826
2827 <object type="action">
2828 <touch key="back" />
2829 <action function="page">advanced</action>
2830 </object>
2831
2832 <object type="template" name="footer" />
2833 </page>
2834
2835 <page name="lock">
2836 <background color="#000000A0" />
2837
2838 <object type="image">
2839 <image resource="unlock-icon" />
Ethan Yonker591b9202015-03-11 11:17:15 -05002840 <placement x="%center_x%" y="%lock_y%" placement="4" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002841 </object>
2842
2843 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05002844 <text>Swipe to Unlock</text>
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002845 <action function="overlay"></action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002846 </object>
2847 </page>
2848
2849
2850 <page name="filemanagerlist">
2851 <object type="template" name="header" />
2852
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002853 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002854 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2855 <text>File Manager: Select a File or Folder</text>
2856 </object>
2857
2858 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05002859 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002860 <text>Folders:</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002861 <filter folders="1" files="0" />
2862 <path name="tw_file_location1" default="/sdcard" />
2863 <data name="select" />
2864 <selection name="tw_selection1" />
2865 </object>
2866
2867 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05002868 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002869 <text>%tw_file_location1%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002870 <filter folders="0" files="1" />
2871 <path name="tw_file_location1" default="/" />
2872 <data name="tw_filename1" />
2873 <selection name="tw_selection1" />
2874 </object>
2875
2876 <object type="template" name="sort_options" />
2877
2878 <object type="action">
2879 <actions>
2880 <action function="set">tw_fm_type=File</action>
2881 <action function="set">tw_fm_isfolder=0</action>
2882 </actions>
2883 </object>
2884
2885 <object type="action">
2886 <touch key="home" />
2887 <action function="page">main</action>
2888 </object>
2889
2890 <object type="action">
2891 <touch key="back" />
2892 <action function="page">advanced</action>
2893 </object>
2894
2895 <object type="action">
2896 <condition var1="tw_filename1" op="modified" />
2897 <actions>
2898 <action function="page">filemanageroptions</action>
2899 </actions>
2900 </object>
2901
2902 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002903 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002904 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002905 <actions>
2906 <action function="set">tw_filename1=tw_file_location1</action>
2907 <action function="set">tw_fm_isfolder=1</action>
2908 <action function="set">tw_fm_type=Folder</action>
2909 <action function="page">filemanageroptions</action>
2910 </actions>
2911 </object>
2912
2913 <object type="template" name="footer" />
2914 </page>
2915
2916 <page name="filemanageroptions">
2917 <object type="template" name="header" />
2918
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002919 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002920 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
2921 <text>%tw_fm_type% Selected:</text>
2922 </object>
2923
Ethan Yonker21ff02a2015-02-18 14:35:00 -06002924 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05002925 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
2926 <text>%tw_filename1%</text>
2927 </object>
2928
2929 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002930 <condition var1="tw_fm_isfolder" var2="0" />
2931 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002932 <text>Copy File</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002933 <actions>
2934 <action function="set">tw_filemanager_command=cp</action>
2935 <action function="set">tw_fm_text1=Copying</action>
2936 <action function="page">choosedestinationfolder</action>
2937 </actions>
2938 </object>
2939
2940 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002941 <condition var1="tw_fm_isfolder" var2="1" />
2942 <placement x="%col1_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002943 <text>Copy Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002944 <actions>
Matt Mower82931532015-02-27 14:19:59 -06002945 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; cp -R</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05002946 <action function="set">tw_fm_text1=Copying</action>
2947 <action function="page">choosedestinationfolder</action>
2948 </actions>
2949 </object>
2950
2951 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002952 <placement x="%col2_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002953 <text>Move</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002954 <actions>
2955 <action function="set">tw_filemanager_command=mv</action>
2956 <action function="set">tw_fm_text1=Moving</action>
2957 <action function="page">choosedestinationfolder</action>
2958 </actions>
2959 </object>
2960
2961 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002962 <placement x="%col3_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002963 <text>chmod 755</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002964 <actions>
2965 <action function="set">tw_filemanager_command=chmod 755</action>
2966 <action function="set">tw_fm_text1=chmod 755</action>
2967 <action function="set">tw_fm_text2=</action>
2968 <action function="set">tw_fm_text3=</action>
2969 <action function="set">tw_include_text3=0</action>
2970 <action function="set">tw_back=filemanageroptions</action>
2971 <action function="page">filemanagerconfirm</action>
2972 </actions>
2973 </object>
2974
2975 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002976 <placement x="%col4_x%" y="%row2_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002977 <text>chmod</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002978 <actions>
2979 <action function="set">tw_filemanager_rename=0000</action>
2980 <action function="set">tw_fm_text2=</action>
2981 <action function="set">tw_fm_text3=</action>
2982 <action function="set">tw_include_text3=0</action>
2983 <action function="set">tw_back=filemanageroptions</action>
2984 <action function="page">filemanagerchmod</action>
2985 </actions>
2986 </object>
2987
2988 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05002989 <placement x="%col1_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05002990 <text>Delete</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05002991 <actions>
2992 <action function="set">tw_filemanager_command=rm -rf</action>
2993 <action function="set">tw_fm_text1=Deleting</action>
2994 <action function="set">tw_fm_text2=</action>
2995 <action function="set">tw_fm_text3=</action>
2996 <action function="set">tw_include_text3=0</action>
2997 <action function="set">tw_back=filemanageroptions</action>
2998 <action function="page">filemanagerconfirm</action>
2999 </actions>
3000 </object>
3001
3002 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003003 <condition var1="tw_fm_isfolder" var2="0" />
3004 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003005 <text>Rename File</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003006 <actions>
3007 <action function="set">tw_filemanager_rename=tw_selection1</action>
3008 <action function="set">tw_fm_text1=Renaming</action>
3009 <action function="set">tw_filemanager_command=mv</action>
3010 <action function="page">filemanagerrenamefile</action>
3011 </actions>
3012 </object>
3013
3014 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003015 <condition var1="tw_fm_isfolder" var2="1" />
3016 <placement x="%col4_x%" y="%row1_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003017 <text>Rename Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003018 <actions>
3019 <action function="set">tw_filemanager_rename=tw_selection1</action>
3020 <action function="set">tw_fm_text1=Renaming</action>
Matt Mower82931532015-02-27 14:19:59 -06003021 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; &amp;&amp; cd .. &amp;&amp; mv</action>
Ethan Yonker780cd392014-07-21 15:24:39 -05003022 <action function="page">filemanagerrenamefolder</action>
3023 </actions>
3024 </object>
3025
3026 <object type="action">
3027 <touch key="home" />
3028 <action function="page">main</action>
3029 </object>
3030
3031 <object type="action">
3032 <touch key="back" />
3033 <action function="page">filemanagerlist</action>
3034 </object>
3035
3036 <object type="template" name="footer" />
3037 </page>
3038
3039 <page name="choosedestinationfolder">
3040 <object type="template" name="header" />
3041
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003042 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003043 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
Matt Mower82931532015-02-27 14:19:59 -06003044 <text>Browse to Destination Folder &amp; Press Select</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003045 </object>
3046
3047 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05003048 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003049 <text>%tw_file_location2%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003050 <background color="%fileselector_background%" />
3051 <filter folders="1" files="0" />
3052 <path name="tw_file_location2" default="/sdcard" />
3053 <data name="tw_filename2" />
3054 </object>
3055
3056 <object type="template" name="sort_options" />
3057
3058 <object type="action">
3059 <touch key="home" />
3060 <action function="page">main</action>
3061 </object>
3062
3063 <object type="action">
3064 <touch key="back" />
3065 <action function="page">filemanageroptions</action>
3066 </object>
3067
3068 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003069 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003070 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003071 <actions>
3072 <action function="set">tw_fm_text2=to</action>
3073 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3074 <action function="set">tw_include_text3=1</action>
3075 <action function="set">tw_back=filemanageroptions</action>
3076 <action function="page">filemanagerconfirm</action>
3077 </actions>
3078 </object>
3079
3080 <object type="template" name="footer" />
3081 </page>
3082
3083 <page name="filemanagerrenamefile">
3084 <object type="template" name="header" />
3085
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003086 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003087 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003088 <font resource="font" color="%text_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003089 <text>Please Enter a New %tw_fm_type% Name</text>
3090 </object>
3091
3092 <object type="input">
3093 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003094 <text>%tw_filemanager_rename%</text>
3095 <data name="tw_filemanager_rename" />
3096 <restrict minlen="1" maxlen="128" />
3097 <actions>
3098 <action function="set">tw_fm_text2=to</action>
3099 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3100 <action function="set">tw_include_text3=1</action>
3101 <action function="set">tw_back=filemanageroptions</action>
3102 <action function="page">filemanagerconfirm</action>
3103 </actions>
3104 </object>
3105
3106 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003107 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003108 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003109 <action function="page">filemanageroptions</action>
3110 </object>
3111
3112 <object type="template" name="keyboardtemplate" />
3113
3114 <object type="action">
3115 <touch key="home" />
3116 <action function="page">main</action>
3117 </object>
3118
3119 <object type="action">
3120 <touch key="back" />
3121 <action function="page">filemanageroptions</action>
3122 </object>
3123
3124 <object type="template" name="footer" />
3125 </page>
3126
3127 <page name="filemanagerrenamefolder">
3128 <object type="template" name="header" />
3129
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003130 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003131 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003132 <text>Please Enter a New %tw_fm_type% Name</text>
3133 </object>
3134
3135 <object type="input">
3136 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003137 <text>%tw_filemanager_rename%</text>
3138 <data name="tw_filemanager_rename" />
3139 <restrict minlen="1" maxlen="128" />
3140 <actions>
3141 <action function="set">tw_fm_text2=to</action>
3142 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3143 <action function="set">tw_include_text3=1</action>
3144 <action function="set">tw_back=filemanageroptions</action>
3145 <action function="page">filemanagerconfirm</action>
3146 </actions>
3147 </object>
3148
3149 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003150 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003151 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003152 <action function="page">filemanageroptions</action>
3153 </object>
3154
3155 <object type="template" name="keyboardtemplate" />
3156
3157 <object type="action">
3158 <touch key="home" />
3159 <action function="page">main</action>
3160 </object>
3161
3162 <object type="action">
3163 <touch key="back" />
3164 <action function="page">filemanageroptions</action>
3165 </object>
3166
3167 <object type="template" name="footer" />
3168 </page>
3169
3170 <page name="filemanagerchmod">
3171 <object type="template" name="header" />
3172
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003173 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003174 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003175 <text>Please Enter New Permissions</text>
3176 </object>
3177
3178 <object type="input">
3179 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003180 <text>%tw_filemanager_rename%</text>
3181 <data name="tw_filemanager_rename" />
3182 <restrict minlen="3" maxlen="4" allow="0123456789" />
3183 <actions>
3184 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3185 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3186 <action function="set">tw_back=filemanageroptions</action>
3187 <action function="page">filemanagerconfirm</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003192 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003193 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003194 <action function="page">filemanageroptions</action>
3195 </object>
3196
3197 <object type="template" name="keyboardtemplate" />
3198
3199 <object type="action">
3200 <touch key="home" />
3201 <action function="page">main</action>
3202 </object>
3203
3204 <object type="action">
3205 <touch key="back" />
3206 <action function="page">filemanageroptions</action>
3207 </object>
3208
3209 <object type="template" name="footer" />
3210 </page>
3211
3212 <page name="filemanagerconfirm">
3213 <object type="template" name="header" />
3214
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003215 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003216 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3217 <text>%tw_fm_text1%</text>
3218 </object>
3219
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003220 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003221 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3222 <text>%tw_filename1%</text>
3223 </object>
3224
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003225 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003226 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3227 <text>%tw_fm_text2%</text>
3228 </object>
3229
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003230 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003231 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3232 <text>%tw_fm_text3%</text>
3233 </object>
3234
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003235 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003236 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3237 <text>Press back button to cancel.</text>
3238 </object>
3239
3240 <object type="slider">
Ethan Yonker780cd392014-07-21 15:24:39 -05003241 <action function="page">filemanageracction</action>
3242 </object>
3243
Ethan Yonker780cd392014-07-21 15:24:39 -05003244 <object type="action">
3245 <touch key="back" />
3246 <action function="page">%tw_back%</action>
3247 </object>
3248
3249 <object type="action">
3250 <touch key="home" />
3251 <action function="page">main</action>
3252 </object>
3253
3254 <object type="template" name="footer" />
3255 </page>
3256
3257 <page name="filemanageracction">
3258 <object type="template" name="header" />
3259
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003260 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003261 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3262 <text>%tw_fm_text1%</text>
3263 </object>
3264
3265 <object type="template" name="action_page_console" />
3266
3267 <object type="template" name="progress_bar" />
3268
3269 <object type="action">
3270 <conditions>
3271 <condition var1="tw_operation_state" var2="1" />
3272 <condition var1="tw_operation_status" var2="0" />
3273 </conditions>
3274 <actions>
3275 <action function="set">tw_back=filemanagerlist</action>
3276 <action function="set">tw_complete_text1=File Operation Complete</action>
3277 <action function="page">action_complete</action>
3278 </actions>
3279 </object>
3280
3281 <object type="action">
3282 <conditions>
3283 <condition var1="tw_operation_state" var2="1" />
3284 <condition var1="tw_operation_status" op="!=" var2="0" />
3285 </conditions>
3286 <actions>
3287 <action function="set">tw_complete_text1=File Operation Complete</action>
3288 <action function="page">action_complete</action>
3289 </actions>
3290 </object>
3291
3292 <object type="action">
3293 <condition var1="tw_include_text3" var2="0" />
3294 <actions>
3295 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3296 </actions>
3297 </object>
3298
3299 <object type="action">
3300 <condition var1="tw_include_text3" var2="1" />
3301 <actions>
3302 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3303 </actions>
3304 </object>
3305 </page>
3306
3307 <page name="decrypt">
3308 <object type="template" name="header" />
3309
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003310 <object type="action">
3311 <condition var1="tw_crypto_pwtype" var2="2" />
3312 <action function="page">decrypt_pattern</action>
3313 </object>
3314
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003315 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003316 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3317 <text>Please Enter Your Password</text>
3318 </object>
3319
3320 <object type="input">
3321 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003322 <text>%tw_crypto_display%</text>
3323 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3324 <restrict minlen="1" maxlen="254" />
3325 <actions>
3326 <action function="page">trydecrypt</action>
3327 </actions>
3328 </object>
3329
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003330 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003331 <condition var1="tw_password_fail" var2="1" />
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003332 <font resource="font" color="%text_fail_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003333 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3334 <text>Password Failed, Please Try Again</text>
3335 </object>
3336
3337 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003338 <placement x="%col_center_x%" y="%cancel_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003339 <text>Cancel</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003340 <actions>
3341 <action function="set">tw_page_done=1</action>
3342 <action function="page">main</action>
3343 </actions>
3344 </object>
3345
3346 <object type="template" name="keyboardtemplate" />
3347
3348 <object type="template" name="footer" />
3349 </page>
3350
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003351 <page name="decrypt_pattern">
3352 <object type="template" name="header" />
3353
3354 <object type="text">
3355 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3356 <text>Please Enter Your Pattern</text>
3357 </object>
3358
3359 <object type="text">
3360 <condition var1="tw_password_fail" var2="1" />
3361 <font resource="font" color="%text_fail_color%" />
3362 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3363 <text>Pattern Failed, Please Try Again</text>
3364 </object>
3365
Aleksa Saraib25a1832015-12-31 17:36:00 +01003366 <object type="template" name="pattern_options" />
3367
Vojtech Bocek7e11ac52015-03-05 23:21:49 +01003368 <object type="patternpassword">
3369 <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
3370 <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
3371 <line color="%pattern_line_color%" width="%pattern_line_width%" />
3372 <data name="tw_crypto_password"/>
3373 <action function="page">trydecrypt</action>
3374 </object>
3375
3376 <object type="button">
3377 <placement x="%col4_x%" y="%cancel_button_y%" />
3378 <text>Cancel</text>
3379 <actions>
3380 <action function="set">tw_page_done=1</action>
3381 <action function="page">main</action>
3382 </actions>
3383 </object>
3384
3385 <object type="template" name="footer" />
3386 </page>
3387
Ethan Yonker780cd392014-07-21 15:24:39 -05003388 <page name="trydecrypt">
3389 <object type="template" name="header" />
3390
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003391 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003392 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3393 <text>Trying Decryption with Your Password</text>
3394 </object>
3395
3396 <object type="template" name="action_page_console" />
3397
3398 <object type="template" name="progress_bar" />
3399
3400 <object type="action">
3401 <action function="decrypt"></action>
3402 </object>
3403
3404 <object type="action">
3405 <conditions>
3406 <condition var1="tw_operation_state" var2="1" />
3407 <condition var1="tw_operation_status" op="!=" var2="0" />
3408 </conditions>
3409 <actions>
3410 <action function="set">tw_password_fail=1</action>
3411 <action function="page">decrypt</action>
3412 </actions>
3413 </object>
3414
3415 <object type="action">
3416 <conditions>
3417 <condition var1="tw_operation_state" var2="1" />
3418 <condition var1="tw_operation_status" op="=" var2="0" />
3419 </conditions>
3420 <actions>
3421 <action function="set">tw_page_done=1</action>
3422 <action function="page">main</action>
3423 </actions>
3424 </object>
3425 </page>
3426
3427 <page name="terminalfolder">
3428 <object type="template" name="header" />
3429
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003430 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003431 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3432 <text>Browse to Starting Folder</text>
3433 </object>
3434
3435 <object type="fileselector">
Ethan Yonker780cd392014-07-21 15:24:39 -05003436 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003437 <text>%tw_terminal_location%</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003438 <filter folders="1" files="0" />
3439 <path name="tw_terminal_location" default="/" />
3440 <data name="tw_terminal" />
3441 <selection name="tw_terminal_selection" />
3442 </object>
3443
3444 <object type="template" name="sort_options" />
3445
3446 <object type="action">
3447 <touch key="home" />
3448 <action function="page">main</action>
3449 </object>
3450
3451 <object type="action">
3452 <touch key="back" />
3453 <action function="page">advanced</action>
3454 </object>
3455
3456 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003457 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003458 <text>Select Folder</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003459 <actions>
3460 <action function="page">terminalcommand</action>
3461 </actions>
3462 </object>
3463
3464 <object type="template" name="footer" />
3465 </page>
3466
3467 <page name="terminalcommand">
3468 <background color="#000000FF" />
3469
z31s1g56189522016-01-13 19:12:40 +01003470 <object type="terminal" style="console">
3471 <font resource="fixed" spacing="3" color="%text_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003472 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003473 </object>
3474
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003475 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003476 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003477 <text>Starting Path: %tw_terminal_location%</text>
3478 </object>
z31s1g56189522016-01-13 19:12:40 +01003479<!--
Ethan Yonker780cd392014-07-21 15:24:39 -05003480 <object type="input">
3481 <condition var1="tw_terminal_state" var2="0" />
3482 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003483 <text>%tw_terminal_command%</text>
Matt Mower5aa29ab2015-02-25 23:50:55 -06003484 <font resource="fixed" color="%text_color%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003485 <data name="tw_terminal_command" />
3486 <restrict minlen="1" />
3487 <action function="terminalcommand">%tw_terminal_command%</action>
3488 </object>
z31s1g56189522016-01-13 19:12:40 +01003489-->
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003490 <object type="button" style="mediumbutton">
Ethan Yonker780cd392014-07-21 15:24:39 -05003491 <condition var1="tw_terminal_state" var2="1" />
3492 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003493 <text>KILL</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003494 <action function="killterminal"></action>
3495 </object>
3496
3497 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003498 <placement x="%home_button_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003499 <text></text>
3500 <image resource="home_icon" />
3501 <condition var1="tw_busy" var2="0" />
3502 <action function="key">home</action>
3503 </object>
3504
3505 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003506 <placement x="%back_button_x%" y="%terminal_button_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003507 <text></text>
3508 <image resource="back_icon" />
3509 <condition var1="tw_busy" var2="0" />
3510 <action function="key">back</action>
3511 </object>
3512
3513 <object type="action">
3514 <touch key="power" />
3515 <action function="overlay">lock</action>
3516 </object>
3517
3518 <object type="action">
3519 <touch key="power+voldown" />
3520 <action function="screenshot" />
3521 </object>
3522
3523 <object type="template" name="keyboardtemplate" />
3524
3525 <object type="action">
3526 <touch key="home" />
3527 <action function="page">main</action>
3528 </object>
3529
3530 <object type="action">
3531 <touch key="back" />
3532 <action function="page">terminalfolder</action>
3533 </object>
3534 </page>
3535
3536 <page name="sideload">
3537 <object type="template" name="header" />
3538
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003539 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003540 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3541 <text>ADB Sideload</text>
3542 </object>
3543
3544 <object type="checkbox">
3545 <placement x="%col1_x%" y="%row3_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003546 <text>Wipe Dalvik Cache.</text>
3547 <data variable="tw_wipe_dalvik" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003548 </object>
3549
3550 <object type="checkbox">
3551 <placement x="%col1_x%" y="%row4_text_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003552 <text>Wipe Cache.</text>
3553 <data variable="tw_wipe_cache" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003554 </object>
3555
3556 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003557 <text>Swipe to Start Sideload</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003558 <actions>
3559 <action function="set">tw_back=advanced</action>
3560 <action function="set">tw_action=adbsideload</action>
3561 <action function="set">tw_action_text1=ADB Sideload</action>
3562 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3563 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3564 <action function="set">tw_has_cancel=1</action>
3565 <action function="set">tw_show_reboot=1</action>
3566 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3567 <action function="page">action_page</action>
3568 </actions>
3569 </object>
3570
Ethan Yonker780cd392014-07-21 15:24:39 -05003571 <object type="action">
3572 <touch key="home" />
3573 <action function="page">main</action>
3574 </object>
3575
3576 <object type="action">
3577 <touch key="back" />
3578 <action function="page">advanced</action>
3579 </object>
3580
3581 <object type="template" name="footer" />
3582 </page>
3583
thata3d31fb2014-12-21 22:27:40 +01003584 <page name="fixperms">
3585 <object type="template" name="header" />
3586
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003587 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003588 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3589 <text>Fix Permissions</text>
3590 </object>
3591
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003592 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003593 <placement x="%col2_x%" y="%row2_text_y%" />
3594 <text>Note: Fixing permissions is rarely needed.</text>
3595 </object>
3596
3597 <object type="checkbox">
3598 <placement x="%col2_x%" y="%row3_text_y%" />
thata3d31fb2014-12-21 22:27:40 +01003599 <text>Also fix SELinux contexts</text>
3600 <data variable="tw_fixperms_restorecon" />
thata3d31fb2014-12-21 22:27:40 +01003601 </object>
3602
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003603 <object type="text">
thata3d31fb2014-12-21 22:27:40 +01003604 <placement x="%col2_x%" y="%row4_text_y%" />
3605 <text>Fixing SELinux contexts may cause your device to not boot properly.</text>
3606 </object>
3607
3608 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003609 <text>Swipe to Fix Permissions</text>
thata3d31fb2014-12-21 22:27:40 +01003610 <actions>
3611 <action function="set">tw_back=advanced</action>
3612 <action function="set">tw_action=fixpermissions</action>
3613 <action function="set">tw_action_text1=Fixing Permissions...</action>
3614 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3615 <action function="set">tw_slider_text=Swipe to Confirm</action>
3616 <action function="set">tw_show_reboot=1</action>
3617 <action function="page">action_page</action>
3618 </actions>
3619 </object>
3620
thata3d31fb2014-12-21 22:27:40 +01003621 <object type="action">
3622 <touch key="home" />
3623 <action function="page">main</action>
3624 </object>
3625
3626 <object type="action">
3627 <touch key="back" />
3628 <action function="page">advanced</action>
3629 </object>
3630
3631 <object type="template" name="footer" />
3632 </page>
3633
Ethan Yonker780cd392014-07-21 15:24:39 -05003634 <page name="installsu">
3635 <object type="template" name="header" />
3636
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003637 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003638 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3639 <text>Install SuperSU?</text>
3640 </object>
3641
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003642 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003643 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3644 <text>Your device does not appear to be rooted.</text>
3645 </object>
3646
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003647 <object type="text">
Ethan Yonker780cd392014-07-21 15:24:39 -05003648 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3649 <text>Install SuperSU now? This will root your device.</text>
3650 </object>
3651
3652 <object type="button">
Ethan Yonker780cd392014-07-21 15:24:39 -05003653 <placement x="%col_center_x%" y="%row2_medium_y%" />
Ethan Yonker780cd392014-07-21 15:24:39 -05003654 <text>Do Not Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003655 <action function="set">tw_page_done=1</action>
3656 </object>
3657
3658 <object type="slider">
Ethan Yonker21ff02a2015-02-18 14:35:00 -06003659 <text>Swipe to Install</text>
Ethan Yonker780cd392014-07-21 15:24:39 -05003660 <actions>
3661 <action function="set">tw_action=installsu</action>
3662 <action function="set">tw_action_text1=Installing SuperSU</action>
3663 <action function="set">tw_action_text2=</action>
3664 <action function="page">singleaction_page</action>
3665 </actions>
3666 </object>
Ethan Yonker780cd392014-07-21 15:24:39 -05003667 </page>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003668
3669 <page name="system_readonly">
3670 <object type="template" name="header" />
3671
3672 <object type="text">
3673 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Ethan Yonker961d20e2015-06-29 14:00:03 -05003674 <text>Keep System Read Only?</text>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003675 </object>
3676
3677 <object type="text">
3678 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
3679 <text>TWRP can leave your system partition unmodified to make it easier for you to take official updates.</text>
3680 </object>
3681
3682 <object type="text">
3683 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
3684 <text>TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.</text>
3685 </object>
3686
3687 <object type="text">
3688 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3689 <text>Installing zips or performing adb operations may still modify the system partition.</text>
3690 </object>
3691
3692 <object type="checkbox">
3693 <condition var1="tw_is_encrypted" var2="0" />
3694 <placement x="%col1_x%" y="%row5_text_y%" />
3695 <text>Never show this screen during boot again</text>
3696 <data variable="tw_never_show_system_ro_page" />
3697 </object>
3698
3699 <object type="button">
3700 <placement x="%col_center_x%" y="%row7_text_y%" />
3701 <text>Keep Read Only</text>
3702 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003703 <action function="mountsystemtoggle">1</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003704 <action function="set">tw_page_done=1</action>
3705 <action function="page">%tw_back%</action>
3706 </actions>
3707 </object>
3708
3709 <object type="slider">
3710 <text>Swipe to Allow Modifications</text>
3711 <actions>
Ethan Yonkerd6966f42015-05-30 14:52:16 -05003712 <action function="mountsystemtoggle">0</action>
Ethan Yonkereb32b1f2015-05-18 10:23:03 -05003713 <action function="set">tw_page_done=1</action>
3714 <action function="page">%tw_back%</action>
3715 </actions>
3716 </object>
3717
3718 <object type="template" name="footer" />
3719 </page>
Ethan Yonker780cd392014-07-21 15:24:39 -05003720 </pages>
3721</recovery>