blob: 5312cf531fc9506b8f0b67a94d5c653e2c88d44e [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>
mauronofrio6d3bf892019-10-26 19:47:55 +0200401 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100402 <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">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100754 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100755 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500756 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100757 <actions>
758 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500759 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100760 </actions>
761 </button>
762
Chaosmaster7b66bf52020-02-07 20:33:43 +0100763 <button style="main_button_half_height">
764 <condition var1="tw_ab_device" var2="1"/>
765 <placement x="%col1_x_right%" y="%row13_y%"/>
766 <text>{@reboot_btn=Reboot}</text>
767 <actions>
768 <action function="set">tw_back=main2</action>
769 <action function="page">reboot</action>
770 </actions>
771 </button>
772
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action>
774 <touch key="back"/>
775 <actions>
776 <action function="set">tw_clear_destination=install_type</action>
777 <action function="page">clear_vars</action>
778 </actions>
779 </action>
780
781 <action>
782 <touch key="home"/>
783 <actions>
784 <action function="set">tw_clear_destination=main2</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500788
789 <action>
790 <conditions>
791 <condition var1="tw_install_reboot" var2="1"/>
792 <condition var1="tw_operation_status" var2="0"/>
793 <condition var1="tw_reboot_system" var2="1"/>
794 </conditions>
795 <actions>
796 <action function="set">tw_sleep=%tw_sleep_total%</action>
797 <action function="page">flash_sleep_and_reboot</action>
798 </actions>
799 </action>
800 </page>
801
802 <page name="flash_sleep_and_reboot">
803 <template name="page"/>
804
805 <template name="statusbar"/>
806
807 <text style="text_m">
808 <placement x="%col1_x_left%" y="%row1_header_y%"/>
809 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <button style="main_button_half_height">
817 <condition var1="tw_sleep" op="&gt;" var2="0"/>
818 <placement x="%col1_x_right%" y="%row13_y%"/>
819 <text>{@cancel_btn=Cancel}</text>
820 <actions>
821 <action function="set">tw_install_reboot=0</action>
822 <action function="page">flash_done</action>
823 </actions>
824 </button>
825
826 <action>
827 <conditions>
828 <condition var1="tw_sleep" var2="tw_sleep_total"/>
829 <condition var1="tw_install_reboot" var2="1"/>
830 </conditions>
831 <action function="sleepcounter">%tw_sleep_total%</action>
832 </action>
833
834 <action>
835 <conditions>
836 <condition var1="tw_sleep" var2="0"/>
837 <condition var1="tw_install_reboot" var2="1"/>
838 </conditions>
839 <actions>
840 <action function="sleep">50000</action>
841 <action function="set">tw_back=main2</action>
842 <action function="page">reboot_system_routine</action>
843 </actions>
844 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100845 </page>
846
847 <page name="flashimage_type">
848 <template name="page"/>
849
850 <template name="statusbar"/>
851
852 <text style="text_m">
853 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600854 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100855 </text>
856
857 <partitionlist style="partitionlist_headerless_rb">
858 <data name="tw_flash_partition"/>
859 <listtype name="flashimg"/>
860 </partitionlist>
861
862 <button>
863 <placement x="%col1_x_left%" y="%row11_y%"/>
864 <highlight color="%highlight_color%"/>
865 <image resource="q_btn_arrow_left"/>
866 <action function="page">install</action>
867 </button>
868
869 <button>
870 <placement x="%btn4_col4_x%" y="%row11_y%"/>
871 <highlight color="%highlight_color%"/>
872 <image resource="q_btn_accept_transp"/>
873 <action function="page">flashimage_confirm</action>
874 </button>
875
876 <action>
877 <touch key="back"/>
878 <action function="page">install</action>
879 </action>
880
881 <action>
882 <touch key="home"/>
883 <action function="page">main</action>
884 </action>
885 </page>
886
887 <page name="flashimage_confirm">
888 <template name="page"/>
889
890 <template name="statusbar"/>
891
892 <text style="text_m">
893 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500894 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100895 </text>
896
897 <text style="text_m_accent">
898 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <text style="text_m">
903 <placement x="%indent%" y="%row2_y%"/>
904 <text>%tw_file%</text>
905 </text>
906
907 <button>
908 <fill color="%transparent%"/>
909 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
910 <action function="page">install</action>
911 </button>
912
913 <text style="text_m_accent">
914 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500915 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100916 </text>
917
918 <text style="text_m">
919 <placement x="%indent%" y="%row5_y%"/>
920 <text>%tw_flash_partition%</text>
921 </text>
922
923 <button>
924 <fill color="%transparent%"/>
925 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
926 <action function="page">flashimage_type</action>
927 </button>
928
929 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500930 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100931 <actions>
932 <action function="set">tw_back=flashimage_confirm</action>
933 <action function="set">tw_action=flashimage</action>
934 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500935 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100936 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500937 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100938 <action function="page">action_page</action>
939 </actions>
940 <action function="flashimage"/>
941 </slider>
942
943 <action>
944 <touch key="back"/>
945 <actions>
946 <action function="set">tw_clear_destination=install</action>
947 <action function="page">clear_vars</action>
948 </actions>
949 </action>
950
951 <action>
952 <touch key="home"/>
953 <actions>
954 <action function="set">tw_clear_destination=main2</action>
955 <action function="page">clear_vars</action>
956 </actions>
957 </action>
958 </page>
959
960 <page name="clear_vars">
961 <action>
962 <action function="set">tw_operation_state=0</action>
963 <action function="set">tw_text1=</action>
964 <action function="set">tw_text2=</action>
965 <action function="set">tw_text3=</action>
966 <action function="set">tw_text4=</action>
967 <action function="set">tw_action_text1=</action>
968 <action function="set">tw_action_text2=</action>
969 <action function="set">tw_action_param=</action>
970 <action function="set">tw_has_action2=0</action>
971 <action function="set">tw_action2=</action>
972 <action function="set">tw_action2_param=</action>
973 <action function="set">tw_has_cancel=0</action>
974 <action function="set">tw_cancel_action=</action>
975 <action function="set">tw_cancel_param=</action>
976 <action function="set">tw_show_exclamation=0</action>
977 <action function="set">tw_show_reboot=0</action>
978 <action function="page">%tw_clear_destination%</action>
979 </action>
980 </page>
981
Matt Mower908dd252016-05-25 02:26:50 -0500982 <page name="reboot_system_routine">
983 <action>
984 <action function="set">tw_back=main2</action>
985 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500986 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500987 <action function="set">tw_has_action2=0</action>
988 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
989 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
990 <action function="set">tw_text3=</action>
991 <action function="set">tw_text4=</action>
992 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
993 <action function="set">tw_action_text2=</action>
994 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
995 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
996 <action function="page">rebootcheck</action>
997 </action>
998 </page>
999
z31s1g28f0a922015-11-07 18:50:22 +01001000 <page name="confirm_action">
1001 <template name="page"/>
1002
1003 <template name="statusbar"/>
1004
1005 <text style="text_m">
1006 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001008 </text>
1009
1010 <text style="text_m_accent">
1011 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1012 <text>%tw_text1%</text>
1013 </text>
1014
1015 <text style="text_m_accent">
1016 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1017 <text>%tw_text2%</text>
1018 </text>
1019
1020 <text style="text_m">
1021 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1022 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1023 <text>%tw_text3%</text>
1024 </text>
1025
1026 <text style="text_m">
1027 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1028 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1029 <text>%tw_text4%</text>
1030 </text>
1031
1032 <text style="text_m_fail">
1033 <condition var1="tw_action" var2="changefilesystem"/>
1034 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1035 <text>%tw_text3%</text>
1036 </text>
1037
1038 <text style="text_m_fail">
1039 <condition var1="tw_action" var2="changefilesystem"/>
1040 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1041 <text>%tw_text4%</text>
1042 </text>
1043
1044 <text style="text_m">
1045 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <slider>
1050 <text>%tw_slider_text%</text>
1051 <action function="page">action_page</action>
1052 </slider>
1053
1054 <action>
1055 <touch key="back"/>
1056 <actions>
1057 <action function="set">tw_clear_destination=%tw_back%</action>
1058 <action function="page">clear_vars</action>
1059 </actions>
1060 </action>
1061
1062 <action>
1063 <touch key="home"/>
1064 <action function="page">main</action>
1065 </action>
1066 </page>
1067
1068 <page name="action_page">
1069 <template name="page"/>
1070
1071 <template name="statusbar"/>
1072
1073 <text style="text_m">
1074 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1075 <text>%tw_action_text1% %tw_action_text2%</text>
1076 </text>
1077
1078 <template name="console"/>
1079
1080 <template name="progress_bar"/>
1081
1082 <button style="main_button_half_height">
1083 <condition var1="tw_has_cancel" var2="1"/>
1084 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1087 </button>
1088
1089 <action>
1090 <condition var1="tw_operation_state" var2="1"/>
1091 <actions>
1092 <action function="page">action_complete</action>
1093 </actions>
1094 </action>
1095
1096 <action>
1097 <condition var1="tw_has_action2" var2="0"/>
1098 <actions>
1099 <action function="%tw_action%">%tw_action_param%</action>
1100 </actions>
1101 </action>
1102
1103 <action>
1104 <condition var1="tw_has_action2" var2="1"/>
1105 <actions>
1106 <action function="%tw_action%">%tw_action_param%</action>
1107 <action function="%tw_action2%">%tw_action2_param%</action>
1108 </actions>
1109 </action>
1110 </page>
1111
1112 <page name="singleaction_page">
1113 <template name="page"/>
1114
1115 <template name="statusbar"/>
1116
1117 <text style="text_m">
1118 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1119 <text>%tw_action_text1% %tw_action_text2%</text>
1120 </text>
1121
1122 <template name="console"/>
1123
1124 <template name="progress_bar"/>
1125
1126 <action>
1127 <condition var1="tw_operation_state" var2="1"/>
1128 <actions>
1129 <action function="set">tw_page_done=1</action>
1130 </actions>
1131 </action>
1132
1133 <action>
1134 <condition var1="tw_has_action2" var2="0"/>
1135 <actions>
1136 <action function="%tw_action%">%tw_action_param%</action>
1137 </actions>
1138 </action>
1139
1140 <action>
1141 <condition var1="tw_has_action2" var2="1"/>
1142 <actions>
1143 <action function="%tw_action%">%tw_action_param%</action>
1144 <action function="%tw_action2%">%tw_action2_param%</action>
1145 </actions>
1146 </action>
1147 </page>
1148
1149 <page name="action_complete">
1150 <template name="page"/>
1151
1152 <template name="statusbar"/>
1153
1154 <text style="text_m_fail">
1155 <condition var1="tw_operation_status" op="!=" var2="0"/>
1156 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001158 </text>
1159
1160 <text style="text_m">
1161 <condition var1="tw_operation_status" var2="0"/>
1162 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <template name="console"/>
1167
1168 <button style="main_button_half_height">
1169 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 <actions>
1172 <action function="set">tw_clear_destination=%tw_back%</action>
1173 <action function="page">clear_vars</action>
1174 </actions>
1175 </button>
1176
1177 <button style="main_button_half_height">
1178 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 <actions>
1181 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001182 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001183 </actions>
1184 </button>
1185
1186 <action>
1187 <touch key="home"/>
1188 <actions>
1189 <action function="set">tw_clear_destination=main2</action>
1190 <action function="page">clear_vars</action>
1191 </actions>
1192 </action>
1193
1194 <action>
1195 <touch key="back"/>
1196 <actions>
1197 <action function="set">tw_clear_destination=%tw_back%</action>
1198 <action function="page">clear_vars</action>
1199 </actions>
1200 </action>
1201 </page>
1202
1203 <page name="filecheck">
1204 <action>
1205 <action function="fileexists">%tw_filecheck%</action>
1206 </action>
1207
1208 <action>
1209 <conditions>
1210 <condition var1="tw_operation_state" var2="1"/>
1211 <condition var1="tw_operation_status" var2="0"/>
1212 </conditions>
1213 <actions>
1214 <action function="set">tw_fileexists=1</action>
1215 <action function="page">%tw_existpage%</action>
1216 </actions>
1217 </action>
1218
1219 <action>
1220 <conditions>
1221 <condition var1="tw_operation_state" var2="1"/>
1222 <condition var1="tw_operation_status" var2="1"/>
1223 </conditions>
1224 <actions>
1225 <action function="set">tw_fileexists=0</action>
1226 <action function="page">%tw_notexistpage%</action>
1227 </actions>
1228 </action>
1229 </page>
1230
1231 <page name="rebootcheck">
1232 <action>
1233 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001234 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </action>
1236
1237 <action>
1238 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1239 <action function="page">confirm_action</action>
1240 </action>
1241 </page>
1242
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001243 <page name="appcheck">
1244 <action>
1245 <condition var1="tw_app_prompt" var2="1"/>
1246 <action function="checkforapp"></action>
1247 </action>
1248
1249 <action>
1250 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1251 <action function="reboot">%tw_reboot_param%</action>
1252 </action>
1253
1254 <action>
1255 <condition var1="tw_app_install_status" var2="1"/>
1256 <action function="page">rebootapp</action>
1257 </action>
1258
1259 <action>
1260 <condition var1="tw_app_install_status" var2="2"/>
1261 <action function="reboot">%tw_reboot_param%</action>
1262 </action>
1263 </page>
1264
z31s1g28f0a922015-11-07 18:50:22 +01001265 <page name="wipe_type1">
1266 <template name="page"/>
1267
1268 <template name="statusbar"/>
1269
1270 <text style="text_m">
1271 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <button style="main_button_full_width">
1276 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 <action function="page">wipe</action>
1279 </button>
1280
1281 <button style="main_button_full_width">
1282 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 <actions>
1285 <action function="set">partitionlisterror=0</action>
1286 <action function="page">advancedwipe</action>
1287 </actions>
1288 </button>
1289
1290 <button>
1291 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1292 <highlight color="%highlight_color%"/>
1293 <image resource="q_btn_arrow_right"/>
1294 <action function="page">wipe_type2</action>
1295 </button>
1296
1297 <action>
1298 <touch key="home"/>
1299 <action function="page">main</action>
1300 </action>
1301
1302 <action>
1303 <touch key="back"/>
1304 <action function="page">main</action>
1305 </action>
1306 </page>
1307
1308 <page name="wipe_type2">
1309 <template name="page"/>
1310
1311 <template name="statusbar"/>
1312
1313 <text style="text_m">
1314 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <button style="main_button_full_width">
1319 <condition var1="tw_has_data_media" var2="1"/>
1320 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="page">formatdata</action>
1323 </button>
1324
1325 <button style="main_button_full_width">
1326 <conditions>
1327 <condition var1="tw_is_encrypted" var2="1"/>
1328 <condition var1="tw_has_data_media" var2="0"/>
1329 </conditions>
1330 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 <actions>
1333 <action function="set">tw_back=wipe</action>
1334 <action function="set">tw_action=wipe</action>
1335 <action function="set">tw_action_param=DATAMEDIA</action>
1336 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1340 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1341 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="page">confirm_action</action>
1343 </actions>
1344 </button>
1345
1346 <button style="main_button_full_width">
1347 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <action function="set">partitionlisterror=0</action>
1350 <action function="page">partitionoptions_select</action>
1351 </actions>
1352 </button>
1353
1354 <button>
1355 <placement x="%col1_x_left%" y="%row11_y%"/>
1356 <highlight color="%highlight_color%"/>
1357 <image resource="q_btn_arrow_left"/>
1358 <action function="page">wipe_type1</action>
1359 </button>
1360
1361 <action>
1362 <touch key="home"/>
1363 <action function="page">main</action>
1364 </action>
1365
1366 <action>
1367 <touch key="back"/>
1368 <action function="page">main</action>
1369 </action>
1370 </page>
1371
1372 <page name="wipe">
1373 <template name="page"/>
1374
1375 <template name="statusbar"/>
1376
1377 <text style="text_m">
1378 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m_accent">
1383 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001385 </text>
1386
1387 <text style="text_m_accent">
Noah Jacobson0b25b1d2019-04-28 00:10:07 -04001388 <condition var1="tw_has_data_media" var2="1"/>
bigbiffadc599e2020-05-28 19:36:30 +00001389 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001391 </text>
1392
1393 <text style="text_m_accent">
1394 <conditions>
1395 <condition var1="tw_has_android_secure" var2="1"/>
1396 <condition var1="fileexists" var2="/and-sec"/>
1397 </conditions>
1398 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m_accent">
1403 <condition var1="tw_has_sdext_partition" var2="1"/>
1404 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001406 </text>
1407
1408 <text style="text_m">
1409 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m">
1414 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m">
1419 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 <actions>
1426 <action function="set">tw_back=wipe</action>
1427 <action function="set">tw_action=wipe</action>
1428 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1430 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001431 <action function="page">action_page</action>
1432 </actions>
1433 </slider>
1434
1435 <action>
1436 <touch key="back"/>
1437 <action function="page">wipe_type1</action>
1438 </action>
1439
1440 <action>
1441 <touch key="home"/>
1442 <action function="page">main</action>
1443 </action>
1444 </page>
1445
1446 <page name="advancedwipe">
1447 <action>
1448 <action function="set">tw_wipe_list=</action>
1449 </action>
1450
1451 <template name="page"/>
1452
1453 <template name="statusbar"/>
1454
1455 <text style="text_m">
1456 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <partitionlist style="partitionlist_headerless_cb">
1461 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1462 <data name="tw_wipe_list"/>
1463 <listtype name="wipe"/>
1464 </partitionlist>
1465
1466 <fill color="%accent_color%">
1467 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1468 </fill>
1469
1470 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001472 <actions>
1473 <action function="set">tw_back=advancedwipe</action>
1474 <action function="set">tw_action=wipe</action>
1475 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001476 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1477 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1478 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <action function="page">action_page</action>
1480 </actions>
1481 </slider>
1482
1483 <action>
1484 <touch key="home"/>
1485 <action function="page">main</action>
1486 </action>
1487
1488 <action>
1489 <touch key="back"/>
1490 <action function="page">wipe_type1</action>
1491 </action>
1492 </page>
1493
1494 <page name="formatdata">
1495 <template name="page"/>
1496
1497 <template name="statusbar"/>
1498
1499 <text style="text_m">
1500 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m_fail">
1505 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_fail">
1510 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <text style="text_m">
1515 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001516 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001517 </text>
1518
1519 <input>
1520 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1521 <text>%tw_confirm_formatdata%</text>
1522 <data name="tw_confirm_formatdata"/>
1523 <restrict minlen="3" maxlen="3" allow="yes"/>
1524 <action function="page">formatdata_confirm</action>
1525 </input>
1526
1527 <fill color="%accent_color%">
1528 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1529 </fill>
1530
1531 <template name="keyboardtemplate"/>
1532
1533 <action>
1534 <touch key="home"/>
1535 <action function="page">main</action>
1536 </action>
1537
1538 <action>
1539 <touch key="back"/>
1540 <action function="page">wipe_type2</action>
1541 </action>
1542 </page>
1543
1544 <page name="formatdata_confirm">
1545 <action>
1546 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1547 <actions>
1548 <action function="set">tw_back=formatdata</action>
1549 <action function="set">tw_action=wipe</action>
1550 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1552 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">action_page</action>
1554 </actions>
1555 </action>
1556
1557 <action>
1558 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1559 <action function="page">formatdata</action>
1560 </action>
1561 </page>
1562
1563 <page name="checkpartitionlist">
1564 <action>
1565 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1566 <actions>
1567 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001568 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001569 <action function="page">partitionoptions</action>
1570 </actions>
1571 </action>
1572
1573 <action>
1574 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1575 <actions>
1576 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001577 <action function="page">partitionoptions_select</action>
1578 </actions>
1579 </action>
1580 </page>
1581
1582 <page name="partitionoptions_select">
1583 <action>
1584 <action function="set">tw_wipe_list=</action>
1585 </action>
1586
1587 <template name="page"/>
1588
1589 <template name="statusbar"/>
1590
1591 <text style="text_m">
1592 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001593 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001594 </text>
1595
1596 <partitionlist style="partitionlist_headerless_cb">
1597 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1598 <data name="tw_wipe_list"/>
1599 <listtype name="wipe"/>
1600 </partitionlist>
1601
1602 <fill color="%accent_color%">
1603 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1604 </fill>
1605
z31s1g28f0a922015-11-07 18:50:22 +01001606 <text style="text_m_fail">
1607 <condition var1="partitionlisterror" var2="1"/>
1608 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 </text>
1611
1612 <button>
1613 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1614 <highlight color="%highlight_color%"/>
1615 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001616 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001617 <action function="page">checkpartitionlist</action>
1618 </actions>
1619 </button>
1620
1621 <action>
1622 <touch key="home"/>
1623 <action function="page">main</action>
1624 </action>
1625
1626 <action>
1627 <touch key="back"/>
1628 <action function="page">wipe_type2</action>
1629 </action>
1630 </page>
1631
1632 <page name="partitionoptions">
1633
1634 <template name="page"/>
1635
1636 <template name="statusbar"/>
1637
1638 <text style="text_m">
1639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m_accent">
1644 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <text style="text_m_accent">
1649 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <text style="text_m">
1654 <condition var1="tw_partition_is_present" var2="1"/>
1655 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <condition var1="tw_partition_is_present" var2="0"/>
1661 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m">
1666 <condition var1="tw_partition_removable" var2="1"/>
1667 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <condition var1="tw_partition_removable" var2="0"/>
1673 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <text style="text_m">
1678 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 </text>
1681
1682 <text style="text_m">
1683 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 </text>
1686
1687 <text style="text_m">
1688 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 </text>
1691
1692 <text style="text_m">
1693 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001695 </text>
1696
1697 <button style="main_button">
1698 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1699 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 <actions>
1702 <action function="set">tw_back=partitionoptions</action>
1703 <action function="set">tw_action=resize</action>
1704 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1705 <action function="set">tw_has_action2=1</action>
1706 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001707 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1711 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1712 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <action function="page">confirm_action</action>
1714 </actions>
1715 </button>
1716
1717 <button style="main_button">
1718 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1719 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001720 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <actions>
1722 <action function="set">tw_back=partitionoptions</action>
1723 <action function="set">tw_action=repair</action>
1724 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1725 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1729 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1730 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="page">confirm_action</action>
1732 </actions>
1733 </button>
1734
1735 <button>
1736 <placement x="%col1_x_left%" y="%row11_y%"/>
1737 <highlight color="%highlight_color%"/>
1738 <image resource="q_btn_arrow_left"/>
1739 <action function="page">partitionoptions_select</action>
1740 </button>
1741
1742 <button style="main_button">
1743 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001744 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001745 <action function="page">selectfilesystem</action>
1746 </button>
1747
1748 <action>
1749 <touch key="home"/>
1750 <action function="page">main</action>
1751 </action>
1752
1753 <action>
1754 <touch key="back"/>
1755 <action function="page">partitionoptions_select</action>
1756 </action>
1757 </page>
1758
1759 <page name="refreshfilesystem">
1760 <action>
1761 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1762 <actions>
1763 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001764 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001765 <action function="page">selectfilesystem</action>
1766 </actions>
1767 </action>
1768
1769 <action>
1770 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1771 <actions>
1772 <action function="set">partitionlisterror=1</action>
1773 <action function="set">tw_wipe_list=</action>
1774 <action function="page">advancedwipe</action>
1775 </actions>
1776 </action>
1777 </page>
1778
1779 <page name="selectfilesystem">
1780 <template name="page"/>
1781
1782 <template name="statusbar"/>
1783
1784 <text style="text_m">
1785 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001787 </text>
1788
1789 <button style="main_button">
1790 <condition var1="tw_partition_ext" op="=" var2="1"/>
1791 <placement x="%col1_x_left%" y="%row1_y%"/>
1792 <text>EXT2</text>
1793 <actions>
1794 <action function="set">tw_back=refreshfilesystem</action>
1795 <action function="set">tw_action=changefilesystem</action>
1796 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1797 <action function="set">tw_action_new_file_system=ext2</action>
1798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001799 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1800 <action function="set">tw_text2=EXT2</action>
1801 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1802 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1803 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1804 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1805 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001806 <action function="page">confirm_action</action>
1807 </actions>
1808 </button>
1809
1810 <button style="main_button">
1811 <condition var1="tw_partition_ext" op="=" var2="1"/>
1812 <placement x="%col1_x_left%" y="%row6_y%"/>
1813 <text>EXT3</text>
1814 <actions>
1815 <action function="set">tw_back=refreshfilesystem</action>
1816 <action function="set">tw_action=changefilesystem</action>
1817 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1818 <action function="set">tw_action_new_file_system=ext3</action>
1819 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1821 <action function="set">tw_text2=EXT3</action>
1822 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1823 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1824 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1825 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1826 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">confirm_action</action>
1828 </actions>
1829 </button>
1830
1831 <button style="main_button">
1832 <condition var1="tw_partition_ext" op="=" var2="1"/>
1833 <placement x="%col1_x_left%" y="%row11_y%"/>
1834 <text>EXT4</text>
1835 <actions>
1836 <action function="set">tw_back=refreshfilesystem</action>
1837 <action function="set">tw_action=changefilesystem</action>
1838 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1839 <action function="set">tw_action_new_file_system=ext4</action>
1840 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1842 <action function="set">tw_text2=EXT4</action>
1843 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1844 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1845 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1846 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1847 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <action function="page">confirm_action</action>
1849 </actions>
1850 </button>
1851
1852 <button style="main_button">
1853 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1854 <placement x="%col1_x_right%" y="%row1_y%"/>
1855 <text>FAT</text>
1856 <actions>
1857 <action function="set">tw_back=refreshfilesystem</action>
1858 <action function="set">tw_action=changefilesystem</action>
1859 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1860 <action function="set">tw_action_new_file_system=vfat</action>
1861 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1863 <action function="set">tw_text2=FAT</action>
1864 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1865 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1866 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1867 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1868 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001869 <action function="page">confirm_action</action>
1870 </actions>
1871 </button>
1872
1873 <button style="main_button">
1874 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1875 <placement x="%col1_x_right%" y="%row6_y%"/>
1876 <text>exFAT</text>
1877 <actions>
1878 <action function="set">tw_back=refreshfilesystem</action>
1879 <action function="set">tw_action=changefilesystem</action>
1880 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1881 <action function="set">tw_action_new_file_system=exfat</action>
1882 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1884 <action function="set">tw_text2=exFAT</action>
1885 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1886 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1887 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1888 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1889 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001890 <action function="page">confirm_action</action>
1891 </actions>
1892 </button>
1893
1894 <button style="main_button">
1895 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1896 <placement x="%col1_x_right%" y="%row11_y%"/>
1897 <text>F2FS</text>
1898 <actions>
1899 <action function="set">tw_back=refreshfilesystem</action>
1900 <action function="set">tw_action=changefilesystem</action>
1901 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1902 <action function="set">tw_action_new_file_system=f2fs</action>
1903 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1905 <action function="set">tw_text2=F2FS</action>
1906 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1907 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1908 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1909 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1910 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001911 <action function="page">confirm_action</action>
1912 </actions>
1913 </button>
1914
1915 <action>
1916 <touch key="home"/>
1917 <action function="page">main</action>
1918 </action>
1919
1920 <action>
1921 <touch key="back"/>
1922 <action function="page">partitionoptions</action>
1923 </action>
1924 </page>
1925
bigbiffce8f83c2015-12-12 18:30:21 -05001926 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001927 <template name="page"/>
1928
1929 <template name="statusbar"/>
1930
1931 <text style="text_m">
1932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001934 </text>
1935
1936 <partitionlist style="partitionlist_headerless_rb">
1937 <data name="tw_storage_path"/>
1938 <listtype name="storage"/>
1939 </partitionlist>
1940
1941 <button>
1942 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1943 <highlight color="%highlight_color%"/>
1944 <image resource="q_btn_refresh"/>
1945 <actions>
1946 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001947 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001948 </actions>
1949 </button>
1950
1951 <button>
1952 <condition var1="tw_back" var2="backup_confirm"/>
1953 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1954 <highlight color="%highlight_color%"/>
1955 <image resource="q_btn_accept"/>
1956 <action function="page">backup_confirm</action>
1957 </button>
1958
1959 <button>
1960 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1961 <highlight color="%highlight_color%"/>
1962 <image resource="q_btn_arrow_right"/>
1963 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001964 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001965 <action function="page">backup_selectpartitions</action>
1966 </actions>
1967 </button>
1968
1969 <action>
1970 <touch key="home"/>
1971 <action function="page">main</action>
1972 </action>
1973
1974 <action>
1975 <touch key="back"/>
1976 <action function="page">%tw_back%</action>
1977 </action>
1978
1979 <action>
1980 <touch key="power+voldown"/>
1981 <action function="screenshot"/>
1982 </action>
1983 </page>
1984
1985 <page name="backup_selectpartitions">
1986 <template name="page"/>
1987
1988 <template name="statusbar"/>
1989
1990 <text style="text_m">
1991 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001992 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001993 </text>
1994
1995 <partitionlist style="partitionlist_headerless_cb">
1996 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1997 <data name="tw_backup_list"/>
1998 <listtype name="backup"/>
1999 </partitionlist>
2000
2001 <fill color="%accent_color%">
2002 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2003 </fill>
2004
2005 <button>
2006 <placement x="%col1_x_left%" y="%row11_y%"/>
2007 <highlight color="%highlight_color%"/>
2008 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002009 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002010 </button>
2011
2012 <button>
2013 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2014 <highlight color="%highlight_color%"/>
2015 <image resource="q_btn_refresh"/>
2016 <action function="page">backup_selectpartitions</action>
2017 </button>
2018
2019 <button>
2020 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2021 <highlight color="%highlight_color%"/>
2022 <image resource="q_btn_accept"/>
2023 <action function="page">backup_confirm</action>
2024 </button>
2025
2026 <button>
2027 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2028 <highlight color="%highlight_color%"/>
2029 <image resource="q_btn_arrow_right"/>
2030 <actions>
2031 <action function="set">tw_back=backup_selectpartitions</action>
2032 <action function="page">backup_options</action>
2033 </actions>
2034 </button>
2035
2036 <action>
2037 <touch key="home"/>
2038 <action function="page">main</action>
2039 </action>
2040
2041 <action>
2042 <touch key="back"/>
2043 <action function="page">%tw_back%</action>
2044 </action>
2045
2046 <action>
2047 <touch key="power+voldown"/>
2048 <action function="screenshot"/>
2049 </action>
2050 </page>
2051
2052 <page name="backup_options">
2053 <template name="page"/>
2054
2055 <template name="statusbar"/>
2056
2057 <text style="text_m">
2058 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <listbox style="scrolllist">
2063 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002065 <data variable="tw_use_compression"/>
2066 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002067 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2068 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002069 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002070 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002071 <data variable="tw_disable_free_space"/>
2072 </listitem>
2073 </listbox>
2074
2075 <button>
2076 <placement x="%col1_x_left%" y="%row11_y%"/>
2077 <highlight color="%highlight_color%"/>
2078 <image resource="q_btn_arrow_left"/>
2079 <action function="page">backup_selectpartitions</action>
2080 </button>
2081
2082 <button>
2083 <conditions>
2084 <condition var1="tw_include_encrypted_backup" var2="1"/>
2085 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002086 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002087 </conditions>
2088 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2089 <highlight color="%highlight_color%"/>
2090 <image resource="q_btn_encryption_dis"/>
2091 <actions>
2092 <action function="set">tw_password_not_match=0</action>
2093 <action function="set">tw_back=backup_options</action>
2094 <action function="page">backupencryption</action>
2095 </actions>
2096 </button>
2097
2098 <button>
2099 <conditions>
2100 <condition var1="tw_include_encrypted_backup" var2="1"/>
2101 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002102 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002103 </conditions>
2104 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2105 <highlight color="%highlight_color%"/>
2106 <image resource="q_btn_encryption_en"/>
2107 <actions>
2108 <action function="set">tw_password_not_match=0</action>
2109 <action function="set">tw_back=backup_options</action>
2110 <action function="page">backupencryption</action>
2111 </actions>
2112 </button>
2113
2114 <button>
2115 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2116 <highlight color="%highlight_color%"/>
2117 <image resource="q_btn_accept_transp"/>
2118 <actions>
2119 <action function="set">tw_back=backup_options</action>
2120 <action function="page">backup_confirm</action>
2121 </actions>
2122 </button>
2123
2124 <action>
2125 <touch key="home"/>
2126 <action function="page">main</action>
2127 </action>
2128
2129 <action>
2130 <touch key="back"/>
2131 <action function="page">%tw_back%</action>
2132 </action>
2133
2134 <action>
2135 <touch key="power+voldown"/>
2136 <action function="screenshot"/>
2137 </action>
2138 </page>
2139
2140 <page name="backup_confirm">
2141 <template name="page"/>
2142
2143 <template name="statusbar"/>
2144
2145 <text style="text_m">
2146 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002147 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m_accent">
2151 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%col1_x_left%" y="%row2_y%"/>
2157 <text>%tw_backup_name%</text>
2158 </text>
2159
2160 <fill color="%accent_color%">
2161 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2162 </fill>
2163
2164 <button>
2165 <fill color="%transparent%"/>
2166 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2167 <actions>
2168 <action function="set">tw_back=backup_confirm</action>
2169 <action function="set">tw_fileexists=0</action>
2170 <action function="page">backup_name1</action>
2171 </actions>
2172 </button>
2173
2174 <fill color="%background_color%">
2175 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2176 </fill>
2177
2178 <text style="text_m_accent">
2179 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002181 </text>
2182
2183 <partitionlist style="partitionlist_summary">
2184 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2185 <data name="tw_backup_list"/>
2186 <listtype name="backup"/>
2187 </partitionlist>
2188
2189 <button>
2190 <fill color="%transparent%"/>
2191 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2192 <actions>
2193 <action function="set">tw_back=backup_confirm</action>
2194 <action function="page">backup_selectpartitions</action>
2195 </actions>
2196 </button>
2197
2198 <text style="text_m_accent">
2199 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002200 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002201 </text>
2202
2203 <text style="text_m">
2204 <placement x="%col1_x_right%" y="%row2_y%"/>
2205 <text>%tw_storage_display_name%</text>
2206 </text>
2207
2208 <button>
2209 <fill color="%transparent%"/>
2210 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2211 <actions>
2212 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002213 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </actions>
2215 </button>
2216
2217 <text style="text_m_accent">
2218 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 </text>
2221
2222 <text style="text_m">
2223 <conditions>
2224 <condition var1="tw_include_encrypted_backup" var2="1"/>
2225 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002226 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002227 </conditions>
2228 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <conditions>
2234 <condition var1="tw_include_encrypted_backup" var2="1"/>
2235 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002236 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </conditions>
2238 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <button>
2243 <fill color="%transparent%"/>
2244 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2245 <actions>
2246 <action function="set">tw_back=backup_confirm</action>
2247 <action function="page">backupencryption</action>
2248 </actions>
2249 </button>
2250
2251 <listbox style="listbox_options">
2252 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002254 <data variable="tw_use_compression"/>
2255 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002256 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2257 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002259 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002260 <data variable="tw_disable_free_space"/>
2261 </listitem>
2262 </listbox>
2263
2264 <text style="text_m_accent">
2265 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002267 </text>
2268
2269 <button>
2270 <fill color="%transparent%"/>
2271 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2272 <actions>
2273 <action function="set">tw_back=backup_confirm</action>
2274 <action function="page">backup_options</action>
2275 </actions>
2276 </button>
2277
2278 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 <action function="page">backup_run</action>
2281 </slider>
2282
2283 <action>
2284 <touch key="home"/>
2285 <action function="page">main</action>
2286 </action>
2287
2288 <action>
2289 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002290 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </action>
2292 </page>
2293
2294 <page name="backup_name1">
2295 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002297 <action function="generatebackupname"/>
2298 </action>
2299
2300 <action>
2301 <action function="page">backup_name2</action>
2302 </action>
2303 </page>
2304
2305 <page name="backup_name2">
2306 <template name="page"/>
2307
2308 <template name="statusbar"/>
2309
2310 <text style="text_m">
2311 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 </text>
2314
2315 <text style="text_m_accent">
2316 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <input>
2321 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2322 <text>%tw_backup_name%</text>
2323 <data name="tw_backup_name"/>
2324 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2325 <actions>
2326 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2327 <action function="set">tw_existpage=backup_name2</action>
2328 <action function="set">tw_notexistpage=backup_confirm</action>
2329 <action function="page">filecheck</action>
2330 </actions>
2331 </input>
2332
2333 <fill color="%accent_color%">
2334 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2335 </fill>
2336
2337 <fill color="%text_fail_color%">
2338 <condition var1="tw_fileexists" var2="1"/>
2339 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2340 </fill>
2341
2342 <text style="text_m_fail">
2343 <condition var1="tw_fileexists" var2="1"/>
2344 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <button style="main_button_half_height">
2349 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002350 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002351 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002353 <action function="page">backup_confirm</action>
2354 </actions>
2355 </button>
2356
2357 <button style="main_button_half_height">
2358 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 <action function="appenddatetobackupname"/>
2361 </button>
2362
2363 <template name="keyboardtemplate"/>
2364
2365 <action>
2366 <touch key="home"/>
2367 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002369 <action function="page">main</action>
2370 </actions>
2371 </action>
2372
2373 <action>
2374 <touch key="back"/>
2375 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <action function="page">backup_confirm</action>
2378 </actions>
2379 </action>
2380 </page>
2381
2382 <page name="backupencryption">
2383 <template name="page"/>
2384
2385 <template name="statusbar"/>
2386
2387 <text style="text_m">
2388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002389 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002390 </text>
2391
2392 <text style="text_m_accent">
2393 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 </text>
2396
2397 <input>
2398 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2399 <text>%tw_backup_encrypt_display%</text>
2400 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2401 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2402 <action function="page">backupencryption2</action>
2403 </input>
2404
2405 <fill color="%accent_color%">
2406 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2407 </fill>
2408
2409 <fill color="%text_fail_color%">
2410 <condition var1="tw_password_not_match" var2="1"/>
2411 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2412 </fill>
2413
2414 <text style="text_m_fail">
2415 <condition var1="tw_password_not_match" var2="1"/>
2416 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002418 </text>
2419
2420 <button style="main_button_half_height">
2421 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 <actions>
2424 <action function="set">tw_encrypt_backup=0</action>
2425 <action function="set">tw_backup_password=</action>
2426 <action function="set">tw_backup_password2=</action>
2427 <action function="set">tw_backup_encrypt_display=</action>
2428 <action function="set">tw_backup_encrypt_display2=</action>
2429 <action function="page">%tw_back%</action>
2430 </actions>
2431 </button>
2432
2433 <template name="keyboardtemplate"/>
2434
2435 <action>
2436 <touch key="home"/>
2437 <action function="page">main</action>
2438 </action>
2439
2440 <action>
2441 <touch key="back"/>
2442 <action function="page">%tw_back%</action>
2443 </action>
2444 </page>
2445
2446 <page name="backupencryption2">
2447 <template name="page"/>
2448
2449 <template name="statusbar"/>
2450
2451 <text style="text_m">
2452 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002453 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002454 </text>
2455
2456 <text style="text_m_accent">
2457 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <input>
2462 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2463 <text>%tw_backup_encrypt_display2%</text>
2464 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2465 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2466 <action function="page">checkbackuppassword</action>
2467 </input>
2468
2469 <fill color="%accent_color%">
2470 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2471 </fill>
2472
2473 <button style="main_button_half_height">
2474 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <actions>
2477 <action function="set">tw_encrypt_backup=0</action>
2478 <action function="set">tw_backup_password=</action>
2479 <action function="set">tw_backup_password2=</action>
2480 <action function="set">tw_backup_encrypt_display=</action>
2481 <action function="set">tw_backup_encrypt_display2=</action>
2482 <action function="page">%tw_back%</action>
2483 </actions>
2484 </button>
2485
2486 <template name="keyboardtemplate"/>
2487
2488 <action>
2489 <touch key="home"/>
2490 <action function="page">main</action>
2491 </action>
2492
2493 <action>
2494 <touch key="back"/>
2495 <action function="page">%tw_back%</action>
2496 </action>
2497 </page>
2498
2499 <page name="checkbackuppassword">
2500 <action>
2501 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2502 <actions>
2503 <action function="set">tw_encrypt_backup=1</action>
2504 <action function="page">%tw_back%</action>
2505 </actions>
2506 </action>
2507
2508 <action>
2509 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2510 <actions>
2511 <action function="set">tw_encrypt_backup=0</action>
2512 <action function="set">tw_password_not_match=1</action>
2513 <action function="set">tw_backup_password=</action>
2514 <action function="set">tw_backup_password2=</action>
2515 <action function="set">tw_backup_encrypt_display=</action>
2516 <action function="set">tw_backup_encrypt_display2=</action>
2517 <action function="page">backupencryption</action>
2518 </actions>
2519 </action>
2520 </page>
2521
2522 <page name="backup_run">
2523 <template name="page"/>
2524
2525 <template name="statusbar"/>
2526
2527 <text style="text_m">
2528 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2529 <text>%tw_operation% %tw_partition%</text>
2530 </text>
2531
2532 <template name="console"/>
2533
2534 <template name="progress_bar"/>
2535
2536 <text style="text_m">
2537 <placement x="%indent%" y="%row13a_y%"/>
2538 <text>%tw_file_progress%</text>
2539 </text>
2540
2541 <text style="text_m">
2542 <placement x="%indent%" y="%row14a_y%"/>
2543 <text>%tw_size_progress%</text>
2544 </text>
2545
2546 <button style="main_button_half_height">
2547 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <action function="cancelbackup"/>
2550 </button>
2551
2552 <action>
2553 <action function="nandroid">backup</action>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_operation_state" var2="1"/>
2558 <condition var1="tw_cancel_backup" var2="0"/>
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_complete=Backup Complete}</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
2567 <action>
2568 <condition var1="tw_operation_state" var2="1"/>
2569 <condition var1="tw_cancel_backup" var2="1"/>
2570 <actions>
2571 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002573 <action function="set">tw_show_reboot=1</action>
2574 <action function="page">action_complete</action>
2575 </actions>
2576 </action>
2577 </page>
2578
2579 <page name="restore">
2580 <template name="page"/>
2581
2582 <template name="statusbar"/>
2583
2584 <text style="text_m">
2585 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002586 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002587 </text>
2588
2589 <fileselector>
2590 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2591 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002592 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <path name="tw_backups_folder"/>
2594 <data name="tw_restore" default=""/>
2595 <selection name="tw_restore_name"/>
2596 </fileselector>
2597
2598 <button>
2599 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2600 <highlight color="%highlight_color%"/>
2601 <image resource="q_btn_storage"/>
2602 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002603 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002604 <action function="set">tw_back=restore</action>
2605 <action function="page">select_storage</action>
2606 </actions>
2607 </button>
2608
2609 <action>
2610 <condition var1="tw_restore" op="modified"/>
2611 <actions>
2612 <action function="readBackup"/>
2613 <action function="set">tw_back=restore</action>
2614 <action function="page">restore_read</action>
2615 </actions>
2616 </action>
2617
2618 <action>
2619 <touch key="home"/>
2620 <action function="page">main</action>
2621 </action>
2622
2623 <action>
2624 <touch key="back"/>
2625 <action function="page">main</action>
2626 </action>
2627 </page>
2628
2629 <page name="restore_read">
2630 <action>
2631 <condition var1="tw_restore_encrypted" var2="1"/>
2632 <actions>
2633 <action function="set">tw_password_fail=0</action>
2634 <action function="page">restore_decrypt</action>
2635 </actions>
2636 </action>
2637
2638 <action>
2639 <condition var1="tw_restore_encrypted" var2="0"/>
2640 <actions>
2641 <action function="page">restore_select</action>
2642 </actions>
2643 </action>
2644 </page>
2645
2646 <page name="restore_decrypt">
2647 <template name="page"/>
2648
2649 <template name="statusbar"/>
2650
2651 <text style="text_m">
2652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 </text>
2655
2656 <text style="text_m_accent">
2657 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002658 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002659 </text>
2660
2661 <input>
2662 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2663 <text>%tw_restore_display%</text>
2664 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2665 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2666 <action function="page">try_restore_decrypt</action>
2667 </input>
2668
2669 <fill color="%accent_color%">
2670 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2671 </fill>
2672
2673 <fill color="%text_fail_color%">
2674 <condition var1="tw_password_fail" var2="1"/>
2675 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2676 </fill>
2677
2678 <text style="text_m_fail">
2679 <condition var1="tw_password_fail" var2="1"/>
2680 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002681 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002682 </text>
2683
2684 <button style="main_button_half_height">
2685 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002686 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002687 <actions>
2688 <action function="set">tw_page_done=1</action>
2689 <action function="page">restore</action>
2690 </actions>
2691 </button>
2692
2693 <button style="main_button_half_height">
2694 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002695 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002696 <actions>
2697 <action function="set">tw_back=restore</action>
2698 <action function="set">tw_action=cmd</action>
2699 <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 -05002700 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2701 <action function="set">tw_text2=%tw_restore_name%</action>
2702 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2703 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2704 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2705 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002706 <action function="page">confirm_action</action>
2707 </actions>
2708 </button>
2709
2710 <template name="keyboardtemplate"/>
2711
2712 <action>
2713 <touch key="home"/>
2714 <action function="page">main</action>
2715 </action>
2716
2717 <action>
2718 <touch key="back"/>
2719 <action function="page">restore</action>
2720 </action>
2721 </page>
2722
2723 <page name="try_restore_decrypt">
2724 <template name="page"/>
2725
2726 <template name="statusbar"/>
2727
2728 <text style="text_m">
2729 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002730 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002731 </text>
2732
2733 <template name="console"/>
2734
2735 <template name="progress_bar"/>
2736
2737 <action>
2738 <action function="decrypt_backup"/>
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_password_fail=1</action>
2748 <action function="page">restore_decrypt</action>
2749 </actions>
2750 </action>
2751
2752 <action>
2753 <conditions>
2754 <condition var1="tw_operation_state" var2="1"/>
2755 <condition var1="tw_operation_status" op="=" var2="0"/>
2756 </conditions>
2757 <actions>
2758 <action function="set">tw_page_done=1</action>
2759 <action function="page">restore_select</action>
2760 </actions>
2761 </action>
2762 </page>
2763
2764 <page name="restore_select">
2765 <template name="page"/>
2766
2767 <template name="statusbar"/>
2768
2769 <text style="text_m">
2770 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002772 </text>
2773
2774 <partitionlist style="partitionlist_headerless_cb">
2775 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2776 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2777 <listtype name="restore"/>
2778 </partitionlist>
2779
2780 <fill color="%accent_color%">
2781 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2782 </fill>
2783
2784 <button>
2785 <placement x="%col1_x_left%" y="%row11_y%"/>
2786 <highlight color="%highlight_color%"/>
2787 <image resource="q_btn_arrow_left"/>
2788 <action function="page">restore</action>
2789 </button>
2790
2791 <button>
2792 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2793 <highlight color="%highlight_color%"/>
2794 <image resource="q_btn_delete"/>
2795 <actions>
2796 <action function="set">tw_back=restore</action>
2797 <action function="set">tw_action=cmd</action>
2798 <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 -05002799 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002800 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2802 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2803 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2804 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <action function="page">confirm_action</action>
2806 </actions>
2807 </button>
2808
2809 <button>
2810 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2811 <highlight color="%highlight_color%"/>
2812 <image resource="q_btn_accept"/>
2813 <action function="page">restore_confirm</action>
2814 </button>
2815
2816 <button>
2817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2818 <highlight color="%highlight_color%"/>
2819 <image resource="q_btn_arrow_right"/>
2820 <actions>
2821 <action function="set">tw_back=restore_select</action>
2822 <action function="page">restore_options</action>
2823 </actions>
2824 </button>
2825
2826 <action>
2827 <touch key="home"/>
2828 <action function="page">main</action>
2829 </action>
2830
2831 <action>
2832 <touch key="back"/>
2833 <action function="page">%tw_back%</action>
2834 </action>
2835 </page>
2836
2837 <page name="restore_options">
2838 <template name="page"/>
2839
2840 <template name="statusbar"/>
2841
2842 <text style="text_m">
2843 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002845 </text>
2846
2847 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002848 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002849 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002850 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2851 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002852 </listitem>
2853 </listbox>
2854
2855 <button>
2856 <placement x="%col1_x_left%" y="%row11_y%"/>
2857 <highlight color="%highlight_color%"/>
2858 <image resource="q_btn_arrow_left"/>
2859 <action function="page">restore_select</action>
2860 </button>
2861
2862 <button>
2863 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2864 <highlight color="%highlight_color%"/>
2865 <image resource="q_btn_accept_transp"/>
2866 <actions>
2867 <action function="set">tw_back=restore_options</action>
2868 <action function="page">restore_confirm</action>
2869 </actions>
2870 </button>
2871
2872 <action>
2873 <touch key="home"/>
2874 <action function="page">main</action>
2875 </action>
2876
2877 <action>
2878 <touch key="back"/>
2879 <action function="page">%tw_back%</action>
2880 </action>
2881
2882 <action>
2883 <touch key="power+voldown"/>
2884 <action function="screenshot"/>
2885 </action>
2886 </page>
2887
2888 <page name="renamebackup">
2889 <template name="page"/>
2890
2891 <template name="statusbar"/>
2892
2893 <text style="text_m">
2894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002896 </text>
2897
2898 <text style="text_m_accent">
2899 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002900 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002901 </text>
2902
2903 <input>
2904 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2905 <text>%tw_backup_rename%</text>
2906 <data name="tw_backup_rename"/>
2907 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2908 <actions>
2909 <action function="set">tw_back=restore</action>
2910 <action function="set">tw_action=cmd</action>
2911 <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 -05002912 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2913 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2914 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2915 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2916 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002917 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2918 <action function="set">tw_existpage=renamebackup</action>
2919 <action function="set">tw_notexistpage=confirm_action</action>
2920 <action function="page">filecheck</action>
2921 </actions>
2922 </input>
2923
2924 <fill color="%accent_color%">
2925 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2926 </fill>
2927
2928 <fill color="%text_fail_color%">
2929 <condition var1="tw_fileexists" var2="1"/>
2930 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2931 </fill>
2932
2933 <text style="text_m_fail">
2934 <condition var1="tw_fileexists" var2="1"/>
2935 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 </text>
2938
2939 <button style="main_button_half_height">
2940 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 <action function="page">restore_confirm</action>
2943 </button>
2944
2945 <template name="keyboardtemplate"/>
2946
2947 <action>
2948 <touch key="home"/>
2949 <action function="page">main</action>
2950 </action>
2951
2952 <action>
2953 <touch key="back"/>
2954 <action function="page">restore_confirm</action>
2955 </action>
2956 </page>
2957
2958 <page name="restore_confirm">
2959 <template name="page"/>
2960
2961 <template name="statusbar"/>
2962
2963 <text style="text_m">
2964 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 </text>
2967
2968 <text style="text_m_accent">
2969 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m">
2974 <placement x="%indent%" y="%row2_y%"/>
2975 <text>%tw_restore_name%</text>
2976 </text>
2977
2978 <fill color="%accent_color%">
2979 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2980 </fill>
2981
2982 <button>
2983 <fill color="%transparent%"/>
2984 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2985 <actions>
2986 <action function="set">tw_back=restore_confirm</action>
2987 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2988 <action function="set">tw_fileexists=0</action>
2989 <action function="page">renamebackup</action>
2990 </actions>
2991 </button>
2992
2993 <text style="text_m_accent">
2994 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
2998 <partitionlist style="partitionlist_summary">
2999 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3000 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3001 <listtype name="restore"/>
3002 </partitionlist>
3003
3004 <button>
3005 <fill color="%transparent%"/>
3006 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3007 <actions>
3008 <action function="set">tw_back=restore_confirm</action>
3009 <action function="page">restore_select</action>
3010 </actions>
3011 </button>
3012
3013 <listbox style="listbox_options">
3014 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003015 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3016 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003017 </listitem>
3018 </listbox>
3019
3020 <text style="text_m_accent">
3021 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 </text>
3024
3025 <button>
3026 <fill color="%transparent%"/>
3027 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3028 <actions>
3029 <action function="set">tw_back=restore_confirm</action>
3030 <action function="page">restore_options</action>
3031 </actions>
3032 </button>
3033
3034 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <action function="page">restore_run</action>
3037 </slider>
3038
3039 <action>
3040 <touch key="home"/>
3041 <action function="page">main</action>
3042 </action>
3043
3044 <action>
3045 <touch key="back"/>
3046 <action function="page">restore_options</action>
3047 </action>
3048 </page>
3049
3050 <page name="restore_run">
3051 <template name="page"/>
3052
3053 <template name="statusbar"/>
3054
3055 <text style="text_m">
3056 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3057 <text>%tw_operation% %tw_partition%</text>
3058 </text>
3059
3060 <template name="console"/>
3061
3062 <template name="progress_bar"/>
3063
3064 <text style="text_m">
3065 <placement x="%indent%" y="%row14a_y%"/>
3066 <text>%tw_size_progress%</text>
3067 </text>
3068
3069 <action>
3070 <condition var1="tw_operation_state" var2="1"/>
3071 <actions>
3072 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003073 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003074 <action function="set">tw_show_reboot=1</action>
3075 <action function="page">action_complete</action>
3076 </actions>
3077 </action>
3078
3079 <action>
3080 <action function="nandroid">restore</action>
3081 </action>
3082 </page>
3083
3084 <page name="mount">
3085 <template name="page"/>
3086
3087 <template name="statusbar"/>
3088
3089 <text style="text_m">
3090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 </text>
3093
3094 <partitionlist style="partitionlist_headerless_cb">
3095 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3096 <listtype name="mount"/>
3097 </partitionlist>
3098
3099 <fill color="%accent_color%">
3100 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3101 </fill>
3102
3103 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003104 <conditions>
3105 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3106 <condition var1="tw_is_super" op="=" var2="0"/>
3107 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003110 <image resource="checkbox_false"/>
3111 <action function="mountsystemtoggle">1</action>
3112 </button>
3113
3114 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003115 <conditions>
3116 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3117 <condition var1="tw_is_super" op="=" var2="0"/>
3118 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003119 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 <image resource="checkbox_true"/>
3122 <actions>
3123 <action function="set">tw_lifetime_writes=2</action>
3124 <action function="page">system_readonly_check</action>
3125 </actions>
3126 </button>
3127
3128 <button style="checkbox">
3129 <conditions>
3130 <condition var1="tw_has_mtp" var2="1"/>
3131 <condition var1="tw_mtp_enabled" var2="0"/>
3132 </conditions>
3133 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3134 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003136 <action function="startmtp"/>
3137 </button>
3138
3139 <button style="checkbox">
3140 <conditions>
3141 <condition var1="tw_has_mtp" var2="1"/>
3142 <condition var1="tw_mtp_enabled" var2="1"/>
3143 </conditions>
3144 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3145 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 <action function="stopmtp"/>
3148 </button>
3149
3150 <button>
3151 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3152 <highlight color="%highlight_color%"/>
3153 <image resource="q_btn_storage"/>
3154 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003155 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003156 <action function="set">tw_back=mount</action>
3157 <action function="page">select_storage</action>
3158 </actions>
3159 </button>
3160
3161 <button>
3162 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3163 <highlight color="%highlight_color%"/>
3164 <image resource="q_btn_arrow_right"/>
3165 <action function="page">mount_options</action>
3166 </button>
3167
3168 <action>
3169 <touch key="home"/>
3170 <action function="page">main</action>
3171 </action>
3172
3173 <action>
3174 <touch key="back"/>
3175 <action function="page">main</action>
3176 </action>
3177 </page>
3178
3179 <page name="mount_options">
3180 <template name="page"/>
3181
3182 <template name="statusbar"/>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 </text>
3188
3189 <button style="main_button_full_width">
3190 <condition var1="tw_has_usb_storage" var2="1"/>
3191 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003193 <action function="page">usb_mount</action>
3194 </button>
3195
3196 <button style="main_button_full_width">
3197 <conditions>
3198 <condition var1="tw_is_encrypted" var2="1"/>
3199 <condition var1="tw_is_decrypted" var2="0"/>
3200 </conditions>
3201 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="page">decrypt</action>
3204 </button>
3205
3206 <button>
3207 <placement x="%col1_x_left%" y="%row11_y%"/>
3208 <highlight color="%highlight_color%"/>
3209 <image resource="q_btn_arrow_left"/>
3210 <action function="page">mount</action>
3211 </button>
3212
3213 <action>
3214 <touch key="home"/>
3215 <action function="page">main</action>
3216 </action>
3217
3218 <action>
3219 <touch key="back"/>
3220 <action function="page">mount</action>
3221 </action>
3222 </page>
3223
3224 <page name="usb_mount">
3225 <template name="page"/>
3226
3227 <template name="statusbar"/>
3228
3229 <text style="text_m">
3230 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003231 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003232 </text>
3233
3234 <text style="text_m_accent">
3235 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003236 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003237 </text>
3238
3239 <text style="text_m_fail">
3240 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 </text>
3243
3244 <text style="text_m_fail">
3245 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003247 </text>
3248
3249 <button style="main_button">
3250 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003252 <action function="page">usb_umount</action>
3253 </button>
3254
3255 <action>
3256 <action function="mount">usb</action>
3257 <action function="set">tw_busy=1</action>
3258 </action>
3259 </page>
3260
3261 <page name="usb_umount">
3262 <action>
3263 <action function="unmount">usb</action>
3264 </action>
3265
3266 <action>
3267 <action function="page">mount_options</action>
3268 <action function="set">tw_busy=0</action>
3269 </action>
3270 </page>
3271
3272 <page name="system_readonly_check">
3273 <action>
3274 <action function="checkpartitionlifetimewrites">/system</action>
3275 </action>
3276
3277 <action>
3278 <condition var1="tw_lifetime_writes" var2="1"/>
3279 <actions>
3280 <action function="mountsystemtoggle">0</action>
3281 <action function="page">mount</action>
3282 </actions>
3283 </action>
3284
3285 <action>
3286 <condition var1="tw_lifetime_writes" var2="0"/>
3287 <actions>
3288 <action function="set">tw_back=mount</action>
3289 <action function="page">system_readonly</action>
3290 </actions>
3291 </action>
3292 </page>
3293
3294 <page name="reboot">
3295 <template name="page"/>
3296
3297 <template name="statusbar"/>
3298
3299 <text style="text_m">
3300 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003301 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003302 </text>
3303
3304 <button style="main_button">
3305 <condition var1="tw_reboot_system" var2="1"/>
3306 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003307 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003308 <actions>
3309 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003310 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </actions>
3312 </button>
3313
3314 <button style="main_button">
3315 <condition var1="tw_reboot_poweroff" var2="1"/>
3316 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 <actions>
3319 <action function="set">tw_back=reboot</action>
3320 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003321 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003322 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003324 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3325 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3326 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3327 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3328 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <action function="page">rebootcheck</action>
3330 </actions>
3331 </button>
3332
3333 <button style="main_button">
3334 <condition var1="tw_reboot_recovery" var2="1"/>
3335 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <actions>
3338 <action function="set">tw_back=reboot</action>
3339 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003340 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003341 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003342 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003343 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3344 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3345 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3346 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3347 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003348 <action function="page">rebootcheck</action>
3349 </actions>
3350 </button>
3351
3352 <button style="main_button">
3353 <condition var1="tw_reboot_bootloader" var2="1"/>
3354 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <actions>
3357 <action function="set">tw_back=reboot</action>
3358 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003359 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003360 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003362 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3363 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3364 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3365 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3366 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <action function="page">rebootcheck</action>
3368 </actions>
3369 </button>
3370
3371 <button style="main_button">
3372 <condition var1="tw_download_mode" var2="1"/>
3373 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003374 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003375 <actions>
3376 <action function="set">tw_back=reboot</action>
3377 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003378 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003379 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3382 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3383 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3384 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3385 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <action function="page">rebootcheck</action>
3387 </actions>
3388 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003389 <button style="main_button">
3390 <condition var1="tw_edl_mode" var2="1"/>
3391 <placement x="%col1_x_right%" y="%row11_y%"/>
3392 <text>{@rb_edl_btn=Edl}</text>
3393 <actions>
3394 <action function="set">tw_back=reboot</action>
3395 <action function="set">tw_action=reboot</action>
3396 <action function="set">tw_action_param=edl</action>
3397 <action function="set">tw_reboot_param=edl</action>
3398 <action function="set">tw_has_action2=0</action>
3399 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3400 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3401 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3402 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3403 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3404 <action function="page">rebootcheck</action>
3405 </actions>
3406 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003407
3408 <action>
3409 <touch key="home"/>
3410 <action function="page">main</action>
3411 </action>
3412
3413 <action>
3414 <touch key="back"/>
3415 <action function="page">main</action>
3416 </action>
3417 </page>
3418
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003419 <page name="rebootapp">
3420 <template name="page"/>
3421
3422 <template name="statusbar"/>
3423
3424 <text style="text_m">
3425 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3426 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3427 </text>
3428
3429 <text style="text_m_accent">
3430 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3431 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3432 </text>
3433
3434 <text style="text_m">
3435 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3436 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3437 </text>
3438
3439 <checkbox>
3440 <placement x="%indent%" y="%row3_y%"/>
3441 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3442 <data variable="tw_app_prompt"/>
3443 </checkbox>
3444
3445 <checkbox>
3446 <condition var1="tw_mount_system_ro" var2="0"/>
3447 <placement x="%indent%" y="%row5_y%"/>
3448 <text>{@reboot_install_app_system=Install as a System App}</text>
3449 <data variable="tw_app_install_system"/>
3450 </checkbox>
3451
3452 <button style="main_button_half_height">
3453 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003454 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003455 <action function="reboot">%tw_reboot_param%</action>
3456 </button>
3457
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003458 <action>
3459 <touch key="home"/>
3460 <actions>
3461 <action function="set">tw_app_install_status=0</action>
3462 <action function="page">main</action>
3463 </actions>
3464 </action>
3465
3466 <action>
3467 <touch key="back"/>
3468 <actions>
3469 <action function="set">tw_app_install_status=0</action>
3470 <action function="page">reboot</action>
3471 </actions>
3472 </action>
3473 </page>
3474
z31s1g28f0a922015-11-07 18:50:22 +01003475 <page name="system_readonly">
3476 <template name="page"/>
3477
3478 <template name="statusbar"/>
3479
3480 <text style="text_m">
3481 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003482 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003483 </text>
3484
3485 <text style="text_m_accent">
3486 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </text>
3489
3490 <text style="text_m">
3491 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </text>
3494
3495 <text style="text_m">
3496 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003497 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003498 </text>
3499
3500 <text style="text_m">
3501 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </text>
3504
3505 <text style="text_m">
3506 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003508 </text>
3509
3510 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003511 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003516 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 </text>
3519
z31s1g608d7ff2016-01-18 19:47:25 +01003520 <button style="main_button_half_height">
3521 <placement x="%col1_x_right%" y="%row8a_y%"/>
3522 <text>{@sel_lang_btn=Select Language}</text>
3523 <action function="page">settings_language</action>
3524 </button>
3525
z31s1g28f0a922015-11-07 18:50:22 +01003526 <checkbox>
3527 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003528 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003529 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003530 <data variable="tw_never_show_system_ro_page"/>
3531 </checkbox>
3532
3533 <button style="main_button_half_height">
3534 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <actions>
3537 <action function="mountsystemtoggle">1</action>
3538 <action function="set">tw_page_done=1</action>
3539 <action function="page">%tw_back%</action>
3540 </actions>
3541 </button>
3542
3543 <button style="main_button_half_height">
3544 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003545 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003546 <actions>
3547 <action function="mountsystemtoggle">0</action>
3548 <action function="set">tw_page_done=1</action>
3549 <action function="page">%tw_back%</action>
3550 </actions>
3551 </button>
3552 </page>
3553
3554 <page name="settings">
3555 <template name="page"/>
3556
3557 <template name="statusbar"/>
3558
3559 <text style="text_m">
3560 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <button style="main_button">
3565 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <action function="page">settings_general</action>
3568 </button>
3569
3570 <button style="main_button">
3571 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <action function="page">settings_timezone</action>
3574 </button>
3575
3576 <button style="main_button">
3577 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003578 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003579 <action function="page">settings_screen</action>
3580 </button>
3581
3582 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003583 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003584 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <action function="page">settings_vibration</action>
3587 </button>
3588
3589 <button style="main_button">
3590 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 <action function="page">settings_language</action>
3593 </button>
3594
3595 <button>
3596 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3597 <highlight color="%highlight_color%"/>
3598 <image resource="q_btn_reset"/>
3599 <action function="restoredefaultsettings"/>
3600 </button>
3601
3602 <action>
3603 <touch key="home"/>
3604 <action function="page">main</action>
3605 </action>
3606
3607 <action>
3608 <touch key="back"/>
3609 <action function="page">main3</action>
3610 </action>
3611 </page>
3612
3613 <page name="settings_general">
3614 <template name="page"/>
3615
3616 <template name="statusbar"/>
3617
3618 <text style="text_m">
3619 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 </text>
3622
3623 <listbox style="scrolllist">
3624 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003626 <data variable="tw_signed_zip_verify"/>
3627 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003628 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3629 <data variable="tw_install_reboot"/>
3630 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003632 <data variable="tw_rm_rf"/>
3633 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003634 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3635 <data variable="tw_disable_free_space"/>
3636 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003637 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3638 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003639 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003640 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3641 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003642 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003644 <data variable="tw_military_time"/>
3645 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003646 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3647 <data variable="tw_app_prompt"/>
3648 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003650 <data variable="tw_simulate_actions"/>
3651 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003652 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003653 <data variable="tw_simulate_fail"/>
3654 <condition var1="tw_simulate_actions" var2="1"/>
3655 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003656 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3657 <condition var1="tw_no_sha2" var2="0"/>
3658 <data variable="tw_use_sha2"/>
3659 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003660 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3661 <data variable="tw_unmount_system"/>
3662 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003663 </listbox>
3664
3665 <action>
3666 <touch key="home"/>
3667 <action function="page">main</action>
3668 </action>
3669
3670 <action>
3671 <touch key="back"/>
3672 <action function="page">settings</action>
3673 </action>
3674 </page>
3675
3676 <page name="settings_timezone">
3677 <template name="page"/>
3678
3679 <template name="statusbar"/>
3680
3681 <text style="text_m">
3682 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 </text>
3685
3686 <text color="%text_color%">
3687 <font resource="font_m"/>
3688 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3689 <text>%tw_time%</text>
3690 </text>
3691
3692 <listbox style="listbox_headerless">
3693 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3694 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3696 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3697 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3698 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3699 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3700 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3701 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3702 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3703 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3704 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3705 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3706 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3707 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3708 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3709 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3710 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3711 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3712 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3713 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3714 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3715 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3716 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3717 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3718 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </listbox>
3720
3721 <button>
3722 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3723 <highlight color="%highlight_color%"/>
3724 <image resource="q_btn_arrow_right"/>
3725 <actions>
3726 <action function="setguitimezone"/>
3727 <action function="page">settings_timezone2</action>
3728 </actions>
3729 </button>
3730
3731 <action>
3732 <condition var1="tw_time_zone_guisel" op="modified"/>
3733 <action function="setguitimezone"/>
3734 </action>
3735
3736 <action>
3737 <touch key="home"/>
3738 <actions>
3739 <action function="page">main</action>
3740 <action function="setguitimezone"/>
3741 </actions>
3742 </action>
3743
3744 <action>
3745 <touch key="back"/>
3746 <actions>
3747 <action function="page">settings</action>
3748 <action function="setguitimezone"/>
3749 </actions>
3750 </action>
3751
3752 <action>
3753 <touch key="power+voldown"/>
3754 <action function="screenshot"/>
3755 </action>
3756 </page>
3757
3758 <page name="settings_timezone2">
3759 <template name="page"/>
3760
3761 <template name="statusbar"/>
3762
3763 <text style="text_m">
3764 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003765 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003766 </text>
3767
3768 <text color="%text_color%">
3769 <font resource="font_m"/>
3770 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3771 <text>%tw_time%</text>
3772 </text>
3773
3774 <checkbox>
3775 <placement x="%col1_x_left%" y="%row1_y%"/>
3776 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003777 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003778 <data variable="tw_time_zone_guidst"/>
3779 <image checked="checkbox_true" unchecked="checkbox_false"/>
3780 </checkbox>
3781
3782 <text style="text_m_accent">
3783 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003785 </text>
3786
3787 <button style="main_button_quarter_width">
3788 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 <actions>
3791 <action function="set">tw_time_zone_guioffset=0</action>
3792 <action function="setguitimezone"/>
3793 </actions>
3794 </button>
3795
3796 <button style="main_button_quarter_width">
3797 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003798 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003799 <actions>
3800 <action function="set">tw_time_zone_guioffset=15</action>
3801 <action function="setguitimezone"/>
3802 </actions>
3803 </button>
3804
3805 <button style="main_button_quarter_width">
3806 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003807 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003808 <actions>
3809 <action function="set">tw_time_zone_guioffset=30</action>
3810 <action function="setguitimezone"/>
3811 </actions>
3812 </button>
3813
3814 <button style="main_button_quarter_width">
3815 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003816 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003817 <actions>
3818 <action function="set">tw_time_zone_guioffset=45</action>
3819 <action function="setguitimezone"/>
3820 </actions>
3821 </button>
3822
3823 <button>
3824 <placement x="%col1_x_left%" y="%row11_y%"/>
3825 <highlight color="%highlight_color%"/>
3826 <image resource="q_btn_arrow_left"/>
3827 <actions>
3828 <action function="setguitimezone"/>
3829 <action function="page">settings_timezone</action>
3830 </actions>
3831 </button>
3832
3833 <text style="text_m_accent">
3834 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003835 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003836 </text>
3837
3838 <text style="text_m">
3839 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3840 <text>%tw_time_zone%</text>
3841 </text>
3842
3843 <action>
3844 <condition var1="tw_time_zone_guidst" op="modified"/>
3845 <action function="setguitimezone"/>
3846 </action>
3847
3848 <action>
3849 <touch key="home"/>
3850 <actions>
3851 <action function="setguitimezone"/>
3852 <action function="page">main</action>
3853 </actions>
3854 </action>
3855
3856 <action>
3857 <touch key="back"/>
3858 <actions>
3859 <action function="setguitimezone"/>
3860 <action function="page">settings_timezone</action>
3861 </actions>
3862 </action>
3863 </page>
3864
3865 <page name="settings_screen">
3866 <template name="page"/>
3867
3868 <template name="statusbar"/>
3869
3870 <text style="text_m">
3871 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003873 </text>
3874
3875 <button style="checkbox">
3876 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3877 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3878 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <image resource="checkbox_false"/>
3881 <action function="set">tw_screen_timeout_secs=60</action>
3882 </button>
3883
3884 <button style="checkbox">
3885 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3886 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3887 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003888 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003889 <image resource="checkbox_true"/>
3890 <action function="set">tw_screen_timeout_secs=0</action>
3891 </button>
3892
3893 <slidervalue>
3894 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3895 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3898 </slidervalue>
3899
3900 <text style="text_m_fail">
3901 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3902 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003904 </text>
3905
3906 <button>
3907 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3908 <highlight color="%highlight_color%"/>
3909 <image resource="q_btn_arrow_right"/>
3910 <action function="page">settings_screen2</action>
3911 </button>
3912
3913 <action>
3914 <touch key="home"/>
3915 <action function="page">main</action>
3916 </action>
3917
3918 <action>
3919 <touch key="back"/>
3920 <action function="page">settings</action>
3921 </action>
3922 </page>
3923
3924 <page name="settings_screen2">
3925 <template name="page"/>
3926
3927 <template name="statusbar"/>
3928
3929 <text style="text_m">
3930 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <slidervalue>
3935 <condition var1="tw_has_brightnesss_file" var2="1"/>
3936 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 <data variable="tw_brightness_pct" min="10" max="100"/>
3939 <actions>
3940 <action function="set">tw_brightness=%tw_brightness_max%</action>
3941 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3942 <action function="compute">tw_brightness/100</action>
3943 <action function="setbrightness">%tw_brightness%</action>
3944 </actions>
3945 </slidervalue>
3946
3947 <text style="text_m_fail">
3948 <condition var1="tw_has_brightnesss_file" var2="0"/>
3949 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <button>
3954 <placement x="%col1_x_left%" y="%row11_y%"/>
3955 <highlight color="%highlight_color%"/>
3956 <image resource="q_btn_arrow_left"/>
3957 <action function="page">settings_screen</action>
3958 </button>
3959
3960 <action>
3961 <touch key="home"/>
3962 <action function="page">main</action>
3963 </action>
3964
3965 <action>
3966 <touch key="back"/>
3967 <action function="page">settings</action>
3968 </action>
3969 </page>
3970
3971 <page name="settings_vibration">
3972 <template name="page"/>
3973
3974 <template name="statusbar"/>
3975
3976 <text style="text_m">
3977 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003979 </text>
3980
3981 <slidervalue>
3982 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <data variable="tw_button_vibrate" min="0" max="300"/>
3985 </slidervalue>
3986
3987 <button>
3988 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3989 <highlight color="%highlight_color%"/>
3990 <image resource="q_btn_arrow_right"/>
3991 <action function="page">settings_vibration2</action>
3992 </button>
3993
3994 <action>
3995 <touch key="home"/>
3996 <action function="page">main</action>
3997 </action>
3998
3999 <action>
4000 <touch key="back"/>
4001 <action function="page">settings</action>
4002 </action>
4003 </page>
4004
4005 <page name="settings_vibration2">
4006 <template name="page"/>
4007
4008 <template name="statusbar"/>
4009
4010 <text style="text_m">
4011 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <slidervalue>
4016 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4019 </slidervalue>
4020
4021 <button>
4022 <placement x="%col1_x_left%" y="%row11_y%"/>
4023 <highlight color="%highlight_color%"/>
4024 <image resource="q_btn_arrow_left"/>
4025 <action function="page">settings_vibration</action>
4026 </button>
4027
4028 <button>
4029 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4030 <highlight color="%highlight_color%"/>
4031 <image resource="q_btn_arrow_right"/>
4032 <action function="page">settings_vibration3</action>
4033 </button>
4034
4035 <action>
4036 <touch key="home"/>
4037 <action function="page">main</action>
4038 </action>
4039
4040 <action>
4041 <touch key="back"/>
4042 <action function="page">settings</action>
4043 </action>
4044 </page>
4045
4046 <page name="settings_vibration3">
4047 <template name="page"/>
4048
4049 <template name="statusbar"/>
4050
4051 <text style="text_m">
4052 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <slidervalue>
4057 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <data variable="tw_action_vibrate" min="0" max="500"/>
4060 </slidervalue>
4061
4062 <button>
4063 <placement x="%col1_x_left%" y="%row11_y%"/>
4064 <highlight color="%highlight_color%"/>
4065 <image resource="q_btn_arrow_left"/>
4066 <action function="page">settings_vibration2</action>
4067 </button>
4068
4069 <action>
4070 <touch key="home"/>
4071 <action function="page">main</action>
4072 </action>
4073
4074 <action>
4075 <touch key="back"/>
4076 <action function="page">settings</action>
4077 </action>
4078 </page>
4079
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <page name="settings_language">
4081 <template name="page"/>
4082
4083 <template name="statusbar"/>
4084
4085 <text style="text_m">
4086 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4087 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4088 </text>
4089
z31s1g608d7ff2016-01-18 19:47:25 +01004090 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4092 <icon selected="radio_true" unselected="radio_false" />
4093 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004094 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095
4096 <button>
4097 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4098 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004099 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004100 <action function="setlanguage"></action>
4101 </button>
4102
z31s1g608d7ff2016-01-18 19:47:25 +01004103 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004104 <touch key="home" />
4105 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004106 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107
z31s1g608d7ff2016-01-18 19:47:25 +01004108 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <touch key="back" />
4110 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004111 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 </page>
4113
z31s1g28f0a922015-11-07 18:50:22 +01004114 <page name="advanced">
4115 <template name="page"/>
4116
4117 <template name="statusbar"/>
4118
4119 <text style="text_m">
4120 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004121 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </text>
4123
4124 <button style="main_button">
4125 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004126 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004127 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004128 </button>
4129
4130 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004131 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004132 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004133 <text>{@fix_context_btn=Fix Contexts}</text>
4134 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004135 </button>
4136
Ethan Yonker64e0a652018-07-25 09:52:17 -05004137 <button>
4138 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4139 <highlight color="%highlight_color%"/>
4140 <image resource="q_btn_arrow_right"/>
4141 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </button>
4143
Ethan Yonker64e0a652018-07-25 09:52:17 -05004144 <action>
4145 <touch key="home"/>
4146 <action function="page">main</action>
4147 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004148
Ethan Yonker64e0a652018-07-25 09:52:17 -05004149 <action>
4150 <touch key="back"/>
4151 <action function="page">main3</action>
4152 </action>
4153 </page>
4154
4155 <page name="advanced2">
4156 <template name="page"/>
4157
4158 <template name="statusbar"/>
4159
4160 <text style="text_m">
4161 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4162 <text>{@advanced_hdr=Advanced}</text>
4163 </text>
4164
4165 <listbox style="advanced_listbox">
4166 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4167 <listitem name="{@reload_theme_btn=Reload Theme}">
4168 <action function="reload"/>
4169 </listitem>
4170 <listitem name="{@part_sd_btn=Partition SD Card}">
4171 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4172 <actions>
4173 <action function="set">partitionlisterror=0</action>
4174 <action function="page">partsdcardsel</action>
4175 </actions>
4176 </listitem>
4177 <listitem name="{@dumlock_btn=HTC Dumlock}">
4178 <condition var1="tw_show_dumlock" var2="1"/>
4179 <action function="page">htcdumlock</action>
4180 </listitem>
4181 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4182 <condition var1="tw_has_injecttwrp" var2="1"/>
4183 <actions>
4184 <action function="set">tw_back=advanced</action>
4185 <action function="set">tw_action=reinjecttwrp</action>
4186 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4187 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4188 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4189 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4190 <action function="page">confirm_action</action>
4191 </actions>
4192 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004193 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4194 <conditions>
4195 <condition var1="tw_has_boot_slots" var2="1"/>
4196 <condition var1="tw_has_repack_tools" var2="1"/>
4197 </conditions>
4198 <actions>
4199 <action function="set">tw_repack_kernel=0</action>
4200 <action function="page">repackselect</action>
4201 </actions>
4202 </listitem>
4203 <listitem name="{@install_kernel=Install Kernel}">
4204 <conditions>
4205 <condition var1="tw_has_boot_slots" var2="1"/>
4206 <condition var1="tw_has_repack_tools" var2="1"/>
4207 </conditions>
4208 <actions>
4209 <action function="set">tw_repack_kernel=1</action>
4210 <action function="page">repackselect</action>
4211 </actions>
4212 </listitem>
4213 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4214 <conditions>
4215 <condition var1="tw_has_boot_slots" var2="1"/>
4216 <condition var1="tw_has_repack_tools" var2="1"/>
4217 </conditions>
4218 <actions>
4219 <action function="set">tw_back=advanced</action>
4220 <action function="set">tw_action=fixabrecoverybootloop</action>
4221 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4222 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4223 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4224 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4225 <action function="page">confirm_action</action>
4226 </actions>
4227 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004228 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4229 <condition var1="tw_app_installed_in_system" var2="1"/>
4230 <actions>
4231 <action function="set">tw_back=advanced</action>
4232 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4233 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4234 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4235 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4236 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4237 <action function="page">confirm_action</action>
4238 </actions>
4239 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004240 </listbox>
4241
4242 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004243 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004244 <highlight color="%highlight_color%"/>
4245 <image resource="q_btn_arrow_left"/>
4246 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004247 </button>
4248
4249 <action>
4250 <touch key="home"/>
4251 <action function="page">main</action>
4252 </action>
4253
4254 <action>
4255 <touch key="back"/>
4256 <action function="page">main3</action>
4257 </action>
4258 </page>
4259
Ethan Yonker483e9f42016-01-11 22:21:18 -06004260 <page name="partsdcardsel">
4261 <template name="page"/>
4262
4263 <template name="statusbar"/>
4264
4265 <text style="text_m">
4266 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4267 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4268 </text>
4269
4270 <partitionlist style="partitionlist_headerless_rb">
4271 <data name="tw_storage_path"/>
4272 <listtype name="storage"/>
4273 </partitionlist>
4274
4275 <text style="text_m_fail">
4276 <condition var1="partitionlisterror" var2="1"/>
4277 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4278 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4279 </text>
4280
4281 <button>
4282 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4283 <highlight color="%highlight_color%"/>
4284 <image resource="q_btn_refresh"/>
4285 <action function="refreshsizes"/>
4286 </button>
4287
4288 <button>
4289 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4290 <highlight color="%highlight_color%"/>
4291 <image resource="q_btn_accept"/>
4292 <actions>
4293 <action function="getpartitiondetails">tw_storage_path</action>
4294 <action function="page">partsdcardcheck</action>
4295 </actions>
4296 </button>
4297
4298 <action>
4299 <touch key="home"/>
4300 <action function="page">main</action>
4301 </action>
4302
4303 <action>
4304 <touch key="back"/>
4305 <action function="page">advanced</action>
4306 </action>
4307 </page>
4308
4309 <page name="partsdcardcheck">
4310 <action>
4311 <condition var1="tw_partition_removable" op="=" var2="1"/>
4312 <actions>
4313 <action function="set">partitionlisterror=0</action>
4314 <action function="page">partsdcard</action>
4315 </actions>
4316 </action>
4317
4318 <action>
4319 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4320 <actions>
4321 <action function="set">partitionlisterror=1</action>
4322 <action function="page">partsdcardsel</action>
4323 </actions>
4324 </action>
4325 </page>
4326
z31s1g28f0a922015-11-07 18:50:22 +01004327 <page name="partsdcard">
4328 <template name="page"/>
4329
4330 <template name="statusbar"/>
4331
4332 <text style="text_m">
4333 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004334 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004335 </text>
4336
4337 <text style="text_m_fail">
4338 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 </text>
4341
4342 <text style="text_m_fail">
4343 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 </text>
4346
4347 <text style="text_m_accent">
4348 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004349 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004350 </text>
4351
4352 <text style="text_m">
4353 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4354 <text>%tw_sdext_size%</text>
4355 </text>
4356
4357 <button style="main_button_quarter_width">
4358 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004360 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004361 </button>
4362
4363 <button style="main_button_quarter_width">
4364 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004365 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004366 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </button>
4368
4369 <button>
4370 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4371 <highlight color="%highlight_color%"/>
4372 <image resource="q_btn_arrow_right"/>
4373 <action function="page">partsdcard2</action>
4374 </button>
4375
4376 <action>
4377 <touch key="home"/>
4378 <action function="page">main</action>
4379 </action>
4380
4381 <action>
4382 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004383 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004384 </action>
4385 </page>
4386
4387 <page name="partsdcard2">
4388 <template name="page"/>
4389
4390 <template name="statusbar"/>
4391
4392 <text style="text_m">
4393 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004394 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004395 </text>
4396
4397 <text style="text_m_fail">
4398 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <text style="text_m_fail">
4403 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </text>
4406
4407 <text style="text_m_accent">
4408 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 </text>
4411
4412 <text style="text_m">
4413 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4414 <text>%tw_swap_size%</text>
4415 </text>
4416
4417 <button style="main_button_quarter_width">
4418 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004420 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </button>
4422
4423 <button style="main_button_quarter_width">
4424 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004426 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004427 </button>
4428
4429 <button>
4430 <placement x="%col1_x_left%" y="%row11_y%"/>
4431 <highlight color="%highlight_color%"/>
4432 <image resource="q_btn_arrow_left"/>
4433 <action function="page">partsdcard</action>
4434 </button>
4435
4436 <button>
4437 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4438 <highlight color="%highlight_color%"/>
4439 <image resource="q_btn_arrow_right"/>
4440 <action function="page">partsdcard3</action>
4441 </button>
4442
4443 <action>
4444 <touch key="home"/>
4445 <action function="page">main</action>
4446 </action>
4447
4448 <action>
4449 <touch key="back"/>
4450 <action function="page">advanced</action>
4451 </action>
4452 </page>
4453
4454 <page name="partsdcard3">
4455 <template name="page"/>
4456
4457 <template name="statusbar"/>
4458
4459 <text style="text_m">
4460 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m_fail">
4465 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <text style="text_m_fail">
4470 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004471 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004472 </text>
4473
4474 <text style="text_m_accent">
4475 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </text>
4478
4479 <text style="text_m">
4480 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4481 <text>%tw_sdpart_file_system%</text>
4482 </text>
4483
4484 <button style="main_button_quarter_width">
4485 <placement x="%indent%" y="%row6_y%"/>
4486 <text>EXT3</text>
4487 <action function="set">tw_sdpart_file_system=ext3</action>
4488 </button>
4489
4490 <button style="main_button_quarter_width">
4491 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4492 <text>EXT4</text>
4493 <action function="set">tw_sdpart_file_system=ext4</action>
4494 </button>
4495
4496 <button>
4497 <placement x="%col1_x_left%" y="%row11_y%"/>
4498 <highlight color="%highlight_color%"/>
4499 <image resource="q_btn_arrow_left"/>
4500 <action function="page">partsdcard2</action>
4501 </button>
4502
4503 <button>
4504 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4505 <highlight color="%highlight_color%"/>
4506 <image resource="q_btn_arrow_right"/>
4507 <action function="page">partsdcard_confirm</action>
4508 </button>
4509
4510 <action>
4511 <touch key="home"/>
4512 <action function="page">main</action>
4513 </action>
4514
4515 <action>
4516 <touch key="back"/>
4517 <action function="page">advanced</action>
4518 </action>
4519 </page>
4520
4521 <page name="partsdcard_confirm">
4522 <template name="page"/>
4523
4524 <template name="statusbar"/>
4525
4526 <text style="text_m">
4527 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 </text>
4530
4531 <text style="text_m_fail">
4532 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <text style="text_m_fail">
4537 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004538 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004539 </text>
4540
4541 <text style="text_m_accent">
4542 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m_accent">
4547 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
4551 <text style="text_m_accent">
4552 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004553 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 </text>
4555
4556 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004557 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004558 <action function="page">partsdcardaction</action>
4559 <actions>
4560 <action function="set">tw_back=partsdcard</action>
4561 <action function="set">tw_action=partitionsd</action>
4562 <action function="set">tw_has_action2=1</action>
4563 <action function="set">tw_action2=set</action>
4564 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004565 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4566 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4567 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004568 <action function="page">action_page</action>
4569 </actions>
4570 </slider>
4571
4572 <action>
4573 <touch key="home"/>
4574 <action function="page">main</action>
4575 </action>
4576
4577 <action>
4578 <touch key="back"/>
4579 <action function="page">advanced</action>
4580 </action>
4581 </page>
4582
4583 <page name="htcdumlock">
4584 <template name="page"/>
4585
4586 <template name="statusbar"/>
4587
4588 <text style="text_m">
4589 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004590 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004591 </text>
4592
4593 <button style="main_button_full_width">
4594 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004595 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004596 <actions>
4597 <action function="set">tw_back=htcdumlock</action>
4598 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004599 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4600 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4601 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4602 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004603 <action function="page">confirm_action</action>
4604 </actions>
4605 </button>
4606
4607 <button style="main_button_full_width">
4608 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 <actions>
4611 <action function="set">tw_back=htcdumlock</action>
4612 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4614 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4615 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4616 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004617 <action function="page">confirm_action</action>
4618 </actions>
4619 </button>
4620
4621 <button style="main_button_full_width">
4622 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 <actions>
4625 <action function="set">tw_back=htcdumlock</action>
4626 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4628 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4629 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4630 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004631 <action function="page">confirm_action</action>
4632 </actions>
4633 </button>
4634
4635 <action>
4636 <touch key="home"/>
4637 <action function="page">main</action>
4638 </action>
4639
4640 <action>
4641 <touch key="back"/>
4642 <action function="page">advanced</action>
4643 </action>
4644 </page>
4645
Ethan Yonker53796e72019-01-11 22:49:52 -06004646 <page name="repackselect">
4647 <template name="page"/>
4648
4649 <template name="statusbar"/>
4650
4651 <text style="text_m">
4652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4653 <text>{@repack_image_hdr=Select Image}</text>
4654 </text>
4655
4656 <fileselector>
4657 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4658 <text>%tw_zip_location%</text>
4659 <filter extn=".img" folders="1" files="1"/>
4660 <path name="tw_zip_location" default="/sdcard"/>
4661 <data name="tw_filename"/>
4662 <selection name="tw_file"/>
4663 </fileselector>
4664
4665 <button>
4666 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4667 <highlight color="%highlight_color%"/>
4668 <image resource="q_btn_storage"/>
4669 <actions>
4670 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4671 <action function="set">tw_back=install</action>
4672 <action function="page">select_storage</action>
4673 </actions>
4674 </button>
4675
4676 <action>
4677 <conditions>
4678 <condition var1="tw_filename" op="modified"/>
4679 </conditions>
4680 <action function="page">repackconfirm</action>
4681 </action>
4682
4683 <action>
4684 <touch key="back"/>
4685 <action function="page">advanced</action>
4686 </action>
4687
4688 <action>
4689 <touch key="home"/>
4690 <action function="page">main</action>
4691 </action>
4692 </page>
4693
4694 <page name="repackconfirm">
4695 <template name="page"/>
4696
4697 <template name="statusbar"/>
4698
4699 <text style="text_m">
4700 <condition var1="tw_repack_kernel" var2="1"/>
4701 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4702 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4703 </text>
4704
4705 <text style="text_m">
4706 <condition var1="tw_repack_kernel" var2="0"/>
4707 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4708 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4709 </text>
4710
4711 <text style="text_m_accent">
4712 <placement x="%indent%" y="%row2_y%"/>
4713 <text>{@folder=Folder:}</text>
4714 </text>
4715
4716 <text style="text_m">
4717 <placement x="%indent%" y="%row3_y%"/>
4718 <text>%tw_zip_location%</text>
4719 </text>
4720
4721 <text style="text_m_accent">
4722 <placement x="%indent%" y="%row4_y%"/>
4723 <text>{@file=File:}</text>
4724 </text>
4725
4726 <text style="text_m">
4727 <placement x="%indent%" y="%row5_y%"/>
4728 <text>%tw_file%</text>
4729 </text>
4730
4731 <checkbox>
4732 <placement x="%indent%" y="%row7_y%"/>
4733 <text>{@repack_backup_first=Back up existing image first}</text>
4734 <data variable="tw_repack_backup_first"/>
4735 </checkbox>
4736
4737 <slider>
4738 <text>{@swipe_to_install=Swipe to Install}</text>
4739 <actions>
4740 <action function="set">tw_back=advanced</action>
4741 <action function="set">tw_action=repackimage</action>
4742 <action function="set">tw_action_param=/boot</action>
4743 <action function="set">tw_action_text1={@installing=Installing...}</action>
4744 <action function="set">tw_action_text2=</action>
4745 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4746 <action function="page">action_page</action>
4747 </actions>
4748 </slider>
4749
4750 <action>
4751 <touch key="back"/>
4752 <action function="page">repackselect</action>
4753 </action>
4754
4755 <action>
4756 <touch key="home"/>
4757 <action function="page">main</action>
4758 </action>
4759 </page>
4760
z31s1g28f0a922015-11-07 18:50:22 +01004761 <page name="lock">
4762 <background color="%semi_transparent%"/>
4763
4764 <image>
4765 <image resource="unlock_icon"/>
4766 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4767 </image>
4768
4769 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004770 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004771 <action function="overlay"/>
4772 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004773
4774 <action>
4775 <touch key="power"/>
4776 <action function="togglebacklight"/>
4777 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004778 </page>
4779
4780 <page name="filemanagerlist">
4781 <template name="page"/>
4782
4783 <template name="statusbar"/>
4784
4785 <text style="text_m">
4786 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004787 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004788 </text>
4789
4790 <fileselector>
4791 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4792 <text>%tw_file_location1%</text>
4793 <filter folders="1" files="1"/>
4794 <path name="tw_file_location1" default="/"/>
4795 <data name="tw_filename1"/>
4796 <selection name="tw_selection1"/>
4797 </fileselector>
4798
4799 <button>
4800 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4801 <highlight color="%highlight_color%"/>
4802 <image resource="q_btn_folder"/>
4803 <actions>
4804 <action function="set">tw_filename1=tw_file_location1</action>
4805 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004806 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004807 <action function="page">filemanageroptions</action>
4808 </actions>
4809 </button>
4810
4811 <action>
4812 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004813 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004814 <action function="set">tw_fm_isfolder=0</action>
4815 </actions>
4816 </action>
4817
4818 <action>
4819 <touch key="home"/>
4820 <action function="page">main</action>
4821 </action>
4822
4823 <action>
4824 <touch key="back"/>
4825 <action function="page">main3</action>
4826 </action>
4827
4828 <action>
4829 <condition var1="tw_filename1" op="modified"/>
4830 <action function="page">filemanageroptions</action>
4831 </action>
4832 </page>
4833
4834 <page name="filemanageroptions">
4835 <template name="page"/>
4836
4837 <template name="statusbar"/>
4838
4839 <text style="text_m">
4840 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004841 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004842 </text>
4843
4844 <button style="main_button">
4845 <condition var1="tw_fm_isfolder" var2="0"/>
4846 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004847 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004848 <actions>
4849 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004850 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004851 <action function="page">choosedestinationfolder</action>
4852 </actions>
4853 </button>
4854
4855 <button style="main_button">
4856 <condition var1="tw_fm_isfolder" var2="1"/>
4857 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004858 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004859 <actions>
4860 <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 -05004861 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004862 <action function="page">choosedestinationfolder</action>
4863 </actions>
4864 </button>
4865
4866 <button style="main_button">
4867 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004868 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004869 <actions>
4870 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004871 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004872 <action function="page">choosedestinationfolder</action>
4873 </actions>
4874 </button>
4875
4876 <button style="main_button">
4877 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004878 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004879 <actions>
4880 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004881 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004882 <action function="set">tw_fm_text2=</action>
4883 <action function="set">tw_fm_text3=</action>
4884 <action function="set">tw_include_text3=0</action>
4885 <action function="set">tw_back=filemanageroptions</action>
4886 <action function="page">filemanagerconfirm</action>
4887 </actions>
4888 </button>
4889
4890 <button style="main_button">
4891 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 <actions>
4894 <action function="set">tw_filemanager_rename=0000</action>
4895 <action function="set">tw_fm_text2=</action>
4896 <action function="set">tw_fm_text3=</action>
4897 <action function="set">tw_include_text3=0</action>
4898 <action function="set">tw_back=filemanageroptions</action>
4899 <action function="page">filemanagerchmod</action>
4900 </actions>
4901 </button>
4902
4903 <button style="main_button">
4904 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004905 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004906 <actions>
4907 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004908 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004909 <action function="set">tw_fm_text2=</action>
4910 <action function="set">tw_fm_text3=</action>
4911 <action function="set">tw_include_text3=0</action>
4912 <action function="set">tw_back=filemanageroptions</action>
4913 <action function="page">filemanagerconfirm</action>
4914 </actions>
4915 </button>
4916
4917 <button style="main_button">
4918 <condition var1="tw_fm_isfolder" var2="0"/>
4919 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004920 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004921 <actions>
4922 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004923 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004924 <action function="set">tw_filemanager_command=mv</action>
4925 <action function="page">filemanagerrenamefile</action>
4926 </actions>
4927 </button>
4928
4929 <button style="main_button">
4930 <condition var1="tw_fm_isfolder" var2="1"/>
4931 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004932 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004933 <actions>
4934 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004935 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004936 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4937 <action function="page">filemanagerrenamefolder</action>
4938 </actions>
4939 </button>
4940
4941 <action>
4942 <touch key="home"/>
4943 <action function="page">main</action>
4944 </action>
4945
4946 <action>
4947 <touch key="back"/>
4948 <action function="page">filemanagerlist</action>
4949 </action>
4950 </page>
4951
4952 <page name="choosedestinationfolder">
4953 <template name="page"/>
4954
4955 <template name="statusbar"/>
4956
4957 <text style="text_m">
4958 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004959 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004960 </text>
4961
4962 <fileselector>
4963 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4964 <text>%tw_file_location2%</text>
4965 <filter folders="1" files="0"/>
4966 <path name="tw_file_location2" default="/"/>
4967 <data name="tw_filename2"/>
4968 <selection name="tw_selection2"/>
4969 </fileselector>
4970
4971 <button>
4972 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4973 <highlight color="%highlight_color%"/>
4974 <image resource="q_btn_folder"/>
4975 <actions>
4976 <action function="set">tw_fm_text2=to</action>
4977 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4978 <action function="set">tw_include_text3=1</action>
4979 <action function="set">tw_back=filemanageroptions</action>
4980 <action function="page">filemanagerconfirm</action>
4981 </actions>
4982 </button>
4983
4984 <action>
4985 <touch key="home"/>
4986 <action function="page">main</action>
4987 </action>
4988
4989 <action>
4990 <touch key="back"/>
4991 <action function="page">filemanageroptions</action>
4992 </action>
4993 </page>
4994
4995 <page name="filemanagerrenamefile">
4996 <template name="page"/>
4997
4998 <template name="statusbar"/>
4999
5000 <text style="text_m">
5001 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005002 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005003 </text>
5004
5005 <text style="text_m_accent">
5006 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005007 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005008 </text>
5009
5010 <input>
5011 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5012 <text>%tw_filemanager_rename%</text>
5013 <data name="tw_filemanager_rename"/>
5014 <restrict minlen="1" maxlen="128"/>
5015 <actions>
5016 <action function="set">tw_fm_text2=to</action>
5017 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5018 <action function="set">tw_include_text3=1</action>
5019 <action function="set">tw_back=filemanageroptions</action>
5020 <action function="page">filemanagerconfirm</action>
5021 </actions>
5022 </input>
5023
5024 <fill color="%accent_color%">
5025 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5026 </fill>
5027
5028 <button style="main_button_half_height">
5029 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005030 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005031 <action function="page">filemanageroptions</action>
5032 </button>
5033
5034 <template name="keyboardtemplate"/>
5035
5036 <action>
5037 <touch key="home"/>
5038 <action function="page">main</action>
5039 </action>
5040
5041 <action>
5042 <touch key="back"/>
5043 <action function="page">filemanageroptions</action>
5044 </action>
5045 </page>
5046
5047 <page name="filemanagerrenamefolder">
5048 <template name="page"/>
5049
5050 <template name="statusbar"/>
5051
5052 <text style="text_m">
5053 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005054 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005055 </text>
5056
5057 <text style="text_m_accent">
5058 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005059 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005060 </text>
5061
5062 <input>
5063 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5064 <text>%tw_filemanager_rename%</text>
5065 <data name="tw_filemanager_rename"/>
5066 <restrict minlen="1" maxlen="128"/>
5067 <actions>
5068 <action function="set">tw_fm_text2=to</action>
5069 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5070 <action function="set">tw_include_text3=1</action>
5071 <action function="set">tw_back=filemanageroptions</action>
5072 <action function="page">filemanagerconfirm</action>
5073 </actions>
5074 </input>
5075
5076 <fill color="%accent_color%">
5077 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5078 </fill>
5079
5080 <button style="main_button_half_height">
5081 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005082 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005083 <action function="page">filemanageroptions</action>
5084 </button>
5085
5086 <template name="keyboardtemplate"/>
5087
5088 <action>
5089 <touch key="home"/>
5090 <action function="page">main</action>
5091 </action>
5092
5093 <action>
5094 <touch key="back"/>
5095 <action function="page">filemanageroptions</action>
5096 </action>
5097 </page>
5098
5099 <page name="filemanagerchmod">
5100 <template name="page"/>
5101
5102 <template name="statusbar"/>
5103
5104 <text style="text_m">
5105 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005106 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005107 </text>
5108
5109 <text style="text_m_accent">
5110 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005111 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005112 </text>
5113
5114 <input>
5115 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5116 <text>%tw_filemanager_rename%</text>
5117 <data name="tw_filemanager_rename"/>
5118 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5119 <actions>
5120 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5121 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5122 <action function="set">tw_back=filemanageroptions</action>
5123 <action function="page">filemanagerconfirm</action>
5124 </actions>
5125 </input>
5126
5127 <fill color="%accent_color%">
5128 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5129 </fill>
5130
5131 <button style="main_button_half_height">
5132 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005133 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005134 <action function="page">filemanageroptions</action>
5135 </button>
5136
5137 <template name="keyboardtemplate"/>
5138
5139 <action>
5140 <touch key="home"/>
5141 <action function="page">main</action>
5142 </action>
5143
5144 <action>
5145 <touch key="back"/>
5146 <action function="page">filemanageroptions</action>
5147 </action>
5148 </page>
5149
5150 <page name="filemanagerconfirm">
5151 <template name="page"/>
5152
5153 <template name="statusbar"/>
5154
5155 <text style="text_m">
5156 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005157 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005158 </text>
5159
5160 <text style="text_m_accent">
5161 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5162 <text>%tw_fm_text1%</text>
5163 </text>
5164
5165 <text style="text_m">
5166 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5167 <text>%tw_filename1%</text>
5168 </text>
5169
5170 <text style="text_m_accent">
5171 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5172 <text>%tw_fm_text2%</text>
5173 </text>
5174
5175 <text style="text_m">
5176 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5177 <text>%tw_fm_text3%</text>
5178 </text>
5179
5180 <text style="text_m">
5181 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005182 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005183 </text>
5184
5185 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005186 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005187 <action function="page">filemanageraction</action>
5188 </slider>
5189
5190 <action>
5191 <touch key="back"/>
5192 <action function="page">%tw_back%</action>
5193 </action>
5194
5195 <action>
5196 <touch key="home"/>
5197 <action function="page">main</action>
5198 </action>
5199 </page>
5200
5201 <page name="filemanageraction">
5202 <template name="page"/>
5203
5204 <template name="statusbar"/>
5205
5206 <text style="text_m">
5207 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005208 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005209 </text>
5210
5211 <template name="console"/>
5212
5213 <template name="progress_bar"/>
5214
5215 <action>
5216 <conditions>
5217 <condition var1="tw_operation_state" var2="1"/>
5218 <condition var1="tw_operation_status" var2="0"/>
5219 </conditions>
5220 <actions>
5221 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005222 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005223 <action function="page">action_complete</action>
5224 </actions>
5225 </action>
5226
5227 <action>
5228 <conditions>
5229 <condition var1="tw_operation_state" var2="1"/>
5230 <condition var1="tw_operation_status" op="!=" var2="0"/>
5231 </conditions>
5232 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005234 <action function="page">action_complete</action>
5235 </actions>
5236 </action>
5237
5238 <action>
5239 <condition var1="tw_include_text3" var2="0"/>
5240 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5241 </action>
5242
5243 <action>
5244 <condition var1="tw_include_text3" var2="1"/>
5245 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5246 </action>
5247 </page>
5248
5249 <page name="decrypt">
5250 <template name="page"/>
5251
5252 <template name="statusbar"/>
5253
5254 <action>
5255 <condition var1="tw_crypto_pwtype" var2="2"/>
5256 <action function="page">decrypt_pattern</action>
5257 </action>
5258
5259 <text style="text_m">
5260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005261 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005262 </text>
5263
5264 <text style="text_m_accent">
5265 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005266 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005267 </text>
5268
5269 <input>
5270 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5271 <text>%tw_crypto_display%</text>
5272 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5273 <restrict minlen="1" maxlen="254"/>
5274 <action function="page">trydecrypt</action>
5275 </input>
5276
5277 <fill color="%accent_color%">
5278 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5279 </fill>
5280
5281 <fill color="%text_fail_color%">
5282 <condition var1="tw_password_fail" var2="1"/>
5283 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5284 </fill>
5285
5286 <text style="text_m_fail">
5287 <condition var1="tw_password_fail" var2="1"/>
5288 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005289 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005290 </text>
5291
5292 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005293 <placement x="%col1_x_left%" y="%row4_y%"/>
5294 <text>{@sel_lang_btn=Select Language}</text>
5295 <action function="page">settings_language</action>
5296 </button>
5297
5298 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005299 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005300 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005301 <actions>
5302 <action function="set">tw_page_done=1</action>
5303 <action function="page">main</action>
5304 </actions>
5305 </button>
5306
5307 <template name="keyboardtemplate"/>
5308 </page>
5309
5310 <page name="decrypt_pattern">
5311 <template name="page"/>
5312
5313 <template name="statusbar"/>
5314
Aleksa Saraib25a1832015-12-31 17:36:00 +01005315 <action>
5316 <action function="set">tw_gui_pattern_grid_size=3</action>
5317 </action>
5318
z31s1g28f0a922015-11-07 18:50:22 +01005319 <text style="text_m">
5320 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005321 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005322 </text>
5323
5324 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005325 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005326 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005327 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005328 </text>
5329
Aleksa Saraib25a1832015-12-31 17:36:00 +01005330 <text style="text_m_fail">
5331 <condition var1="tw_password_fail" var2="1"/>
5332 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005333 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005334 </text>
5335
z31s1g28f0a922015-11-07 18:50:22 +01005336 <text style="text_m">
5337 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005338 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005339 </text>
5340
5341 <patternpassword>
5342 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005343 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5344 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5345 <data name="tw_crypto_password"/>
5346 <action function="page">trydecrypt</action>
5347 </patternpassword>
5348
5349 <fill color="#000000">
5350 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5351 </fill>
5352
5353 <button>
5354 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5355 <image resource="back"/>
5356 <condition var1="tw_busy" var2="0"/>
5357 <actions>
5358 <action function="set">tw_page_done=1</action>
5359 <action function="page">main</action>
5360 </actions>
5361 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005362
5363 <button>
5364 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5365 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5366 <image resource="grid_less"/>
5367 <action function="set">tw_gui_pattern_grid_size=3</action>
5368 </button>
5369
5370 <button>
5371 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5372 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5373 <image resource="grid_less"/>
5374 <action function="set">tw_gui_pattern_grid_size=3</action>
5375 </button>
5376
5377 <button>
5378 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5379 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5380 <image resource="grid_less"/>
5381 <action function="set">tw_gui_pattern_grid_size=4</action>
5382 </button>
5383
5384 <button>
5385 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5386 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5387 <image resource="grid_less"/>
5388 <action function="set">tw_gui_pattern_grid_size=5</action>
5389 </button>
5390
5391 <button>
5392 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5393 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5394 <image resource="grid_more"/>
5395 <action function="set">tw_gui_pattern_grid_size=4</action>
5396 </button>
5397
5398 <button>
5399 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5400 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5401 <image resource="grid_more"/>
5402 <action function="set">tw_gui_pattern_grid_size=5</action>
5403 </button>
5404
5405 <button>
5406 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5407 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5408 <image resource="grid_more"/>
5409 <action function="set">tw_gui_pattern_grid_size=6</action>
5410 </button>
5411
5412 <button>
5413 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5414 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5415 <image resource="grid_more"/>
5416 <action function="set">tw_gui_pattern_grid_size=6</action>
5417 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005418 </page>
5419
5420 <page name="trydecrypt">
5421 <template name="page"/>
5422
5423 <template name="statusbar"/>
5424
5425 <text style="text_m">
5426 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005427 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005428 </text>
5429
5430 <template name="console"/>
5431
5432 <template name="progress_bar"/>
5433
5434 <action>
5435 <action function="decrypt"/>
5436 </action>
5437
5438 <action>
5439 <conditions>
5440 <condition var1="tw_operation_state" var2="1"/>
5441 <condition var1="tw_operation_status" op="!=" var2="0"/>
5442 </conditions>
5443 <actions>
5444 <action function="set">tw_password_fail=1</action>
5445 <action function="page">decrypt</action>
5446 </actions>
5447 </action>
5448
5449 <action>
5450 <conditions>
5451 <condition var1="tw_operation_state" var2="1"/>
5452 <condition var1="tw_operation_status" op="=" var2="0"/>
5453 </conditions>
5454 <actions>
5455 <action function="set">tw_page_done=1</action>
5456 <action function="page">main</action>
5457 </actions>
5458 </action>
5459 </page>
5460
z31s1g28f0a922015-11-07 18:50:22 +01005461 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005462 <terminal>
5463 <condition var1="tw_hide_kb" var2="0"/>
5464 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5465 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005466
z31s1g56189522016-01-13 19:12:40 +01005467 <terminal>
5468 <condition var1="tw_hide_kb" var2="1"/>
5469 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5470 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005471
z31s1g56189522016-01-13 19:12:40 +01005472 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005473
5474 <template name="keyboardtemplate"/>
5475
z31s1g608d7ff2016-01-18 19:47:25 +01005476 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005477 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005478 </fill>
z31s1g56189522016-01-13 19:12:40 +01005479
z31s1g608d7ff2016-01-18 19:47:25 +01005480 <button>
z31s1g56189522016-01-13 19:12:40 +01005481 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5482 <image resource="back" />
5483 <condition var1="tw_busy" var2="0" />
5484 <actions>
5485 <action function="set">tw_hide_kb=0</action>
5486 <action function="key">back</action>
5487 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005488 </button>
z31s1g56189522016-01-13 19:12:40 +01005489
z31s1g608d7ff2016-01-18 19:47:25 +01005490 <button>
z31s1g56189522016-01-13 19:12:40 +01005491 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5492 <image resource="home" />
5493 <condition var1="tw_busy" var2="0" />
5494 <actions>
5495 <action function="set">tw_hide_kb=0</action>
5496 <action function="key">home</action>
5497 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005498 </button>
z31s1g56189522016-01-13 19:12:40 +01005499
z31s1g608d7ff2016-01-18 19:47:25 +01005500 <button>
z31s1g56189522016-01-13 19:12:40 +01005501 <condition var1="tw_hide_kb" var2="0"/>
5502 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5503 <image resource="kb_hide" />
5504 <condition var1="tw_busy" var2="0" />
5505 <actions>
5506 <action function="set">tw_hide_kb=1</action>
5507 <action function="page">terminalcommand</action>
5508 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005509 </button>
z31s1g56189522016-01-13 19:12:40 +01005510
z31s1g608d7ff2016-01-18 19:47:25 +01005511 <button>
z31s1g56189522016-01-13 19:12:40 +01005512 <condition var1="tw_hide_kb" var2="1"/>
5513 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5514 <image resource="kb_show" />
5515 <condition var1="tw_busy" var2="0" />
5516 <actions>
5517 <action function="set">tw_hide_kb=0</action>
5518 <action function="page">terminalcommand</action>
5519 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005520 </button>
z31s1g56189522016-01-13 19:12:40 +01005521
z31s1g28f0a922015-11-07 18:50:22 +01005522 <action>
5523 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005524 <actions>
5525 <action function="set">tw_hide_kb=0</action>
5526 <action function="page">main</action>
5527 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005528 </action>
5529
5530 <action>
5531 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005532 <actions>
5533 <action function="set">tw_hide_kb=0</action>
5534 <action function="page">advanced</action>
5535 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005536 </action>
z31s1g56189522016-01-13 19:12:40 +01005537
z31s1g608d7ff2016-01-18 19:47:25 +01005538 <action>
z31s1g56189522016-01-13 19:12:40 +01005539 <touch key="power+voldown" />
5540 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005541 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005542 </page>
5543
5544 <page name="sideload">
5545 <template name="page"/>
5546
5547 <template name="statusbar"/>
5548
5549 <text style="text_m">
5550 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005551 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005552 </text>
5553
5554 <text style="text_m_accent">
5555 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005556 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005557 </text>
5558
5559 <checkbox>
5560 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005561 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005562 <data variable="tw_wipe_dalvik"/>
5563 </checkbox>
5564
5565 <checkbox>
5566 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005567 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005568 <data variable="tw_wipe_cache"/>
5569 </checkbox>
5570
5571 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005572 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005573 <actions>
5574 <action function="set">tw_back=install_type</action>
5575 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005576 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5577 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5578 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005579 <action function="set">tw_has_cancel=1</action>
5580 <action function="set">tw_show_reboot=1</action>
5581 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5582 <action function="page">action_page</action>
5583 </actions>
5584 </slider>
5585
5586 <action>
5587 <touch key="home"/>
5588 <action function="page">main</action>
5589 </action>
5590
5591 <action>
5592 <touch key="back"/>
5593 <action function="page">install_type</action>
5594 </action>
5595 </page>
5596
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005597 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005598 <template name="page"/>
5599
5600 <template name="statusbar"/>
5601
5602 <text style="text_m">
5603 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005604 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005605 </text>
5606
5607 <text style="text_m_accent">
5608 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005609 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005610 </text>
5611
z31s1g28f0a922015-11-07 18:50:22 +01005612 <text style="text_m_fail">
5613 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005614 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005615 </text>
5616
5617 <text style="text_m_fail">
5618 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005619 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005620 </text>
5621
5622 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005623 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005624 <actions>
5625 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005626 <action function="set">tw_action=fixcontexts</action>
5627 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5628 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005629 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005630 <action function="set">tw_show_reboot=1</action>
5631 <action function="page">action_page</action>
5632 </actions>
5633 </slider>
5634
5635 <action>
5636 <touch key="home"/>
5637 <action function="page">main</action>
5638 </action>
5639
5640 <action>
5641 <touch key="back"/>
5642 <action function="page">advanced</action>
5643 </action>
5644 </page>
5645
z31s1g28f0a922015-11-07 18:50:22 +01005646 <page name="slideout">
5647 <fill color="%background_color%">
5648 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5649 </fill>
5650
5651 <console>
5652 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5653 </console>
5654
5655 <fill color="%fileselector_linecolor%">
5656 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5657 </fill>
5658
5659 <fill color="%fileselector_linecolor%">
5660 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5661 </fill>
5662
5663 <button>
5664 <fill color="%transparent%"/>
5665 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5666 <action function="overlay"/>
5667 </button>
5668
5669 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005670 <touch key="power"/>
5671 <action function="togglebacklight"/>
5672 </action>
5673
5674 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005675 <touch key="power+voldown"/>
5676 <action function="screenshot"/>
5677 </action>
5678 </page>
5679
5680 <page name="select_storage">
5681 <template name="page"/>
5682
5683 <template name="statusbar"/>
5684
5685 <text style="text_m">
5686 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5687 <text>%tw_storagetext%</text>
5688 </text>
5689
5690 <partitionlist style="partitionlist_headerless_rb">
5691 <data name="tw_storage_path"/>
5692 <listtype name="storage"/>
5693 </partitionlist>
5694
5695 <button>
5696 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5697 <highlight color="%highlight_color%"/>
5698 <image resource="q_btn_refresh"/>
5699 <actions>
5700 <action function="refreshsizes"/>
5701 <action function="page">select_storage</action>
5702 </actions>
5703 </button>
5704
5705 <button>
5706 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5707 <highlight color="%highlight_color%"/>
5708 <image resource="q_btn_accept"/>
5709 <actions>
5710 <action function="set">tw_clear_destination=%tw_back%</action>
5711 <action function="page">clear_vars</action>
5712 </actions>
5713 </button>
5714
5715 <action>
5716 <touch key="power+voldown"/>
5717 <action function="screenshot"/>
5718 </action>
5719 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005720 </pages>
5721</recovery>