blob: c12cbf8d63d1449bdc648b6083e6df8d716ea61e [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"/>
Ian Macdonalde7c34e52021-01-23 18:52:28 +0100402 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100403 <path name="tw_zip_location" default="/sdcard"/>
404 <data name="tw_filename"/>
405 <selection name="tw_file"/>
406 </fileselector>
407
408 <fileselector>
409 <condition var1="tw_selectimage" var2="1"/>
410 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
411 <text>%tw_zip_location%</text>
412 <filter extn=".img" folders="1" files="1"/>
413 <path name="tw_zip_location" default="/sdcard"/>
414 <data name="tw_filename"/>
415 <selection name="tw_file"/>
416 </fileselector>
417
418 <button>
419 <placement x="%btn4_col4_x%" y="%row11_y%"/>
420 <highlight color="%highlight_color%"/>
421 <image resource="q_btn_storage"/>
422 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500423 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100424 <action function="set">tw_back=install</action>
425 <action function="page">select_storage</action>
426 </actions>
427 </button>
428
429 <action>
430 <conditions>
431 <condition var1="tw_selectimage" var2="0"/>
432 <condition var1="tw_filename" op="modified"/>
433 </conditions>
434 <actions>
435 <action function="queuezip"/>
436 <action function="page">flash_queue</action>
437 </actions>
438 </action>
439
440 <action>
441 <conditions>
442 <condition var1="tw_selectimage" var2="1"/>
443 <condition var1="tw_filename" op="modified"/>
444 </conditions>
epicX8f52c0a2021-02-24 23:12:08 +0530445 <actions>
446 <action function="set">tw_is_slot_part=0</action>
447 <action function="page">flashimage_type</action>
448 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100449 </action>
450
451 <action>
452 <touch key="back"/>
453 <action function="page">install_type</action>
454 </action>
455
456 <action>
457 <touch key="home"/>
458 <action function="page">main</action>
459 </action>
460 </page>
461
462 <page name="flash_queue">
463 <template name="page"/>
464
465 <template name="statusbar"/>
466
467 <text style="text_m">
468 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m_accent">
473 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 </text>
476
477 <text style="text_m">
478 <placement x="%indent%" y="%row2_y%"/>
479 <text>%tw_file%</text>
480 </text>
481
482 <text style="text_m_accent">
483 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500484 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100485 </text>
486
487 <text style="text_m">
488 <placement x="%indent%" y="%row5_y%"/>
489 <text>%tw_zip_location%</text>
490 </text>
491
492 <text style="text_m">
493 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500494 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 </text>
496
497 <button>
498 <placement x="%col1_x_left%" y="%row11_y%"/>
499 <highlight color="%highlight_color%"/>
500 <image resource="q_btn_arrow_left"/>
501 <actions>
502 <action function="queueclear"/>
503 <action function="page">install</action>
504 </actions>
505 </button>
506
507 <button>
508 <placement x="%btn4_col2_x%" y="%row11_y%"/>
509 <highlight color="%highlight_color%"/>
510 <image resource="q_btn_addzip"/>
511 <action function="page">install</action>
512 </button>
513
514 <button>
515 <placement x="%btn4_col3_x%" y="%row11_y%"/>
516 <highlight color="%highlight_color%"/>
517 <image resource="q_btn_accept"/>
518 <action function="page">flash_confirm</action>
519 </button>
520
521 <button>
522 <placement x="%btn4_col4_x%" y="%row11_y%"/>
523 <highlight color="%highlight_color%"/>
524 <image resource="q_btn_arrow_right"/>
525 <action function="page">flash_options</action>
526 </button>
527
528 <action>
529 <touch key="back"/>
530 <actions>
531 <action function="queueclear"/>
532 <action function="page">install</action>
533 </actions>
534 </action>
535
536 <action>
537 <touch key="home"/>
538 <action function="page">main</action>
539 </action>
540 </page>
541
542 <page name="flash_options">
543 <template name="page"/>
544
545 <template name="statusbar"/>
546
547 <text style="text_m">
548 <condition var1="tw_selectimage" var2="0"/>
549 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100551 </text>
552
553 <checkbox>
554 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500555 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <data variable="tw_signed_zip_verify"/>
557 </checkbox>
558
559 <checkbox>
560 <condition var1="tw_has_injecttwrp" var2="1"/>
561 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500562 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100563 <data variable="tw_inject_after_zip"/>
564 </checkbox>
565
bigbiffa869fc72016-03-01 19:40:36 -0500566 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600567 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500568 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600569 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500570 </checkbox>
571
z31s1g28f0a922015-11-07 18:50:22 +0100572 <button>
573 <placement x="%col1_x_left%" y="%row11_y%"/>
574 <highlight color="%highlight_color%"/>
575 <image resource="q_btn_arrow_left"/>
576 <action function="page">flash_queue</action>
577 </button>
578
579 <button>
580 <placement x="%btn4_col4_x%" y="%row11_y%"/>
581 <highlight color="%highlight_color%"/>
582 <image resource="q_btn_accept_transp"/>
583 <action function="page">flash_confirm</action>
584 </button>
585
586 <action>
587 <touch key="back"/>
588 <action function="page">flash_queue</action>
589 </action>
590
591 <action>
592 <touch key="home"/>
593 <action function="page">main</action>
594 </action>
595 </page>
596
597 <page name="flash_confirm">
598 <template name="page"/>
599
600 <template name="statusbar"/>
601
602 <text style="text_m">
603 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500604 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row2_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <button>
618 <fill color="%transparent%"/>
619 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
620 <action function="page">flash_queue</action>
621 </button>
622
623 <text style="text_m_accent">
624 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500625 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100626 </text>
627
628 <text style="text_m">
629 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500630 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100631 </text>
632
633 <button>
634 <fill color="%transparent%"/>
635 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
636 <action function="page">flash_queue</action>
637 </button>
638
639 <listbox style="listbox_options">
640 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500641 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100642 <data variable="tw_signed_zip_verify"/>
643 </listitem>
644 </listbox>
645
646 <text style="text_m_accent">
647 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <condition var1="tw_has_injecttwrp" var2="1"/>
653 <condition var1="tw_inject_after_zip" var2="1"/>
654 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500655 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100656 </text>
657
658 <button>
659 <fill color="%transparent%"/>
660 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
661 <action function="page">flash_options</action>
662 </button>
663
664 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 <action function="flash">flash_zip</action>
667 </slider>
668
669 <action>
670 <touch key="back"/>
671 <actions>
672 <action function="cancelzip"/>
673 <action function="page">install</action>
674 </actions>
675 </action>
676
677 <action>
678 <touch key="home"/>
679 <action function="page">main</action>
680 </action>
681 </page>
682
683 <page name="flash_zip">
684 <template name="page"/>
685
686 <template name="statusbar"/>
687
688 <text style="text_m">
689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600690 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100691 </text>
692
693 <template name="console"/>
694
695 <template name="progress_bar"/>
696
697 <action>
698 <condition var1="tw_operation_state" var2="1"/>
699 <action function="page">flash_done</action>
700 </action>
701 </page>
702
703 <page name="flash_done">
704 <template name="page"/>
705
706 <template name="statusbar"/>
707
708 <text style="text_m_fail">
709 <condition var1="tw_operation_status" op="!=" var2="0"/>
710 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500711 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100712 </text>
713
714 <text style="text_m">
715 <condition var1="tw_operation_status" var2="0"/>
716 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500717 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100718 </text>
719
720 <template name="console"/>
721
722 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500723 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100724 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500725 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100726 <actions>
727 <action function="set">tw_back=flash_done</action>
728 <action function="set">tw_action=wipe</action>
729 <action function="set">tw_action_param=/cache</action>
730 <action function="set">tw_has_action2=1</action>
731 <action function="set">tw_action2=wipe</action>
732 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500733 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
734 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
735 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500736 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
737 <action function="page">confirm_action</action>
738 </actions>
739 </button>
740
741 <button style="main_button_half_height">
742 <condition var1="tw_ab_device" var2="1"/>
743 <placement x="%indent%" y="%row21a_y%"/>
744 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
745 <actions>
746 <action function="set">tw_back=flash_done</action>
747 <action function="set">tw_action=wipe</action>
748 <action function="set">tw_action_param=dalvik</action>
749 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
750 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
751 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
752 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100753 <action function="page">confirm_action</action>
754 </actions>
755 </button>
756
757 <button style="main_button_half_height">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100758 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100759 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500760 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100761 <actions>
762 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500763 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100764 </actions>
765 </button>
766
Chaosmaster7b66bf52020-02-07 20:33:43 +0100767 <button style="main_button_half_height">
768 <condition var1="tw_ab_device" var2="1"/>
769 <placement x="%col1_x_right%" y="%row13_y%"/>
770 <text>{@reboot_btn=Reboot}</text>
771 <actions>
772 <action function="set">tw_back=main2</action>
773 <action function="page">reboot</action>
774 </actions>
775 </button>
776
z31s1g28f0a922015-11-07 18:50:22 +0100777 <action>
778 <touch key="back"/>
779 <actions>
780 <action function="set">tw_clear_destination=install_type</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </action>
784
785 <action>
786 <touch key="home"/>
787 <actions>
788 <action function="set">tw_clear_destination=main2</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500792
793 <action>
794 <conditions>
795 <condition var1="tw_install_reboot" var2="1"/>
796 <condition var1="tw_operation_status" var2="0"/>
797 <condition var1="tw_reboot_system" var2="1"/>
798 </conditions>
799 <actions>
800 <action function="set">tw_sleep=%tw_sleep_total%</action>
801 <action function="page">flash_sleep_and_reboot</action>
802 </actions>
803 </action>
804 </page>
805
806 <page name="flash_sleep_and_reboot">
807 <template name="page"/>
808
809 <template name="statusbar"/>
810
811 <text style="text_m">
812 <placement x="%col1_x_left%" y="%row1_header_y%"/>
813 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
814 </text>
815
816 <template name="console"/>
817
818 <template name="progress_bar"/>
819
820 <button style="main_button_half_height">
821 <condition var1="tw_sleep" op="&gt;" var2="0"/>
822 <placement x="%col1_x_right%" y="%row13_y%"/>
823 <text>{@cancel_btn=Cancel}</text>
824 <actions>
825 <action function="set">tw_install_reboot=0</action>
826 <action function="page">flash_done</action>
827 </actions>
828 </button>
829
830 <action>
831 <conditions>
832 <condition var1="tw_sleep" var2="tw_sleep_total"/>
833 <condition var1="tw_install_reboot" var2="1"/>
834 </conditions>
835 <action function="sleepcounter">%tw_sleep_total%</action>
836 </action>
837
838 <action>
839 <conditions>
840 <condition var1="tw_sleep" var2="0"/>
841 <condition var1="tw_install_reboot" var2="1"/>
842 </conditions>
843 <actions>
844 <action function="sleep">50000</action>
845 <action function="set">tw_back=main2</action>
846 <action function="page">reboot_system_routine</action>
847 </actions>
848 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100849 </page>
850
851 <page name="flashimage_type">
852 <template name="page"/>
853
854 <template name="statusbar"/>
855
856 <text style="text_m">
857 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600858 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100859 </text>
860
861 <partitionlist style="partitionlist_headerless_rb">
862 <data name="tw_flash_partition"/>
863 <listtype name="flashimg"/>
864 </partitionlist>
865
epicX8f52c0a2021-02-24 23:12:08 +0530866 <button style="checkbox">
867 <conditions>
868 <condition var1="tw_is_slot_part" op="=" var2="1"/>
869 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
870 <condition var1="tw_has_boot_slots" var2="1"/>
871 </conditions>
872 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
873 <text>{@flash_ab_both_slots=Flash to both slots}</text>
874 <image resource="checkbox_false"/>
875 <action function="set">tw_flash_both_slots=1</action>
876 </button>
877
878 <button style="checkbox">
879 <conditions>
880 <condition var1="tw_is_slot_part" op="=" var2="1"/>
881 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
882 <condition var1="tw_has_boot_slots" var2="1"/>
883 </conditions>
884 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
885 <text>{@flash_ab_both_slots=Flash to both slots}</text>
886 <image resource="checkbox_true"/>
887 <action function="set">tw_flash_both_slots=0</action>
888 </button>
889
z31s1g28f0a922015-11-07 18:50:22 +0100890 <button>
891 <placement x="%col1_x_left%" y="%row11_y%"/>
892 <highlight color="%highlight_color%"/>
893 <image resource="q_btn_arrow_left"/>
894 <action function="page">install</action>
895 </button>
896
897 <button>
898 <placement x="%btn4_col4_x%" y="%row11_y%"/>
899 <highlight color="%highlight_color%"/>
900 <image resource="q_btn_accept_transp"/>
901 <action function="page">flashimage_confirm</action>
902 </button>
903
904 <action>
905 <touch key="back"/>
906 <action function="page">install</action>
907 </action>
908
909 <action>
910 <touch key="home"/>
911 <action function="page">main</action>
912 </action>
913 </page>
914
915 <page name="flashimage_confirm">
916 <template name="page"/>
917
918 <template name="statusbar"/>
919
920 <text style="text_m">
921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <text style="text_m_accent">
926 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500927 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </text>
929
930 <text style="text_m">
931 <placement x="%indent%" y="%row2_y%"/>
932 <text>%tw_file%</text>
933 </text>
934
935 <button>
936 <fill color="%transparent%"/>
937 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
938 <action function="page">install</action>
939 </button>
940
941 <text style="text_m_accent">
942 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500943 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100944 </text>
945
946 <text style="text_m">
947 <placement x="%indent%" y="%row5_y%"/>
948 <text>%tw_flash_partition%</text>
949 </text>
950
951 <button>
952 <fill color="%transparent%"/>
953 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
954 <action function="page">flashimage_type</action>
955 </button>
956
957 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500958 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100959 <actions>
960 <action function="set">tw_back=flashimage_confirm</action>
961 <action function="set">tw_action=flashimage</action>
962 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100964 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500965 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100966 <action function="page">action_page</action>
967 </actions>
968 <action function="flashimage"/>
969 </slider>
970
971 <action>
972 <touch key="back"/>
973 <actions>
974 <action function="set">tw_clear_destination=install</action>
975 <action function="page">clear_vars</action>
976 </actions>
977 </action>
978
979 <action>
980 <touch key="home"/>
981 <actions>
982 <action function="set">tw_clear_destination=main2</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </action>
986 </page>
987
988 <page name="clear_vars">
989 <action>
990 <action function="set">tw_operation_state=0</action>
991 <action function="set">tw_text1=</action>
992 <action function="set">tw_text2=</action>
993 <action function="set">tw_text3=</action>
994 <action function="set">tw_text4=</action>
995 <action function="set">tw_action_text1=</action>
996 <action function="set">tw_action_text2=</action>
997 <action function="set">tw_action_param=</action>
998 <action function="set">tw_has_action2=0</action>
999 <action function="set">tw_action2=</action>
1000 <action function="set">tw_action2_param=</action>
1001 <action function="set">tw_has_cancel=0</action>
1002 <action function="set">tw_cancel_action=</action>
1003 <action function="set">tw_cancel_param=</action>
1004 <action function="set">tw_show_exclamation=0</action>
1005 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001006 <action function="set">tw_crypto_user_id=</action>
1007 <action function="set">tw_multiuser_warning_accepted=</action>
1008 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +01001009 <action function="page">%tw_clear_destination%</action>
1010 </action>
1011 </page>
1012
Matt Mower908dd252016-05-25 02:26:50 -05001013 <page name="reboot_system_routine">
1014 <action>
1015 <action function="set">tw_back=main2</action>
1016 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05001017 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -05001018 <action function="set">tw_has_action2=0</action>
1019 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1020 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
1021 <action function="set">tw_text3=</action>
1022 <action function="set">tw_text4=</action>
1023 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
1024 <action function="set">tw_action_text2=</action>
1025 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1026 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1027 <action function="page">rebootcheck</action>
1028 </action>
1029 </page>
1030
z31s1g28f0a922015-11-07 18:50:22 +01001031 <page name="confirm_action">
1032 <template name="page"/>
1033
1034 <template name="statusbar"/>
1035
1036 <text style="text_m">
1037 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001039 </text>
1040
1041 <text style="text_m_accent">
1042 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1043 <text>%tw_text1%</text>
1044 </text>
1045
1046 <text style="text_m_accent">
1047 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1048 <text>%tw_text2%</text>
1049 </text>
1050
1051 <text style="text_m">
1052 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1053 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1054 <text>%tw_text3%</text>
1055 </text>
1056
1057 <text style="text_m">
1058 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1059 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1060 <text>%tw_text4%</text>
1061 </text>
1062
1063 <text style="text_m_fail">
1064 <condition var1="tw_action" var2="changefilesystem"/>
1065 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1066 <text>%tw_text3%</text>
1067 </text>
1068
1069 <text style="text_m_fail">
1070 <condition var1="tw_action" var2="changefilesystem"/>
1071 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1072 <text>%tw_text4%</text>
1073 </text>
1074
1075 <text style="text_m">
1076 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <slider>
1081 <text>%tw_slider_text%</text>
1082 <action function="page">action_page</action>
1083 </slider>
1084
1085 <action>
1086 <touch key="back"/>
1087 <actions>
1088 <action function="set">tw_clear_destination=%tw_back%</action>
1089 <action function="page">clear_vars</action>
1090 </actions>
1091 </action>
1092
1093 <action>
1094 <touch key="home"/>
1095 <action function="page">main</action>
1096 </action>
1097 </page>
1098
1099 <page name="action_page">
1100 <template name="page"/>
1101
1102 <template name="statusbar"/>
1103
1104 <text style="text_m">
1105 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1106 <text>%tw_action_text1% %tw_action_text2%</text>
1107 </text>
1108
1109 <template name="console"/>
1110
1111 <template name="progress_bar"/>
1112
1113 <button style="main_button_half_height">
1114 <condition var1="tw_has_cancel" var2="1"/>
1115 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1118 </button>
1119
1120 <action>
1121 <condition var1="tw_operation_state" var2="1"/>
1122 <actions>
1123 <action function="page">action_complete</action>
1124 </actions>
1125 </action>
1126
1127 <action>
1128 <condition var1="tw_has_action2" var2="0"/>
1129 <actions>
1130 <action function="%tw_action%">%tw_action_param%</action>
1131 </actions>
1132 </action>
1133
1134 <action>
1135 <condition var1="tw_has_action2" var2="1"/>
1136 <actions>
1137 <action function="%tw_action%">%tw_action_param%</action>
1138 <action function="%tw_action2%">%tw_action2_param%</action>
1139 </actions>
1140 </action>
1141 </page>
1142
1143 <page name="singleaction_page">
1144 <template name="page"/>
1145
1146 <template name="statusbar"/>
1147
1148 <text style="text_m">
1149 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1150 <text>%tw_action_text1% %tw_action_text2%</text>
1151 </text>
1152
1153 <template name="console"/>
1154
1155 <template name="progress_bar"/>
1156
1157 <action>
1158 <condition var1="tw_operation_state" var2="1"/>
1159 <actions>
1160 <action function="set">tw_page_done=1</action>
1161 </actions>
1162 </action>
1163
1164 <action>
1165 <condition var1="tw_has_action2" var2="0"/>
1166 <actions>
1167 <action function="%tw_action%">%tw_action_param%</action>
1168 </actions>
1169 </action>
1170
1171 <action>
1172 <condition var1="tw_has_action2" var2="1"/>
1173 <actions>
1174 <action function="%tw_action%">%tw_action_param%</action>
1175 <action function="%tw_action2%">%tw_action2_param%</action>
1176 </actions>
1177 </action>
1178 </page>
1179
1180 <page name="action_complete">
1181 <template name="page"/>
1182
1183 <template name="statusbar"/>
1184
1185 <text style="text_m_fail">
1186 <condition var1="tw_operation_status" op="!=" var2="0"/>
1187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <text style="text_m">
1192 <condition var1="tw_operation_status" var2="0"/>
1193 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 </text>
1196
1197 <template name="console"/>
1198
1199 <button style="main_button_half_height">
1200 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 <actions>
1203 <action function="set">tw_clear_destination=%tw_back%</action>
1204 <action function="page">clear_vars</action>
1205 </actions>
1206 </button>
1207
1208 <button style="main_button_half_height">
1209 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001210 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001211 <actions>
1212 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001213 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </actions>
1215 </button>
1216
1217 <action>
1218 <touch key="home"/>
1219 <actions>
1220 <action function="set">tw_clear_destination=main2</action>
1221 <action function="page">clear_vars</action>
1222 </actions>
1223 </action>
1224
1225 <action>
1226 <touch key="back"/>
1227 <actions>
1228 <action function="set">tw_clear_destination=%tw_back%</action>
1229 <action function="page">clear_vars</action>
1230 </actions>
1231 </action>
1232 </page>
1233
1234 <page name="filecheck">
1235 <action>
1236 <action function="fileexists">%tw_filecheck%</action>
1237 </action>
1238
1239 <action>
1240 <conditions>
1241 <condition var1="tw_operation_state" var2="1"/>
1242 <condition var1="tw_operation_status" var2="0"/>
1243 </conditions>
1244 <actions>
1245 <action function="set">tw_fileexists=1</action>
1246 <action function="page">%tw_existpage%</action>
1247 </actions>
1248 </action>
1249
1250 <action>
1251 <conditions>
1252 <condition var1="tw_operation_state" var2="1"/>
1253 <condition var1="tw_operation_status" var2="1"/>
1254 </conditions>
1255 <actions>
1256 <action function="set">tw_fileexists=0</action>
1257 <action function="page">%tw_notexistpage%</action>
1258 </actions>
1259 </action>
1260 </page>
1261
1262 <page name="rebootcheck">
1263 <action>
1264 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001265 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001266 </action>
1267
1268 <action>
1269 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1270 <action function="page">confirm_action</action>
1271 </action>
1272 </page>
1273
1274 <page name="wipe_type1">
1275 <template name="page"/>
1276
1277 <template name="statusbar"/>
1278
1279 <text style="text_m">
1280 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <button style="main_button_full_width">
1285 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="page">wipe</action>
1288 </button>
1289
1290 <button style="main_button_full_width">
1291 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <actions>
1294 <action function="set">partitionlisterror=0</action>
1295 <action function="page">advancedwipe</action>
1296 </actions>
1297 </button>
1298
1299 <button>
1300 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1301 <highlight color="%highlight_color%"/>
1302 <image resource="q_btn_arrow_right"/>
1303 <action function="page">wipe_type2</action>
1304 </button>
1305
1306 <action>
1307 <touch key="home"/>
1308 <action function="page">main</action>
1309 </action>
1310
1311 <action>
1312 <touch key="back"/>
1313 <action function="page">main</action>
1314 </action>
1315 </page>
1316
1317 <page name="wipe_type2">
1318 <template name="page"/>
1319
1320 <template name="statusbar"/>
1321
1322 <text style="text_m">
1323 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <button style="main_button_full_width">
1328 <condition var1="tw_has_data_media" var2="1"/>
1329 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <action function="page">formatdata</action>
1332 </button>
1333
1334 <button style="main_button_full_width">
1335 <conditions>
1336 <condition var1="tw_is_encrypted" var2="1"/>
1337 <condition var1="tw_has_data_media" var2="0"/>
1338 </conditions>
1339 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <actions>
1342 <action function="set">tw_back=wipe</action>
1343 <action function="set">tw_action=wipe</action>
1344 <action function="set">tw_action_param=DATAMEDIA</action>
1345 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1349 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1350 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">confirm_action</action>
1352 </actions>
1353 </button>
1354
1355 <button style="main_button_full_width">
1356 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001358 <action function="set">partitionlisterror=0</action>
1359 <action function="page">partitionoptions_select</action>
1360 </actions>
1361 </button>
1362
1363 <button>
1364 <placement x="%col1_x_left%" y="%row11_y%"/>
1365 <highlight color="%highlight_color%"/>
1366 <image resource="q_btn_arrow_left"/>
1367 <action function="page">wipe_type1</action>
1368 </button>
1369
1370 <action>
1371 <touch key="home"/>
1372 <action function="page">main</action>
1373 </action>
1374
1375 <action>
1376 <touch key="back"/>
1377 <action function="page">main</action>
1378 </action>
1379 </page>
1380
1381 <page name="wipe">
1382 <template name="page"/>
1383
1384 <template name="statusbar"/>
1385
1386 <text style="text_m">
1387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001389 </text>
1390
1391 <text style="text_m_accent">
1392 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 </text>
1395
1396 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001397 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001398 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1399 </text>
1400
1401 <text style="text_m_accent">
1402 <condition var1="tw_has_data_media" var2="1"/>
1403 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m_accent">
1408 <conditions>
1409 <condition var1="tw_has_android_secure" var2="1"/>
1410 <condition var1="fileexists" var2="/and-sec"/>
1411 </conditions>
1412 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 </text>
1415
1416 <text style="text_m_accent">
1417 <condition var1="tw_has_sdext_partition" var2="1"/>
1418 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 </text>
1421
1422 <text style="text_m">
1423 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 </text>
1426
1427 <text style="text_m">
1428 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001430 </text>
1431
1432 <text style="text_m">
1433 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001435 </text>
1436
1437 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001439 <actions>
1440 <action function="set">tw_back=wipe</action>
1441 <action function="set">tw_action=wipe</action>
1442 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1444 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001445 <action function="page">action_page</action>
1446 </actions>
1447 </slider>
1448
1449 <action>
1450 <touch key="back"/>
1451 <action function="page">wipe_type1</action>
1452 </action>
1453
1454 <action>
1455 <touch key="home"/>
1456 <action function="page">main</action>
1457 </action>
1458 </page>
1459
1460 <page name="advancedwipe">
1461 <action>
1462 <action function="set">tw_wipe_list=</action>
1463 </action>
1464
1465 <template name="page"/>
1466
1467 <template name="statusbar"/>
1468
1469 <text style="text_m">
1470 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001472 </text>
1473
1474 <partitionlist style="partitionlist_headerless_cb">
1475 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1476 <data name="tw_wipe_list"/>
1477 <listtype name="wipe"/>
1478 </partitionlist>
1479
1480 <fill color="%accent_color%">
1481 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1482 </fill>
1483
1484 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 <actions>
1487 <action function="set">tw_back=advancedwipe</action>
1488 <action function="set">tw_action=wipe</action>
1489 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1491 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1492 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <action function="page">action_page</action>
1494 </actions>
1495 </slider>
1496
1497 <action>
1498 <touch key="home"/>
1499 <action function="page">main</action>
1500 </action>
1501
1502 <action>
1503 <touch key="back"/>
1504 <action function="page">wipe_type1</action>
1505 </action>
1506 </page>
1507
1508 <page name="formatdata">
1509 <template name="page"/>
1510
1511 <template name="statusbar"/>
1512
1513 <text style="text_m">
1514 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001515 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001516 </text>
1517
1518 <text style="text_m_fail">
1519 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001520 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001521 </text>
1522
1523 <text style="text_m_fail">
1524 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001531 </text>
1532
1533 <input>
1534 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1535 <text>%tw_confirm_formatdata%</text>
1536 <data name="tw_confirm_formatdata"/>
1537 <restrict minlen="3" maxlen="3" allow="yes"/>
1538 <action function="page">formatdata_confirm</action>
1539 </input>
1540
1541 <fill color="%accent_color%">
1542 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1543 </fill>
1544
1545 <template name="keyboardtemplate"/>
1546
1547 <action>
1548 <touch key="home"/>
1549 <action function="page">main</action>
1550 </action>
1551
1552 <action>
1553 <touch key="back"/>
1554 <action function="page">wipe_type2</action>
1555 </action>
1556 </page>
1557
1558 <page name="formatdata_confirm">
1559 <action>
1560 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1561 <actions>
1562 <action function="set">tw_back=formatdata</action>
1563 <action function="set">tw_action=wipe</action>
1564 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1566 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001567 <action function="page">action_page</action>
1568 </actions>
1569 </action>
1570
1571 <action>
1572 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1573 <action function="page">formatdata</action>
1574 </action>
1575 </page>
1576
1577 <page name="checkpartitionlist">
1578 <action>
1579 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1580 <actions>
1581 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001582 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001583 <action function="page">partitionoptions</action>
1584 </actions>
1585 </action>
1586
1587 <action>
1588 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1589 <actions>
1590 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <action function="page">partitionoptions_select</action>
1592 </actions>
1593 </action>
1594 </page>
1595
1596 <page name="partitionoptions_select">
1597 <action>
1598 <action function="set">tw_wipe_list=</action>
1599 </action>
1600
1601 <template name="page"/>
1602
1603 <template name="statusbar"/>
1604
1605 <text style="text_m">
1606 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 </text>
1609
1610 <partitionlist style="partitionlist_headerless_cb">
1611 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1612 <data name="tw_wipe_list"/>
1613 <listtype name="wipe"/>
1614 </partitionlist>
1615
1616 <fill color="%accent_color%">
1617 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1618 </fill>
1619
z31s1g28f0a922015-11-07 18:50:22 +01001620 <text style="text_m_fail">
1621 <condition var1="partitionlisterror" var2="1"/>
1622 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 </text>
1625
1626 <button>
1627 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1628 <highlight color="%highlight_color%"/>
1629 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001630 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001631 <action function="page">checkpartitionlist</action>
1632 </actions>
1633 </button>
1634
1635 <action>
1636 <touch key="home"/>
1637 <action function="page">main</action>
1638 </action>
1639
1640 <action>
1641 <touch key="back"/>
1642 <action function="page">wipe_type2</action>
1643 </action>
1644 </page>
1645
1646 <page name="partitionoptions">
1647
1648 <template name="page"/>
1649
1650 <template name="statusbar"/>
1651
1652 <text style="text_m">
1653 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 </text>
1656
1657 <text style="text_m_accent">
1658 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001659 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001660 </text>
1661
1662 <text style="text_m_accent">
1663 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <text style="text_m">
1668 <condition var1="tw_partition_is_present" var2="1"/>
1669 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <condition var1="tw_partition_is_present" var2="0"/>
1675 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <text style="text_m">
1680 <condition var1="tw_partition_removable" var2="1"/>
1681 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 </text>
1684
1685 <text style="text_m">
1686 <condition var1="tw_partition_removable" var2="0"/>
1687 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001688 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001689 </text>
1690
1691 <text style="text_m">
1692 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 </text>
1695
1696 <text style="text_m">
1697 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 </text>
1700
1701 <text style="text_m">
1702 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001703 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001704 </text>
1705
1706 <text style="text_m">
1707 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 </text>
1710
1711 <button style="main_button">
1712 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1713 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001715 <actions>
1716 <action function="set">tw_back=partitionoptions</action>
1717 <action function="set">tw_action=resize</action>
1718 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1719 <action function="set">tw_has_action2=1</action>
1720 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001721 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001723 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001724 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1725 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1726 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="page">confirm_action</action>
1728 </actions>
1729 </button>
1730
1731 <button style="main_button">
1732 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1733 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 <actions>
1736 <action function="set">tw_back=partitionoptions</action>
1737 <action function="set">tw_action=repair</action>
1738 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1739 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001741 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1743 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1744 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001745 <action function="page">confirm_action</action>
1746 </actions>
1747 </button>
1748
1749 <button>
1750 <placement x="%col1_x_left%" y="%row11_y%"/>
1751 <highlight color="%highlight_color%"/>
1752 <image resource="q_btn_arrow_left"/>
1753 <action function="page">partitionoptions_select</action>
1754 </button>
1755
1756 <button style="main_button">
1757 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001758 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001759 <action function="page">selectfilesystem</action>
1760 </button>
1761
1762 <action>
1763 <touch key="home"/>
1764 <action function="page">main</action>
1765 </action>
1766
1767 <action>
1768 <touch key="back"/>
1769 <action function="page">partitionoptions_select</action>
1770 </action>
1771 </page>
1772
1773 <page name="refreshfilesystem">
1774 <action>
1775 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1776 <actions>
1777 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001778 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001779 <action function="page">selectfilesystem</action>
1780 </actions>
1781 </action>
1782
1783 <action>
1784 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1785 <actions>
1786 <action function="set">partitionlisterror=1</action>
1787 <action function="set">tw_wipe_list=</action>
1788 <action function="page">advancedwipe</action>
1789 </actions>
1790 </action>
1791 </page>
1792
1793 <page name="selectfilesystem">
1794 <template name="page"/>
1795
1796 <template name="statusbar"/>
1797
1798 <text style="text_m">
1799 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 </text>
1802
1803 <button style="main_button">
1804 <condition var1="tw_partition_ext" op="=" var2="1"/>
1805 <placement x="%col1_x_left%" y="%row1_y%"/>
1806 <text>EXT2</text>
1807 <actions>
1808 <action function="set">tw_back=refreshfilesystem</action>
1809 <action function="set">tw_action=changefilesystem</action>
1810 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1811 <action function="set">tw_action_new_file_system=ext2</action>
1812 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1814 <action function="set">tw_text2=EXT2</action>
1815 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1816 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1817 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1818 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1819 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001820 <action function="page">confirm_action</action>
1821 </actions>
1822 </button>
1823
1824 <button style="main_button">
1825 <condition var1="tw_partition_ext" op="=" var2="1"/>
1826 <placement x="%col1_x_left%" y="%row6_y%"/>
1827 <text>EXT3</text>
1828 <actions>
1829 <action function="set">tw_back=refreshfilesystem</action>
1830 <action function="set">tw_action=changefilesystem</action>
1831 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1832 <action function="set">tw_action_new_file_system=ext3</action>
1833 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001834 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1835 <action function="set">tw_text2=EXT3</action>
1836 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1837 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1838 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1839 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1840 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001841 <action function="page">confirm_action</action>
1842 </actions>
1843 </button>
1844
1845 <button style="main_button">
1846 <condition var1="tw_partition_ext" op="=" var2="1"/>
1847 <placement x="%col1_x_left%" y="%row11_y%"/>
1848 <text>EXT4</text>
1849 <actions>
1850 <action function="set">tw_back=refreshfilesystem</action>
1851 <action function="set">tw_action=changefilesystem</action>
1852 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1853 <action function="set">tw_action_new_file_system=ext4</action>
1854 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1856 <action function="set">tw_text2=EXT4</action>
1857 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1858 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1859 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1860 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1861 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001862 <action function="page">confirm_action</action>
1863 </actions>
1864 </button>
1865
1866 <button style="main_button">
1867 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1868 <placement x="%col1_x_right%" y="%row1_y%"/>
1869 <text>FAT</text>
1870 <actions>
1871 <action function="set">tw_back=refreshfilesystem</action>
1872 <action function="set">tw_action=changefilesystem</action>
1873 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1874 <action function="set">tw_action_new_file_system=vfat</action>
1875 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1877 <action function="set">tw_text2=FAT</action>
1878 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1879 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1880 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1881 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1882 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001883 <action function="page">confirm_action</action>
1884 </actions>
1885 </button>
1886
1887 <button style="main_button">
1888 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1889 <placement x="%col1_x_right%" y="%row6_y%"/>
1890 <text>exFAT</text>
1891 <actions>
1892 <action function="set">tw_back=refreshfilesystem</action>
1893 <action function="set">tw_action=changefilesystem</action>
1894 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1895 <action function="set">tw_action_new_file_system=exfat</action>
1896 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1898 <action function="set">tw_text2=exFAT</action>
1899 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1900 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1901 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1902 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1903 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001904 <action function="page">confirm_action</action>
1905 </actions>
1906 </button>
1907
1908 <button style="main_button">
1909 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1910 <placement x="%col1_x_right%" y="%row11_y%"/>
1911 <text>F2FS</text>
1912 <actions>
1913 <action function="set">tw_back=refreshfilesystem</action>
1914 <action function="set">tw_action=changefilesystem</action>
1915 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1916 <action function="set">tw_action_new_file_system=f2fs</action>
1917 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1919 <action function="set">tw_text2=F2FS</action>
1920 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1921 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1922 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1923 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1924 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001925 <action function="page">confirm_action</action>
1926 </actions>
1927 </button>
1928
1929 <action>
1930 <touch key="home"/>
1931 <action function="page">main</action>
1932 </action>
1933
1934 <action>
1935 <touch key="back"/>
1936 <action function="page">partitionoptions</action>
1937 </action>
1938 </page>
1939
bigbiffce8f83c2015-12-12 18:30:21 -05001940 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001941 <template name="page"/>
1942
Noah Jacobson81d638d2019-04-28 00:10:07 -04001943 <action>
1944 <conditions>
1945 <condition var1="tw_is_fbe" var2="1"/>
1946 <condition var1="tw_all_users_decrypted" var2="0"/>
1947 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1948 </conditions>
1949 <actions>
1950 <action function="set">tw_multiuser_warning_destination=backup</action>
1951 <action function="page">multiuser_warning</action>
1952 </actions>
1953 </action>
1954
z31s1g28f0a922015-11-07 18:50:22 +01001955 <template name="statusbar"/>
1956
1957 <text style="text_m">
1958 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001959 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001960 </text>
1961
1962 <partitionlist style="partitionlist_headerless_rb">
1963 <data name="tw_storage_path"/>
1964 <listtype name="storage"/>
1965 </partitionlist>
1966
1967 <button>
1968 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1969 <highlight color="%highlight_color%"/>
1970 <image resource="q_btn_refresh"/>
1971 <actions>
1972 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001973 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001974 </actions>
1975 </button>
1976
1977 <button>
1978 <condition var1="tw_back" var2="backup_confirm"/>
1979 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1980 <highlight color="%highlight_color%"/>
1981 <image resource="q_btn_accept"/>
1982 <action function="page">backup_confirm</action>
1983 </button>
1984
1985 <button>
1986 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1987 <highlight color="%highlight_color%"/>
1988 <image resource="q_btn_arrow_right"/>
1989 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001990 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001991 <action function="page">backup_selectpartitions</action>
1992 </actions>
1993 </button>
1994
1995 <action>
1996 <touch key="home"/>
1997 <action function="page">main</action>
1998 </action>
1999
2000 <action>
2001 <touch key="back"/>
2002 <action function="page">%tw_back%</action>
2003 </action>
2004
2005 <action>
2006 <touch key="power+voldown"/>
2007 <action function="screenshot"/>
2008 </action>
2009 </page>
2010
2011 <page name="backup_selectpartitions">
2012 <template name="page"/>
2013
2014 <template name="statusbar"/>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <partitionlist style="partitionlist_headerless_cb">
2022 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2023 <data name="tw_backup_list"/>
2024 <listtype name="backup"/>
2025 </partitionlist>
2026
2027 <fill color="%accent_color%">
2028 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2029 </fill>
2030
2031 <button>
2032 <placement x="%col1_x_left%" y="%row11_y%"/>
2033 <highlight color="%highlight_color%"/>
2034 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002035 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002036 </button>
2037
2038 <button>
2039 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2040 <highlight color="%highlight_color%"/>
2041 <image resource="q_btn_refresh"/>
2042 <action function="page">backup_selectpartitions</action>
2043 </button>
2044
2045 <button>
2046 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2047 <highlight color="%highlight_color%"/>
2048 <image resource="q_btn_accept"/>
2049 <action function="page">backup_confirm</action>
2050 </button>
2051
2052 <button>
2053 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2054 <highlight color="%highlight_color%"/>
2055 <image resource="q_btn_arrow_right"/>
2056 <actions>
2057 <action function="set">tw_back=backup_selectpartitions</action>
2058 <action function="page">backup_options</action>
2059 </actions>
2060 </button>
2061
2062 <action>
2063 <touch key="home"/>
2064 <action function="page">main</action>
2065 </action>
2066
2067 <action>
2068 <touch key="back"/>
2069 <action function="page">%tw_back%</action>
2070 </action>
2071
2072 <action>
2073 <touch key="power+voldown"/>
2074 <action function="screenshot"/>
2075 </action>
2076 </page>
2077
Noah Jacobson81d638d2019-04-28 00:10:07 -04002078 <page name="multiuser_warning">
2079 <template name="page"/>
2080
2081 <text style="text_m">
2082 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2083 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2084 </text>
2085
2086 <text style="text_m_fail">
2087 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2088 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2089 </text>
2090
2091 <text style="text_m_fail">
2092 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2093 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2094 </text>
2095
2096 <button style="main_button_full_width">
2097 <placement x="%col1_x_left%" y="%row6_y%"/>
2098 <text>{@decrypt_users=Decrypt Users}</text>
2099 <action function="page">decrypt_users</action>
2100 </button>
2101
2102 <slider>
2103 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2104 <actions>
2105 <action function="set">tw_multiuser_warning_accepted=1</action>
2106 <action function="page">%tw_multiuser_warning_destination%</action>
2107 </actions>
2108 </slider>
2109
2110 <action>
2111 <touch key="home"/>
2112 <action function="page">main</action>
2113 </action>
2114
2115 <action>
2116 <touch key="back"/>
2117 <action function="page">main</action>
2118 </action>
2119 </page>
2120
z31s1g28f0a922015-11-07 18:50:22 +01002121 <page name="backup_options">
2122 <template name="page"/>
2123
2124 <template name="statusbar"/>
2125
2126 <text style="text_m">
2127 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <listbox style="scrolllist">
2132 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002134 <data variable="tw_use_compression"/>
2135 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002136 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2137 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002138 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002139 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002140 <data variable="tw_disable_free_space"/>
2141 </listitem>
2142 </listbox>
2143
2144 <button>
2145 <placement x="%col1_x_left%" y="%row11_y%"/>
2146 <highlight color="%highlight_color%"/>
2147 <image resource="q_btn_arrow_left"/>
2148 <action function="page">backup_selectpartitions</action>
2149 </button>
2150
2151 <button>
2152 <conditions>
2153 <condition var1="tw_include_encrypted_backup" var2="1"/>
2154 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002155 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002156 </conditions>
2157 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2158 <highlight color="%highlight_color%"/>
2159 <image resource="q_btn_encryption_dis"/>
2160 <actions>
2161 <action function="set">tw_password_not_match=0</action>
2162 <action function="set">tw_back=backup_options</action>
2163 <action function="page">backupencryption</action>
2164 </actions>
2165 </button>
2166
2167 <button>
2168 <conditions>
2169 <condition var1="tw_include_encrypted_backup" var2="1"/>
2170 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002171 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002172 </conditions>
2173 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2174 <highlight color="%highlight_color%"/>
2175 <image resource="q_btn_encryption_en"/>
2176 <actions>
2177 <action function="set">tw_password_not_match=0</action>
2178 <action function="set">tw_back=backup_options</action>
2179 <action function="page">backupencryption</action>
2180 </actions>
2181 </button>
2182
2183 <button>
2184 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2185 <highlight color="%highlight_color%"/>
2186 <image resource="q_btn_accept_transp"/>
2187 <actions>
2188 <action function="set">tw_back=backup_options</action>
2189 <action function="page">backup_confirm</action>
2190 </actions>
2191 </button>
2192
2193 <action>
2194 <touch key="home"/>
2195 <action function="page">main</action>
2196 </action>
2197
2198 <action>
2199 <touch key="back"/>
2200 <action function="page">%tw_back%</action>
2201 </action>
2202
2203 <action>
2204 <touch key="power+voldown"/>
2205 <action function="screenshot"/>
2206 </action>
2207 </page>
2208
2209 <page name="backup_confirm">
2210 <template name="page"/>
2211
2212 <template name="statusbar"/>
2213
2214 <text style="text_m">
2215 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002216 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002217 </text>
2218
2219 <text style="text_m_accent">
2220 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002222 </text>
2223
2224 <text style="text_m">
2225 <placement x="%col1_x_left%" y="%row2_y%"/>
2226 <text>%tw_backup_name%</text>
2227 </text>
2228
2229 <fill color="%accent_color%">
2230 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2231 </fill>
2232
2233 <button>
2234 <fill color="%transparent%"/>
2235 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2236 <actions>
2237 <action function="set">tw_back=backup_confirm</action>
2238 <action function="set">tw_fileexists=0</action>
2239 <action function="page">backup_name1</action>
2240 </actions>
2241 </button>
2242
2243 <fill color="%background_color%">
2244 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2245 </fill>
2246
2247 <text style="text_m_accent">
2248 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002249 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002250 </text>
2251
2252 <partitionlist style="partitionlist_summary">
2253 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2254 <data name="tw_backup_list"/>
2255 <listtype name="backup"/>
2256 </partitionlist>
2257
2258 <button>
2259 <fill color="%transparent%"/>
2260 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2261 <actions>
2262 <action function="set">tw_back=backup_confirm</action>
2263 <action function="page">backup_selectpartitions</action>
2264 </actions>
2265 </button>
2266
2267 <text style="text_m_accent">
2268 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002269 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002270 </text>
2271
2272 <text style="text_m">
2273 <placement x="%col1_x_right%" y="%row2_y%"/>
2274 <text>%tw_storage_display_name%</text>
2275 </text>
2276
2277 <button>
2278 <fill color="%transparent%"/>
2279 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2280 <actions>
2281 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002282 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002283 </actions>
2284 </button>
2285
2286 <text style="text_m_accent">
2287 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 </text>
2290
2291 <text style="text_m">
2292 <conditions>
2293 <condition var1="tw_include_encrypted_backup" var2="1"/>
2294 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002295 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </conditions>
2297 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </text>
2300
2301 <text style="text_m">
2302 <conditions>
2303 <condition var1="tw_include_encrypted_backup" var2="1"/>
2304 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002305 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </conditions>
2307 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002308 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002309 </text>
2310
2311 <button>
2312 <fill color="%transparent%"/>
2313 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2314 <actions>
2315 <action function="set">tw_back=backup_confirm</action>
2316 <action function="page">backupencryption</action>
2317 </actions>
2318 </button>
2319
2320 <listbox style="listbox_options">
2321 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002323 <data variable="tw_use_compression"/>
2324 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002325 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2326 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002327 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002328 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002329 <data variable="tw_disable_free_space"/>
2330 </listitem>
2331 </listbox>
2332
2333 <text style="text_m_accent">
2334 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <button>
2339 <fill color="%transparent%"/>
2340 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2341 <actions>
2342 <action function="set">tw_back=backup_confirm</action>
2343 <action function="page">backup_options</action>
2344 </actions>
2345 </button>
2346
2347 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 <action function="page">backup_run</action>
2350 </slider>
2351
2352 <action>
2353 <touch key="home"/>
2354 <action function="page">main</action>
2355 </action>
2356
2357 <action>
2358 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002359 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </action>
2361 </page>
2362
2363 <page name="backup_name1">
2364 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <action function="generatebackupname"/>
2367 </action>
2368
2369 <action>
2370 <action function="page">backup_name2</action>
2371 </action>
2372 </page>
2373
2374 <page name="backup_name2">
2375 <template name="page"/>
2376
2377 <template name="statusbar"/>
2378
2379 <text style="text_m">
2380 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <text style="text_m_accent">
2385 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 </text>
2388
2389 <input>
2390 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2391 <text>%tw_backup_name%</text>
2392 <data name="tw_backup_name"/>
2393 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2394 <actions>
2395 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2396 <action function="set">tw_existpage=backup_name2</action>
2397 <action function="set">tw_notexistpage=backup_confirm</action>
2398 <action function="page">filecheck</action>
2399 </actions>
2400 </input>
2401
2402 <fill color="%accent_color%">
2403 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2404 </fill>
2405
2406 <fill color="%text_fail_color%">
2407 <condition var1="tw_fileexists" var2="1"/>
2408 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2409 </fill>
2410
2411 <text style="text_m_fail">
2412 <condition var1="tw_fileexists" var2="1"/>
2413 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <button style="main_button_half_height">
2418 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002421 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="page">backup_confirm</action>
2423 </actions>
2424 </button>
2425
2426 <button style="main_button_half_height">
2427 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002428 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002429 <action function="appenddatetobackupname"/>
2430 </button>
2431
2432 <template name="keyboardtemplate"/>
2433
2434 <action>
2435 <touch key="home"/>
2436 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002438 <action function="page">main</action>
2439 </actions>
2440 </action>
2441
2442 <action>
2443 <touch key="back"/>
2444 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="page">backup_confirm</action>
2447 </actions>
2448 </action>
2449 </page>
2450
2451 <page name="backupencryption">
2452 <template name="page"/>
2453
2454 <template name="statusbar"/>
2455
2456 <text style="text_m">
2457 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <text style="text_m_accent">
2462 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002463 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002464 </text>
2465
2466 <input>
2467 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2468 <text>%tw_backup_encrypt_display%</text>
2469 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2470 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2471 <action function="page">backupencryption2</action>
2472 </input>
2473
2474 <fill color="%accent_color%">
2475 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2476 </fill>
2477
2478 <fill color="%text_fail_color%">
2479 <condition var1="tw_password_not_match" var2="1"/>
2480 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2481 </fill>
2482
2483 <text style="text_m_fail">
2484 <condition var1="tw_password_not_match" var2="1"/>
2485 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 </text>
2488
2489 <button style="main_button_half_height">
2490 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002491 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002492 <actions>
2493 <action function="set">tw_encrypt_backup=0</action>
2494 <action function="set">tw_backup_password=</action>
2495 <action function="set">tw_backup_password2=</action>
2496 <action function="set">tw_backup_encrypt_display=</action>
2497 <action function="set">tw_backup_encrypt_display2=</action>
2498 <action function="page">%tw_back%</action>
2499 </actions>
2500 </button>
2501
2502 <template name="keyboardtemplate"/>
2503
2504 <action>
2505 <touch key="home"/>
2506 <action function="page">main</action>
2507 </action>
2508
2509 <action>
2510 <touch key="back"/>
2511 <action function="page">%tw_back%</action>
2512 </action>
2513 </page>
2514
2515 <page name="backupencryption2">
2516 <template name="page"/>
2517
2518 <template name="statusbar"/>
2519
2520 <text style="text_m">
2521 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002522 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002523 </text>
2524
2525 <text style="text_m_accent">
2526 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <input>
2531 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2532 <text>%tw_backup_encrypt_display2%</text>
2533 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2534 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2535 <action function="page">checkbackuppassword</action>
2536 </input>
2537
2538 <fill color="%accent_color%">
2539 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2540 </fill>
2541
2542 <button style="main_button_half_height">
2543 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <actions>
2546 <action function="set">tw_encrypt_backup=0</action>
2547 <action function="set">tw_backup_password=</action>
2548 <action function="set">tw_backup_password2=</action>
2549 <action function="set">tw_backup_encrypt_display=</action>
2550 <action function="set">tw_backup_encrypt_display2=</action>
2551 <action function="page">%tw_back%</action>
2552 </actions>
2553 </button>
2554
2555 <template name="keyboardtemplate"/>
2556
2557 <action>
2558 <touch key="home"/>
2559 <action function="page">main</action>
2560 </action>
2561
2562 <action>
2563 <touch key="back"/>
2564 <action function="page">%tw_back%</action>
2565 </action>
2566 </page>
2567
2568 <page name="checkbackuppassword">
2569 <action>
2570 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2571 <actions>
2572 <action function="set">tw_encrypt_backup=1</action>
2573 <action function="page">%tw_back%</action>
2574 </actions>
2575 </action>
2576
2577 <action>
2578 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2579 <actions>
2580 <action function="set">tw_encrypt_backup=0</action>
2581 <action function="set">tw_password_not_match=1</action>
2582 <action function="set">tw_backup_password=</action>
2583 <action function="set">tw_backup_password2=</action>
2584 <action function="set">tw_backup_encrypt_display=</action>
2585 <action function="set">tw_backup_encrypt_display2=</action>
2586 <action function="page">backupencryption</action>
2587 </actions>
2588 </action>
2589 </page>
2590
2591 <page name="backup_run">
2592 <template name="page"/>
2593
2594 <template name="statusbar"/>
2595
2596 <text style="text_m">
2597 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2598 <text>%tw_operation% %tw_partition%</text>
2599 </text>
2600
2601 <template name="console"/>
2602
2603 <template name="progress_bar"/>
2604
2605 <text style="text_m">
2606 <placement x="%indent%" y="%row13a_y%"/>
2607 <text>%tw_file_progress%</text>
2608 </text>
2609
2610 <text style="text_m">
2611 <placement x="%indent%" y="%row14a_y%"/>
2612 <text>%tw_size_progress%</text>
2613 </text>
2614
2615 <button style="main_button_half_height">
2616 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002617 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002618 <action function="cancelbackup"/>
2619 </button>
2620
2621 <action>
2622 <action function="nandroid">backup</action>
2623 </action>
2624
2625 <action>
2626 <condition var1="tw_operation_state" var2="1"/>
2627 <condition var1="tw_cancel_backup" var2="0"/>
2628 <actions>
2629 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002631 <action function="set">tw_show_reboot=1</action>
2632 <action function="page">action_complete</action>
2633 </actions>
2634 </action>
2635
2636 <action>
2637 <condition var1="tw_operation_state" var2="1"/>
2638 <condition var1="tw_cancel_backup" var2="1"/>
2639 <actions>
2640 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <action function="set">tw_show_reboot=1</action>
2643 <action function="page">action_complete</action>
2644 </actions>
2645 </action>
2646 </page>
2647
2648 <page name="restore">
2649 <template name="page"/>
2650
Noah Jacobson81d638d2019-04-28 00:10:07 -04002651 <action>
2652 <conditions>
2653 <condition var1="tw_is_fbe" var2="1"/>
2654 <condition var1="tw_all_users_decrypted" var2="0"/>
2655 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2656 </conditions>
2657 <actions>
2658 <action function="set">tw_multiuser_warning_destination=restore</action>
2659 <action function="page">multiuser_warning</action>
2660 </actions>
2661 </action>
2662
z31s1g28f0a922015-11-07 18:50:22 +01002663 <template name="statusbar"/>
2664
2665 <text style="text_m">
2666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002667 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <fileselector>
2671 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2672 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002673 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <path name="tw_backups_folder"/>
2675 <data name="tw_restore" default=""/>
2676 <selection name="tw_restore_name"/>
2677 </fileselector>
2678
2679 <button>
2680 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2681 <highlight color="%highlight_color%"/>
2682 <image resource="q_btn_storage"/>
2683 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="set">tw_back=restore</action>
2686 <action function="page">select_storage</action>
2687 </actions>
2688 </button>
2689
2690 <action>
2691 <condition var1="tw_restore" op="modified"/>
2692 <actions>
2693 <action function="readBackup"/>
2694 <action function="set">tw_back=restore</action>
2695 <action function="page">restore_read</action>
2696 </actions>
2697 </action>
2698
2699 <action>
2700 <touch key="home"/>
2701 <action function="page">main</action>
2702 </action>
2703
2704 <action>
2705 <touch key="back"/>
2706 <action function="page">main</action>
2707 </action>
2708 </page>
2709
2710 <page name="restore_read">
2711 <action>
2712 <condition var1="tw_restore_encrypted" var2="1"/>
2713 <actions>
2714 <action function="set">tw_password_fail=0</action>
2715 <action function="page">restore_decrypt</action>
2716 </actions>
2717 </action>
2718
2719 <action>
2720 <condition var1="tw_restore_encrypted" var2="0"/>
2721 <actions>
2722 <action function="page">restore_select</action>
2723 </actions>
2724 </action>
2725 </page>
2726
2727 <page name="restore_decrypt">
2728 <template name="page"/>
2729
2730 <template name="statusbar"/>
2731
2732 <text style="text_m">
2733 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002735 </text>
2736
2737 <text style="text_m_accent">
2738 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 </text>
2741
2742 <input>
2743 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2744 <text>%tw_restore_display%</text>
2745 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2746 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2747 <action function="page">try_restore_decrypt</action>
2748 </input>
2749
2750 <fill color="%accent_color%">
2751 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2752 </fill>
2753
2754 <fill color="%text_fail_color%">
2755 <condition var1="tw_password_fail" var2="1"/>
2756 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2757 </fill>
2758
2759 <text style="text_m_fail">
2760 <condition var1="tw_password_fail" var2="1"/>
2761 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <button style="main_button_half_height">
2766 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <actions>
2769 <action function="set">tw_page_done=1</action>
2770 <action function="page">restore</action>
2771 </actions>
2772 </button>
2773
2774 <button style="main_button_half_height">
2775 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002776 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002777 <actions>
2778 <action function="set">tw_back=restore</action>
2779 <action function="set">tw_action=cmd</action>
2780 <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 -05002781 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2782 <action function="set">tw_text2=%tw_restore_name%</action>
2783 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2784 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2785 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2786 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002787 <action function="page">confirm_action</action>
2788 </actions>
2789 </button>
2790
2791 <template name="keyboardtemplate"/>
2792
2793 <action>
2794 <touch key="home"/>
2795 <action function="page">main</action>
2796 </action>
2797
2798 <action>
2799 <touch key="back"/>
2800 <action function="page">restore</action>
2801 </action>
2802 </page>
2803
2804 <page name="try_restore_decrypt">
2805 <template name="page"/>
2806
2807 <template name="statusbar"/>
2808
2809 <text style="text_m">
2810 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 </text>
2813
2814 <template name="console"/>
2815
2816 <template name="progress_bar"/>
2817
2818 <action>
2819 <action function="decrypt_backup"/>
2820 </action>
2821
2822 <action>
2823 <conditions>
2824 <condition var1="tw_operation_state" var2="1"/>
2825 <condition var1="tw_operation_status" op="!=" var2="0"/>
2826 </conditions>
2827 <actions>
2828 <action function="set">tw_password_fail=1</action>
2829 <action function="page">restore_decrypt</action>
2830 </actions>
2831 </action>
2832
2833 <action>
2834 <conditions>
2835 <condition var1="tw_operation_state" var2="1"/>
2836 <condition var1="tw_operation_status" op="=" var2="0"/>
2837 </conditions>
2838 <actions>
2839 <action function="set">tw_page_done=1</action>
2840 <action function="page">restore_select</action>
2841 </actions>
2842 </action>
2843 </page>
2844
2845 <page name="restore_select">
2846 <template name="page"/>
2847
2848 <template name="statusbar"/>
2849
2850 <text style="text_m">
2851 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002852 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002853 </text>
2854
2855 <partitionlist style="partitionlist_headerless_cb">
2856 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2857 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2858 <listtype name="restore"/>
2859 </partitionlist>
2860
2861 <fill color="%accent_color%">
2862 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2863 </fill>
2864
2865 <button>
2866 <placement x="%col1_x_left%" y="%row11_y%"/>
2867 <highlight color="%highlight_color%"/>
2868 <image resource="q_btn_arrow_left"/>
2869 <action function="page">restore</action>
2870 </button>
2871
2872 <button>
2873 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2874 <highlight color="%highlight_color%"/>
2875 <image resource="q_btn_delete"/>
2876 <actions>
2877 <action function="set">tw_back=restore</action>
2878 <action function="set">tw_action=cmd</action>
2879 <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 -05002880 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002881 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002882 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2883 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2884 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2885 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002886 <action function="page">confirm_action</action>
2887 </actions>
2888 </button>
2889
2890 <button>
2891 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2892 <highlight color="%highlight_color%"/>
2893 <image resource="q_btn_accept"/>
2894 <action function="page">restore_confirm</action>
2895 </button>
2896
2897 <button>
2898 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2899 <highlight color="%highlight_color%"/>
2900 <image resource="q_btn_arrow_right"/>
2901 <actions>
2902 <action function="set">tw_back=restore_select</action>
2903 <action function="page">restore_options</action>
2904 </actions>
2905 </button>
2906
2907 <action>
2908 <touch key="home"/>
2909 <action function="page">main</action>
2910 </action>
2911
2912 <action>
2913 <touch key="back"/>
2914 <action function="page">%tw_back%</action>
2915 </action>
2916 </page>
2917
2918 <page name="restore_options">
2919 <template name="page"/>
2920
2921 <template name="statusbar"/>
2922
2923 <text style="text_m">
2924 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002929 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002930 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002931 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2932 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002933 </listitem>
2934 </listbox>
2935
2936 <button>
2937 <placement x="%col1_x_left%" y="%row11_y%"/>
2938 <highlight color="%highlight_color%"/>
2939 <image resource="q_btn_arrow_left"/>
2940 <action function="page">restore_select</action>
2941 </button>
2942
2943 <button>
2944 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2945 <highlight color="%highlight_color%"/>
2946 <image resource="q_btn_accept_transp"/>
2947 <actions>
2948 <action function="set">tw_back=restore_options</action>
2949 <action function="page">restore_confirm</action>
2950 </actions>
2951 </button>
2952
2953 <action>
2954 <touch key="home"/>
2955 <action function="page">main</action>
2956 </action>
2957
2958 <action>
2959 <touch key="back"/>
2960 <action function="page">%tw_back%</action>
2961 </action>
2962
2963 <action>
2964 <touch key="power+voldown"/>
2965 <action function="screenshot"/>
2966 </action>
2967 </page>
2968
2969 <page name="renamebackup">
2970 <template name="page"/>
2971
2972 <template name="statusbar"/>
2973
2974 <text style="text_m">
2975 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 </text>
2978
2979 <text style="text_m_accent">
2980 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </text>
2983
2984 <input>
2985 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2986 <text>%tw_backup_rename%</text>
2987 <data name="tw_backup_rename"/>
2988 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2989 <actions>
2990 <action function="set">tw_back=restore</action>
2991 <action function="set">tw_action=cmd</action>
2992 <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 -05002993 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2994 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2995 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2996 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2997 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002998 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2999 <action function="set">tw_existpage=renamebackup</action>
3000 <action function="set">tw_notexistpage=confirm_action</action>
3001 <action function="page">filecheck</action>
3002 </actions>
3003 </input>
3004
3005 <fill color="%accent_color%">
3006 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3007 </fill>
3008
3009 <fill color="%text_fail_color%">
3010 <condition var1="tw_fileexists" var2="1"/>
3011 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3012 </fill>
3013
3014 <text style="text_m_fail">
3015 <condition var1="tw_fileexists" var2="1"/>
3016 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <button style="main_button_half_height">
3021 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 <action function="page">restore_confirm</action>
3024 </button>
3025
3026 <template name="keyboardtemplate"/>
3027
3028 <action>
3029 <touch key="home"/>
3030 <action function="page">main</action>
3031 </action>
3032
3033 <action>
3034 <touch key="back"/>
3035 <action function="page">restore_confirm</action>
3036 </action>
3037 </page>
3038
3039 <page name="restore_confirm">
3040 <template name="page"/>
3041
3042 <template name="statusbar"/>
3043
3044 <text style="text_m">
3045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m_accent">
3050 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <text style="text_m">
3055 <placement x="%indent%" y="%row2_y%"/>
3056 <text>%tw_restore_name%</text>
3057 </text>
3058
3059 <fill color="%accent_color%">
3060 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3061 </fill>
3062
3063 <button>
3064 <fill color="%transparent%"/>
3065 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3066 <actions>
3067 <action function="set">tw_back=restore_confirm</action>
3068 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3069 <action function="set">tw_fileexists=0</action>
3070 <action function="page">renamebackup</action>
3071 </actions>
3072 </button>
3073
3074 <text style="text_m_accent">
3075 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003077 </text>
3078
3079 <partitionlist style="partitionlist_summary">
3080 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3081 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3082 <listtype name="restore"/>
3083 </partitionlist>
3084
3085 <button>
3086 <fill color="%transparent%"/>
3087 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3088 <actions>
3089 <action function="set">tw_back=restore_confirm</action>
3090 <action function="page">restore_select</action>
3091 </actions>
3092 </button>
3093
3094 <listbox style="listbox_options">
3095 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003096 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3097 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003098 </listitem>
3099 </listbox>
3100
3101 <text style="text_m_accent">
3102 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 </text>
3105
3106 <button>
3107 <fill color="%transparent%"/>
3108 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3109 <actions>
3110 <action function="set">tw_back=restore_confirm</action>
3111 <action function="page">restore_options</action>
3112 </actions>
3113 </button>
3114
3115 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003117 <action function="page">restore_run</action>
3118 </slider>
3119
3120 <action>
3121 <touch key="home"/>
3122 <action function="page">main</action>
3123 </action>
3124
3125 <action>
3126 <touch key="back"/>
3127 <action function="page">restore_options</action>
3128 </action>
3129 </page>
3130
3131 <page name="restore_run">
3132 <template name="page"/>
3133
3134 <template name="statusbar"/>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3138 <text>%tw_operation% %tw_partition%</text>
3139 </text>
3140
3141 <template name="console"/>
3142
3143 <template name="progress_bar"/>
3144
3145 <text style="text_m">
3146 <placement x="%indent%" y="%row14a_y%"/>
3147 <text>%tw_size_progress%</text>
3148 </text>
3149
3150 <action>
3151 <condition var1="tw_operation_state" var2="1"/>
3152 <actions>
3153 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003154 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003155 <action function="set">tw_show_reboot=1</action>
3156 <action function="page">action_complete</action>
3157 </actions>
3158 </action>
3159
3160 <action>
3161 <action function="nandroid">restore</action>
3162 </action>
3163 </page>
3164
3165 <page name="mount">
3166 <template name="page"/>
3167
3168 <template name="statusbar"/>
3169
3170 <text style="text_m">
3171 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 </text>
3174
3175 <partitionlist style="partitionlist_headerless_cb">
3176 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3177 <listtype name="mount"/>
3178 </partitionlist>
3179
3180 <fill color="%accent_color%">
3181 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3182 </fill>
3183
3184 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003185 <conditions>
3186 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3187 <condition var1="tw_is_super" op="=" var2="0"/>
3188 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003190 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003191 <image resource="checkbox_false"/>
3192 <action function="mountsystemtoggle">1</action>
3193 </button>
3194
3195 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003196 <conditions>
3197 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3198 <condition var1="tw_is_super" op="=" var2="0"/>
3199 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <image resource="checkbox_true"/>
3203 <actions>
3204 <action function="set">tw_lifetime_writes=2</action>
3205 <action function="page">system_readonly_check</action>
3206 </actions>
3207 </button>
3208
3209 <button style="checkbox">
3210 <conditions>
3211 <condition var1="tw_has_mtp" var2="1"/>
3212 <condition var1="tw_mtp_enabled" var2="0"/>
3213 </conditions>
3214 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3215 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003217 <action function="startmtp"/>
3218 </button>
3219
3220 <button style="checkbox">
3221 <conditions>
3222 <condition var1="tw_has_mtp" var2="1"/>
3223 <condition var1="tw_mtp_enabled" var2="1"/>
3224 </conditions>
3225 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3226 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <action function="stopmtp"/>
3229 </button>
3230
3231 <button>
3232 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3233 <highlight color="%highlight_color%"/>
3234 <image resource="q_btn_storage"/>
3235 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003236 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003237 <action function="set">tw_back=mount</action>
3238 <action function="page">select_storage</action>
3239 </actions>
3240 </button>
3241
3242 <button>
3243 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3244 <highlight color="%highlight_color%"/>
3245 <image resource="q_btn_arrow_right"/>
3246 <action function="page">mount_options</action>
3247 </button>
3248
3249 <action>
3250 <touch key="home"/>
3251 <action function="page">main</action>
3252 </action>
3253
3254 <action>
3255 <touch key="back"/>
3256 <action function="page">main</action>
3257 </action>
3258 </page>
3259
3260 <page name="mount_options">
3261 <template name="page"/>
3262
3263 <template name="statusbar"/>
3264
3265 <text style="text_m">
3266 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </text>
3269
3270 <button style="main_button_full_width">
3271 <condition var1="tw_has_usb_storage" var2="1"/>
3272 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 <action function="page">usb_mount</action>
3275 </button>
3276
3277 <button style="main_button_full_width">
3278 <conditions>
3279 <condition var1="tw_is_encrypted" var2="1"/>
3280 <condition var1="tw_is_decrypted" var2="0"/>
3281 </conditions>
3282 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003284 <action function="set">tw_crypto_user_id=0</action>
3285 <action function="set">tw_crypto_password=</action>
3286 <action function="set">tw_password_fail=0</action>
3287 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003288 <action function="page">decrypt</action>
3289 </button>
3290
3291 <button>
3292 <placement x="%col1_x_left%" y="%row11_y%"/>
3293 <highlight color="%highlight_color%"/>
3294 <image resource="q_btn_arrow_left"/>
3295 <action function="page">mount</action>
3296 </button>
3297
3298 <action>
3299 <touch key="home"/>
3300 <action function="page">main</action>
3301 </action>
3302
3303 <action>
3304 <touch key="back"/>
3305 <action function="page">mount</action>
3306 </action>
3307 </page>
3308
3309 <page name="usb_mount">
3310 <template name="page"/>
3311
3312 <template name="statusbar"/>
3313
3314 <text style="text_m">
3315 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003316 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003317 </text>
3318
3319 <text style="text_m_accent">
3320 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 </text>
3323
3324 <text style="text_m_fail">
3325 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </text>
3328
3329 <text style="text_m_fail">
3330 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <button style="main_button">
3335 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <action function="page">usb_umount</action>
3338 </button>
3339
3340 <action>
3341 <action function="mount">usb</action>
3342 <action function="set">tw_busy=1</action>
3343 </action>
3344 </page>
3345
3346 <page name="usb_umount">
3347 <action>
3348 <action function="unmount">usb</action>
3349 </action>
3350
3351 <action>
3352 <action function="page">mount_options</action>
3353 <action function="set">tw_busy=0</action>
3354 </action>
3355 </page>
3356
3357 <page name="system_readonly_check">
3358 <action>
3359 <action function="checkpartitionlifetimewrites">/system</action>
3360 </action>
3361
3362 <action>
3363 <condition var1="tw_lifetime_writes" var2="1"/>
3364 <actions>
3365 <action function="mountsystemtoggle">0</action>
3366 <action function="page">mount</action>
3367 </actions>
3368 </action>
3369
3370 <action>
3371 <condition var1="tw_lifetime_writes" var2="0"/>
3372 <actions>
3373 <action function="set">tw_back=mount</action>
3374 <action function="page">system_readonly</action>
3375 </actions>
3376 </action>
3377 </page>
3378
3379 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06003380 <action>
3381 <action function="checkforapp"></action>
3382 <action function="page">reboot2</action>
3383 </action>
3384 </page>
3385
3386 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003387 <template name="page"/>
3388
3389 <template name="statusbar"/>
3390
3391 <text style="text_m">
3392 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003393 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003394 </text>
3395
3396 <button style="main_button">
3397 <condition var1="tw_reboot_system" var2="1"/>
3398 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <actions>
3401 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003402 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003403 </actions>
3404 </button>
3405
3406 <button style="main_button">
3407 <condition var1="tw_reboot_poweroff" var2="1"/>
3408 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003410 <actions>
3411 <action function="set">tw_back=reboot</action>
3412 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003413 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003414 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003415 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3417 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3418 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3419 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3420 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003421 <action function="page">rebootcheck</action>
3422 </actions>
3423 </button>
3424
3425 <button style="main_button">
3426 <condition var1="tw_reboot_recovery" var2="1"/>
3427 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003429 <actions>
3430 <action function="set">tw_back=reboot</action>
3431 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003432 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003433 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3436 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3437 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3438 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3439 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003440 <action function="page">rebootcheck</action>
3441 </actions>
3442 </button>
3443
3444 <button style="main_button">
3445 <condition var1="tw_reboot_bootloader" var2="1"/>
3446 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <actions>
3449 <action function="set">tw_back=reboot</action>
3450 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003451 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003452 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3455 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3456 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3457 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3458 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="page">rebootcheck</action>
3460 </actions>
3461 </button>
3462
3463 <button style="main_button">
3464 <condition var1="tw_download_mode" var2="1"/>
3465 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <actions>
3468 <action function="set">tw_back=reboot</action>
3469 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003470 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003471 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003472 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3474 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3475 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3476 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3477 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <action function="page">rebootcheck</action>
3479 </actions>
3480 </button>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003481
mauronofrioe9a49ef2018-10-03 13:38:16 +02003482 <button style="main_button">
3483 <condition var1="tw_edl_mode" var2="1"/>
3484 <placement x="%col1_x_right%" y="%row11_y%"/>
3485 <text>{@rb_edl_btn=Edl}</text>
3486 <actions>
3487 <action function="set">tw_back=reboot</action>
3488 <action function="set">tw_action=reboot</action>
3489 <action function="set">tw_action_param=edl</action>
3490 <action function="set">tw_reboot_param=edl</action>
3491 <action function="set">tw_has_action2=0</action>
3492 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3493 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3494 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3495 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3496 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3497 <action function="page">rebootcheck</action>
3498 </actions>
3499 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003500
3501 <action>
3502 <touch key="home"/>
3503 <action function="page">main</action>
3504 </action>
3505
3506 <action>
3507 <touch key="back"/>
3508 <action function="page">main</action>
3509 </action>
3510 </page>
3511
Ethan Yonker8581ab32020-12-17 14:51:50 -06003512 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003513 <template name="page"/>
3514
3515 <template name="statusbar"/>
3516
3517 <text style="text_m">
3518 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003519 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003520 </text>
3521
3522 <text style="text_m_accent">
3523 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3524 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3525 </text>
3526
3527 <text style="text_m">
3528 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3529 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3530 </text>
3531
3532 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003533 <condition var1="tw_mount_system_ro" var2="0"/>
3534 <placement x="%indent%" y="%row5_y%"/>
3535 <text>{@reboot_install_app_system=Install as a System App}</text>
3536 <data variable="tw_app_install_system"/>
3537 </checkbox>
3538
3539 <button style="main_button_half_height">
3540 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003541 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003542 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003543 </button>
3544
Ethan Yonker8581ab32020-12-17 14:51:50 -06003545 <slider>
3546 <text>{@swipe_confirm= Confirm}</text>
3547 <actions>
3548 <action function="set">tw_action=installapp</action>
3549 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3550 <action function="set">tw_action_text2=</action>
3551 <action function="set">tw_complete_text1={@successful=Successful}</action>
3552 <action function="page">action_page</action>
3553 </actions>
3554 </slider>
3555
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003556 <action>
3557 <touch key="home"/>
3558 <actions>
3559 <action function="set">tw_app_install_status=0</action>
3560 <action function="page">main</action>
3561 </actions>
3562 </action>
3563
3564 <action>
3565 <touch key="back"/>
3566 <actions>
3567 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003568 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003569 </actions>
3570 </action>
3571 </page>
3572
z31s1g28f0a922015-11-07 18:50:22 +01003573 <page name="system_readonly">
3574 <template name="page"/>
3575
3576 <template name="statusbar"/>
3577
3578 <text style="text_m">
3579 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003580 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003581 </text>
3582
3583 <text style="text_m_accent">
3584 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 </text>
3587
3588 <text style="text_m">
3589 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003590 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </text>
3592
3593 <text style="text_m">
3594 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </text>
3597
3598 <text style="text_m">
3599 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 </text>
3607
3608 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003609 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 </text>
3612
3613 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003614 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 </text>
3617
z31s1g608d7ff2016-01-18 19:47:25 +01003618 <button style="main_button_half_height">
3619 <placement x="%col1_x_right%" y="%row8a_y%"/>
3620 <text>{@sel_lang_btn=Select Language}</text>
3621 <action function="page">settings_language</action>
3622 </button>
3623
z31s1g28f0a922015-11-07 18:50:22 +01003624 <checkbox>
3625 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003626 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <data variable="tw_never_show_system_ro_page"/>
3629 </checkbox>
3630
3631 <button style="main_button_half_height">
3632 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003634 <actions>
3635 <action function="mountsystemtoggle">1</action>
3636 <action function="set">tw_page_done=1</action>
3637 <action function="page">%tw_back%</action>
3638 </actions>
3639 </button>
3640
3641 <button style="main_button_half_height">
3642 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 <actions>
3645 <action function="mountsystemtoggle">0</action>
3646 <action function="set">tw_page_done=1</action>
3647 <action function="page">%tw_back%</action>
3648 </actions>
3649 </button>
3650 </page>
3651
3652 <page name="settings">
3653 <template name="page"/>
3654
3655 <template name="statusbar"/>
3656
3657 <text style="text_m">
3658 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003659 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003660 </text>
3661
3662 <button style="main_button">
3663 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="page">settings_general</action>
3666 </button>
3667
3668 <button style="main_button">
3669 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="page">settings_timezone</action>
3672 </button>
3673
3674 <button style="main_button">
3675 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003677 <action function="page">settings_screen</action>
3678 </button>
3679
3680 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003681 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003682 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 <action function="page">settings_vibration</action>
3685 </button>
3686
3687 <button style="main_button">
3688 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003690 <action function="page">settings_language</action>
3691 </button>
3692
3693 <button>
3694 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3695 <highlight color="%highlight_color%"/>
3696 <image resource="q_btn_reset"/>
3697 <action function="restoredefaultsettings"/>
3698 </button>
3699
3700 <action>
3701 <touch key="home"/>
3702 <action function="page">main</action>
3703 </action>
3704
3705 <action>
3706 <touch key="back"/>
3707 <action function="page">main3</action>
3708 </action>
3709 </page>
3710
3711 <page name="settings_general">
3712 <template name="page"/>
3713
3714 <template name="statusbar"/>
3715
3716 <text style="text_m">
3717 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </text>
3720
3721 <listbox style="scrolllist">
3722 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003724 <data variable="tw_signed_zip_verify"/>
3725 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003726 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3727 <data variable="tw_install_reboot"/>
3728 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003729 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003730 <data variable="tw_rm_rf"/>
3731 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003732 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3733 <data variable="tw_disable_free_space"/>
3734 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003735 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3736 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003737 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003738 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3739 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003740 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003742 <data variable="tw_military_time"/>
3743 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003745 <data variable="tw_simulate_actions"/>
3746 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003747 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003748 <data variable="tw_simulate_fail"/>
3749 <condition var1="tw_simulate_actions" var2="1"/>
3750 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003751 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3752 <condition var1="tw_no_sha2" var2="0"/>
3753 <data variable="tw_use_sha2"/>
3754 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003755 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3756 <data variable="tw_unmount_system"/>
3757 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </listbox>
3759
3760 <action>
3761 <touch key="home"/>
3762 <action function="page">main</action>
3763 </action>
3764
3765 <action>
3766 <touch key="back"/>
3767 <action function="page">settings</action>
3768 </action>
3769 </page>
3770
3771 <page name="settings_timezone">
3772 <template name="page"/>
3773
3774 <template name="statusbar"/>
3775
3776 <text style="text_m">
3777 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 </text>
3780
3781 <text color="%text_color%">
3782 <font resource="font_m"/>
3783 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3784 <text>%tw_time%</text>
3785 </text>
3786
3787 <listbox style="listbox_headerless">
3788 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3789 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3791 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3792 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3793 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3794 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3795 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3796 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3797 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3798 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3799 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3800 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3801 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3802 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3803 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3804 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3805 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3806 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3807 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3808 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3809 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3810 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3811 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3812 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3813 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003814 </listbox>
3815
3816 <button>
3817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3818 <highlight color="%highlight_color%"/>
3819 <image resource="q_btn_arrow_right"/>
3820 <actions>
3821 <action function="setguitimezone"/>
3822 <action function="page">settings_timezone2</action>
3823 </actions>
3824 </button>
3825
3826 <action>
3827 <condition var1="tw_time_zone_guisel" op="modified"/>
3828 <action function="setguitimezone"/>
3829 </action>
3830
3831 <action>
3832 <touch key="home"/>
3833 <actions>
3834 <action function="page">main</action>
3835 <action function="setguitimezone"/>
3836 </actions>
3837 </action>
3838
3839 <action>
3840 <touch key="back"/>
3841 <actions>
3842 <action function="page">settings</action>
3843 <action function="setguitimezone"/>
3844 </actions>
3845 </action>
3846
3847 <action>
3848 <touch key="power+voldown"/>
3849 <action function="screenshot"/>
3850 </action>
3851 </page>
3852
3853 <page name="settings_timezone2">
3854 <template name="page"/>
3855
3856 <template name="statusbar"/>
3857
3858 <text style="text_m">
3859 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <text color="%text_color%">
3864 <font resource="font_m"/>
3865 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3866 <text>%tw_time%</text>
3867 </text>
3868
3869 <checkbox>
3870 <placement x="%col1_x_left%" y="%row1_y%"/>
3871 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003873 <data variable="tw_time_zone_guidst"/>
3874 <image checked="checkbox_true" unchecked="checkbox_false"/>
3875 </checkbox>
3876
3877 <text style="text_m_accent">
3878 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <button style="main_button_quarter_width">
3883 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003885 <actions>
3886 <action function="set">tw_time_zone_guioffset=0</action>
3887 <action function="setguitimezone"/>
3888 </actions>
3889 </button>
3890
3891 <button style="main_button_quarter_width">
3892 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003893 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003894 <actions>
3895 <action function="set">tw_time_zone_guioffset=15</action>
3896 <action function="setguitimezone"/>
3897 </actions>
3898 </button>
3899
3900 <button style="main_button_quarter_width">
3901 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 <actions>
3904 <action function="set">tw_time_zone_guioffset=30</action>
3905 <action function="setguitimezone"/>
3906 </actions>
3907 </button>
3908
3909 <button style="main_button_quarter_width">
3910 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003912 <actions>
3913 <action function="set">tw_time_zone_guioffset=45</action>
3914 <action function="setguitimezone"/>
3915 </actions>
3916 </button>
3917
3918 <button>
3919 <placement x="%col1_x_left%" y="%row11_y%"/>
3920 <highlight color="%highlight_color%"/>
3921 <image resource="q_btn_arrow_left"/>
3922 <actions>
3923 <action function="setguitimezone"/>
3924 <action function="page">settings_timezone</action>
3925 </actions>
3926 </button>
3927
3928 <text style="text_m_accent">
3929 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 </text>
3932
3933 <text style="text_m">
3934 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3935 <text>%tw_time_zone%</text>
3936 </text>
3937
3938 <action>
3939 <condition var1="tw_time_zone_guidst" op="modified"/>
3940 <action function="setguitimezone"/>
3941 </action>
3942
3943 <action>
3944 <touch key="home"/>
3945 <actions>
3946 <action function="setguitimezone"/>
3947 <action function="page">main</action>
3948 </actions>
3949 </action>
3950
3951 <action>
3952 <touch key="back"/>
3953 <actions>
3954 <action function="setguitimezone"/>
3955 <action function="page">settings_timezone</action>
3956 </actions>
3957 </action>
3958 </page>
3959
3960 <page name="settings_screen">
3961 <template name="page"/>
3962
3963 <template name="statusbar"/>
3964
3965 <text style="text_m">
3966 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 </text>
3969
3970 <button style="checkbox">
3971 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3972 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3973 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003974 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003975 <image resource="checkbox_false"/>
3976 <action function="set">tw_screen_timeout_secs=60</action>
3977 </button>
3978
3979 <button style="checkbox">
3980 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3981 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3982 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003983 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003984 <image resource="checkbox_true"/>
3985 <action function="set">tw_screen_timeout_secs=0</action>
3986 </button>
3987
3988 <slidervalue>
3989 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3990 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003991 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003992 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3993 </slidervalue>
3994
3995 <text style="text_m_fail">
3996 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3997 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 </text>
4000
4001 <button>
4002 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4003 <highlight color="%highlight_color%"/>
4004 <image resource="q_btn_arrow_right"/>
4005 <action function="page">settings_screen2</action>
4006 </button>
4007
4008 <action>
4009 <touch key="home"/>
4010 <action function="page">main</action>
4011 </action>
4012
4013 <action>
4014 <touch key="back"/>
4015 <action function="page">settings</action>
4016 </action>
4017 </page>
4018
4019 <page name="settings_screen2">
4020 <template name="page"/>
4021
4022 <template name="statusbar"/>
4023
4024 <text style="text_m">
4025 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004027 </text>
4028
4029 <slidervalue>
4030 <condition var1="tw_has_brightnesss_file" var2="1"/>
4031 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004032 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004033 <data variable="tw_brightness_pct" min="10" max="100"/>
4034 <actions>
4035 <action function="set">tw_brightness=%tw_brightness_max%</action>
4036 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4037 <action function="compute">tw_brightness/100</action>
4038 <action function="setbrightness">%tw_brightness%</action>
4039 </actions>
4040 </slidervalue>
4041
4042 <text style="text_m_fail">
4043 <condition var1="tw_has_brightnesss_file" var2="0"/>
4044 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <button>
4049 <placement x="%col1_x_left%" y="%row11_y%"/>
4050 <highlight color="%highlight_color%"/>
4051 <image resource="q_btn_arrow_left"/>
4052 <action function="page">settings_screen</action>
4053 </button>
4054
4055 <action>
4056 <touch key="home"/>
4057 <action function="page">main</action>
4058 </action>
4059
4060 <action>
4061 <touch key="back"/>
4062 <action function="page">settings</action>
4063 </action>
4064 </page>
4065
4066 <page name="settings_vibration">
4067 <template name="page"/>
4068
4069 <template name="statusbar"/>
4070
4071 <text style="text_m">
4072 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <slidervalue>
4077 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <data variable="tw_button_vibrate" min="0" max="300"/>
4080 </slidervalue>
4081
4082 <button>
4083 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4084 <highlight color="%highlight_color%"/>
4085 <image resource="q_btn_arrow_right"/>
4086 <action function="page">settings_vibration2</action>
4087 </button>
4088
4089 <action>
4090 <touch key="home"/>
4091 <action function="page">main</action>
4092 </action>
4093
4094 <action>
4095 <touch key="back"/>
4096 <action function="page">settings</action>
4097 </action>
4098 </page>
4099
4100 <page name="settings_vibration2">
4101 <template name="page"/>
4102
4103 <template name="statusbar"/>
4104
4105 <text style="text_m">
4106 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 </text>
4109
4110 <slidervalue>
4111 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004113 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4114 </slidervalue>
4115
4116 <button>
4117 <placement x="%col1_x_left%" y="%row11_y%"/>
4118 <highlight color="%highlight_color%"/>
4119 <image resource="q_btn_arrow_left"/>
4120 <action function="page">settings_vibration</action>
4121 </button>
4122
4123 <button>
4124 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4125 <highlight color="%highlight_color%"/>
4126 <image resource="q_btn_arrow_right"/>
4127 <action function="page">settings_vibration3</action>
4128 </button>
4129
4130 <action>
4131 <touch key="home"/>
4132 <action function="page">main</action>
4133 </action>
4134
4135 <action>
4136 <touch key="back"/>
4137 <action function="page">settings</action>
4138 </action>
4139 </page>
4140
4141 <page name="settings_vibration3">
4142 <template name="page"/>
4143
4144 <template name="statusbar"/>
4145
4146 <text style="text_m">
4147 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004148 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004149 </text>
4150
4151 <slidervalue>
4152 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 <data variable="tw_action_vibrate" min="0" max="500"/>
4155 </slidervalue>
4156
4157 <button>
4158 <placement x="%col1_x_left%" y="%row11_y%"/>
4159 <highlight color="%highlight_color%"/>
4160 <image resource="q_btn_arrow_left"/>
4161 <action function="page">settings_vibration2</action>
4162 </button>
4163
4164 <action>
4165 <touch key="home"/>
4166 <action function="page">main</action>
4167 </action>
4168
4169 <action>
4170 <touch key="back"/>
4171 <action function="page">settings</action>
4172 </action>
4173 </page>
4174
Ethan Yonker74db1572015-10-28 12:44:49 -05004175 <page name="settings_language">
4176 <template name="page"/>
4177
4178 <template name="statusbar"/>
4179
4180 <text style="text_m">
4181 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4182 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4183 </text>
4184
z31s1g608d7ff2016-01-18 19:47:25 +01004185 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4187 <icon selected="radio_true" unselected="radio_false" />
4188 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004189 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004190
4191 <button>
4192 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4193 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004194 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195 <action function="setlanguage"></action>
4196 </button>
4197
z31s1g608d7ff2016-01-18 19:47:25 +01004198 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004199 <touch key="home" />
4200 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004201 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004202
z31s1g608d7ff2016-01-18 19:47:25 +01004203 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <touch key="back" />
4205 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004206 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 </page>
4208
z31s1g28f0a922015-11-07 18:50:22 +01004209 <page name="advanced">
4210 <template name="page"/>
4211
4212 <template name="statusbar"/>
4213
4214 <text style="text_m">
4215 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004217 </text>
4218
4219 <button style="main_button">
4220 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004222 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </button>
4224
4225 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004226 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004227 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004228 <text>{@fix_context_btn=Fix Contexts}</text>
4229 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004230 </button>
4231
Ethan Yonker64e0a652018-07-25 09:52:17 -05004232 <button>
4233 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4234 <highlight color="%highlight_color%"/>
4235 <image resource="q_btn_arrow_right"/>
4236 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004237 </button>
4238
Ethan Yonker64e0a652018-07-25 09:52:17 -05004239 <action>
4240 <touch key="home"/>
4241 <action function="page">main</action>
4242 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004243
Ethan Yonker64e0a652018-07-25 09:52:17 -05004244 <action>
4245 <touch key="back"/>
4246 <action function="page">main3</action>
4247 </action>
4248 </page>
4249
4250 <page name="advanced2">
4251 <template name="page"/>
4252
4253 <template name="statusbar"/>
4254
4255 <text style="text_m">
4256 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4257 <text>{@advanced_hdr=Advanced}</text>
4258 </text>
4259
4260 <listbox style="advanced_listbox">
4261 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05304262 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
4263 <condition var1="tw_is_encrypted" var2="0"/>
4264 <action function="page">changeTwrpFolder</action>
4265 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004266 <listitem name="{@decrypt_users=Decrypt Users}">
4267 <conditions>
4268 <condition var1="tw_is_fbe" var2="1"/>
4269 <condition var1="tw_all_users_decrypted" var2="0"/>
4270 </conditions>
4271 <actions>
4272 <action function="set">tw_crypto_user_id=</action>
4273 <action function="page">decrypt_users</action>
4274 </actions>
4275 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004276 <listitem name="{@reload_theme_btn=Reload Theme}">
4277 <action function="reload"/>
4278 </listitem>
4279 <listitem name="{@part_sd_btn=Partition SD Card}">
4280 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4281 <actions>
4282 <action function="set">partitionlisterror=0</action>
4283 <action function="page">partsdcardsel</action>
4284 </actions>
4285 </listitem>
4286 <listitem name="{@dumlock_btn=HTC Dumlock}">
4287 <condition var1="tw_show_dumlock" var2="1"/>
4288 <action function="page">htcdumlock</action>
4289 </listitem>
4290 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4291 <condition var1="tw_has_injecttwrp" var2="1"/>
4292 <actions>
4293 <action function="set">tw_back=advanced</action>
4294 <action function="set">tw_action=reinjecttwrp</action>
4295 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4296 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4297 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4298 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4299 <action function="page">confirm_action</action>
4300 </actions>
4301 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004302 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4303 <conditions>
4304 <condition var1="tw_has_boot_slots" var2="1"/>
4305 <condition var1="tw_has_repack_tools" var2="1"/>
4306 </conditions>
4307 <actions>
4308 <action function="set">tw_repack_kernel=0</action>
4309 <action function="page">repackselect</action>
4310 </actions>
4311 </listitem>
4312 <listitem name="{@install_kernel=Install Kernel}">
4313 <conditions>
4314 <condition var1="tw_has_boot_slots" var2="1"/>
4315 <condition var1="tw_has_repack_tools" var2="1"/>
4316 </conditions>
4317 <actions>
4318 <action function="set">tw_repack_kernel=1</action>
4319 <action function="page">repackselect</action>
4320 </actions>
4321 </listitem>
4322 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4323 <conditions>
4324 <condition var1="tw_has_boot_slots" var2="1"/>
4325 <condition var1="tw_has_repack_tools" var2="1"/>
4326 </conditions>
4327 <actions>
4328 <action function="set">tw_back=advanced</action>
4329 <action function="set">tw_action=fixabrecoverybootloop</action>
4330 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4331 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4332 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4333 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4334 <action function="page">confirm_action</action>
4335 </actions>
4336 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06004337 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4338 <condition var1="tw_app_install_status" var2="1"/>
4339 <actions>
4340 <action function="set">tw_back=advanced2</action>
4341 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4342 <action function="page">installapp</action>
4343 </actions>
4344 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004345 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4346 <condition var1="tw_app_installed_in_system" var2="1"/>
4347 <actions>
4348 <action function="set">tw_back=advanced</action>
4349 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4350 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4351 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4352 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4353 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4354 <action function="page">confirm_action</action>
4355 </actions>
4356 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004357 </listbox>
4358
4359 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004360 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004361 <highlight color="%highlight_color%"/>
4362 <image resource="q_btn_arrow_left"/>
4363 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004364 </button>
4365
4366 <action>
4367 <touch key="home"/>
4368 <action function="page">main</action>
4369 </action>
4370
4371 <action>
4372 <touch key="back"/>
4373 <action function="page">main3</action>
4374 </action>
4375 </page>
4376
Ethan Yonker483e9f42016-01-11 22:21:18 -06004377 <page name="partsdcardsel">
4378 <template name="page"/>
4379
4380 <template name="statusbar"/>
4381
4382 <text style="text_m">
4383 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4384 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4385 </text>
4386
4387 <partitionlist style="partitionlist_headerless_rb">
4388 <data name="tw_storage_path"/>
4389 <listtype name="storage"/>
4390 </partitionlist>
4391
4392 <text style="text_m_fail">
4393 <condition var1="partitionlisterror" var2="1"/>
4394 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4395 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4396 </text>
4397
4398 <button>
4399 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4400 <highlight color="%highlight_color%"/>
4401 <image resource="q_btn_refresh"/>
4402 <action function="refreshsizes"/>
4403 </button>
4404
4405 <button>
4406 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4407 <highlight color="%highlight_color%"/>
4408 <image resource="q_btn_accept"/>
4409 <actions>
4410 <action function="getpartitiondetails">tw_storage_path</action>
4411 <action function="page">partsdcardcheck</action>
4412 </actions>
4413 </button>
4414
4415 <action>
4416 <touch key="home"/>
4417 <action function="page">main</action>
4418 </action>
4419
4420 <action>
4421 <touch key="back"/>
4422 <action function="page">advanced</action>
4423 </action>
4424 </page>
4425
4426 <page name="partsdcardcheck">
4427 <action>
4428 <condition var1="tw_partition_removable" op="=" var2="1"/>
4429 <actions>
4430 <action function="set">partitionlisterror=0</action>
4431 <action function="page">partsdcard</action>
4432 </actions>
4433 </action>
4434
4435 <action>
4436 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4437 <actions>
4438 <action function="set">partitionlisterror=1</action>
4439 <action function="page">partsdcardsel</action>
4440 </actions>
4441 </action>
4442 </page>
4443
z31s1g28f0a922015-11-07 18:50:22 +01004444 <page name="partsdcard">
4445 <template name="page"/>
4446
4447 <template name="statusbar"/>
4448
4449 <text style="text_m">
4450 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m_fail">
4455 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m_fail">
4460 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m_accent">
4465 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <text style="text_m">
4470 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4471 <text>%tw_sdext_size%</text>
4472 </text>
4473
4474 <button style="main_button_quarter_width">
4475 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004477 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004478 </button>
4479
4480 <button style="main_button_quarter_width">
4481 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004482 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004483 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </button>
4485
4486 <button>
4487 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4488 <highlight color="%highlight_color%"/>
4489 <image resource="q_btn_arrow_right"/>
4490 <action function="page">partsdcard2</action>
4491 </button>
4492
4493 <action>
4494 <touch key="home"/>
4495 <action function="page">main</action>
4496 </action>
4497
4498 <action>
4499 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004500 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004501 </action>
4502 </page>
4503
4504 <page name="partsdcard2">
4505 <template name="page"/>
4506
4507 <template name="statusbar"/>
4508
4509 <text style="text_m">
4510 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </text>
4513
4514 <text style="text_m_fail">
4515 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <text style="text_m_fail">
4520 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 </text>
4523
4524 <text style="text_m_accent">
4525 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 </text>
4528
4529 <text style="text_m">
4530 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4531 <text>%tw_swap_size%</text>
4532 </text>
4533
4534 <button style="main_button_quarter_width">
4535 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004537 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </button>
4539
4540 <button style="main_button_quarter_width">
4541 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004543 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </button>
4545
4546 <button>
4547 <placement x="%col1_x_left%" y="%row11_y%"/>
4548 <highlight color="%highlight_color%"/>
4549 <image resource="q_btn_arrow_left"/>
4550 <action function="page">partsdcard</action>
4551 </button>
4552
4553 <button>
4554 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4555 <highlight color="%highlight_color%"/>
4556 <image resource="q_btn_arrow_right"/>
4557 <action function="page">partsdcard3</action>
4558 </button>
4559
4560 <action>
4561 <touch key="home"/>
4562 <action function="page">main</action>
4563 </action>
4564
4565 <action>
4566 <touch key="back"/>
4567 <action function="page">advanced</action>
4568 </action>
4569 </page>
4570
4571 <page name="partsdcard3">
4572 <template name="page"/>
4573
4574 <template name="statusbar"/>
4575
4576 <text style="text_m">
4577 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004578 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004579 </text>
4580
4581 <text style="text_m_fail">
4582 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004583 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004584 </text>
4585
4586 <text style="text_m_fail">
4587 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004588 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004589 </text>
4590
4591 <text style="text_m_accent">
4592 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </text>
4595
4596 <text style="text_m">
4597 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4598 <text>%tw_sdpart_file_system%</text>
4599 </text>
4600
4601 <button style="main_button_quarter_width">
4602 <placement x="%indent%" y="%row6_y%"/>
4603 <text>EXT3</text>
4604 <action function="set">tw_sdpart_file_system=ext3</action>
4605 </button>
4606
4607 <button style="main_button_quarter_width">
4608 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4609 <text>EXT4</text>
4610 <action function="set">tw_sdpart_file_system=ext4</action>
4611 </button>
4612
4613 <button>
4614 <placement x="%col1_x_left%" y="%row11_y%"/>
4615 <highlight color="%highlight_color%"/>
4616 <image resource="q_btn_arrow_left"/>
4617 <action function="page">partsdcard2</action>
4618 </button>
4619
4620 <button>
4621 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4622 <highlight color="%highlight_color%"/>
4623 <image resource="q_btn_arrow_right"/>
4624 <action function="page">partsdcard_confirm</action>
4625 </button>
4626
4627 <action>
4628 <touch key="home"/>
4629 <action function="page">main</action>
4630 </action>
4631
4632 <action>
4633 <touch key="back"/>
4634 <action function="page">advanced</action>
4635 </action>
4636 </page>
4637
4638 <page name="partsdcard_confirm">
4639 <template name="page"/>
4640
4641 <template name="statusbar"/>
4642
4643 <text style="text_m">
4644 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <text style="text_m_fail">
4649 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </text>
4652
4653 <text style="text_m_fail">
4654 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004655 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004656 </text>
4657
4658 <text style="text_m_accent">
4659 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004660 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </text>
4662
4663 <text style="text_m_accent">
4664 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004665 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004666 </text>
4667
4668 <text style="text_m_accent">
4669 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004674 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 <action function="page">partsdcardaction</action>
4676 <actions>
4677 <action function="set">tw_back=partsdcard</action>
4678 <action function="set">tw_action=partitionsd</action>
4679 <action function="set">tw_has_action2=1</action>
4680 <action function="set">tw_action2=set</action>
4681 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4683 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4684 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004685 <action function="page">action_page</action>
4686 </actions>
4687 </slider>
4688
4689 <action>
4690 <touch key="home"/>
4691 <action function="page">main</action>
4692 </action>
4693
4694 <action>
4695 <touch key="back"/>
4696 <action function="page">advanced</action>
4697 </action>
4698 </page>
4699
4700 <page name="htcdumlock">
4701 <template name="page"/>
4702
4703 <template name="statusbar"/>
4704
4705 <text style="text_m">
4706 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 </text>
4709
4710 <button style="main_button_full_width">
4711 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004713 <actions>
4714 <action function="set">tw_back=htcdumlock</action>
4715 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004716 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4717 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4718 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4719 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004720 <action function="page">confirm_action</action>
4721 </actions>
4722 </button>
4723
4724 <button style="main_button_full_width">
4725 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004726 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004727 <actions>
4728 <action function="set">tw_back=htcdumlock</action>
4729 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004730 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4731 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4732 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4733 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004734 <action function="page">confirm_action</action>
4735 </actions>
4736 </button>
4737
4738 <button style="main_button_full_width">
4739 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004740 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004741 <actions>
4742 <action function="set">tw_back=htcdumlock</action>
4743 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4745 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4746 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4747 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004748 <action function="page">confirm_action</action>
4749 </actions>
4750 </button>
4751
4752 <action>
4753 <touch key="home"/>
4754 <action function="page">main</action>
4755 </action>
4756
4757 <action>
4758 <touch key="back"/>
4759 <action function="page">advanced</action>
4760 </action>
4761 </page>
4762
Ethan Yonker53796e72019-01-11 22:49:52 -06004763 <page name="repackselect">
4764 <template name="page"/>
4765
4766 <template name="statusbar"/>
4767
4768 <text style="text_m">
4769 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4770 <text>{@repack_image_hdr=Select Image}</text>
4771 </text>
4772
4773 <fileselector>
4774 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4775 <text>%tw_zip_location%</text>
4776 <filter extn=".img" folders="1" files="1"/>
4777 <path name="tw_zip_location" default="/sdcard"/>
4778 <data name="tw_filename"/>
4779 <selection name="tw_file"/>
4780 </fileselector>
4781
4782 <button>
4783 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4784 <highlight color="%highlight_color%"/>
4785 <image resource="q_btn_storage"/>
4786 <actions>
4787 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4788 <action function="set">tw_back=install</action>
4789 <action function="page">select_storage</action>
4790 </actions>
4791 </button>
4792
4793 <action>
4794 <conditions>
4795 <condition var1="tw_filename" op="modified"/>
4796 </conditions>
4797 <action function="page">repackconfirm</action>
4798 </action>
4799
4800 <action>
4801 <touch key="back"/>
4802 <action function="page">advanced</action>
4803 </action>
4804
4805 <action>
4806 <touch key="home"/>
4807 <action function="page">main</action>
4808 </action>
4809 </page>
4810
4811 <page name="repackconfirm">
4812 <template name="page"/>
4813
4814 <template name="statusbar"/>
4815
4816 <text style="text_m">
4817 <condition var1="tw_repack_kernel" var2="1"/>
4818 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4819 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4820 </text>
4821
4822 <text style="text_m">
4823 <condition var1="tw_repack_kernel" var2="0"/>
4824 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4825 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4826 </text>
4827
4828 <text style="text_m_accent">
4829 <placement x="%indent%" y="%row2_y%"/>
4830 <text>{@folder=Folder:}</text>
4831 </text>
4832
4833 <text style="text_m">
4834 <placement x="%indent%" y="%row3_y%"/>
4835 <text>%tw_zip_location%</text>
4836 </text>
4837
4838 <text style="text_m_accent">
4839 <placement x="%indent%" y="%row4_y%"/>
4840 <text>{@file=File:}</text>
4841 </text>
4842
4843 <text style="text_m">
4844 <placement x="%indent%" y="%row5_y%"/>
4845 <text>%tw_file%</text>
4846 </text>
4847
4848 <checkbox>
4849 <placement x="%indent%" y="%row7_y%"/>
4850 <text>{@repack_backup_first=Back up existing image first}</text>
4851 <data variable="tw_repack_backup_first"/>
4852 </checkbox>
4853
4854 <slider>
4855 <text>{@swipe_to_install=Swipe to Install}</text>
4856 <actions>
4857 <action function="set">tw_back=advanced</action>
4858 <action function="set">tw_action=repackimage</action>
4859 <action function="set">tw_action_param=/boot</action>
4860 <action function="set">tw_action_text1={@installing=Installing...}</action>
4861 <action function="set">tw_action_text2=</action>
4862 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4863 <action function="page">action_page</action>
4864 </actions>
4865 </slider>
4866
4867 <action>
4868 <touch key="back"/>
4869 <action function="page">repackselect</action>
4870 </action>
4871
4872 <action>
4873 <touch key="home"/>
4874 <action function="page">main</action>
4875 </action>
4876 </page>
4877
z31s1g28f0a922015-11-07 18:50:22 +01004878 <page name="lock">
4879 <background color="%semi_transparent%"/>
4880
4881 <image>
4882 <image resource="unlock_icon"/>
4883 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4884 </image>
4885
4886 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004887 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004888 <action function="overlay"/>
4889 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004890
4891 <action>
4892 <touch key="power"/>
4893 <action function="togglebacklight"/>
4894 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004895 </page>
4896
4897 <page name="filemanagerlist">
4898 <template name="page"/>
4899
4900 <template name="statusbar"/>
4901
4902 <text style="text_m">
4903 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004904 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004905 </text>
4906
4907 <fileselector>
4908 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4909 <text>%tw_file_location1%</text>
4910 <filter folders="1" files="1"/>
4911 <path name="tw_file_location1" default="/"/>
4912 <data name="tw_filename1"/>
4913 <selection name="tw_selection1"/>
4914 </fileselector>
4915
4916 <button>
4917 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4918 <highlight color="%highlight_color%"/>
4919 <image resource="q_btn_folder"/>
4920 <actions>
4921 <action function="set">tw_filename1=tw_file_location1</action>
4922 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004923 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004924 <action function="page">filemanageroptions</action>
4925 </actions>
4926 </button>
4927
4928 <action>
4929 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004930 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004931 <action function="set">tw_fm_isfolder=0</action>
4932 </actions>
4933 </action>
4934
4935 <action>
4936 <touch key="home"/>
4937 <action function="page">main</action>
4938 </action>
4939
4940 <action>
4941 <touch key="back"/>
4942 <action function="page">main3</action>
4943 </action>
4944
4945 <action>
4946 <condition var1="tw_filename1" op="modified"/>
4947 <action function="page">filemanageroptions</action>
4948 </action>
4949 </page>
4950
4951 <page name="filemanageroptions">
4952 <template name="page"/>
4953
4954 <template name="statusbar"/>
4955
4956 <text style="text_m">
4957 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004959 </text>
4960
4961 <button style="main_button">
4962 <condition var1="tw_fm_isfolder" var2="0"/>
4963 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004964 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004965 <actions>
4966 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004968 <action function="page">choosedestinationfolder</action>
4969 </actions>
4970 </button>
4971
4972 <button style="main_button">
4973 <condition var1="tw_fm_isfolder" var2="1"/>
4974 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004975 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004976 <actions>
4977 <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 -05004978 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004979 <action function="page">choosedestinationfolder</action>
4980 </actions>
4981 </button>
4982
4983 <button style="main_button">
4984 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004985 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004986 <actions>
4987 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004988 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004989 <action function="page">choosedestinationfolder</action>
4990 </actions>
4991 </button>
4992
4993 <button style="main_button">
4994 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004995 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004996 <actions>
4997 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004998 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004999 <action function="set">tw_fm_text2=</action>
5000 <action function="set">tw_fm_text3=</action>
5001 <action function="set">tw_include_text3=0</action>
5002 <action function="set">tw_back=filemanageroptions</action>
5003 <action function="page">filemanagerconfirm</action>
5004 </actions>
5005 </button>
5006
5007 <button style="main_button">
5008 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005009 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005010 <actions>
5011 <action function="set">tw_filemanager_rename=0000</action>
5012 <action function="set">tw_fm_text2=</action>
5013 <action function="set">tw_fm_text3=</action>
5014 <action function="set">tw_include_text3=0</action>
5015 <action function="set">tw_back=filemanageroptions</action>
5016 <action function="page">filemanagerchmod</action>
5017 </actions>
5018 </button>
5019
5020 <button style="main_button">
5021 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005022 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005023 <actions>
5024 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005025 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005026 <action function="set">tw_fm_text2=</action>
5027 <action function="set">tw_fm_text3=</action>
5028 <action function="set">tw_include_text3=0</action>
5029 <action function="set">tw_back=filemanageroptions</action>
5030 <action function="page">filemanagerconfirm</action>
5031 </actions>
5032 </button>
5033
5034 <button style="main_button">
5035 <condition var1="tw_fm_isfolder" var2="0"/>
5036 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005037 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005038 <actions>
5039 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005040 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005041 <action function="set">tw_filemanager_command=mv</action>
5042 <action function="page">filemanagerrenamefile</action>
5043 </actions>
5044 </button>
5045
5046 <button style="main_button">
5047 <condition var1="tw_fm_isfolder" var2="1"/>
5048 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005049 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005050 <actions>
5051 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005052 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005053 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5054 <action function="page">filemanagerrenamefolder</action>
5055 </actions>
5056 </button>
5057
5058 <action>
5059 <touch key="home"/>
5060 <action function="page">main</action>
5061 </action>
5062
5063 <action>
5064 <touch key="back"/>
5065 <action function="page">filemanagerlist</action>
5066 </action>
5067 </page>
5068
5069 <page name="choosedestinationfolder">
5070 <template name="page"/>
5071
5072 <template name="statusbar"/>
5073
5074 <text style="text_m">
5075 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005076 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005077 </text>
5078
5079 <fileselector>
5080 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5081 <text>%tw_file_location2%</text>
5082 <filter folders="1" files="0"/>
5083 <path name="tw_file_location2" default="/"/>
5084 <data name="tw_filename2"/>
5085 <selection name="tw_selection2"/>
5086 </fileselector>
5087
5088 <button>
5089 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5090 <highlight color="%highlight_color%"/>
5091 <image resource="q_btn_folder"/>
5092 <actions>
5093 <action function="set">tw_fm_text2=to</action>
5094 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5095 <action function="set">tw_include_text3=1</action>
5096 <action function="set">tw_back=filemanageroptions</action>
5097 <action function="page">filemanagerconfirm</action>
5098 </actions>
5099 </button>
5100
5101 <action>
5102 <touch key="home"/>
5103 <action function="page">main</action>
5104 </action>
5105
5106 <action>
5107 <touch key="back"/>
5108 <action function="page">filemanageroptions</action>
5109 </action>
5110 </page>
5111
5112 <page name="filemanagerrenamefile">
5113 <template name="page"/>
5114
5115 <template name="statusbar"/>
5116
5117 <text style="text_m">
5118 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005119 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005120 </text>
5121
5122 <text style="text_m_accent">
5123 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005124 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005125 </text>
5126
5127 <input>
5128 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5129 <text>%tw_filemanager_rename%</text>
5130 <data name="tw_filemanager_rename"/>
5131 <restrict minlen="1" maxlen="128"/>
5132 <actions>
5133 <action function="set">tw_fm_text2=to</action>
5134 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5135 <action function="set">tw_include_text3=1</action>
5136 <action function="set">tw_back=filemanageroptions</action>
5137 <action function="page">filemanagerconfirm</action>
5138 </actions>
5139 </input>
5140
5141 <fill color="%accent_color%">
5142 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5143 </fill>
5144
5145 <button style="main_button_half_height">
5146 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005147 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005148 <action function="page">filemanageroptions</action>
5149 </button>
5150
5151 <template name="keyboardtemplate"/>
5152
5153 <action>
5154 <touch key="home"/>
5155 <action function="page">main</action>
5156 </action>
5157
5158 <action>
5159 <touch key="back"/>
5160 <action function="page">filemanageroptions</action>
5161 </action>
5162 </page>
5163
5164 <page name="filemanagerrenamefolder">
5165 <template name="page"/>
5166
5167 <template name="statusbar"/>
5168
5169 <text style="text_m">
5170 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005171 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005172 </text>
5173
5174 <text style="text_m_accent">
5175 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005176 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005177 </text>
5178
5179 <input>
5180 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5181 <text>%tw_filemanager_rename%</text>
5182 <data name="tw_filemanager_rename"/>
5183 <restrict minlen="1" maxlen="128"/>
5184 <actions>
5185 <action function="set">tw_fm_text2=to</action>
5186 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5187 <action function="set">tw_include_text3=1</action>
5188 <action function="set">tw_back=filemanageroptions</action>
5189 <action function="page">filemanagerconfirm</action>
5190 </actions>
5191 </input>
5192
5193 <fill color="%accent_color%">
5194 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5195 </fill>
5196
5197 <button style="main_button_half_height">
5198 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005199 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005200 <action function="page">filemanageroptions</action>
5201 </button>
5202
5203 <template name="keyboardtemplate"/>
5204
5205 <action>
5206 <touch key="home"/>
5207 <action function="page">main</action>
5208 </action>
5209
5210 <action>
5211 <touch key="back"/>
5212 <action function="page">filemanageroptions</action>
5213 </action>
5214 </page>
5215
5216 <page name="filemanagerchmod">
5217 <template name="page"/>
5218
5219 <template name="statusbar"/>
5220
5221 <text style="text_m">
5222 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005223 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005224 </text>
5225
5226 <text style="text_m_accent">
5227 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005228 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005229 </text>
5230
5231 <input>
5232 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5233 <text>%tw_filemanager_rename%</text>
5234 <data name="tw_filemanager_rename"/>
5235 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5236 <actions>
5237 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5238 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5239 <action function="set">tw_back=filemanageroptions</action>
5240 <action function="page">filemanagerconfirm</action>
5241 </actions>
5242 </input>
5243
5244 <fill color="%accent_color%">
5245 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5246 </fill>
5247
5248 <button style="main_button_half_height">
5249 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005250 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005251 <action function="page">filemanageroptions</action>
5252 </button>
5253
5254 <template name="keyboardtemplate"/>
5255
5256 <action>
5257 <touch key="home"/>
5258 <action function="page">main</action>
5259 </action>
5260
5261 <action>
5262 <touch key="back"/>
5263 <action function="page">filemanageroptions</action>
5264 </action>
5265 </page>
5266
5267 <page name="filemanagerconfirm">
5268 <template name="page"/>
5269
5270 <template name="statusbar"/>
5271
5272 <text style="text_m">
5273 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005274 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005275 </text>
5276
5277 <text style="text_m_accent">
5278 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5279 <text>%tw_fm_text1%</text>
5280 </text>
5281
5282 <text style="text_m">
5283 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5284 <text>%tw_filename1%</text>
5285 </text>
5286
5287 <text style="text_m_accent">
5288 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5289 <text>%tw_fm_text2%</text>
5290 </text>
5291
5292 <text style="text_m">
5293 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5294 <text>%tw_fm_text3%</text>
5295 </text>
5296
5297 <text style="text_m">
5298 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005299 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005300 </text>
5301
5302 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005303 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005304 <action function="page">filemanageraction</action>
5305 </slider>
5306
5307 <action>
5308 <touch key="back"/>
5309 <action function="page">%tw_back%</action>
5310 </action>
5311
5312 <action>
5313 <touch key="home"/>
5314 <action function="page">main</action>
5315 </action>
5316 </page>
5317
5318 <page name="filemanageraction">
5319 <template name="page"/>
5320
5321 <template name="statusbar"/>
5322
5323 <text style="text_m">
5324 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005325 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005326 </text>
5327
5328 <template name="console"/>
5329
5330 <template name="progress_bar"/>
5331
5332 <action>
5333 <conditions>
5334 <condition var1="tw_operation_state" var2="1"/>
5335 <condition var1="tw_operation_status" var2="0"/>
5336 </conditions>
5337 <actions>
5338 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005339 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005340 <action function="page">action_complete</action>
5341 </actions>
5342 </action>
5343
5344 <action>
5345 <conditions>
5346 <condition var1="tw_operation_state" var2="1"/>
5347 <condition var1="tw_operation_status" op="!=" var2="0"/>
5348 </conditions>
5349 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005350 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005351 <action function="page">action_complete</action>
5352 </actions>
5353 </action>
5354
5355 <action>
5356 <condition var1="tw_include_text3" var2="0"/>
5357 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5358 </action>
5359
5360 <action>
5361 <condition var1="tw_include_text3" var2="1"/>
5362 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5363 </action>
5364 </page>
5365
5366 <page name="decrypt">
5367 <template name="page"/>
5368
5369 <template name="statusbar"/>
5370
5371 <action>
5372 <condition var1="tw_crypto_pwtype" var2="2"/>
5373 <action function="page">decrypt_pattern</action>
5374 </action>
5375
5376 <text style="text_m">
5377 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005378 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005379 </text>
5380
5381 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005382 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005383 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005384 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005385 </text>
5386
Noah Jacobson81d638d2019-04-28 00:10:07 -04005387 <text style="text_m_accent">
5388 <condition var1="tw_is_fbe" var2="1"/>
5389 <placement x="%col1_x_left%" y="%row1_y%"/>
5390 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5391 </text>
5392
z31s1g28f0a922015-11-07 18:50:22 +01005393 <input>
5394 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5395 <text>%tw_crypto_display%</text>
5396 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5397 <restrict minlen="1" maxlen="254"/>
5398 <action function="page">trydecrypt</action>
5399 </input>
5400
5401 <fill color="%accent_color%">
5402 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5403 </fill>
5404
5405 <fill color="%text_fail_color%">
5406 <condition var1="tw_password_fail" var2="1"/>
5407 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5408 </fill>
5409
5410 <text style="text_m_fail">
5411 <condition var1="tw_password_fail" var2="1"/>
5412 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005413 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005414 </text>
5415
5416 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005417 <placement x="%col1_x_left%" y="%row4_y%"/>
5418 <text>{@sel_lang_btn=Select Language}</text>
5419 <action function="page">settings_language</action>
5420 </button>
5421
5422 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005423 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005424 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05005425 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005426 </button>
5427
5428 <template name="keyboardtemplate"/>
5429 </page>
5430
5431 <page name="decrypt_pattern">
5432 <template name="page"/>
5433
5434 <template name="statusbar"/>
5435
Aleksa Saraib25a1832015-12-31 17:36:00 +01005436 <action>
5437 <action function="set">tw_gui_pattern_grid_size=3</action>
5438 </action>
5439
z31s1g28f0a922015-11-07 18:50:22 +01005440 <text style="text_m">
5441 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005442 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005443 </text>
5444
5445 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005446 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005447 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005448 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005449 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005450 </text>
5451
Noah Jacobson81d638d2019-04-28 00:10:07 -04005452 <text style="text_m_accent">
5453 <condition var1="tw_is_fbe" var2="1"/>
5454 <condition var1="tw_password_fail" op="!=" var2="1"/>
5455 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5456 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5457 </text>
5458
Aleksa Saraib25a1832015-12-31 17:36:00 +01005459 <text style="text_m_fail">
5460 <condition var1="tw_password_fail" var2="1"/>
5461 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005462 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005463 </text>
5464
z31s1g28f0a922015-11-07 18:50:22 +01005465 <text style="text_m">
5466 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005467 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005468 </text>
5469
5470 <patternpassword>
5471 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005472 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5473 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5474 <data name="tw_crypto_password"/>
5475 <action function="page">trydecrypt</action>
5476 </patternpassword>
5477
5478 <fill color="#000000">
5479 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5480 </fill>
5481
5482 <button>
5483 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5484 <image resource="back"/>
5485 <condition var1="tw_busy" var2="0"/>
Captain Throwback89b56a12021-02-10 18:25:07 -05005486 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005487 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005488
5489 <button>
5490 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5491 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5492 <image resource="grid_less"/>
5493 <action function="set">tw_gui_pattern_grid_size=3</action>
5494 </button>
5495
5496 <button>
5497 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5498 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5499 <image resource="grid_less"/>
5500 <action function="set">tw_gui_pattern_grid_size=3</action>
5501 </button>
5502
5503 <button>
5504 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5505 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5506 <image resource="grid_less"/>
5507 <action function="set">tw_gui_pattern_grid_size=4</action>
5508 </button>
5509
5510 <button>
5511 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5512 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5513 <image resource="grid_less"/>
5514 <action function="set">tw_gui_pattern_grid_size=5</action>
5515 </button>
5516
5517 <button>
5518 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5519 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5520 <image resource="grid_more"/>
5521 <action function="set">tw_gui_pattern_grid_size=4</action>
5522 </button>
5523
5524 <button>
5525 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5526 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5527 <image resource="grid_more"/>
5528 <action function="set">tw_gui_pattern_grid_size=5</action>
5529 </button>
5530
5531 <button>
5532 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5533 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5534 <image resource="grid_more"/>
5535 <action function="set">tw_gui_pattern_grid_size=6</action>
5536 </button>
5537
5538 <button>
5539 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5540 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5541 <image resource="grid_more"/>
5542 <action function="set">tw_gui_pattern_grid_size=6</action>
5543 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005544 </page>
5545
5546 <page name="trydecrypt">
5547 <template name="page"/>
5548
5549 <template name="statusbar"/>
5550
5551 <text style="text_m">
5552 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005553 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005554 </text>
5555
5556 <template name="console"/>
5557
5558 <template name="progress_bar"/>
5559
5560 <action>
5561 <action function="decrypt"/>
5562 </action>
5563
5564 <action>
5565 <conditions>
5566 <condition var1="tw_operation_state" var2="1"/>
5567 <condition var1="tw_operation_status" op="!=" var2="0"/>
5568 </conditions>
5569 <actions>
5570 <action function="set">tw_password_fail=1</action>
5571 <action function="page">decrypt</action>
5572 </actions>
5573 </action>
5574
5575 <action>
5576 <conditions>
5577 <condition var1="tw_operation_state" var2="1"/>
5578 <condition var1="tw_operation_status" op="=" var2="0"/>
5579 </conditions>
5580 <actions>
5581 <action function="set">tw_page_done=1</action>
5582 <action function="page">main</action>
5583 </actions>
5584 </action>
5585 </page>
5586
Captain Throwback89b56a12021-02-10 18:25:07 -05005587 <page name="canceldecrypt">
5588 <template name="page"/>
5589
5590 <template name="statusbar"/>
5591
5592 <text style="text_m">
5593 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5594 <text>{@cancel_btn=Cancel} &gt; {@refresh_sizes_btn=Refresh Sizes}</text>
5595 </text>
5596
5597 <template name="console"/>
5598
5599 <template name="progress_bar"/>
5600
5601 <action>
5602 <action function="refreshsizes"/>
5603 </action>
5604
5605 <action>
5606 <conditions>
5607 <condition var1="tw_operation_state" var2="1"/>
5608 </conditions>
5609 <actions>
5610 <action function="set">tw_page_done=1</action>
5611 <action function="page">main</action>
5612 </actions>
5613 </action>
5614 </page>
5615
z31s1g28f0a922015-11-07 18:50:22 +01005616 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005617 <terminal>
5618 <condition var1="tw_hide_kb" var2="0"/>
5619 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5620 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005621
z31s1g56189522016-01-13 19:12:40 +01005622 <terminal>
5623 <condition var1="tw_hide_kb" var2="1"/>
5624 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5625 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005626
z31s1g56189522016-01-13 19:12:40 +01005627 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005628
5629 <template name="keyboardtemplate"/>
5630
z31s1g608d7ff2016-01-18 19:47:25 +01005631 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005632 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005633 </fill>
z31s1g56189522016-01-13 19:12:40 +01005634
z31s1g608d7ff2016-01-18 19:47:25 +01005635 <button>
z31s1g56189522016-01-13 19:12:40 +01005636 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5637 <image resource="back" />
5638 <condition var1="tw_busy" var2="0" />
5639 <actions>
5640 <action function="set">tw_hide_kb=0</action>
5641 <action function="key">back</action>
5642 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005643 </button>
z31s1g56189522016-01-13 19:12:40 +01005644
z31s1g608d7ff2016-01-18 19:47:25 +01005645 <button>
z31s1g56189522016-01-13 19:12:40 +01005646 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5647 <image resource="home" />
5648 <condition var1="tw_busy" var2="0" />
5649 <actions>
5650 <action function="set">tw_hide_kb=0</action>
5651 <action function="key">home</action>
5652 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005653 </button>
z31s1g56189522016-01-13 19:12:40 +01005654
z31s1g608d7ff2016-01-18 19:47:25 +01005655 <button>
z31s1g56189522016-01-13 19:12:40 +01005656 <condition var1="tw_hide_kb" var2="0"/>
5657 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5658 <image resource="kb_hide" />
5659 <condition var1="tw_busy" var2="0" />
5660 <actions>
5661 <action function="set">tw_hide_kb=1</action>
5662 <action function="page">terminalcommand</action>
5663 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005664 </button>
z31s1g56189522016-01-13 19:12:40 +01005665
z31s1g608d7ff2016-01-18 19:47:25 +01005666 <button>
z31s1g56189522016-01-13 19:12:40 +01005667 <condition var1="tw_hide_kb" var2="1"/>
5668 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5669 <image resource="kb_show" />
5670 <condition var1="tw_busy" var2="0" />
5671 <actions>
5672 <action function="set">tw_hide_kb=0</action>
5673 <action function="page">terminalcommand</action>
5674 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005675 </button>
z31s1g56189522016-01-13 19:12:40 +01005676
z31s1g28f0a922015-11-07 18:50:22 +01005677 <action>
5678 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005679 <actions>
5680 <action function="set">tw_hide_kb=0</action>
5681 <action function="page">main</action>
5682 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005683 </action>
5684
5685 <action>
5686 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005687 <actions>
5688 <action function="set">tw_hide_kb=0</action>
5689 <action function="page">advanced</action>
5690 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005691 </action>
z31s1g56189522016-01-13 19:12:40 +01005692
z31s1g608d7ff2016-01-18 19:47:25 +01005693 <action>
z31s1g56189522016-01-13 19:12:40 +01005694 <touch key="power+voldown" />
5695 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005696 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005697 </page>
5698
5699 <page name="sideload">
5700 <template name="page"/>
5701
5702 <template name="statusbar"/>
5703
5704 <text style="text_m">
5705 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005706 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005707 </text>
5708
5709 <text style="text_m_accent">
5710 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005711 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005712 </text>
5713
5714 <checkbox>
5715 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005716 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005717 <data variable="tw_wipe_dalvik"/>
5718 </checkbox>
5719
5720 <checkbox>
5721 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005722 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005723 <data variable="tw_wipe_cache"/>
5724 </checkbox>
5725
5726 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005727 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005728 <actions>
5729 <action function="set">tw_back=install_type</action>
5730 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005731 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5732 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5733 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005734 <action function="set">tw_has_cancel=1</action>
5735 <action function="set">tw_show_reboot=1</action>
5736 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5737 <action function="page">action_page</action>
5738 </actions>
5739 </slider>
5740
5741 <action>
5742 <touch key="home"/>
5743 <action function="page">main</action>
5744 </action>
5745
5746 <action>
5747 <touch key="back"/>
5748 <action function="page">install_type</action>
5749 </action>
5750 </page>
5751
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005752 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005753 <template name="page"/>
5754
5755 <template name="statusbar"/>
5756
5757 <text style="text_m">
5758 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005759 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005760 </text>
5761
5762 <text style="text_m_accent">
5763 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005764 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005765 </text>
5766
z31s1g28f0a922015-11-07 18:50:22 +01005767 <text style="text_m_fail">
5768 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005769 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005770 </text>
5771
5772 <text style="text_m_fail">
5773 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005774 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005775 </text>
5776
5777 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005778 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005779 <actions>
5780 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005781 <action function="set">tw_action=fixcontexts</action>
5782 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5783 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005784 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005785 <action function="set">tw_show_reboot=1</action>
5786 <action function="page">action_page</action>
5787 </actions>
5788 </slider>
5789
5790 <action>
5791 <touch key="home"/>
5792 <action function="page">main</action>
5793 </action>
5794
5795 <action>
5796 <touch key="back"/>
5797 <action function="page">advanced</action>
5798 </action>
5799 </page>
5800
z31s1g28f0a922015-11-07 18:50:22 +01005801 <page name="slideout">
5802 <fill color="%background_color%">
5803 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5804 </fill>
5805
5806 <console>
5807 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5808 </console>
5809
5810 <fill color="%fileselector_linecolor%">
5811 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5812 </fill>
5813
5814 <fill color="%fileselector_linecolor%">
5815 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5816 </fill>
5817
5818 <button>
5819 <fill color="%transparent%"/>
5820 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5821 <action function="overlay"/>
5822 </button>
5823
5824 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005825 <touch key="power"/>
5826 <action function="togglebacklight"/>
5827 </action>
5828
5829 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005830 <touch key="power+voldown"/>
5831 <action function="screenshot"/>
5832 </action>
5833 </page>
5834
5835 <page name="select_storage">
5836 <template name="page"/>
5837
5838 <template name="statusbar"/>
5839
5840 <text style="text_m">
5841 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5842 <text>%tw_storagetext%</text>
5843 </text>
5844
5845 <partitionlist style="partitionlist_headerless_rb">
5846 <data name="tw_storage_path"/>
5847 <listtype name="storage"/>
5848 </partitionlist>
5849
5850 <button>
5851 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5852 <highlight color="%highlight_color%"/>
5853 <image resource="q_btn_refresh"/>
5854 <actions>
5855 <action function="refreshsizes"/>
5856 <action function="page">select_storage</action>
5857 </actions>
5858 </button>
5859
5860 <button>
5861 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5862 <highlight color="%highlight_color%"/>
5863 <image resource="q_btn_accept"/>
5864 <actions>
5865 <action function="set">tw_clear_destination=%tw_back%</action>
5866 <action function="page">clear_vars</action>
5867 </actions>
5868 </button>
5869
5870 <action>
5871 <touch key="power+voldown"/>
5872 <action function="screenshot"/>
5873 </action>
5874 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005875
5876 <page name="decrypt_users">
5877 <template name="page"/>
5878
5879 <text style="text_l">
5880 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5881 <text>{@decrypt_users=Decrypt Users}</text>
5882 </text>
5883
5884 <text style="text_m_accent">
5885 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5886 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5887 </text>
5888
5889 <listbox>
5890 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5891 <text>{@select_user=Select User}</text>
5892 <icon selected="radio_true" unselected="radio_false" />
5893 <data name="tw_crypto_user_id" />
5894 </listbox>
5895
5896 <button style="main_button_half_height">
5897 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5898 <text>{@decrypt_users=Decrypt Users}</text>
5899 <action function="set">tw_crypto_password=</action>
5900 <action function="set">tw_password_fail=0</action>
5901 <action function="page">decrypt</action>
5902 </button>
5903
5904 <action>
5905 <touch key="home"/>
5906 <action function="page">main</action>
5907 </action>
5908
5909 <action>
5910 <touch key="back"/>
5911 <action function="page">advanced</action>
5912 </action>
5913 </page>
epicXa721f952021-01-04 13:01:31 +05305914
5915 <page name="changeTwrpFolder">
5916 <template name="page"/>
5917
5918 <template name="statusbar"/>
5919
5920 <text style="text_m">
5921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5922 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5923 </text>
5924
5925 <text style="text_m_accent">
5926 <placement x="%col1_x_left%" y="%row1_y%"/>
5927 <text>{@name=Name:}</text>
5928 </text>
5929
5930 <input>
5931 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5932 <text>%tw_custom_folder%</text>
5933 <data name="tw_custom_folder"/>
5934 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5935 <actions>
5936 <action function="set">tw_back=changeTwrpFolder</action>
5937 <action function="set">tw_action=applycustomtwrpfolder</action>
5938 <action function="set">tw_action_param=%tw_custom_folder%</action>
5939 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5940 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5941 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5942 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5943 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5944 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5945 <action function="set">tw_existpage=changeTwrpFolder</action>
5946 <action function="set">tw_notexistpage=confirm_action</action>
5947 <action function="page">filecheck</action>
5948 </actions>
5949 </input>
5950
5951 <fill color="%accent_color%">
5952 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5953 </fill>
5954
5955 <fill color="%text_fail_color%">
5956 <condition var1="tw_fileexists" var2="1"/>
5957 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5958 </fill>
5959
5960 <text style="text_m_fail">
5961 <condition var1="tw_fileexists" var2="1"/>
5962 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5963 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5964 </text>
5965
5966 <button style="main_button_half_width_low">
5967 <placement x="%col1_x_left%" y="%row4_y%"/>
5968 <text>{@cancel_btn=Cancel}</text>
5969 <action function="page">advanced2</action>
5970 </button>
5971
5972 <button style="main_button_half_height">
5973 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5974 <placement x="%col1_x_right%" y="%row4_y%"/>
5975 <text>{@restore_defaults_btn=Restore Defaults}</text>
5976 <actions>
5977 <action function="set">tw_back=changeTwrpFolder</action>
5978 <action function="set">tw_action=applycustomtwrpfolder</action>
5979 <action function="set">tw_action_param=TWRP</action>
5980 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5981 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5982 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5983 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5984 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5985 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5986 <action function="set">tw_existpage=changeTwrpFolder</action>
5987 <action function="set">tw_notexistpage=confirm_action</action>
5988 <action function="page">filecheck</action>
5989 </actions>
5990 </button>
5991
5992 <template name="keyboardtemplate"/>
5993
5994 <action>
5995 <touch key="home"/>
5996 <actions>
5997 <action function="page">main</action>
5998 </actions>
5999 </action>
6000
6001 <action>
6002 <touch key="back"/>
6003 <actions>
6004 <action function="page">advanced2</action>
6005 </actions>
6006 </action>
6007 </page>
z31s1g28f0a922015-11-07 18:50:22 +01006008 </pages>
6009</recovery>