blob: 05b7bd2490d5636e064b2fd0b14c5aae9b96b4de [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300127 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100128 </style>
129
130 <style name="partitionlist">
131 <highlight color="%fileselector_highlight_color%"/>
132 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
133 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
134 <icon selected="checkbox_true" unselected="checkbox_false"/>
135 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
136 <background color="%background_color%"/>
137 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
138 </style>
139
140 <style name="partitionlist_summary">
141 <highlight color="%fileselector_highlight_color%"/>
142 <background color="%background_color%"/>
143 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
144 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
145 </style>
146
147 <style name="partitionlist_headerless_rb">
148 <highlight color="%fileselector_highlight_color%"/>
149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
150 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
151 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
152 <icon selected="radio_true" unselected="radio_false"/>
153 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
154 <background color="%background_color%"/>
155 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
156 </style>
157
158 <style name="partitionlist_headerless_cb">
159 <highlight color="%fileselector_highlight_color%"/>
160 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
161 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
162 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
163 <icon selected="checkbox_true" unselected="checkbox_false"/>
164 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
165 <background color="%background_color%"/>
166 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
167 </style>
168
Ethan Yonker64e0a652018-07-25 09:52:17 -0500169 <style name="advanced_listbox">
170 <highlight color="%fileselector_highlight_color%"/>
171 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
172 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
173 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
174 <icon selected="handle" unselected="handle"/>
175 <background color="%background_color%"/>
176 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
177 </style>
178
z31s1g28f0a922015-11-07 18:50:22 +0100179 <style name="slider">
180 <placement x="%center_x%" y="%slider_y%"/>
181 <font resource="font_l" color="%text_color%"/>
182 <resource base="slider" used="slider_used" touch="slider_touch"/>
183 </style>
184
185 <style name="slidervalue">
186 <resource handle="handle"/>
187 <font resource="font_m" color="%text_color%"/>
188 <colors line="%fileselector_linecolor%"/>
189 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
190 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100191
192 <style name="patternpassword">
193 <size name="tw_gui_pattern_grid_size" default="3"/>
194 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100195 </styles>
196
197 <pages>
198 <page name="main">
199 <action>
200 <actions>
201 <action function="set">tw_clear_destination=main2</action>
202 <action function="page">clear_vars</action>
203 </actions>
204 </action>
205 </page>
206
207 <page name="main2">
208 <template name="page"/>
209
210 <button style="main_button">
211 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500212 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100213 <action function="page">install_type</action>
214 </button>
215
216 <button style="main_button">
217 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500218 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100219 <action function="page">wipe_type1</action>
220 </button>
221
222 <button style="main_button">
223 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500224 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100225 <actions>
226 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500227 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100228 </actions>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">restore</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">reboot</action>
241 </button>
242
243 <button>
244 <placement x="%btn4_col4_x%" y="%row11_y%"/>
245 <highlight color="%highlight_color%"/>
246 <image resource="q_btn_arrow_right"/>
247 <action function="page">main3</action>
248 </button>
249 </page>
250
Matt Mower32676622017-01-18 18:56:13 -0600251 <page name="copylog">
252 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400253
Matt Mower32676622017-01-18 18:56:13 -0600254 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400255 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600256 <text>{@include_kernel_log=Include Kernel Log}</text>
257 <data variable="tw_include_kernel_log" value="1"/>
258 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400259
260 <slider>
261 <text>{@swipe_confirm= Confirm}</text>
262 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600263 <action function="set">tw_back=main3</action>
264 <action function="set">tw_action=copylog</action>
265 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
266 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400267 <action function="page">action_page</action>
268 </actions>
269 </slider>
270
271 <action>
272 <touch key="back"/>
273 <action function="page">main2</action>
274 </action>
275
276 <action>
277 <touch key="home"/>
278 <action function="page">main</action>
279 </action>
Matt Mower32676622017-01-18 18:56:13 -0600280 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400281
z31s1g28f0a922015-11-07 18:50:22 +0100282 <page name="main3">
283 <template name="page"/>
284
285 <button style="main_button">
286 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <action function="page">mount</action>
289 </button>
290
291 <button style="main_button">
292 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500293 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100294 <action function="page">settings</action>
295 </button>
296
297 <button style="main_button">
298 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500299 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100300 <action function="page">filemanagerlist</action>
301 </button>
302
303 <button style="main_button">
304 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500305 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400306 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </button>
308
309 <button style="main_button">
310 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <action function="page">advanced</action>
313 </button>
314
315 <button>
316 <placement x="%col1_x_left%" y="%row11_y%"/>
317 <highlight color="%highlight_color%"/>
318 <image resource="q_btn_arrow_left"/>
319 <action function="page">main2</action>
320 </button>
321
322 <action>
323 <touch key="back"/>
324 <action function="page">main2</action>
325 </action>
326
327 <action>
328 <touch key="home"/>
329 <action function="page">main</action>
330 </action>
331 </page>
332
333 <page name="install_type">
334 <template name="page"/>
335
336 <template name="statusbar"/>
337
338 <text style="text_m">
339 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 </text>
342
343 <button style="main_button_full_width">
344 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500345 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100346 <actions>
347 <action function="queueclear"/>
348 <action function="set">tw_selectimage=0</action>
349 <action function="page">install</action>
350 </actions>
351 </button>
352
353 <button style="main_button_full_width">
354 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 <actions>
357 <action function="queueclear"/>
358 <action function="set">tw_selectimage=1</action>
359 <action function="page">install</action>
360 </actions>
361 </button>
362
363 <button style="main_button_full_width">
364 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 <action function="page">sideload</action>
367 </button>
368
369 <action>
370 <touch key="home"/>
371 <action function="page">main</action>
372 </action>
373
374 <action>
375 <touch key="back"/>
376 <action function="page">main</action>
377 </action>
378 </page>
379
380 <page name="install">
381 <template name="page"/>
382
383 <template name="statusbar"/>
384
385 <text style="text_m">
386 <condition var1="tw_selectimage" var2="0"/>
387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100389 </text>
390
391 <text style="text_m">
392 <condition var1="tw_selectimage" var2="1"/>
393 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500394 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100395 </text>
396
397 <fileselector>
398 <condition var1="tw_selectimage" var2="0"/>
399 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
400 <text>%tw_zip_location%</text>
401 <filter extn=".zip" folders="1" files="1"/>
402 <path name="tw_zip_location" default="/sdcard"/>
403 <data name="tw_filename"/>
404 <selection name="tw_file"/>
405 </fileselector>
406
407 <fileselector>
408 <condition var1="tw_selectimage" var2="1"/>
409 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
410 <text>%tw_zip_location%</text>
411 <filter extn=".img" folders="1" files="1"/>
412 <path name="tw_zip_location" default="/sdcard"/>
413 <data name="tw_filename"/>
414 <selection name="tw_file"/>
415 </fileselector>
416
417 <button>
418 <placement x="%btn4_col4_x%" y="%row11_y%"/>
419 <highlight color="%highlight_color%"/>
420 <image resource="q_btn_storage"/>
421 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500422 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100423 <action function="set">tw_back=install</action>
424 <action function="page">select_storage</action>
425 </actions>
426 </button>
427
428 <action>
429 <conditions>
430 <condition var1="tw_selectimage" var2="0"/>
431 <condition var1="tw_filename" op="modified"/>
432 </conditions>
433 <actions>
434 <action function="queuezip"/>
435 <action function="page">flash_queue</action>
436 </actions>
437 </action>
438
439 <action>
440 <conditions>
441 <condition var1="tw_selectimage" var2="1"/>
442 <condition var1="tw_filename" op="modified"/>
443 </conditions>
444 <action function="page">flashimage_type</action>
445 </action>
446
447 <action>
448 <touch key="back"/>
449 <action function="page">install_type</action>
450 </action>
451
452 <action>
453 <touch key="home"/>
454 <action function="page">main</action>
455 </action>
456 </page>
457
458 <page name="flash_queue">
459 <template name="page"/>
460
461 <template name="statusbar"/>
462
463 <text style="text_m">
464 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 </text>
467
468 <text style="text_m_accent">
469 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m">
474 <placement x="%indent%" y="%row2_y%"/>
475 <text>%tw_file%</text>
476 </text>
477
478 <text style="text_m_accent">
479 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <text style="text_m">
484 <placement x="%indent%" y="%row5_y%"/>
485 <text>%tw_zip_location%</text>
486 </text>
487
488 <text style="text_m">
489 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100491 </text>
492
493 <button>
494 <placement x="%col1_x_left%" y="%row11_y%"/>
495 <highlight color="%highlight_color%"/>
496 <image resource="q_btn_arrow_left"/>
497 <actions>
498 <action function="queueclear"/>
499 <action function="page">install</action>
500 </actions>
501 </button>
502
503 <button>
504 <placement x="%btn4_col2_x%" y="%row11_y%"/>
505 <highlight color="%highlight_color%"/>
506 <image resource="q_btn_addzip"/>
507 <action function="page">install</action>
508 </button>
509
510 <button>
511 <placement x="%btn4_col3_x%" y="%row11_y%"/>
512 <highlight color="%highlight_color%"/>
513 <image resource="q_btn_accept"/>
514 <action function="page">flash_confirm</action>
515 </button>
516
517 <button>
518 <placement x="%btn4_col4_x%" y="%row11_y%"/>
519 <highlight color="%highlight_color%"/>
520 <image resource="q_btn_arrow_right"/>
521 <action function="page">flash_options</action>
522 </button>
523
524 <action>
525 <touch key="back"/>
526 <actions>
527 <action function="queueclear"/>
528 <action function="page">install</action>
529 </actions>
530 </action>
531
532 <action>
533 <touch key="home"/>
534 <action function="page">main</action>
535 </action>
536 </page>
537
538 <page name="flash_options">
539 <template name="page"/>
540
541 <template name="statusbar"/>
542
543 <text style="text_m">
544 <condition var1="tw_selectimage" var2="0"/>
545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 </text>
548
549 <checkbox>
550 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500551 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100552 <data variable="tw_signed_zip_verify"/>
553 </checkbox>
554
555 <checkbox>
556 <condition var1="tw_has_injecttwrp" var2="1"/>
557 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500558 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100559 <data variable="tw_inject_after_zip"/>
560 </checkbox>
561
bigbiffa869fc72016-03-01 19:40:36 -0500562 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600563 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500564 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600565 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500566 </checkbox>
567
z31s1g28f0a922015-11-07 18:50:22 +0100568 <button>
569 <placement x="%col1_x_left%" y="%row11_y%"/>
570 <highlight color="%highlight_color%"/>
571 <image resource="q_btn_arrow_left"/>
572 <action function="page">flash_queue</action>
573 </button>
574
575 <button>
576 <placement x="%btn4_col4_x%" y="%row11_y%"/>
577 <highlight color="%highlight_color%"/>
578 <image resource="q_btn_accept_transp"/>
579 <action function="page">flash_confirm</action>
580 </button>
581
582 <action>
583 <touch key="back"/>
584 <action function="page">flash_queue</action>
585 </action>
586
587 <action>
588 <touch key="home"/>
589 <action function="page">main</action>
590 </action>
591 </page>
592
593 <page name="flash_confirm">
594 <template name="page"/>
595
596 <template name="statusbar"/>
597
598 <text style="text_m">
599 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500600 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100601 </text>
602
603 <text style="text_m_accent">
604 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500605 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100606 </text>
607
608 <text style="text_m">
609 <placement x="%indent%" y="%row2_y%"/>
610 <text>%tw_file%</text>
611 </text>
612
613 <button>
614 <fill color="%transparent%"/>
615 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
616 <action function="page">flash_queue</action>
617 </button>
618
619 <text style="text_m_accent">
620 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 </text>
623
624 <text style="text_m">
625 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 </text>
628
629 <button>
630 <fill color="%transparent%"/>
631 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
632 <action function="page">flash_queue</action>
633 </button>
634
635 <listbox style="listbox_options">
636 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100638 <data variable="tw_signed_zip_verify"/>
639 </listitem>
640 </listbox>
641
642 <text style="text_m_accent">
643 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500644 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100645 </text>
646
647 <text style="text_m">
648 <condition var1="tw_has_injecttwrp" var2="1"/>
649 <condition var1="tw_inject_after_zip" var2="1"/>
650 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500651 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100652 </text>
653
654 <button>
655 <fill color="%transparent%"/>
656 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
657 <action function="page">flash_options</action>
658 </button>
659
660 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500661 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100662 <action function="flash">flash_zip</action>
663 </slider>
664
665 <action>
666 <touch key="back"/>
667 <actions>
668 <action function="cancelzip"/>
669 <action function="page">install</action>
670 </actions>
671 </action>
672
673 <action>
674 <touch key="home"/>
675 <action function="page">main</action>
676 </action>
677 </page>
678
679 <page name="flash_zip">
680 <template name="page"/>
681
682 <template name="statusbar"/>
683
684 <text style="text_m">
685 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600686 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 </text>
688
689 <template name="console"/>
690
691 <template name="progress_bar"/>
692
693 <action>
694 <condition var1="tw_operation_state" var2="1"/>
695 <action function="page">flash_done</action>
696 </action>
697 </page>
698
699 <page name="flash_done">
700 <template name="page"/>
701
702 <template name="statusbar"/>
703
704 <text style="text_m_fail">
705 <condition var1="tw_operation_status" op="!=" var2="0"/>
706 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500707 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100708 </text>
709
710 <text style="text_m">
711 <condition var1="tw_operation_status" var2="0"/>
712 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500713 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100714 </text>
715
716 <template name="console"/>
717
718 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500719 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100720 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500721 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100722 <actions>
723 <action function="set">tw_back=flash_done</action>
724 <action function="set">tw_action=wipe</action>
725 <action function="set">tw_action_param=/cache</action>
726 <action function="set">tw_has_action2=1</action>
727 <action function="set">tw_action2=wipe</action>
728 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500729 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
730 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
731 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500732 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
733 <action function="page">confirm_action</action>
734 </actions>
735 </button>
736
737 <button style="main_button_half_height">
738 <condition var1="tw_ab_device" var2="1"/>
739 <placement x="%indent%" y="%row21a_y%"/>
740 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
741 <actions>
742 <action function="set">tw_back=flash_done</action>
743 <action function="set">tw_action=wipe</action>
744 <action function="set">tw_action_param=dalvik</action>
745 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
746 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
747 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
748 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100749 <action function="page">confirm_action</action>
750 </actions>
751 </button>
752
753 <button style="main_button_half_height">
754 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500755 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100756 <actions>
757 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500758 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100759 </actions>
760 </button>
761
762 <action>
763 <touch key="back"/>
764 <actions>
765 <action function="set">tw_clear_destination=install_type</action>
766 <action function="page">clear_vars</action>
767 </actions>
768 </action>
769
770 <action>
771 <touch key="home"/>
772 <actions>
773 <action function="set">tw_clear_destination=main2</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500777
778 <action>
779 <conditions>
780 <condition var1="tw_install_reboot" var2="1"/>
781 <condition var1="tw_operation_status" var2="0"/>
782 <condition var1="tw_reboot_system" var2="1"/>
783 </conditions>
784 <actions>
785 <action function="set">tw_sleep=%tw_sleep_total%</action>
786 <action function="page">flash_sleep_and_reboot</action>
787 </actions>
788 </action>
789 </page>
790
791 <page name="flash_sleep_and_reboot">
792 <template name="page"/>
793
794 <template name="statusbar"/>
795
796 <text style="text_m">
797 <placement x="%col1_x_left%" y="%row1_header_y%"/>
798 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
799 </text>
800
801 <template name="console"/>
802
803 <template name="progress_bar"/>
804
805 <button style="main_button_half_height">
806 <condition var1="tw_sleep" op="&gt;" var2="0"/>
807 <placement x="%col1_x_right%" y="%row13_y%"/>
808 <text>{@cancel_btn=Cancel}</text>
809 <actions>
810 <action function="set">tw_install_reboot=0</action>
811 <action function="page">flash_done</action>
812 </actions>
813 </button>
814
815 <action>
816 <conditions>
817 <condition var1="tw_sleep" var2="tw_sleep_total"/>
818 <condition var1="tw_install_reboot" var2="1"/>
819 </conditions>
820 <action function="sleepcounter">%tw_sleep_total%</action>
821 </action>
822
823 <action>
824 <conditions>
825 <condition var1="tw_sleep" var2="0"/>
826 <condition var1="tw_install_reboot" var2="1"/>
827 </conditions>
828 <actions>
829 <action function="sleep">50000</action>
830 <action function="set">tw_back=main2</action>
831 <action function="page">reboot_system_routine</action>
832 </actions>
833 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100834 </page>
835
836 <page name="flashimage_type">
837 <template name="page"/>
838
839 <template name="statusbar"/>
840
841 <text style="text_m">
842 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600843 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100844 </text>
845
846 <partitionlist style="partitionlist_headerless_rb">
847 <data name="tw_flash_partition"/>
848 <listtype name="flashimg"/>
849 </partitionlist>
850
851 <button>
852 <placement x="%col1_x_left%" y="%row11_y%"/>
853 <highlight color="%highlight_color%"/>
854 <image resource="q_btn_arrow_left"/>
855 <action function="page">install</action>
856 </button>
857
858 <button>
859 <placement x="%btn4_col4_x%" y="%row11_y%"/>
860 <highlight color="%highlight_color%"/>
861 <image resource="q_btn_accept_transp"/>
862 <action function="page">flashimage_confirm</action>
863 </button>
864
865 <action>
866 <touch key="back"/>
867 <action function="page">install</action>
868 </action>
869
870 <action>
871 <touch key="home"/>
872 <action function="page">main</action>
873 </action>
874 </page>
875
876 <page name="flashimage_confirm">
877 <template name="page"/>
878
879 <template name="statusbar"/>
880
881 <text style="text_m">
882 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500883 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100884 </text>
885
886 <text style="text_m_accent">
887 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500888 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100889 </text>
890
891 <text style="text_m">
892 <placement x="%indent%" y="%row2_y%"/>
893 <text>%tw_file%</text>
894 </text>
895
896 <button>
897 <fill color="%transparent%"/>
898 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
899 <action function="page">install</action>
900 </button>
901
902 <text style="text_m_accent">
903 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <text style="text_m">
908 <placement x="%indent%" y="%row5_y%"/>
909 <text>%tw_flash_partition%</text>
910 </text>
911
912 <button>
913 <fill color="%transparent%"/>
914 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
915 <action function="page">flashimage_type</action>
916 </button>
917
918 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500919 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100920 <actions>
921 <action function="set">tw_back=flashimage_confirm</action>
922 <action function="set">tw_action=flashimage</action>
923 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500924 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100927 <action function="page">action_page</action>
928 </actions>
929 <action function="flashimage"/>
930 </slider>
931
932 <action>
933 <touch key="back"/>
934 <actions>
935 <action function="set">tw_clear_destination=install</action>
936 <action function="page">clear_vars</action>
937 </actions>
938 </action>
939
940 <action>
941 <touch key="home"/>
942 <actions>
943 <action function="set">tw_clear_destination=main2</action>
944 <action function="page">clear_vars</action>
945 </actions>
946 </action>
947 </page>
948
949 <page name="clear_vars">
950 <action>
951 <action function="set">tw_operation_state=0</action>
952 <action function="set">tw_text1=</action>
953 <action function="set">tw_text2=</action>
954 <action function="set">tw_text3=</action>
955 <action function="set">tw_text4=</action>
956 <action function="set">tw_action_text1=</action>
957 <action function="set">tw_action_text2=</action>
958 <action function="set">tw_action_param=</action>
959 <action function="set">tw_has_action2=0</action>
960 <action function="set">tw_action2=</action>
961 <action function="set">tw_action2_param=</action>
962 <action function="set">tw_has_cancel=0</action>
963 <action function="set">tw_cancel_action=</action>
964 <action function="set">tw_cancel_param=</action>
965 <action function="set">tw_show_exclamation=0</action>
966 <action function="set">tw_show_reboot=0</action>
967 <action function="page">%tw_clear_destination%</action>
968 </action>
969 </page>
970
Matt Mower908dd252016-05-25 02:26:50 -0500971 <page name="reboot_system_routine">
972 <action>
973 <action function="set">tw_back=main2</action>
974 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500975 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500976 <action function="set">tw_has_action2=0</action>
977 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
978 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
979 <action function="set">tw_text3=</action>
980 <action function="set">tw_text4=</action>
981 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
982 <action function="set">tw_action_text2=</action>
983 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
984 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
985 <action function="page">rebootcheck</action>
986 </action>
987 </page>
988
z31s1g28f0a922015-11-07 18:50:22 +0100989 <page name="confirm_action">
990 <template name="page"/>
991
992 <template name="statusbar"/>
993
994 <text style="text_m">
995 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500996 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100997 </text>
998
999 <text style="text_m_accent">
1000 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1001 <text>%tw_text1%</text>
1002 </text>
1003
1004 <text style="text_m_accent">
1005 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1006 <text>%tw_text2%</text>
1007 </text>
1008
1009 <text style="text_m">
1010 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1011 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1012 <text>%tw_text3%</text>
1013 </text>
1014
1015 <text style="text_m">
1016 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1017 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1018 <text>%tw_text4%</text>
1019 </text>
1020
1021 <text style="text_m_fail">
1022 <condition var1="tw_action" var2="changefilesystem"/>
1023 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1024 <text>%tw_text3%</text>
1025 </text>
1026
1027 <text style="text_m_fail">
1028 <condition var1="tw_action" var2="changefilesystem"/>
1029 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1030 <text>%tw_text4%</text>
1031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <slider>
1039 <text>%tw_slider_text%</text>
1040 <action function="page">action_page</action>
1041 </slider>
1042
1043 <action>
1044 <touch key="back"/>
1045 <actions>
1046 <action function="set">tw_clear_destination=%tw_back%</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </action>
1050
1051 <action>
1052 <touch key="home"/>
1053 <action function="page">main</action>
1054 </action>
1055 </page>
1056
1057 <page name="action_page">
1058 <template name="page"/>
1059
1060 <template name="statusbar"/>
1061
1062 <text style="text_m">
1063 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1064 <text>%tw_action_text1% %tw_action_text2%</text>
1065 </text>
1066
1067 <template name="console"/>
1068
1069 <template name="progress_bar"/>
1070
1071 <button style="main_button_half_height">
1072 <condition var1="tw_has_cancel" var2="1"/>
1073 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001074 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001075 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1076 </button>
1077
1078 <action>
1079 <condition var1="tw_operation_state" var2="1"/>
1080 <actions>
1081 <action function="page">action_complete</action>
1082 </actions>
1083 </action>
1084
1085 <action>
1086 <condition var1="tw_has_action2" var2="0"/>
1087 <actions>
1088 <action function="%tw_action%">%tw_action_param%</action>
1089 </actions>
1090 </action>
1091
1092 <action>
1093 <condition var1="tw_has_action2" var2="1"/>
1094 <actions>
1095 <action function="%tw_action%">%tw_action_param%</action>
1096 <action function="%tw_action2%">%tw_action2_param%</action>
1097 </actions>
1098 </action>
1099 </page>
1100
1101 <page name="singleaction_page">
1102 <template name="page"/>
1103
1104 <template name="statusbar"/>
1105
1106 <text style="text_m">
1107 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1108 <text>%tw_action_text1% %tw_action_text2%</text>
1109 </text>
1110
1111 <template name="console"/>
1112
1113 <template name="progress_bar"/>
1114
1115 <action>
1116 <condition var1="tw_operation_state" var2="1"/>
1117 <actions>
1118 <action function="set">tw_page_done=1</action>
1119 </actions>
1120 </action>
1121
1122 <action>
1123 <condition var1="tw_has_action2" var2="0"/>
1124 <actions>
1125 <action function="%tw_action%">%tw_action_param%</action>
1126 </actions>
1127 </action>
1128
1129 <action>
1130 <condition var1="tw_has_action2" var2="1"/>
1131 <actions>
1132 <action function="%tw_action%">%tw_action_param%</action>
1133 <action function="%tw_action2%">%tw_action2_param%</action>
1134 </actions>
1135 </action>
1136 </page>
1137
1138 <page name="action_complete">
1139 <template name="page"/>
1140
1141 <template name="statusbar"/>
1142
1143 <text style="text_m_fail">
1144 <condition var1="tw_operation_status" op="!=" var2="0"/>
1145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 </text>
1148
1149 <text style="text_m">
1150 <condition var1="tw_operation_status" var2="0"/>
1151 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 </text>
1154
1155 <template name="console"/>
1156
1157 <button style="main_button_half_height">
1158 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001160 <actions>
1161 <action function="set">tw_clear_destination=%tw_back%</action>
1162 <action function="page">clear_vars</action>
1163 </actions>
1164 </button>
1165
1166 <button style="main_button_half_height">
1167 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 <actions>
1170 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001171 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </actions>
1173 </button>
1174
1175 <action>
1176 <touch key="home"/>
1177 <actions>
1178 <action function="set">tw_clear_destination=main2</action>
1179 <action function="page">clear_vars</action>
1180 </actions>
1181 </action>
1182
1183 <action>
1184 <touch key="back"/>
1185 <actions>
1186 <action function="set">tw_clear_destination=%tw_back%</action>
1187 <action function="page">clear_vars</action>
1188 </actions>
1189 </action>
1190 </page>
1191
1192 <page name="filecheck">
1193 <action>
1194 <action function="fileexists">%tw_filecheck%</action>
1195 </action>
1196
1197 <action>
1198 <conditions>
1199 <condition var1="tw_operation_state" var2="1"/>
1200 <condition var1="tw_operation_status" var2="0"/>
1201 </conditions>
1202 <actions>
1203 <action function="set">tw_fileexists=1</action>
1204 <action function="page">%tw_existpage%</action>
1205 </actions>
1206 </action>
1207
1208 <action>
1209 <conditions>
1210 <condition var1="tw_operation_state" var2="1"/>
1211 <condition var1="tw_operation_status" var2="1"/>
1212 </conditions>
1213 <actions>
1214 <action function="set">tw_fileexists=0</action>
1215 <action function="page">%tw_notexistpage%</action>
1216 </actions>
1217 </action>
1218 </page>
1219
1220 <page name="rebootcheck">
1221 <action>
1222 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001223 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </action>
1225
1226 <action>
1227 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1228 <action function="page">confirm_action</action>
1229 </action>
1230 </page>
1231
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001232 <page name="appcheck">
1233 <action>
1234 <condition var1="tw_app_prompt" var2="1"/>
1235 <action function="checkforapp"></action>
1236 </action>
1237
1238 <action>
1239 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1240 <action function="reboot">%tw_reboot_param%</action>
1241 </action>
1242
1243 <action>
1244 <condition var1="tw_app_install_status" var2="1"/>
1245 <action function="page">rebootapp</action>
1246 </action>
1247
1248 <action>
1249 <condition var1="tw_app_install_status" var2="2"/>
1250 <action function="reboot">%tw_reboot_param%</action>
1251 </action>
1252 </page>
1253
z31s1g28f0a922015-11-07 18:50:22 +01001254 <page name="wipe_type1">
1255 <template name="page"/>
1256
1257 <template name="statusbar"/>
1258
1259 <text style="text_m">
1260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 </text>
1263
1264 <button style="main_button_full_width">
1265 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 <action function="page">wipe</action>
1268 </button>
1269
1270 <button style="main_button_full_width">
1271 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <actions>
1274 <action function="set">partitionlisterror=0</action>
1275 <action function="page">advancedwipe</action>
1276 </actions>
1277 </button>
1278
1279 <button>
1280 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1281 <highlight color="%highlight_color%"/>
1282 <image resource="q_btn_arrow_right"/>
1283 <action function="page">wipe_type2</action>
1284 </button>
1285
1286 <action>
1287 <touch key="home"/>
1288 <action function="page">main</action>
1289 </action>
1290
1291 <action>
1292 <touch key="back"/>
1293 <action function="page">main</action>
1294 </action>
1295 </page>
1296
1297 <page name="wipe_type2">
1298 <template name="page"/>
1299
1300 <template name="statusbar"/>
1301
1302 <text style="text_m">
1303 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <button style="main_button_full_width">
1308 <condition var1="tw_has_data_media" var2="1"/>
1309 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <action function="page">formatdata</action>
1312 </button>
1313
1314 <button style="main_button_full_width">
1315 <conditions>
1316 <condition var1="tw_is_encrypted" var2="1"/>
1317 <condition var1="tw_has_data_media" var2="0"/>
1318 </conditions>
1319 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <actions>
1322 <action function="set">tw_back=wipe</action>
1323 <action function="set">tw_action=wipe</action>
1324 <action function="set">tw_action_param=DATAMEDIA</action>
1325 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001327 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001328 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1329 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1330 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <action function="page">confirm_action</action>
1332 </actions>
1333 </button>
1334
1335 <button style="main_button_full_width">
1336 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <action function="set">partitionlisterror=0</action>
1339 <action function="page">partitionoptions_select</action>
1340 </actions>
1341 </button>
1342
1343 <button>
1344 <placement x="%col1_x_left%" y="%row11_y%"/>
1345 <highlight color="%highlight_color%"/>
1346 <image resource="q_btn_arrow_left"/>
1347 <action function="page">wipe_type1</action>
1348 </button>
1349
1350 <action>
1351 <touch key="home"/>
1352 <action function="page">main</action>
1353 </action>
1354
1355 <action>
1356 <touch key="back"/>
1357 <action function="page">main</action>
1358 </action>
1359 </page>
1360
1361 <page name="wipe">
1362 <template name="page"/>
1363
1364 <template name="statusbar"/>
1365
1366 <text style="text_m">
1367 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <text style="text_m_accent">
1372 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <text style="text_m_accent">
1377 <condition var1="tw_has_data_media" var2="1"/>
1378 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m_accent">
1383 <conditions>
1384 <condition var1="tw_has_android_secure" var2="1"/>
1385 <condition var1="fileexists" var2="/and-sec"/>
1386 </conditions>
1387 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001389 </text>
1390
1391 <text style="text_m_accent">
1392 <condition var1="tw_has_sdext_partition" var2="1"/>
1393 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001395 </text>
1396
1397 <text style="text_m">
1398 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m">
1403 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m">
1408 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001410 </text>
1411
1412 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <actions>
1415 <action function="set">tw_back=wipe</action>
1416 <action function="set">tw_action=wipe</action>
1417 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001418 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1419 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001420 <action function="page">action_page</action>
1421 </actions>
1422 </slider>
1423
1424 <action>
1425 <touch key="back"/>
1426 <action function="page">wipe_type1</action>
1427 </action>
1428
1429 <action>
1430 <touch key="home"/>
1431 <action function="page">main</action>
1432 </action>
1433 </page>
1434
1435 <page name="advancedwipe">
1436 <action>
1437 <action function="set">tw_wipe_list=</action>
1438 </action>
1439
1440 <template name="page"/>
1441
1442 <template name="statusbar"/>
1443
1444 <text style="text_m">
1445 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 </text>
1448
1449 <partitionlist style="partitionlist_headerless_cb">
1450 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1451 <data name="tw_wipe_list"/>
1452 <listtype name="wipe"/>
1453 </partitionlist>
1454
1455 <fill color="%accent_color%">
1456 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1457 </fill>
1458
1459 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001460 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001461 <actions>
1462 <action function="set">tw_back=advancedwipe</action>
1463 <action function="set">tw_action=wipe</action>
1464 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1466 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1467 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001468 <action function="page">action_page</action>
1469 </actions>
1470 </slider>
1471
1472 <action>
1473 <touch key="home"/>
1474 <action function="page">main</action>
1475 </action>
1476
1477 <action>
1478 <touch key="back"/>
1479 <action function="page">wipe_type1</action>
1480 </action>
1481 </page>
1482
1483 <page name="formatdata">
1484 <template name="page"/>
1485
1486 <template name="statusbar"/>
1487
1488 <text style="text_m">
1489 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 </text>
1492
1493 <text style="text_m_fail">
1494 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <text style="text_m_fail">
1499 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m">
1504 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001506 </text>
1507
1508 <input>
1509 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1510 <text>%tw_confirm_formatdata%</text>
1511 <data name="tw_confirm_formatdata"/>
1512 <restrict minlen="3" maxlen="3" allow="yes"/>
1513 <action function="page">formatdata_confirm</action>
1514 </input>
1515
1516 <fill color="%accent_color%">
1517 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1518 </fill>
1519
1520 <template name="keyboardtemplate"/>
1521
1522 <action>
1523 <touch key="home"/>
1524 <action function="page">main</action>
1525 </action>
1526
1527 <action>
1528 <touch key="back"/>
1529 <action function="page">wipe_type2</action>
1530 </action>
1531 </page>
1532
1533 <page name="formatdata_confirm">
1534 <action>
1535 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1536 <actions>
1537 <action function="set">tw_back=formatdata</action>
1538 <action function="set">tw_action=wipe</action>
1539 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1541 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <action function="page">action_page</action>
1543 </actions>
1544 </action>
1545
1546 <action>
1547 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1548 <action function="page">formatdata</action>
1549 </action>
1550 </page>
1551
1552 <page name="checkpartitionlist">
1553 <action>
1554 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1555 <actions>
1556 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001557 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001558 <action function="page">partitionoptions</action>
1559 </actions>
1560 </action>
1561
1562 <action>
1563 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1564 <actions>
1565 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001566 <action function="page">partitionoptions_select</action>
1567 </actions>
1568 </action>
1569 </page>
1570
1571 <page name="partitionoptions_select">
1572 <action>
1573 <action function="set">tw_wipe_list=</action>
1574 </action>
1575
1576 <template name="page"/>
1577
1578 <template name="statusbar"/>
1579
1580 <text style="text_m">
1581 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 </text>
1584
1585 <partitionlist style="partitionlist_headerless_cb">
1586 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1587 <data name="tw_wipe_list"/>
1588 <listtype name="wipe"/>
1589 </partitionlist>
1590
1591 <fill color="%accent_color%">
1592 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1593 </fill>
1594
z31s1g28f0a922015-11-07 18:50:22 +01001595 <text style="text_m_fail">
1596 <condition var1="partitionlisterror" var2="1"/>
1597 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001598 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001599 </text>
1600
1601 <button>
1602 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1603 <highlight color="%highlight_color%"/>
1604 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001605 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001606 <action function="page">checkpartitionlist</action>
1607 </actions>
1608 </button>
1609
1610 <action>
1611 <touch key="home"/>
1612 <action function="page">main</action>
1613 </action>
1614
1615 <action>
1616 <touch key="back"/>
1617 <action function="page">wipe_type2</action>
1618 </action>
1619 </page>
1620
1621 <page name="partitionoptions">
1622
1623 <template name="page"/>
1624
1625 <template name="statusbar"/>
1626
1627 <text style="text_m">
1628 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 </text>
1631
1632 <text style="text_m_accent">
1633 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001635 </text>
1636
1637 <text style="text_m_accent">
1638 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001639 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001640 </text>
1641
1642 <text style="text_m">
1643 <condition var1="tw_partition_is_present" var2="1"/>
1644 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <text style="text_m">
1649 <condition var1="tw_partition_is_present" var2="0"/>
1650 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <text style="text_m">
1655 <condition var1="tw_partition_removable" var2="1"/>
1656 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001657 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001658 </text>
1659
1660 <text style="text_m">
1661 <condition var1="tw_partition_removable" var2="0"/>
1662 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </text>
1675
1676 <text style="text_m">
1677 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <text style="text_m">
1682 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 </text>
1685
1686 <button style="main_button">
1687 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1688 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 <actions>
1691 <action function="set">tw_back=partitionoptions</action>
1692 <action function="set">tw_action=resize</action>
1693 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1694 <action function="set">tw_has_action2=1</action>
1695 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001696 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1700 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1701 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <action function="page">confirm_action</action>
1703 </actions>
1704 </button>
1705
1706 <button style="main_button">
1707 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1708 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <actions>
1711 <action function="set">tw_back=partitionoptions</action>
1712 <action function="set">tw_action=repair</action>
1713 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1714 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001717 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1718 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1719 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001720 <action function="page">confirm_action</action>
1721 </actions>
1722 </button>
1723
1724 <button>
1725 <placement x="%col1_x_left%" y="%row11_y%"/>
1726 <highlight color="%highlight_color%"/>
1727 <image resource="q_btn_arrow_left"/>
1728 <action function="page">partitionoptions_select</action>
1729 </button>
1730
1731 <button style="main_button">
1732 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <action function="page">selectfilesystem</action>
1735 </button>
1736
1737 <action>
1738 <touch key="home"/>
1739 <action function="page">main</action>
1740 </action>
1741
1742 <action>
1743 <touch key="back"/>
1744 <action function="page">partitionoptions_select</action>
1745 </action>
1746 </page>
1747
1748 <page name="refreshfilesystem">
1749 <action>
1750 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1751 <actions>
1752 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001753 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <action function="page">selectfilesystem</action>
1755 </actions>
1756 </action>
1757
1758 <action>
1759 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1760 <actions>
1761 <action function="set">partitionlisterror=1</action>
1762 <action function="set">tw_wipe_list=</action>
1763 <action function="page">advancedwipe</action>
1764 </actions>
1765 </action>
1766 </page>
1767
1768 <page name="selectfilesystem">
1769 <template name="page"/>
1770
1771 <template name="statusbar"/>
1772
1773 <text style="text_m">
1774 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <button style="main_button">
1779 <condition var1="tw_partition_ext" op="=" var2="1"/>
1780 <placement x="%col1_x_left%" y="%row1_y%"/>
1781 <text>EXT2</text>
1782 <actions>
1783 <action function="set">tw_back=refreshfilesystem</action>
1784 <action function="set">tw_action=changefilesystem</action>
1785 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1786 <action function="set">tw_action_new_file_system=ext2</action>
1787 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001788 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1789 <action function="set">tw_text2=EXT2</action>
1790 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1791 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1792 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1793 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1794 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001795 <action function="page">confirm_action</action>
1796 </actions>
1797 </button>
1798
1799 <button style="main_button">
1800 <condition var1="tw_partition_ext" op="=" var2="1"/>
1801 <placement x="%col1_x_left%" y="%row6_y%"/>
1802 <text>EXT3</text>
1803 <actions>
1804 <action function="set">tw_back=refreshfilesystem</action>
1805 <action function="set">tw_action=changefilesystem</action>
1806 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1807 <action function="set">tw_action_new_file_system=ext3</action>
1808 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001809 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1810 <action function="set">tw_text2=EXT3</action>
1811 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1812 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1813 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1814 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1815 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001816 <action function="page">confirm_action</action>
1817 </actions>
1818 </button>
1819
1820 <button style="main_button">
1821 <condition var1="tw_partition_ext" op="=" var2="1"/>
1822 <placement x="%col1_x_left%" y="%row11_y%"/>
1823 <text>EXT4</text>
1824 <actions>
1825 <action function="set">tw_back=refreshfilesystem</action>
1826 <action function="set">tw_action=changefilesystem</action>
1827 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1828 <action function="set">tw_action_new_file_system=ext4</action>
1829 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001830 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1831 <action function="set">tw_text2=EXT4</action>
1832 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1833 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1834 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1835 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1836 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001837 <action function="page">confirm_action</action>
1838 </actions>
1839 </button>
1840
1841 <button style="main_button">
1842 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1843 <placement x="%col1_x_right%" y="%row1_y%"/>
1844 <text>FAT</text>
1845 <actions>
1846 <action function="set">tw_back=refreshfilesystem</action>
1847 <action function="set">tw_action=changefilesystem</action>
1848 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1849 <action function="set">tw_action_new_file_system=vfat</action>
1850 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001851 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1852 <action function="set">tw_text2=FAT</action>
1853 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1854 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1855 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1856 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1857 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001858 <action function="page">confirm_action</action>
1859 </actions>
1860 </button>
1861
1862 <button style="main_button">
1863 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1864 <placement x="%col1_x_right%" y="%row6_y%"/>
1865 <text>exFAT</text>
1866 <actions>
1867 <action function="set">tw_back=refreshfilesystem</action>
1868 <action function="set">tw_action=changefilesystem</action>
1869 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1870 <action function="set">tw_action_new_file_system=exfat</action>
1871 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001872 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1873 <action function="set">tw_text2=exFAT</action>
1874 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1875 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1876 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1877 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1878 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001879 <action function="page">confirm_action</action>
1880 </actions>
1881 </button>
1882
1883 <button style="main_button">
1884 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1885 <placement x="%col1_x_right%" y="%row11_y%"/>
1886 <text>F2FS</text>
1887 <actions>
1888 <action function="set">tw_back=refreshfilesystem</action>
1889 <action function="set">tw_action=changefilesystem</action>
1890 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1891 <action function="set">tw_action_new_file_system=f2fs</action>
1892 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1894 <action function="set">tw_text2=F2FS</action>
1895 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1896 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1897 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1898 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1899 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001900 <action function="page">confirm_action</action>
1901 </actions>
1902 </button>
1903
1904 <action>
1905 <touch key="home"/>
1906 <action function="page">main</action>
1907 </action>
1908
1909 <action>
1910 <touch key="back"/>
1911 <action function="page">partitionoptions</action>
1912 </action>
1913 </page>
1914
bigbiffce8f83c2015-12-12 18:30:21 -05001915 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001916 <template name="page"/>
1917
1918 <template name="statusbar"/>
1919
1920 <text style="text_m">
1921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001923 </text>
1924
1925 <partitionlist style="partitionlist_headerless_rb">
1926 <data name="tw_storage_path"/>
1927 <listtype name="storage"/>
1928 </partitionlist>
1929
1930 <button>
1931 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1932 <highlight color="%highlight_color%"/>
1933 <image resource="q_btn_refresh"/>
1934 <actions>
1935 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001936 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001937 </actions>
1938 </button>
1939
1940 <button>
1941 <condition var1="tw_back" var2="backup_confirm"/>
1942 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1943 <highlight color="%highlight_color%"/>
1944 <image resource="q_btn_accept"/>
1945 <action function="page">backup_confirm</action>
1946 </button>
1947
1948 <button>
1949 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1950 <highlight color="%highlight_color%"/>
1951 <image resource="q_btn_arrow_right"/>
1952 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001953 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001954 <action function="page">backup_selectpartitions</action>
1955 </actions>
1956 </button>
1957
1958 <action>
1959 <touch key="home"/>
1960 <action function="page">main</action>
1961 </action>
1962
1963 <action>
1964 <touch key="back"/>
1965 <action function="page">%tw_back%</action>
1966 </action>
1967
1968 <action>
1969 <touch key="power+voldown"/>
1970 <action function="screenshot"/>
1971 </action>
1972 </page>
1973
1974 <page name="backup_selectpartitions">
1975 <template name="page"/>
1976
1977 <template name="statusbar"/>
1978
1979 <text style="text_m">
1980 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001981 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001982 </text>
1983
1984 <partitionlist style="partitionlist_headerless_cb">
1985 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1986 <data name="tw_backup_list"/>
1987 <listtype name="backup"/>
1988 </partitionlist>
1989
1990 <fill color="%accent_color%">
1991 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1992 </fill>
1993
1994 <button>
1995 <placement x="%col1_x_left%" y="%row11_y%"/>
1996 <highlight color="%highlight_color%"/>
1997 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001998 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001999 </button>
2000
2001 <button>
2002 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2003 <highlight color="%highlight_color%"/>
2004 <image resource="q_btn_refresh"/>
2005 <action function="page">backup_selectpartitions</action>
2006 </button>
2007
2008 <button>
2009 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2010 <highlight color="%highlight_color%"/>
2011 <image resource="q_btn_accept"/>
2012 <action function="page">backup_confirm</action>
2013 </button>
2014
2015 <button>
2016 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2017 <highlight color="%highlight_color%"/>
2018 <image resource="q_btn_arrow_right"/>
2019 <actions>
2020 <action function="set">tw_back=backup_selectpartitions</action>
2021 <action function="page">backup_options</action>
2022 </actions>
2023 </button>
2024
2025 <action>
2026 <touch key="home"/>
2027 <action function="page">main</action>
2028 </action>
2029
2030 <action>
2031 <touch key="back"/>
2032 <action function="page">%tw_back%</action>
2033 </action>
2034
2035 <action>
2036 <touch key="power+voldown"/>
2037 <action function="screenshot"/>
2038 </action>
2039 </page>
2040
2041 <page name="backup_options">
2042 <template name="page"/>
2043
2044 <template name="statusbar"/>
2045
2046 <text style="text_m">
2047 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 </text>
2050
2051 <listbox style="scrolllist">
2052 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002054 <data variable="tw_use_compression"/>
2055 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002056 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2057 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002058 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002059 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002060 <data variable="tw_disable_free_space"/>
2061 </listitem>
2062 </listbox>
2063
2064 <button>
2065 <placement x="%col1_x_left%" y="%row11_y%"/>
2066 <highlight color="%highlight_color%"/>
2067 <image resource="q_btn_arrow_left"/>
2068 <action function="page">backup_selectpartitions</action>
2069 </button>
2070
2071 <button>
2072 <conditions>
2073 <condition var1="tw_include_encrypted_backup" var2="1"/>
2074 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002075 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002076 </conditions>
2077 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2078 <highlight color="%highlight_color%"/>
2079 <image resource="q_btn_encryption_dis"/>
2080 <actions>
2081 <action function="set">tw_password_not_match=0</action>
2082 <action function="set">tw_back=backup_options</action>
2083 <action function="page">backupencryption</action>
2084 </actions>
2085 </button>
2086
2087 <button>
2088 <conditions>
2089 <condition var1="tw_include_encrypted_backup" var2="1"/>
2090 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002091 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002092 </conditions>
2093 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2094 <highlight color="%highlight_color%"/>
2095 <image resource="q_btn_encryption_en"/>
2096 <actions>
2097 <action function="set">tw_password_not_match=0</action>
2098 <action function="set">tw_back=backup_options</action>
2099 <action function="page">backupencryption</action>
2100 </actions>
2101 </button>
2102
2103 <button>
2104 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2105 <highlight color="%highlight_color%"/>
2106 <image resource="q_btn_accept_transp"/>
2107 <actions>
2108 <action function="set">tw_back=backup_options</action>
2109 <action function="page">backup_confirm</action>
2110 </actions>
2111 </button>
2112
2113 <action>
2114 <touch key="home"/>
2115 <action function="page">main</action>
2116 </action>
2117
2118 <action>
2119 <touch key="back"/>
2120 <action function="page">%tw_back%</action>
2121 </action>
2122
2123 <action>
2124 <touch key="power+voldown"/>
2125 <action function="screenshot"/>
2126 </action>
2127 </page>
2128
2129 <page name="backup_confirm">
2130 <template name="page"/>
2131
2132 <template name="statusbar"/>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002136 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002137 </text>
2138
2139 <text style="text_m_accent">
2140 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002142 </text>
2143
2144 <text style="text_m">
2145 <placement x="%col1_x_left%" y="%row2_y%"/>
2146 <text>%tw_backup_name%</text>
2147 </text>
2148
2149 <fill color="%accent_color%">
2150 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <button>
2154 <fill color="%transparent%"/>
2155 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2156 <actions>
2157 <action function="set">tw_back=backup_confirm</action>
2158 <action function="set">tw_fileexists=0</action>
2159 <action function="page">backup_name1</action>
2160 </actions>
2161 </button>
2162
2163 <fill color="%background_color%">
2164 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2165 </fill>
2166
2167 <text style="text_m_accent">
2168 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002170 </text>
2171
2172 <partitionlist style="partitionlist_summary">
2173 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2174 <data name="tw_backup_list"/>
2175 <listtype name="backup"/>
2176 </partitionlist>
2177
2178 <button>
2179 <fill color="%transparent%"/>
2180 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2181 <actions>
2182 <action function="set">tw_back=backup_confirm</action>
2183 <action function="page">backup_selectpartitions</action>
2184 </actions>
2185 </button>
2186
2187 <text style="text_m_accent">
2188 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002189 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 </text>
2191
2192 <text style="text_m">
2193 <placement x="%col1_x_right%" y="%row2_y%"/>
2194 <text>%tw_storage_display_name%</text>
2195 </text>
2196
2197 <button>
2198 <fill color="%transparent%"/>
2199 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2200 <actions>
2201 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002202 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002203 </actions>
2204 </button>
2205
2206 <text style="text_m_accent">
2207 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <conditions>
2213 <condition var1="tw_include_encrypted_backup" var2="1"/>
2214 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002215 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002216 </conditions>
2217 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002218 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002219 </text>
2220
2221 <text style="text_m">
2222 <conditions>
2223 <condition var1="tw_include_encrypted_backup" var2="1"/>
2224 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002225 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </conditions>
2227 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <button>
2232 <fill color="%transparent%"/>
2233 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2234 <actions>
2235 <action function="set">tw_back=backup_confirm</action>
2236 <action function="page">backupencryption</action>
2237 </actions>
2238 </button>
2239
2240 <listbox style="listbox_options">
2241 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002243 <data variable="tw_use_compression"/>
2244 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002245 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2246 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002247 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002248 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002249 <data variable="tw_disable_free_space"/>
2250 </listitem>
2251 </listbox>
2252
2253 <text style="text_m_accent">
2254 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002255 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002256 </text>
2257
2258 <button>
2259 <fill color="%transparent%"/>
2260 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2261 <actions>
2262 <action function="set">tw_back=backup_confirm</action>
2263 <action function="page">backup_options</action>
2264 </actions>
2265 </button>
2266
2267 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002269 <action function="page">backup_run</action>
2270 </slider>
2271
2272 <action>
2273 <touch key="home"/>
2274 <action function="page">main</action>
2275 </action>
2276
2277 <action>
2278 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002279 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </action>
2281 </page>
2282
2283 <page name="backup_name1">
2284 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002285 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002286 <action function="generatebackupname"/>
2287 </action>
2288
2289 <action>
2290 <action function="page">backup_name2</action>
2291 </action>
2292 </page>
2293
2294 <page name="backup_name2">
2295 <template name="page"/>
2296
2297 <template name="statusbar"/>
2298
2299 <text style="text_m">
2300 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002301 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002302 </text>
2303
2304 <text style="text_m_accent">
2305 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <input>
2310 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2311 <text>%tw_backup_name%</text>
2312 <data name="tw_backup_name"/>
2313 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2314 <actions>
2315 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2316 <action function="set">tw_existpage=backup_name2</action>
2317 <action function="set">tw_notexistpage=backup_confirm</action>
2318 <action function="page">filecheck</action>
2319 </actions>
2320 </input>
2321
2322 <fill color="%accent_color%">
2323 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2324 </fill>
2325
2326 <fill color="%text_fail_color%">
2327 <condition var1="tw_fileexists" var2="1"/>
2328 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2329 </fill>
2330
2331 <text style="text_m_fail">
2332 <condition var1="tw_fileexists" var2="1"/>
2333 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002334 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </text>
2336
2337 <button style="main_button_half_height">
2338 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002340 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002342 <action function="page">backup_confirm</action>
2343 </actions>
2344 </button>
2345
2346 <button style="main_button_half_height">
2347 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 <action function="appenddatetobackupname"/>
2350 </button>
2351
2352 <template name="keyboardtemplate"/>
2353
2354 <action>
2355 <touch key="home"/>
2356 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002358 <action function="page">main</action>
2359 </actions>
2360 </action>
2361
2362 <action>
2363 <touch key="back"/>
2364 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <action function="page">backup_confirm</action>
2367 </actions>
2368 </action>
2369 </page>
2370
2371 <page name="backupencryption">
2372 <template name="page"/>
2373
2374 <template name="statusbar"/>
2375
2376 <text style="text_m">
2377 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 </text>
2380
2381 <text style="text_m_accent">
2382 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002383 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002384 </text>
2385
2386 <input>
2387 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2388 <text>%tw_backup_encrypt_display%</text>
2389 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2390 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2391 <action function="page">backupencryption2</action>
2392 </input>
2393
2394 <fill color="%accent_color%">
2395 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2396 </fill>
2397
2398 <fill color="%text_fail_color%">
2399 <condition var1="tw_password_not_match" var2="1"/>
2400 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2401 </fill>
2402
2403 <text style="text_m_fail">
2404 <condition var1="tw_password_not_match" var2="1"/>
2405 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </text>
2408
2409 <button style="main_button_half_height">
2410 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <actions>
2413 <action function="set">tw_encrypt_backup=0</action>
2414 <action function="set">tw_backup_password=</action>
2415 <action function="set">tw_backup_password2=</action>
2416 <action function="set">tw_backup_encrypt_display=</action>
2417 <action function="set">tw_backup_encrypt_display2=</action>
2418 <action function="page">%tw_back%</action>
2419 </actions>
2420 </button>
2421
2422 <template name="keyboardtemplate"/>
2423
2424 <action>
2425 <touch key="home"/>
2426 <action function="page">main</action>
2427 </action>
2428
2429 <action>
2430 <touch key="back"/>
2431 <action function="page">%tw_back%</action>
2432 </action>
2433 </page>
2434
2435 <page name="backupencryption2">
2436 <template name="page"/>
2437
2438 <template name="statusbar"/>
2439
2440 <text style="text_m">
2441 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 </text>
2444
2445 <text style="text_m_accent">
2446 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002448 </text>
2449
2450 <input>
2451 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2452 <text>%tw_backup_encrypt_display2%</text>
2453 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2454 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2455 <action function="page">checkbackuppassword</action>
2456 </input>
2457
2458 <fill color="%accent_color%">
2459 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2460 </fill>
2461
2462 <button style="main_button_half_height">
2463 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002465 <actions>
2466 <action function="set">tw_encrypt_backup=0</action>
2467 <action function="set">tw_backup_password=</action>
2468 <action function="set">tw_backup_password2=</action>
2469 <action function="set">tw_backup_encrypt_display=</action>
2470 <action function="set">tw_backup_encrypt_display2=</action>
2471 <action function="page">%tw_back%</action>
2472 </actions>
2473 </button>
2474
2475 <template name="keyboardtemplate"/>
2476
2477 <action>
2478 <touch key="home"/>
2479 <action function="page">main</action>
2480 </action>
2481
2482 <action>
2483 <touch key="back"/>
2484 <action function="page">%tw_back%</action>
2485 </action>
2486 </page>
2487
2488 <page name="checkbackuppassword">
2489 <action>
2490 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2491 <actions>
2492 <action function="set">tw_encrypt_backup=1</action>
2493 <action function="page">%tw_back%</action>
2494 </actions>
2495 </action>
2496
2497 <action>
2498 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2499 <actions>
2500 <action function="set">tw_encrypt_backup=0</action>
2501 <action function="set">tw_password_not_match=1</action>
2502 <action function="set">tw_backup_password=</action>
2503 <action function="set">tw_backup_password2=</action>
2504 <action function="set">tw_backup_encrypt_display=</action>
2505 <action function="set">tw_backup_encrypt_display2=</action>
2506 <action function="page">backupencryption</action>
2507 </actions>
2508 </action>
2509 </page>
2510
2511 <page name="backup_run">
2512 <template name="page"/>
2513
2514 <template name="statusbar"/>
2515
2516 <text style="text_m">
2517 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2518 <text>%tw_operation% %tw_partition%</text>
2519 </text>
2520
2521 <template name="console"/>
2522
2523 <template name="progress_bar"/>
2524
2525 <text style="text_m">
2526 <placement x="%indent%" y="%row13a_y%"/>
2527 <text>%tw_file_progress%</text>
2528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%indent%" y="%row14a_y%"/>
2532 <text>%tw_size_progress%</text>
2533 </text>
2534
2535 <button style="main_button_half_height">
2536 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="cancelbackup"/>
2539 </button>
2540
2541 <action>
2542 <action function="nandroid">backup</action>
2543 </action>
2544
2545 <action>
2546 <condition var1="tw_operation_state" var2="1"/>
2547 <condition var1="tw_cancel_backup" var2="0"/>
2548 <actions>
2549 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002550 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002551 <action function="set">tw_show_reboot=1</action>
2552 <action function="page">action_complete</action>
2553 </actions>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_operation_state" var2="1"/>
2558 <condition var1="tw_cancel_backup" var2="1"/>
2559 <actions>
2560 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002562 <action function="set">tw_show_reboot=1</action>
2563 <action function="page">action_complete</action>
2564 </actions>
2565 </action>
2566 </page>
2567
2568 <page name="restore">
2569 <template name="page"/>
2570
2571 <template name="statusbar"/>
2572
2573 <text style="text_m">
2574 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002576 </text>
2577
2578 <fileselector>
2579 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2580 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002581 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <path name="tw_backups_folder"/>
2583 <data name="tw_restore" default=""/>
2584 <selection name="tw_restore_name"/>
2585 </fileselector>
2586
2587 <button>
2588 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2589 <highlight color="%highlight_color%"/>
2590 <image resource="q_btn_storage"/>
2591 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002592 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <action function="set">tw_back=restore</action>
2594 <action function="page">select_storage</action>
2595 </actions>
2596 </button>
2597
2598 <action>
2599 <condition var1="tw_restore" op="modified"/>
2600 <actions>
2601 <action function="readBackup"/>
2602 <action function="set">tw_back=restore</action>
2603 <action function="page">restore_read</action>
2604 </actions>
2605 </action>
2606
2607 <action>
2608 <touch key="home"/>
2609 <action function="page">main</action>
2610 </action>
2611
2612 <action>
2613 <touch key="back"/>
2614 <action function="page">main</action>
2615 </action>
2616 </page>
2617
2618 <page name="restore_read">
2619 <action>
2620 <condition var1="tw_restore_encrypted" var2="1"/>
2621 <actions>
2622 <action function="set">tw_password_fail=0</action>
2623 <action function="page">restore_decrypt</action>
2624 </actions>
2625 </action>
2626
2627 <action>
2628 <condition var1="tw_restore_encrypted" var2="0"/>
2629 <actions>
2630 <action function="page">restore_select</action>
2631 </actions>
2632 </action>
2633 </page>
2634
2635 <page name="restore_decrypt">
2636 <template name="page"/>
2637
2638 <template name="statusbar"/>
2639
2640 <text style="text_m">
2641 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 </text>
2644
2645 <text style="text_m_accent">
2646 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002647 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002648 </text>
2649
2650 <input>
2651 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2652 <text>%tw_restore_display%</text>
2653 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2654 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2655 <action function="page">try_restore_decrypt</action>
2656 </input>
2657
2658 <fill color="%accent_color%">
2659 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2660 </fill>
2661
2662 <fill color="%text_fail_color%">
2663 <condition var1="tw_password_fail" var2="1"/>
2664 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2665 </fill>
2666
2667 <text style="text_m_fail">
2668 <condition var1="tw_password_fail" var2="1"/>
2669 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002670 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002671 </text>
2672
2673 <button style="main_button_half_height">
2674 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 <actions>
2677 <action function="set">tw_page_done=1</action>
2678 <action function="page">restore</action>
2679 </actions>
2680 </button>
2681
2682 <button style="main_button_half_height">
2683 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <actions>
2686 <action function="set">tw_back=restore</action>
2687 <action function="set">tw_action=cmd</action>
2688 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2690 <action function="set">tw_text2=%tw_restore_name%</action>
2691 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2692 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2693 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2694 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002695 <action function="page">confirm_action</action>
2696 </actions>
2697 </button>
2698
2699 <template name="keyboardtemplate"/>
2700
2701 <action>
2702 <touch key="home"/>
2703 <action function="page">main</action>
2704 </action>
2705
2706 <action>
2707 <touch key="back"/>
2708 <action function="page">restore</action>
2709 </action>
2710 </page>
2711
2712 <page name="try_restore_decrypt">
2713 <template name="page"/>
2714
2715 <template name="statusbar"/>
2716
2717 <text style="text_m">
2718 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002720 </text>
2721
2722 <template name="console"/>
2723
2724 <template name="progress_bar"/>
2725
2726 <action>
2727 <action function="decrypt_backup"/>
2728 </action>
2729
2730 <action>
2731 <conditions>
2732 <condition var1="tw_operation_state" var2="1"/>
2733 <condition var1="tw_operation_status" op="!=" var2="0"/>
2734 </conditions>
2735 <actions>
2736 <action function="set">tw_password_fail=1</action>
2737 <action function="page">restore_decrypt</action>
2738 </actions>
2739 </action>
2740
2741 <action>
2742 <conditions>
2743 <condition var1="tw_operation_state" var2="1"/>
2744 <condition var1="tw_operation_status" op="=" var2="0"/>
2745 </conditions>
2746 <actions>
2747 <action function="set">tw_page_done=1</action>
2748 <action function="page">restore_select</action>
2749 </actions>
2750 </action>
2751 </page>
2752
2753 <page name="restore_select">
2754 <template name="page"/>
2755
2756 <template name="statusbar"/>
2757
2758 <text style="text_m">
2759 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002760 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002761 </text>
2762
2763 <partitionlist style="partitionlist_headerless_cb">
2764 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2765 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2766 <listtype name="restore"/>
2767 </partitionlist>
2768
2769 <fill color="%accent_color%">
2770 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2771 </fill>
2772
2773 <button>
2774 <placement x="%col1_x_left%" y="%row11_y%"/>
2775 <highlight color="%highlight_color%"/>
2776 <image resource="q_btn_arrow_left"/>
2777 <action function="page">restore</action>
2778 </button>
2779
2780 <button>
2781 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2782 <highlight color="%highlight_color%"/>
2783 <image resource="q_btn_delete"/>
2784 <actions>
2785 <action function="set">tw_back=restore</action>
2786 <action function="set">tw_action=cmd</action>
2787 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002788 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002789 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2791 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2792 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2793 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <action function="page">confirm_action</action>
2795 </actions>
2796 </button>
2797
2798 <button>
2799 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2800 <highlight color="%highlight_color%"/>
2801 <image resource="q_btn_accept"/>
2802 <action function="page">restore_confirm</action>
2803 </button>
2804
2805 <button>
2806 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2807 <highlight color="%highlight_color%"/>
2808 <image resource="q_btn_arrow_right"/>
2809 <actions>
2810 <action function="set">tw_back=restore_select</action>
2811 <action function="page">restore_options</action>
2812 </actions>
2813 </button>
2814
2815 <action>
2816 <touch key="home"/>
2817 <action function="page">main</action>
2818 </action>
2819
2820 <action>
2821 <touch key="back"/>
2822 <action function="page">%tw_back%</action>
2823 </action>
2824 </page>
2825
2826 <page name="restore_options">
2827 <template name="page"/>
2828
2829 <template name="statusbar"/>
2830
2831 <text style="text_m">
2832 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002834 </text>
2835
2836 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002837 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002839 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2840 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002841 </listitem>
2842 </listbox>
2843
2844 <button>
2845 <placement x="%col1_x_left%" y="%row11_y%"/>
2846 <highlight color="%highlight_color%"/>
2847 <image resource="q_btn_arrow_left"/>
2848 <action function="page">restore_select</action>
2849 </button>
2850
2851 <button>
2852 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2853 <highlight color="%highlight_color%"/>
2854 <image resource="q_btn_accept_transp"/>
2855 <actions>
2856 <action function="set">tw_back=restore_options</action>
2857 <action function="page">restore_confirm</action>
2858 </actions>
2859 </button>
2860
2861 <action>
2862 <touch key="home"/>
2863 <action function="page">main</action>
2864 </action>
2865
2866 <action>
2867 <touch key="back"/>
2868 <action function="page">%tw_back%</action>
2869 </action>
2870
2871 <action>
2872 <touch key="power+voldown"/>
2873 <action function="screenshot"/>
2874 </action>
2875 </page>
2876
2877 <page name="renamebackup">
2878 <template name="page"/>
2879
2880 <template name="statusbar"/>
2881
2882 <text style="text_m">
2883 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <text style="text_m_accent">
2888 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </text>
2891
2892 <input>
2893 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2894 <text>%tw_backup_rename%</text>
2895 <data name="tw_backup_rename"/>
2896 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2897 <actions>
2898 <action function="set">tw_back=restore</action>
2899 <action function="set">tw_action=cmd</action>
2900 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002901 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2902 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2903 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2904 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2905 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002906 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2907 <action function="set">tw_existpage=renamebackup</action>
2908 <action function="set">tw_notexistpage=confirm_action</action>
2909 <action function="page">filecheck</action>
2910 </actions>
2911 </input>
2912
2913 <fill color="%accent_color%">
2914 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2915 </fill>
2916
2917 <fill color="%text_fail_color%">
2918 <condition var1="tw_fileexists" var2="1"/>
2919 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2920 </fill>
2921
2922 <text style="text_m_fail">
2923 <condition var1="tw_fileexists" var2="1"/>
2924 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <button style="main_button_half_height">
2929 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <action function="page">restore_confirm</action>
2932 </button>
2933
2934 <template name="keyboardtemplate"/>
2935
2936 <action>
2937 <touch key="home"/>
2938 <action function="page">main</action>
2939 </action>
2940
2941 <action>
2942 <touch key="back"/>
2943 <action function="page">restore_confirm</action>
2944 </action>
2945 </page>
2946
2947 <page name="restore_confirm">
2948 <template name="page"/>
2949
2950 <template name="statusbar"/>
2951
2952 <text style="text_m">
2953 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 </text>
2956
2957 <text style="text_m_accent">
2958 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002959 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002960 </text>
2961
2962 <text style="text_m">
2963 <placement x="%indent%" y="%row2_y%"/>
2964 <text>%tw_restore_name%</text>
2965 </text>
2966
2967 <fill color="%accent_color%">
2968 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2969 </fill>
2970
2971 <button>
2972 <fill color="%transparent%"/>
2973 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2974 <actions>
2975 <action function="set">tw_back=restore_confirm</action>
2976 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2977 <action function="set">tw_fileexists=0</action>
2978 <action function="page">renamebackup</action>
2979 </actions>
2980 </button>
2981
2982 <text style="text_m_accent">
2983 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <partitionlist style="partitionlist_summary">
2988 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2989 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2990 <listtype name="restore"/>
2991 </partitionlist>
2992
2993 <button>
2994 <fill color="%transparent%"/>
2995 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2996 <actions>
2997 <action function="set">tw_back=restore_confirm</action>
2998 <action function="page">restore_select</action>
2999 </actions>
3000 </button>
3001
3002 <listbox style="listbox_options">
3003 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003004 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3005 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003006 </listitem>
3007 </listbox>
3008
3009 <text style="text_m_accent">
3010 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </text>
3013
3014 <button>
3015 <fill color="%transparent%"/>
3016 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3017 <actions>
3018 <action function="set">tw_back=restore_confirm</action>
3019 <action function="page">restore_options</action>
3020 </actions>
3021 </button>
3022
3023 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <action function="page">restore_run</action>
3026 </slider>
3027
3028 <action>
3029 <touch key="home"/>
3030 <action function="page">main</action>
3031 </action>
3032
3033 <action>
3034 <touch key="back"/>
3035 <action function="page">restore_options</action>
3036 </action>
3037 </page>
3038
3039 <page name="restore_run">
3040 <template name="page"/>
3041
3042 <template name="statusbar"/>
3043
3044 <text style="text_m">
3045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3046 <text>%tw_operation% %tw_partition%</text>
3047 </text>
3048
3049 <template name="console"/>
3050
3051 <template name="progress_bar"/>
3052
3053 <text style="text_m">
3054 <placement x="%indent%" y="%row14a_y%"/>
3055 <text>%tw_size_progress%</text>
3056 </text>
3057
3058 <action>
3059 <condition var1="tw_operation_state" var2="1"/>
3060 <actions>
3061 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003062 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <action function="set">tw_show_reboot=1</action>
3064 <action function="page">action_complete</action>
3065 </actions>
3066 </action>
3067
3068 <action>
3069 <action function="nandroid">restore</action>
3070 </action>
3071 </page>
3072
3073 <page name="mount">
3074 <template name="page"/>
3075
3076 <template name="statusbar"/>
3077
3078 <text style="text_m">
3079 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </text>
3082
3083 <partitionlist style="partitionlist_headerless_cb">
3084 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3085 <listtype name="mount"/>
3086 </partitionlist>
3087
3088 <fill color="%accent_color%">
3089 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3090 </fill>
3091
3092 <button style="checkbox">
3093 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3094 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003096 <image resource="checkbox_false"/>
3097 <action function="mountsystemtoggle">1</action>
3098 </button>
3099
3100 <button style="checkbox">
3101 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3102 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <image resource="checkbox_true"/>
3105 <actions>
3106 <action function="set">tw_lifetime_writes=2</action>
3107 <action function="page">system_readonly_check</action>
3108 </actions>
3109 </button>
3110
3111 <button style="checkbox">
3112 <conditions>
3113 <condition var1="tw_has_mtp" var2="1"/>
3114 <condition var1="tw_mtp_enabled" var2="0"/>
3115 </conditions>
3116 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3117 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003118 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003119 <action function="startmtp"/>
3120 </button>
3121
3122 <button style="checkbox">
3123 <conditions>
3124 <condition var1="tw_has_mtp" var2="1"/>
3125 <condition var1="tw_mtp_enabled" var2="1"/>
3126 </conditions>
3127 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3128 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <action function="stopmtp"/>
3131 </button>
3132
3133 <button>
3134 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3135 <highlight color="%highlight_color%"/>
3136 <image resource="q_btn_storage"/>
3137 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003139 <action function="set">tw_back=mount</action>
3140 <action function="page">select_storage</action>
3141 </actions>
3142 </button>
3143
3144 <button>
3145 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3146 <highlight color="%highlight_color%"/>
3147 <image resource="q_btn_arrow_right"/>
3148 <action function="page">mount_options</action>
3149 </button>
3150
3151 <action>
3152 <touch key="home"/>
3153 <action function="page">main</action>
3154 </action>
3155
3156 <action>
3157 <touch key="back"/>
3158 <action function="page">main</action>
3159 </action>
3160 </page>
3161
3162 <page name="mount_options">
3163 <template name="page"/>
3164
3165 <template name="statusbar"/>
3166
3167 <text style="text_m">
3168 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 </text>
3171
3172 <button style="main_button_full_width">
3173 <condition var1="tw_has_usb_storage" var2="1"/>
3174 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="page">usb_mount</action>
3177 </button>
3178
3179 <button style="main_button_full_width">
3180 <conditions>
3181 <condition var1="tw_is_encrypted" var2="1"/>
3182 <condition var1="tw_is_decrypted" var2="0"/>
3183 </conditions>
3184 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003185 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003186 <action function="page">decrypt</action>
3187 </button>
3188
3189 <button>
3190 <placement x="%col1_x_left%" y="%row11_y%"/>
3191 <highlight color="%highlight_color%"/>
3192 <image resource="q_btn_arrow_left"/>
3193 <action function="page">mount</action>
3194 </button>
3195
3196 <action>
3197 <touch key="home"/>
3198 <action function="page">main</action>
3199 </action>
3200
3201 <action>
3202 <touch key="back"/>
3203 <action function="page">mount</action>
3204 </action>
3205 </page>
3206
3207 <page name="usb_mount">
3208 <template name="page"/>
3209
3210 <template name="statusbar"/>
3211
3212 <text style="text_m">
3213 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003214 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <text style="text_m_accent">
3218 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </text>
3221
3222 <text style="text_m_fail">
3223 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <text style="text_m_fail">
3228 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 </text>
3231
3232 <button style="main_button">
3233 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <action function="page">usb_umount</action>
3236 </button>
3237
3238 <action>
3239 <action function="mount">usb</action>
3240 <action function="set">tw_busy=1</action>
3241 </action>
3242 </page>
3243
3244 <page name="usb_umount">
3245 <action>
3246 <action function="unmount">usb</action>
3247 </action>
3248
3249 <action>
3250 <action function="page">mount_options</action>
3251 <action function="set">tw_busy=0</action>
3252 </action>
3253 </page>
3254
3255 <page name="system_readonly_check">
3256 <action>
3257 <action function="checkpartitionlifetimewrites">/system</action>
3258 </action>
3259
3260 <action>
3261 <condition var1="tw_lifetime_writes" var2="1"/>
3262 <actions>
3263 <action function="mountsystemtoggle">0</action>
3264 <action function="page">mount</action>
3265 </actions>
3266 </action>
3267
3268 <action>
3269 <condition var1="tw_lifetime_writes" var2="0"/>
3270 <actions>
3271 <action function="set">tw_back=mount</action>
3272 <action function="page">system_readonly</action>
3273 </actions>
3274 </action>
3275 </page>
3276
3277 <page name="reboot">
3278 <template name="page"/>
3279
3280 <template name="statusbar"/>
3281
3282 <text style="text_m">
3283 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003284 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003285 </text>
3286
3287 <button style="main_button">
3288 <condition var1="tw_reboot_system" var2="1"/>
3289 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <actions>
3292 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003293 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </actions>
3295 </button>
3296
3297 <button style="main_button">
3298 <condition var1="tw_reboot_poweroff" var2="1"/>
3299 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 <actions>
3302 <action function="set">tw_back=reboot</action>
3303 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003304 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003305 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003307 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3308 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3309 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3310 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3311 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003312 <action function="page">rebootcheck</action>
3313 </actions>
3314 </button>
3315
3316 <button style="main_button">
3317 <condition var1="tw_reboot_recovery" var2="1"/>
3318 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 <actions>
3321 <action function="set">tw_back=reboot</action>
3322 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003323 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003324 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3327 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3328 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3329 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3330 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">rebootcheck</action>
3332 </actions>
3333 </button>
3334
3335 <button style="main_button">
3336 <condition var1="tw_reboot_bootloader" var2="1"/>
3337 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <actions>
3340 <action function="set">tw_back=reboot</action>
3341 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003342 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003343 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003344 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3346 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3347 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3348 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3349 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <action function="page">rebootcheck</action>
3351 </actions>
3352 </button>
3353
3354 <button style="main_button">
3355 <condition var1="tw_download_mode" var2="1"/>
3356 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003357 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003358 <actions>
3359 <action function="set">tw_back=reboot</action>
3360 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003361 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003362 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3365 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3366 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3367 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3368 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 <action function="page">rebootcheck</action>
3370 </actions>
3371 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003372 <button style="main_button">
3373 <condition var1="tw_edl_mode" var2="1"/>
3374 <placement x="%col1_x_right%" y="%row11_y%"/>
3375 <text>{@rb_edl_btn=Edl}</text>
3376 <actions>
3377 <action function="set">tw_back=reboot</action>
3378 <action function="set">tw_action=reboot</action>
3379 <action function="set">tw_action_param=edl</action>
3380 <action function="set">tw_reboot_param=edl</action>
3381 <action function="set">tw_has_action2=0</action>
3382 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3383 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3384 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3385 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3386 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3387 <action function="page">rebootcheck</action>
3388 </actions>
3389 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003390
3391 <action>
3392 <touch key="home"/>
3393 <action function="page">main</action>
3394 </action>
3395
3396 <action>
3397 <touch key="back"/>
3398 <action function="page">main</action>
3399 </action>
3400 </page>
3401
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003402 <page name="rebootapp">
3403 <template name="page"/>
3404
3405 <template name="statusbar"/>
3406
3407 <text style="text_m">
3408 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3409 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3410 </text>
3411
3412 <text style="text_m_accent">
3413 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3414 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3415 </text>
3416
3417 <text style="text_m">
3418 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3419 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3420 </text>
3421
3422 <checkbox>
3423 <placement x="%indent%" y="%row3_y%"/>
3424 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3425 <data variable="tw_app_prompt"/>
3426 </checkbox>
3427
3428 <checkbox>
3429 <condition var1="tw_mount_system_ro" var2="0"/>
3430 <placement x="%indent%" y="%row5_y%"/>
3431 <text>{@reboot_install_app_system=Install as a System App}</text>
3432 <data variable="tw_app_install_system"/>
3433 </checkbox>
3434
3435 <button style="main_button_half_height">
3436 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003437 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003438 <action function="reboot">%tw_reboot_param%</action>
3439 </button>
3440
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003441 <action>
3442 <touch key="home"/>
3443 <actions>
3444 <action function="set">tw_app_install_status=0</action>
3445 <action function="page">main</action>
3446 </actions>
3447 </action>
3448
3449 <action>
3450 <touch key="back"/>
3451 <actions>
3452 <action function="set">tw_app_install_status=0</action>
3453 <action function="page">reboot</action>
3454 </actions>
3455 </action>
3456 </page>
3457
z31s1g28f0a922015-11-07 18:50:22 +01003458 <page name="system_readonly">
3459 <template name="page"/>
3460
3461 <template name="statusbar"/>
3462
3463 <text style="text_m">
3464 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </text>
3467
3468 <text style="text_m_accent">
3469 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </text>
3472
3473 <text style="text_m">
3474 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </text>
3477
3478 <text style="text_m">
3479 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </text>
3482
3483 <text style="text_m">
3484 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <text style="text_m">
3489 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </text>
3492
3493 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003494 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003496 </text>
3497
3498 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003499 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 </text>
3502
z31s1g608d7ff2016-01-18 19:47:25 +01003503 <button style="main_button_half_height">
3504 <placement x="%col1_x_right%" y="%row8a_y%"/>
3505 <text>{@sel_lang_btn=Select Language}</text>
3506 <action function="page">settings_language</action>
3507 </button>
3508
z31s1g28f0a922015-11-07 18:50:22 +01003509 <checkbox>
3510 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003511 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <data variable="tw_never_show_system_ro_page"/>
3514 </checkbox>
3515
3516 <button style="main_button_half_height">
3517 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <actions>
3520 <action function="mountsystemtoggle">1</action>
3521 <action function="set">tw_page_done=1</action>
3522 <action function="page">%tw_back%</action>
3523 </actions>
3524 </button>
3525
3526 <button style="main_button_half_height">
3527 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <actions>
3530 <action function="mountsystemtoggle">0</action>
3531 <action function="set">tw_page_done=1</action>
3532 <action function="page">%tw_back%</action>
3533 </actions>
3534 </button>
3535 </page>
3536
3537 <page name="settings">
3538 <template name="page"/>
3539
3540 <template name="statusbar"/>
3541
3542 <text style="text_m">
3543 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </text>
3546
3547 <button style="main_button">
3548 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 <action function="page">settings_general</action>
3551 </button>
3552
3553 <button style="main_button">
3554 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 <action function="page">settings_timezone</action>
3557 </button>
3558
3559 <button style="main_button">
3560 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="page">settings_screen</action>
3563 </button>
3564
3565 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003566 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003568 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003569 <action function="page">settings_vibration</action>
3570 </button>
3571
3572 <button style="main_button">
3573 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <action function="page">settings_language</action>
3576 </button>
3577
3578 <button>
3579 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3580 <highlight color="%highlight_color%"/>
3581 <image resource="q_btn_reset"/>
3582 <action function="restoredefaultsettings"/>
3583 </button>
3584
3585 <action>
3586 <touch key="home"/>
3587 <action function="page">main</action>
3588 </action>
3589
3590 <action>
3591 <touch key="back"/>
3592 <action function="page">main3</action>
3593 </action>
3594 </page>
3595
3596 <page name="settings_general">
3597 <template name="page"/>
3598
3599 <template name="statusbar"/>
3600
3601 <text style="text_m">
3602 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 </text>
3605
3606 <listbox style="scrolllist">
3607 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003609 <data variable="tw_signed_zip_verify"/>
3610 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003611 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3612 <data variable="tw_install_reboot"/>
3613 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003615 <data variable="tw_rm_rf"/>
3616 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003617 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3618 <data variable="tw_disable_free_space"/>
3619 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003620 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3621 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003622 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003623 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3624 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003625 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003627 <data variable="tw_military_time"/>
3628 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003629 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3630 <data variable="tw_app_prompt"/>
3631 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003633 <data variable="tw_simulate_actions"/>
3634 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003636 <data variable="tw_simulate_fail"/>
3637 <condition var1="tw_simulate_actions" var2="1"/>
3638 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003639 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3640 <condition var1="tw_no_sha2" var2="0"/>
3641 <data variable="tw_use_sha2"/>
3642 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003643 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3644 <data variable="tw_unmount_system"/>
3645 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </listbox>
3647
3648 <action>
3649 <touch key="home"/>
3650 <action function="page">main</action>
3651 </action>
3652
3653 <action>
3654 <touch key="back"/>
3655 <action function="page">settings</action>
3656 </action>
3657 </page>
3658
3659 <page name="settings_timezone">
3660 <template name="page"/>
3661
3662 <template name="statusbar"/>
3663
3664 <text style="text_m">
3665 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003667 </text>
3668
3669 <text color="%text_color%">
3670 <font resource="font_m"/>
3671 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3672 <text>%tw_time%</text>
3673 </text>
3674
3675 <listbox style="listbox_headerless">
3676 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3677 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3679 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3680 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3681 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3682 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3683 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3684 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3685 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3686 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3687 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3688 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3689 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3690 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3691 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3692 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3693 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3694 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3695 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3696 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3697 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3698 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3699 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3700 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3701 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </listbox>
3703
3704 <button>
3705 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3706 <highlight color="%highlight_color%"/>
3707 <image resource="q_btn_arrow_right"/>
3708 <actions>
3709 <action function="setguitimezone"/>
3710 <action function="page">settings_timezone2</action>
3711 </actions>
3712 </button>
3713
3714 <action>
3715 <condition var1="tw_time_zone_guisel" op="modified"/>
3716 <action function="setguitimezone"/>
3717 </action>
3718
3719 <action>
3720 <touch key="home"/>
3721 <actions>
3722 <action function="page">main</action>
3723 <action function="setguitimezone"/>
3724 </actions>
3725 </action>
3726
3727 <action>
3728 <touch key="back"/>
3729 <actions>
3730 <action function="page">settings</action>
3731 <action function="setguitimezone"/>
3732 </actions>
3733 </action>
3734
3735 <action>
3736 <touch key="power+voldown"/>
3737 <action function="screenshot"/>
3738 </action>
3739 </page>
3740
3741 <page name="settings_timezone2">
3742 <template name="page"/>
3743
3744 <template name="statusbar"/>
3745
3746 <text style="text_m">
3747 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <text color="%text_color%">
3752 <font resource="font_m"/>
3753 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3754 <text>%tw_time%</text>
3755 </text>
3756
3757 <checkbox>
3758 <placement x="%col1_x_left%" y="%row1_y%"/>
3759 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003760 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003761 <data variable="tw_time_zone_guidst"/>
3762 <image checked="checkbox_true" unchecked="checkbox_false"/>
3763 </checkbox>
3764
3765 <text style="text_m_accent">
3766 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003767 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003768 </text>
3769
3770 <button style="main_button_quarter_width">
3771 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 <actions>
3774 <action function="set">tw_time_zone_guioffset=0</action>
3775 <action function="setguitimezone"/>
3776 </actions>
3777 </button>
3778
3779 <button style="main_button_quarter_width">
3780 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 <actions>
3783 <action function="set">tw_time_zone_guioffset=15</action>
3784 <action function="setguitimezone"/>
3785 </actions>
3786 </button>
3787
3788 <button style="main_button_quarter_width">
3789 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 <actions>
3792 <action function="set">tw_time_zone_guioffset=30</action>
3793 <action function="setguitimezone"/>
3794 </actions>
3795 </button>
3796
3797 <button style="main_button_quarter_width">
3798 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 <actions>
3801 <action function="set">tw_time_zone_guioffset=45</action>
3802 <action function="setguitimezone"/>
3803 </actions>
3804 </button>
3805
3806 <button>
3807 <placement x="%col1_x_left%" y="%row11_y%"/>
3808 <highlight color="%highlight_color%"/>
3809 <image resource="q_btn_arrow_left"/>
3810 <actions>
3811 <action function="setguitimezone"/>
3812 <action function="page">settings_timezone</action>
3813 </actions>
3814 </button>
3815
3816 <text style="text_m_accent">
3817 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003818 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003819 </text>
3820
3821 <text style="text_m">
3822 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3823 <text>%tw_time_zone%</text>
3824 </text>
3825
3826 <action>
3827 <condition var1="tw_time_zone_guidst" op="modified"/>
3828 <action function="setguitimezone"/>
3829 </action>
3830
3831 <action>
3832 <touch key="home"/>
3833 <actions>
3834 <action function="setguitimezone"/>
3835 <action function="page">main</action>
3836 </actions>
3837 </action>
3838
3839 <action>
3840 <touch key="back"/>
3841 <actions>
3842 <action function="setguitimezone"/>
3843 <action function="page">settings_timezone</action>
3844 </actions>
3845 </action>
3846 </page>
3847
3848 <page name="settings_screen">
3849 <template name="page"/>
3850
3851 <template name="statusbar"/>
3852
3853 <text style="text_m">
3854 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003855 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003856 </text>
3857
3858 <button style="checkbox">
3859 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3860 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3861 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003862 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003863 <image resource="checkbox_false"/>
3864 <action function="set">tw_screen_timeout_secs=60</action>
3865 </button>
3866
3867 <button style="checkbox">
3868 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3869 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3870 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 <image resource="checkbox_true"/>
3873 <action function="set">tw_screen_timeout_secs=0</action>
3874 </button>
3875
3876 <slidervalue>
3877 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3878 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3881 </slidervalue>
3882
3883 <text style="text_m_fail">
3884 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3885 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </text>
3888
3889 <button>
3890 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3891 <highlight color="%highlight_color%"/>
3892 <image resource="q_btn_arrow_right"/>
3893 <action function="page">settings_screen2</action>
3894 </button>
3895
3896 <action>
3897 <touch key="home"/>
3898 <action function="page">main</action>
3899 </action>
3900
3901 <action>
3902 <touch key="back"/>
3903 <action function="page">settings</action>
3904 </action>
3905 </page>
3906
3907 <page name="settings_screen2">
3908 <template name="page"/>
3909
3910 <template name="statusbar"/>
3911
3912 <text style="text_m">
3913 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003915 </text>
3916
3917 <slidervalue>
3918 <condition var1="tw_has_brightnesss_file" var2="1"/>
3919 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003920 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003921 <data variable="tw_brightness_pct" min="10" max="100"/>
3922 <actions>
3923 <action function="set">tw_brightness=%tw_brightness_max%</action>
3924 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3925 <action function="compute">tw_brightness/100</action>
3926 <action function="setbrightness">%tw_brightness%</action>
3927 </actions>
3928 </slidervalue>
3929
3930 <text style="text_m_fail">
3931 <condition var1="tw_has_brightnesss_file" var2="0"/>
3932 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 </text>
3935
3936 <button>
3937 <placement x="%col1_x_left%" y="%row11_y%"/>
3938 <highlight color="%highlight_color%"/>
3939 <image resource="q_btn_arrow_left"/>
3940 <action function="page">settings_screen</action>
3941 </button>
3942
3943 <action>
3944 <touch key="home"/>
3945 <action function="page">main</action>
3946 </action>
3947
3948 <action>
3949 <touch key="back"/>
3950 <action function="page">settings</action>
3951 </action>
3952 </page>
3953
3954 <page name="settings_vibration">
3955 <template name="page"/>
3956
3957 <template name="statusbar"/>
3958
3959 <text style="text_m">
3960 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <slidervalue>
3965 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003966 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003967 <data variable="tw_button_vibrate" min="0" max="300"/>
3968 </slidervalue>
3969
3970 <button>
3971 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3972 <highlight color="%highlight_color%"/>
3973 <image resource="q_btn_arrow_right"/>
3974 <action function="page">settings_vibration2</action>
3975 </button>
3976
3977 <action>
3978 <touch key="home"/>
3979 <action function="page">main</action>
3980 </action>
3981
3982 <action>
3983 <touch key="back"/>
3984 <action function="page">settings</action>
3985 </action>
3986 </page>
3987
3988 <page name="settings_vibration2">
3989 <template name="page"/>
3990
3991 <template name="statusbar"/>
3992
3993 <text style="text_m">
3994 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <slidervalue>
3999 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004001 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4002 </slidervalue>
4003
4004 <button>
4005 <placement x="%col1_x_left%" y="%row11_y%"/>
4006 <highlight color="%highlight_color%"/>
4007 <image resource="q_btn_arrow_left"/>
4008 <action function="page">settings_vibration</action>
4009 </button>
4010
4011 <button>
4012 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4013 <highlight color="%highlight_color%"/>
4014 <image resource="q_btn_arrow_right"/>
4015 <action function="page">settings_vibration3</action>
4016 </button>
4017
4018 <action>
4019 <touch key="home"/>
4020 <action function="page">main</action>
4021 </action>
4022
4023 <action>
4024 <touch key="back"/>
4025 <action function="page">settings</action>
4026 </action>
4027 </page>
4028
4029 <page name="settings_vibration3">
4030 <template name="page"/>
4031
4032 <template name="statusbar"/>
4033
4034 <text style="text_m">
4035 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004036 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004037 </text>
4038
4039 <slidervalue>
4040 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004042 <data variable="tw_action_vibrate" min="0" max="500"/>
4043 </slidervalue>
4044
4045 <button>
4046 <placement x="%col1_x_left%" y="%row11_y%"/>
4047 <highlight color="%highlight_color%"/>
4048 <image resource="q_btn_arrow_left"/>
4049 <action function="page">settings_vibration2</action>
4050 </button>
4051
4052 <action>
4053 <touch key="home"/>
4054 <action function="page">main</action>
4055 </action>
4056
4057 <action>
4058 <touch key="back"/>
4059 <action function="page">settings</action>
4060 </action>
4061 </page>
4062
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <page name="settings_language">
4064 <template name="page"/>
4065
4066 <template name="statusbar"/>
4067
4068 <text style="text_m">
4069 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4070 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4071 </text>
4072
z31s1g608d7ff2016-01-18 19:47:25 +01004073 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4075 <icon selected="radio_true" unselected="radio_false" />
4076 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004077 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078
4079 <button>
4080 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4081 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004082 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <action function="setlanguage"></action>
4084 </button>
4085
z31s1g608d7ff2016-01-18 19:47:25 +01004086 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <touch key="home" />
4088 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004089 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090
z31s1g608d7ff2016-01-18 19:47:25 +01004091 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <touch key="back" />
4093 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004094 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 </page>
4096
z31s1g28f0a922015-11-07 18:50:22 +01004097 <page name="advanced">
4098 <template name="page"/>
4099
4100 <template name="statusbar"/>
4101
4102 <text style="text_m">
4103 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004105 </text>
4106
4107 <button style="main_button">
4108 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004110 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004111 </button>
4112
4113 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004114 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004115 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004116 <text>{@fix_context_btn=Fix Contexts}</text>
4117 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004118 </button>
4119
Ethan Yonker64e0a652018-07-25 09:52:17 -05004120 <button>
4121 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4122 <highlight color="%highlight_color%"/>
4123 <image resource="q_btn_arrow_right"/>
4124 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004125 </button>
4126
Ethan Yonker64e0a652018-07-25 09:52:17 -05004127 <action>
4128 <touch key="home"/>
4129 <action function="page">main</action>
4130 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004131
Ethan Yonker64e0a652018-07-25 09:52:17 -05004132 <action>
4133 <touch key="back"/>
4134 <action function="page">main3</action>
4135 </action>
4136 </page>
4137
4138 <page name="advanced2">
4139 <template name="page"/>
4140
4141 <template name="statusbar"/>
4142
4143 <text style="text_m">
4144 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4145 <text>{@advanced_hdr=Advanced}</text>
4146 </text>
4147
4148 <listbox style="advanced_listbox">
4149 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4150 <listitem name="{@reload_theme_btn=Reload Theme}">
4151 <action function="reload"/>
4152 </listitem>
4153 <listitem name="{@part_sd_btn=Partition SD Card}">
4154 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4155 <actions>
4156 <action function="set">partitionlisterror=0</action>
4157 <action function="page">partsdcardsel</action>
4158 </actions>
4159 </listitem>
4160 <listitem name="{@dumlock_btn=HTC Dumlock}">
4161 <condition var1="tw_show_dumlock" var2="1"/>
4162 <action function="page">htcdumlock</action>
4163 </listitem>
4164 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4165 <condition var1="tw_has_injecttwrp" var2="1"/>
4166 <actions>
4167 <action function="set">tw_back=advanced</action>
4168 <action function="set">tw_action=reinjecttwrp</action>
4169 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4170 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4171 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4172 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4173 <action function="page">confirm_action</action>
4174 </actions>
4175 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004176 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4177 <conditions>
4178 <condition var1="tw_has_boot_slots" var2="1"/>
4179 <condition var1="tw_has_repack_tools" var2="1"/>
4180 </conditions>
4181 <actions>
4182 <action function="set">tw_repack_kernel=0</action>
4183 <action function="page">repackselect</action>
4184 </actions>
4185 </listitem>
4186 <listitem name="{@install_kernel=Install Kernel}">
4187 <conditions>
4188 <condition var1="tw_has_boot_slots" var2="1"/>
4189 <condition var1="tw_has_repack_tools" var2="1"/>
4190 </conditions>
4191 <actions>
4192 <action function="set">tw_repack_kernel=1</action>
4193 <action function="page">repackselect</action>
4194 </actions>
4195 </listitem>
4196 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4197 <conditions>
4198 <condition var1="tw_has_boot_slots" var2="1"/>
4199 <condition var1="tw_has_repack_tools" var2="1"/>
4200 </conditions>
4201 <actions>
4202 <action function="set">tw_back=advanced</action>
4203 <action function="set">tw_action=fixabrecoverybootloop</action>
4204 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4205 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4206 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4207 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4208 <action function="page">confirm_action</action>
4209 </actions>
4210 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004211 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4212 <condition var1="tw_app_installed_in_system" var2="1"/>
4213 <actions>
4214 <action function="set">tw_back=advanced</action>
4215 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4216 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4217 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4218 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4219 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4220 <action function="page">confirm_action</action>
4221 </actions>
4222 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004223 </listbox>
4224
4225 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004226 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004227 <highlight color="%highlight_color%"/>
4228 <image resource="q_btn_arrow_left"/>
4229 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004230 </button>
4231
4232 <action>
4233 <touch key="home"/>
4234 <action function="page">main</action>
4235 </action>
4236
4237 <action>
4238 <touch key="back"/>
4239 <action function="page">main3</action>
4240 </action>
4241 </page>
4242
Ethan Yonker483e9f42016-01-11 22:21:18 -06004243 <page name="partsdcardsel">
4244 <template name="page"/>
4245
4246 <template name="statusbar"/>
4247
4248 <text style="text_m">
4249 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4250 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4251 </text>
4252
4253 <partitionlist style="partitionlist_headerless_rb">
4254 <data name="tw_storage_path"/>
4255 <listtype name="storage"/>
4256 </partitionlist>
4257
4258 <text style="text_m_fail">
4259 <condition var1="partitionlisterror" var2="1"/>
4260 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4261 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4262 </text>
4263
4264 <button>
4265 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4266 <highlight color="%highlight_color%"/>
4267 <image resource="q_btn_refresh"/>
4268 <action function="refreshsizes"/>
4269 </button>
4270
4271 <button>
4272 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4273 <highlight color="%highlight_color%"/>
4274 <image resource="q_btn_accept"/>
4275 <actions>
4276 <action function="getpartitiondetails">tw_storage_path</action>
4277 <action function="page">partsdcardcheck</action>
4278 </actions>
4279 </button>
4280
4281 <action>
4282 <touch key="home"/>
4283 <action function="page">main</action>
4284 </action>
4285
4286 <action>
4287 <touch key="back"/>
4288 <action function="page">advanced</action>
4289 </action>
4290 </page>
4291
4292 <page name="partsdcardcheck">
4293 <action>
4294 <condition var1="tw_partition_removable" op="=" var2="1"/>
4295 <actions>
4296 <action function="set">partitionlisterror=0</action>
4297 <action function="page">partsdcard</action>
4298 </actions>
4299 </action>
4300
4301 <action>
4302 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4303 <actions>
4304 <action function="set">partitionlisterror=1</action>
4305 <action function="page">partsdcardsel</action>
4306 </actions>
4307 </action>
4308 </page>
4309
z31s1g28f0a922015-11-07 18:50:22 +01004310 <page name="partsdcard">
4311 <template name="page"/>
4312
4313 <template name="statusbar"/>
4314
4315 <text style="text_m">
4316 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004317 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004318 </text>
4319
4320 <text style="text_m_fail">
4321 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004323 </text>
4324
4325 <text style="text_m_fail">
4326 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004327 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004328 </text>
4329
4330 <text style="text_m_accent">
4331 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004333 </text>
4334
4335 <text style="text_m">
4336 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4337 <text>%tw_sdext_size%</text>
4338 </text>
4339
4340 <button style="main_button_quarter_width">
4341 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004342 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004343 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </button>
4345
4346 <button style="main_button_quarter_width">
4347 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004349 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004350 </button>
4351
4352 <button>
4353 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4354 <highlight color="%highlight_color%"/>
4355 <image resource="q_btn_arrow_right"/>
4356 <action function="page">partsdcard2</action>
4357 </button>
4358
4359 <action>
4360 <touch key="home"/>
4361 <action function="page">main</action>
4362 </action>
4363
4364 <action>
4365 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004366 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </action>
4368 </page>
4369
4370 <page name="partsdcard2">
4371 <template name="page"/>
4372
4373 <template name="statusbar"/>
4374
4375 <text style="text_m">
4376 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004378 </text>
4379
4380 <text style="text_m_fail">
4381 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004383 </text>
4384
4385 <text style="text_m_fail">
4386 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004387 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004388 </text>
4389
4390 <text style="text_m_accent">
4391 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004392 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004393 </text>
4394
4395 <text style="text_m">
4396 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4397 <text>%tw_swap_size%</text>
4398 </text>
4399
4400 <button style="main_button_quarter_width">
4401 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004402 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004403 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004404 </button>
4405
4406 <button style="main_button_quarter_width">
4407 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004408 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004409 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004410 </button>
4411
4412 <button>
4413 <placement x="%col1_x_left%" y="%row11_y%"/>
4414 <highlight color="%highlight_color%"/>
4415 <image resource="q_btn_arrow_left"/>
4416 <action function="page">partsdcard</action>
4417 </button>
4418
4419 <button>
4420 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4421 <highlight color="%highlight_color%"/>
4422 <image resource="q_btn_arrow_right"/>
4423 <action function="page">partsdcard3</action>
4424 </button>
4425
4426 <action>
4427 <touch key="home"/>
4428 <action function="page">main</action>
4429 </action>
4430
4431 <action>
4432 <touch key="back"/>
4433 <action function="page">advanced</action>
4434 </action>
4435 </page>
4436
4437 <page name="partsdcard3">
4438 <template name="page"/>
4439
4440 <template name="statusbar"/>
4441
4442 <text style="text_m">
4443 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </text>
4446
4447 <text style="text_m_fail">
4448 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </text>
4451
4452 <text style="text_m_fail">
4453 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004455 </text>
4456
4457 <text style="text_m_accent">
4458 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004459 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004460 </text>
4461
4462 <text style="text_m">
4463 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4464 <text>%tw_sdpart_file_system%</text>
4465 </text>
4466
4467 <button style="main_button_quarter_width">
4468 <placement x="%indent%" y="%row6_y%"/>
4469 <text>EXT3</text>
4470 <action function="set">tw_sdpart_file_system=ext3</action>
4471 </button>
4472
4473 <button style="main_button_quarter_width">
4474 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4475 <text>EXT4</text>
4476 <action function="set">tw_sdpart_file_system=ext4</action>
4477 </button>
4478
4479 <button>
4480 <placement x="%col1_x_left%" y="%row11_y%"/>
4481 <highlight color="%highlight_color%"/>
4482 <image resource="q_btn_arrow_left"/>
4483 <action function="page">partsdcard2</action>
4484 </button>
4485
4486 <button>
4487 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4488 <highlight color="%highlight_color%"/>
4489 <image resource="q_btn_arrow_right"/>
4490 <action function="page">partsdcard_confirm</action>
4491 </button>
4492
4493 <action>
4494 <touch key="home"/>
4495 <action function="page">main</action>
4496 </action>
4497
4498 <action>
4499 <touch key="back"/>
4500 <action function="page">advanced</action>
4501 </action>
4502 </page>
4503
4504 <page name="partsdcard_confirm">
4505 <template name="page"/>
4506
4507 <template name="statusbar"/>
4508
4509 <text style="text_m">
4510 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </text>
4513
4514 <text style="text_m_fail">
4515 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <text style="text_m_fail">
4520 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 </text>
4523
4524 <text style="text_m_accent">
4525 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 </text>
4528
4529 <text style="text_m_accent">
4530 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004531 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004532 </text>
4533
4534 <text style="text_m_accent">
4535 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004537 </text>
4538
4539 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004540 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004541 <action function="page">partsdcardaction</action>
4542 <actions>
4543 <action function="set">tw_back=partsdcard</action>
4544 <action function="set">tw_action=partitionsd</action>
4545 <action function="set">tw_has_action2=1</action>
4546 <action function="set">tw_action2=set</action>
4547 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4549 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4550 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004551 <action function="page">action_page</action>
4552 </actions>
4553 </slider>
4554
4555 <action>
4556 <touch key="home"/>
4557 <action function="page">main</action>
4558 </action>
4559
4560 <action>
4561 <touch key="back"/>
4562 <action function="page">advanced</action>
4563 </action>
4564 </page>
4565
4566 <page name="htcdumlock">
4567 <template name="page"/>
4568
4569 <template name="statusbar"/>
4570
4571 <text style="text_m">
4572 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004573 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004574 </text>
4575
4576 <button style="main_button_full_width">
4577 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004578 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004579 <actions>
4580 <action function="set">tw_back=htcdumlock</action>
4581 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004582 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4583 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4584 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4585 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004586 <action function="page">confirm_action</action>
4587 </actions>
4588 </button>
4589
4590 <button style="main_button_full_width">
4591 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004592 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004593 <actions>
4594 <action function="set">tw_back=htcdumlock</action>
4595 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004596 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4597 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4598 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4599 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004600 <action function="page">confirm_action</action>
4601 </actions>
4602 </button>
4603
4604 <button style="main_button_full_width">
4605 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 <actions>
4608 <action function="set">tw_back=htcdumlock</action>
4609 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004610 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4611 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4612 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4613 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004614 <action function="page">confirm_action</action>
4615 </actions>
4616 </button>
4617
4618 <action>
4619 <touch key="home"/>
4620 <action function="page">main</action>
4621 </action>
4622
4623 <action>
4624 <touch key="back"/>
4625 <action function="page">advanced</action>
4626 </action>
4627 </page>
4628
Ethan Yonker53796e72019-01-11 22:49:52 -06004629 <page name="repackselect">
4630 <template name="page"/>
4631
4632 <template name="statusbar"/>
4633
4634 <text style="text_m">
4635 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4636 <text>{@repack_image_hdr=Select Image}</text>
4637 </text>
4638
4639 <fileselector>
4640 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4641 <text>%tw_zip_location%</text>
4642 <filter extn=".img" folders="1" files="1"/>
4643 <path name="tw_zip_location" default="/sdcard"/>
4644 <data name="tw_filename"/>
4645 <selection name="tw_file"/>
4646 </fileselector>
4647
4648 <button>
4649 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4650 <highlight color="%highlight_color%"/>
4651 <image resource="q_btn_storage"/>
4652 <actions>
4653 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4654 <action function="set">tw_back=install</action>
4655 <action function="page">select_storage</action>
4656 </actions>
4657 </button>
4658
4659 <action>
4660 <conditions>
4661 <condition var1="tw_filename" op="modified"/>
4662 </conditions>
4663 <action function="page">repackconfirm</action>
4664 </action>
4665
4666 <action>
4667 <touch key="back"/>
4668 <action function="page">advanced</action>
4669 </action>
4670
4671 <action>
4672 <touch key="home"/>
4673 <action function="page">main</action>
4674 </action>
4675 </page>
4676
4677 <page name="repackconfirm">
4678 <template name="page"/>
4679
4680 <template name="statusbar"/>
4681
4682 <text style="text_m">
4683 <condition var1="tw_repack_kernel" var2="1"/>
4684 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4685 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4686 </text>
4687
4688 <text style="text_m">
4689 <condition var1="tw_repack_kernel" var2="0"/>
4690 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4691 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4692 </text>
4693
4694 <text style="text_m_accent">
4695 <placement x="%indent%" y="%row2_y%"/>
4696 <text>{@folder=Folder:}</text>
4697 </text>
4698
4699 <text style="text_m">
4700 <placement x="%indent%" y="%row3_y%"/>
4701 <text>%tw_zip_location%</text>
4702 </text>
4703
4704 <text style="text_m_accent">
4705 <placement x="%indent%" y="%row4_y%"/>
4706 <text>{@file=File:}</text>
4707 </text>
4708
4709 <text style="text_m">
4710 <placement x="%indent%" y="%row5_y%"/>
4711 <text>%tw_file%</text>
4712 </text>
4713
4714 <checkbox>
4715 <placement x="%indent%" y="%row7_y%"/>
4716 <text>{@repack_backup_first=Back up existing image first}</text>
4717 <data variable="tw_repack_backup_first"/>
4718 </checkbox>
4719
4720 <slider>
4721 <text>{@swipe_to_install=Swipe to Install}</text>
4722 <actions>
4723 <action function="set">tw_back=advanced</action>
4724 <action function="set">tw_action=repackimage</action>
4725 <action function="set">tw_action_param=/boot</action>
4726 <action function="set">tw_action_text1={@installing=Installing...}</action>
4727 <action function="set">tw_action_text2=</action>
4728 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4729 <action function="page">action_page</action>
4730 </actions>
4731 </slider>
4732
4733 <action>
4734 <touch key="back"/>
4735 <action function="page">repackselect</action>
4736 </action>
4737
4738 <action>
4739 <touch key="home"/>
4740 <action function="page">main</action>
4741 </action>
4742 </page>
4743
z31s1g28f0a922015-11-07 18:50:22 +01004744 <page name="lock">
4745 <background color="%semi_transparent%"/>
4746
4747 <image>
4748 <image resource="unlock_icon"/>
4749 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4750 </image>
4751
4752 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004753 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004754 <action function="overlay"/>
4755 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004756
4757 <action>
4758 <touch key="power"/>
4759 <action function="togglebacklight"/>
4760 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004761 </page>
4762
4763 <page name="filemanagerlist">
4764 <template name="page"/>
4765
4766 <template name="statusbar"/>
4767
4768 <text style="text_m">
4769 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004770 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004771 </text>
4772
4773 <fileselector>
4774 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4775 <text>%tw_file_location1%</text>
4776 <filter folders="1" files="1"/>
4777 <path name="tw_file_location1" default="/"/>
4778 <data name="tw_filename1"/>
4779 <selection name="tw_selection1"/>
4780 </fileselector>
4781
4782 <button>
4783 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4784 <highlight color="%highlight_color%"/>
4785 <image resource="q_btn_folder"/>
4786 <actions>
4787 <action function="set">tw_filename1=tw_file_location1</action>
4788 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004789 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004790 <action function="page">filemanageroptions</action>
4791 </actions>
4792 </button>
4793
4794 <action>
4795 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004796 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004797 <action function="set">tw_fm_isfolder=0</action>
4798 </actions>
4799 </action>
4800
4801 <action>
4802 <touch key="home"/>
4803 <action function="page">main</action>
4804 </action>
4805
4806 <action>
4807 <touch key="back"/>
4808 <action function="page">main3</action>
4809 </action>
4810
4811 <action>
4812 <condition var1="tw_filename1" op="modified"/>
4813 <action function="page">filemanageroptions</action>
4814 </action>
4815 </page>
4816
4817 <page name="filemanageroptions">
4818 <template name="page"/>
4819
4820 <template name="statusbar"/>
4821
4822 <text style="text_m">
4823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004824 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004825 </text>
4826
4827 <button style="main_button">
4828 <condition var1="tw_fm_isfolder" var2="0"/>
4829 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004830 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004831 <actions>
4832 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004833 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004834 <action function="page">choosedestinationfolder</action>
4835 </actions>
4836 </button>
4837
4838 <button style="main_button">
4839 <condition var1="tw_fm_isfolder" var2="1"/>
4840 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004841 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004842 <actions>
4843 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; cp -R</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004844 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004845 <action function="page">choosedestinationfolder</action>
4846 </actions>
4847 </button>
4848
4849 <button style="main_button">
4850 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004851 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004852 <actions>
4853 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004854 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004855 <action function="page">choosedestinationfolder</action>
4856 </actions>
4857 </button>
4858
4859 <button style="main_button">
4860 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004861 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004862 <actions>
4863 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004864 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004865 <action function="set">tw_fm_text2=</action>
4866 <action function="set">tw_fm_text3=</action>
4867 <action function="set">tw_include_text3=0</action>
4868 <action function="set">tw_back=filemanageroptions</action>
4869 <action function="page">filemanagerconfirm</action>
4870 </actions>
4871 </button>
4872
4873 <button style="main_button">
4874 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004875 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004876 <actions>
4877 <action function="set">tw_filemanager_rename=0000</action>
4878 <action function="set">tw_fm_text2=</action>
4879 <action function="set">tw_fm_text3=</action>
4880 <action function="set">tw_include_text3=0</action>
4881 <action function="set">tw_back=filemanageroptions</action>
4882 <action function="page">filemanagerchmod</action>
4883 </actions>
4884 </button>
4885
4886 <button style="main_button">
4887 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004888 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004889 <actions>
4890 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004891 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004892 <action function="set">tw_fm_text2=</action>
4893 <action function="set">tw_fm_text3=</action>
4894 <action function="set">tw_include_text3=0</action>
4895 <action function="set">tw_back=filemanageroptions</action>
4896 <action function="page">filemanagerconfirm</action>
4897 </actions>
4898 </button>
4899
4900 <button style="main_button">
4901 <condition var1="tw_fm_isfolder" var2="0"/>
4902 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004903 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004904 <actions>
4905 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004906 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004907 <action function="set">tw_filemanager_command=mv</action>
4908 <action function="page">filemanagerrenamefile</action>
4909 </actions>
4910 </button>
4911
4912 <button style="main_button">
4913 <condition var1="tw_fm_isfolder" var2="1"/>
4914 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004915 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004916 <actions>
4917 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004918 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004919 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4920 <action function="page">filemanagerrenamefolder</action>
4921 </actions>
4922 </button>
4923
4924 <action>
4925 <touch key="home"/>
4926 <action function="page">main</action>
4927 </action>
4928
4929 <action>
4930 <touch key="back"/>
4931 <action function="page">filemanagerlist</action>
4932 </action>
4933 </page>
4934
4935 <page name="choosedestinationfolder">
4936 <template name="page"/>
4937
4938 <template name="statusbar"/>
4939
4940 <text style="text_m">
4941 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004942 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004943 </text>
4944
4945 <fileselector>
4946 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4947 <text>%tw_file_location2%</text>
4948 <filter folders="1" files="0"/>
4949 <path name="tw_file_location2" default="/"/>
4950 <data name="tw_filename2"/>
4951 <selection name="tw_selection2"/>
4952 </fileselector>
4953
4954 <button>
4955 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4956 <highlight color="%highlight_color%"/>
4957 <image resource="q_btn_folder"/>
4958 <actions>
4959 <action function="set">tw_fm_text2=to</action>
4960 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4961 <action function="set">tw_include_text3=1</action>
4962 <action function="set">tw_back=filemanageroptions</action>
4963 <action function="page">filemanagerconfirm</action>
4964 </actions>
4965 </button>
4966
4967 <action>
4968 <touch key="home"/>
4969 <action function="page">main</action>
4970 </action>
4971
4972 <action>
4973 <touch key="back"/>
4974 <action function="page">filemanageroptions</action>
4975 </action>
4976 </page>
4977
4978 <page name="filemanagerrenamefile">
4979 <template name="page"/>
4980
4981 <template name="statusbar"/>
4982
4983 <text style="text_m">
4984 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004985 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004986 </text>
4987
4988 <text style="text_m_accent">
4989 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004990 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004991 </text>
4992
4993 <input>
4994 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4995 <text>%tw_filemanager_rename%</text>
4996 <data name="tw_filemanager_rename"/>
4997 <restrict minlen="1" maxlen="128"/>
4998 <actions>
4999 <action function="set">tw_fm_text2=to</action>
5000 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5001 <action function="set">tw_include_text3=1</action>
5002 <action function="set">tw_back=filemanageroptions</action>
5003 <action function="page">filemanagerconfirm</action>
5004 </actions>
5005 </input>
5006
5007 <fill color="%accent_color%">
5008 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5009 </fill>
5010
5011 <button style="main_button_half_height">
5012 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005013 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005014 <action function="page">filemanageroptions</action>
5015 </button>
5016
5017 <template name="keyboardtemplate"/>
5018
5019 <action>
5020 <touch key="home"/>
5021 <action function="page">main</action>
5022 </action>
5023
5024 <action>
5025 <touch key="back"/>
5026 <action function="page">filemanageroptions</action>
5027 </action>
5028 </page>
5029
5030 <page name="filemanagerrenamefolder">
5031 <template name="page"/>
5032
5033 <template name="statusbar"/>
5034
5035 <text style="text_m">
5036 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005037 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005038 </text>
5039
5040 <text style="text_m_accent">
5041 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005042 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005043 </text>
5044
5045 <input>
5046 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5047 <text>%tw_filemanager_rename%</text>
5048 <data name="tw_filemanager_rename"/>
5049 <restrict minlen="1" maxlen="128"/>
5050 <actions>
5051 <action function="set">tw_fm_text2=to</action>
5052 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5053 <action function="set">tw_include_text3=1</action>
5054 <action function="set">tw_back=filemanageroptions</action>
5055 <action function="page">filemanagerconfirm</action>
5056 </actions>
5057 </input>
5058
5059 <fill color="%accent_color%">
5060 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5061 </fill>
5062
5063 <button style="main_button_half_height">
5064 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005065 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005066 <action function="page">filemanageroptions</action>
5067 </button>
5068
5069 <template name="keyboardtemplate"/>
5070
5071 <action>
5072 <touch key="home"/>
5073 <action function="page">main</action>
5074 </action>
5075
5076 <action>
5077 <touch key="back"/>
5078 <action function="page">filemanageroptions</action>
5079 </action>
5080 </page>
5081
5082 <page name="filemanagerchmod">
5083 <template name="page"/>
5084
5085 <template name="statusbar"/>
5086
5087 <text style="text_m">
5088 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005089 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005090 </text>
5091
5092 <text style="text_m_accent">
5093 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005094 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005095 </text>
5096
5097 <input>
5098 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5099 <text>%tw_filemanager_rename%</text>
5100 <data name="tw_filemanager_rename"/>
5101 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5102 <actions>
5103 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5104 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5105 <action function="set">tw_back=filemanageroptions</action>
5106 <action function="page">filemanagerconfirm</action>
5107 </actions>
5108 </input>
5109
5110 <fill color="%accent_color%">
5111 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5112 </fill>
5113
5114 <button style="main_button_half_height">
5115 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005116 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005117 <action function="page">filemanageroptions</action>
5118 </button>
5119
5120 <template name="keyboardtemplate"/>
5121
5122 <action>
5123 <touch key="home"/>
5124 <action function="page">main</action>
5125 </action>
5126
5127 <action>
5128 <touch key="back"/>
5129 <action function="page">filemanageroptions</action>
5130 </action>
5131 </page>
5132
5133 <page name="filemanagerconfirm">
5134 <template name="page"/>
5135
5136 <template name="statusbar"/>
5137
5138 <text style="text_m">
5139 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005140 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005141 </text>
5142
5143 <text style="text_m_accent">
5144 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5145 <text>%tw_fm_text1%</text>
5146 </text>
5147
5148 <text style="text_m">
5149 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5150 <text>%tw_filename1%</text>
5151 </text>
5152
5153 <text style="text_m_accent">
5154 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5155 <text>%tw_fm_text2%</text>
5156 </text>
5157
5158 <text style="text_m">
5159 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5160 <text>%tw_fm_text3%</text>
5161 </text>
5162
5163 <text style="text_m">
5164 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005165 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005166 </text>
5167
5168 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005169 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005170 <action function="page">filemanageraction</action>
5171 </slider>
5172
5173 <action>
5174 <touch key="back"/>
5175 <action function="page">%tw_back%</action>
5176 </action>
5177
5178 <action>
5179 <touch key="home"/>
5180 <action function="page">main</action>
5181 </action>
5182 </page>
5183
5184 <page name="filemanageraction">
5185 <template name="page"/>
5186
5187 <template name="statusbar"/>
5188
5189 <text style="text_m">
5190 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005191 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005192 </text>
5193
5194 <template name="console"/>
5195
5196 <template name="progress_bar"/>
5197
5198 <action>
5199 <conditions>
5200 <condition var1="tw_operation_state" var2="1"/>
5201 <condition var1="tw_operation_status" var2="0"/>
5202 </conditions>
5203 <actions>
5204 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005205 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005206 <action function="page">action_complete</action>
5207 </actions>
5208 </action>
5209
5210 <action>
5211 <conditions>
5212 <condition var1="tw_operation_state" var2="1"/>
5213 <condition var1="tw_operation_status" op="!=" var2="0"/>
5214 </conditions>
5215 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005216 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005217 <action function="page">action_complete</action>
5218 </actions>
5219 </action>
5220
5221 <action>
5222 <condition var1="tw_include_text3" var2="0"/>
5223 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5224 </action>
5225
5226 <action>
5227 <condition var1="tw_include_text3" var2="1"/>
5228 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5229 </action>
5230 </page>
5231
5232 <page name="decrypt">
5233 <template name="page"/>
5234
5235 <template name="statusbar"/>
5236
5237 <action>
5238 <condition var1="tw_crypto_pwtype" var2="2"/>
5239 <action function="page">decrypt_pattern</action>
5240 </action>
5241
5242 <text style="text_m">
5243 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005244 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005245 </text>
5246
5247 <text style="text_m_accent">
5248 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005249 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005250 </text>
5251
5252 <input>
5253 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5254 <text>%tw_crypto_display%</text>
5255 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5256 <restrict minlen="1" maxlen="254"/>
5257 <action function="page">trydecrypt</action>
5258 </input>
5259
5260 <fill color="%accent_color%">
5261 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5262 </fill>
5263
5264 <fill color="%text_fail_color%">
5265 <condition var1="tw_password_fail" var2="1"/>
5266 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5267 </fill>
5268
5269 <text style="text_m_fail">
5270 <condition var1="tw_password_fail" var2="1"/>
5271 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005272 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005273 </text>
5274
5275 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005276 <placement x="%col1_x_left%" y="%row4_y%"/>
5277 <text>{@sel_lang_btn=Select Language}</text>
5278 <action function="page">settings_language</action>
5279 </button>
5280
5281 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005282 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005283 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005284 <actions>
5285 <action function="set">tw_page_done=1</action>
5286 <action function="page">main</action>
5287 </actions>
5288 </button>
5289
5290 <template name="keyboardtemplate"/>
5291 </page>
5292
5293 <page name="decrypt_pattern">
5294 <template name="page"/>
5295
5296 <template name="statusbar"/>
5297
Aleksa Saraib25a1832015-12-31 17:36:00 +01005298 <action>
5299 <action function="set">tw_gui_pattern_grid_size=3</action>
5300 </action>
5301
z31s1g28f0a922015-11-07 18:50:22 +01005302 <text style="text_m">
5303 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005304 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005305 </text>
5306
5307 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005308 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005309 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005310 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005311 </text>
5312
Aleksa Saraib25a1832015-12-31 17:36:00 +01005313 <text style="text_m_fail">
5314 <condition var1="tw_password_fail" var2="1"/>
5315 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005316 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005317 </text>
5318
z31s1g28f0a922015-11-07 18:50:22 +01005319 <text style="text_m">
5320 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005321 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005322 </text>
5323
5324 <patternpassword>
5325 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005326 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5327 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5328 <data name="tw_crypto_password"/>
5329 <action function="page">trydecrypt</action>
5330 </patternpassword>
5331
5332 <fill color="#000000">
5333 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5334 </fill>
5335
5336 <button>
5337 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5338 <image resource="back"/>
5339 <condition var1="tw_busy" var2="0"/>
5340 <actions>
5341 <action function="set">tw_page_done=1</action>
5342 <action function="page">main</action>
5343 </actions>
5344 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005345
5346 <button>
5347 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5348 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5349 <image resource="grid_less"/>
5350 <action function="set">tw_gui_pattern_grid_size=3</action>
5351 </button>
5352
5353 <button>
5354 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5355 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5356 <image resource="grid_less"/>
5357 <action function="set">tw_gui_pattern_grid_size=3</action>
5358 </button>
5359
5360 <button>
5361 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5362 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5363 <image resource="grid_less"/>
5364 <action function="set">tw_gui_pattern_grid_size=4</action>
5365 </button>
5366
5367 <button>
5368 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5369 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5370 <image resource="grid_less"/>
5371 <action function="set">tw_gui_pattern_grid_size=5</action>
5372 </button>
5373
5374 <button>
5375 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5376 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5377 <image resource="grid_more"/>
5378 <action function="set">tw_gui_pattern_grid_size=4</action>
5379 </button>
5380
5381 <button>
5382 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5383 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5384 <image resource="grid_more"/>
5385 <action function="set">tw_gui_pattern_grid_size=5</action>
5386 </button>
5387
5388 <button>
5389 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5390 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5391 <image resource="grid_more"/>
5392 <action function="set">tw_gui_pattern_grid_size=6</action>
5393 </button>
5394
5395 <button>
5396 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5397 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5398 <image resource="grid_more"/>
5399 <action function="set">tw_gui_pattern_grid_size=6</action>
5400 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005401 </page>
5402
5403 <page name="trydecrypt">
5404 <template name="page"/>
5405
5406 <template name="statusbar"/>
5407
5408 <text style="text_m">
5409 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005410 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005411 </text>
5412
5413 <template name="console"/>
5414
5415 <template name="progress_bar"/>
5416
5417 <action>
5418 <action function="decrypt"/>
5419 </action>
5420
5421 <action>
5422 <conditions>
5423 <condition var1="tw_operation_state" var2="1"/>
5424 <condition var1="tw_operation_status" op="!=" var2="0"/>
5425 </conditions>
5426 <actions>
5427 <action function="set">tw_password_fail=1</action>
5428 <action function="page">decrypt</action>
5429 </actions>
5430 </action>
5431
5432 <action>
5433 <conditions>
5434 <condition var1="tw_operation_state" var2="1"/>
5435 <condition var1="tw_operation_status" op="=" var2="0"/>
5436 </conditions>
5437 <actions>
5438 <action function="set">tw_page_done=1</action>
5439 <action function="page">main</action>
5440 </actions>
5441 </action>
5442 </page>
5443
z31s1g28f0a922015-11-07 18:50:22 +01005444 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005445 <terminal>
5446 <condition var1="tw_hide_kb" var2="0"/>
5447 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5448 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005449
z31s1g56189522016-01-13 19:12:40 +01005450 <terminal>
5451 <condition var1="tw_hide_kb" var2="1"/>
5452 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5453 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005454
z31s1g56189522016-01-13 19:12:40 +01005455 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005456
5457 <template name="keyboardtemplate"/>
5458
z31s1g608d7ff2016-01-18 19:47:25 +01005459 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005460 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005461 </fill>
z31s1g56189522016-01-13 19:12:40 +01005462
z31s1g608d7ff2016-01-18 19:47:25 +01005463 <button>
z31s1g56189522016-01-13 19:12:40 +01005464 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5465 <image resource="back" />
5466 <condition var1="tw_busy" var2="0" />
5467 <actions>
5468 <action function="set">tw_hide_kb=0</action>
5469 <action function="key">back</action>
5470 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005471 </button>
z31s1g56189522016-01-13 19:12:40 +01005472
z31s1g608d7ff2016-01-18 19:47:25 +01005473 <button>
z31s1g56189522016-01-13 19:12:40 +01005474 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5475 <image resource="home" />
5476 <condition var1="tw_busy" var2="0" />
5477 <actions>
5478 <action function="set">tw_hide_kb=0</action>
5479 <action function="key">home</action>
5480 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005481 </button>
z31s1g56189522016-01-13 19:12:40 +01005482
z31s1g608d7ff2016-01-18 19:47:25 +01005483 <button>
z31s1g56189522016-01-13 19:12:40 +01005484 <condition var1="tw_hide_kb" var2="0"/>
5485 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5486 <image resource="kb_hide" />
5487 <condition var1="tw_busy" var2="0" />
5488 <actions>
5489 <action function="set">tw_hide_kb=1</action>
5490 <action function="page">terminalcommand</action>
5491 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005492 </button>
z31s1g56189522016-01-13 19:12:40 +01005493
z31s1g608d7ff2016-01-18 19:47:25 +01005494 <button>
z31s1g56189522016-01-13 19:12:40 +01005495 <condition var1="tw_hide_kb" var2="1"/>
5496 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5497 <image resource="kb_show" />
5498 <condition var1="tw_busy" var2="0" />
5499 <actions>
5500 <action function="set">tw_hide_kb=0</action>
5501 <action function="page">terminalcommand</action>
5502 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005503 </button>
z31s1g56189522016-01-13 19:12:40 +01005504
z31s1g28f0a922015-11-07 18:50:22 +01005505 <action>
5506 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005507 <actions>
5508 <action function="set">tw_hide_kb=0</action>
5509 <action function="page">main</action>
5510 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005511 </action>
5512
5513 <action>
5514 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005515 <actions>
5516 <action function="set">tw_hide_kb=0</action>
5517 <action function="page">advanced</action>
5518 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005519 </action>
z31s1g56189522016-01-13 19:12:40 +01005520
z31s1g608d7ff2016-01-18 19:47:25 +01005521 <action>
z31s1g56189522016-01-13 19:12:40 +01005522 <touch key="power+voldown" />
5523 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005524 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005525 </page>
5526
5527 <page name="sideload">
5528 <template name="page"/>
5529
5530 <template name="statusbar"/>
5531
5532 <text style="text_m">
5533 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005534 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005535 </text>
5536
5537 <text style="text_m_accent">
5538 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005539 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005540 </text>
5541
5542 <checkbox>
5543 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005544 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005545 <data variable="tw_wipe_dalvik"/>
5546 </checkbox>
5547
5548 <checkbox>
5549 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005550 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005551 <data variable="tw_wipe_cache"/>
5552 </checkbox>
5553
5554 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005555 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005556 <actions>
5557 <action function="set">tw_back=install_type</action>
5558 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005559 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5560 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5561 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005562 <action function="set">tw_has_cancel=1</action>
5563 <action function="set">tw_show_reboot=1</action>
5564 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5565 <action function="page">action_page</action>
5566 </actions>
5567 </slider>
5568
5569 <action>
5570 <touch key="home"/>
5571 <action function="page">main</action>
5572 </action>
5573
5574 <action>
5575 <touch key="back"/>
5576 <action function="page">install_type</action>
5577 </action>
5578 </page>
5579
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005580 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005581 <template name="page"/>
5582
5583 <template name="statusbar"/>
5584
5585 <text style="text_m">
5586 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005587 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005588 </text>
5589
5590 <text style="text_m_accent">
5591 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005592 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005593 </text>
5594
z31s1g28f0a922015-11-07 18:50:22 +01005595 <text style="text_m_fail">
5596 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005597 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005598 </text>
5599
5600 <text style="text_m_fail">
5601 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005602 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005603 </text>
5604
5605 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005606 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005607 <actions>
5608 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005609 <action function="set">tw_action=fixcontexts</action>
5610 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5611 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005612 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005613 <action function="set">tw_show_reboot=1</action>
5614 <action function="page">action_page</action>
5615 </actions>
5616 </slider>
5617
5618 <action>
5619 <touch key="home"/>
5620 <action function="page">main</action>
5621 </action>
5622
5623 <action>
5624 <touch key="back"/>
5625 <action function="page">advanced</action>
5626 </action>
5627 </page>
5628
z31s1g28f0a922015-11-07 18:50:22 +01005629 <page name="slideout">
5630 <fill color="%background_color%">
5631 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5632 </fill>
5633
5634 <console>
5635 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5636 </console>
5637
5638 <fill color="%fileselector_linecolor%">
5639 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5640 </fill>
5641
5642 <fill color="%fileselector_linecolor%">
5643 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5644 </fill>
5645
5646 <button>
5647 <fill color="%transparent%"/>
5648 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5649 <action function="overlay"/>
5650 </button>
5651
5652 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005653 <touch key="power"/>
5654 <action function="togglebacklight"/>
5655 </action>
5656
5657 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005658 <touch key="power+voldown"/>
5659 <action function="screenshot"/>
5660 </action>
5661 </page>
5662
5663 <page name="select_storage">
5664 <template name="page"/>
5665
5666 <template name="statusbar"/>
5667
5668 <text style="text_m">
5669 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5670 <text>%tw_storagetext%</text>
5671 </text>
5672
5673 <partitionlist style="partitionlist_headerless_rb">
5674 <data name="tw_storage_path"/>
5675 <listtype name="storage"/>
5676 </partitionlist>
5677
5678 <button>
5679 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5680 <highlight color="%highlight_color%"/>
5681 <image resource="q_btn_refresh"/>
5682 <actions>
5683 <action function="refreshsizes"/>
5684 <action function="page">select_storage</action>
5685 </actions>
5686 </button>
5687
5688 <button>
5689 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5690 <highlight color="%highlight_color%"/>
5691 <image resource="q_btn_accept"/>
5692 <actions>
5693 <action function="set">tw_clear_destination=%tw_back%</action>
5694 <action function="page">clear_vars</action>
5695 </actions>
5696 </button>
5697
5698 <action>
5699 <touch key="power+voldown"/>
5700 <action function="screenshot"/>
5701 </action>
5702 </page>
5703 </pages>
5704</recovery>