blob: e6d0880000835709202709cbdb355744da2b5b4a [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
epicX9597b842021-03-20 21:58:17 +0530179 <style name="options_listbox">
180 <highlight color="%fileselector_highlight_color%"/>
181 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
182 <separator color="%background_color%" height="%fileselector_separatorheight%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 <background color="%background_color%"/>
185 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
186 </style>
187
z31s1g28f0a922015-11-07 18:50:22 +0100188 <style name="slider">
189 <placement x="%center_x%" y="%slider_y%"/>
190 <font resource="font_l" color="%text_color%"/>
191 <resource base="slider" used="slider_used" touch="slider_touch"/>
192 </style>
193
194 <style name="slidervalue">
195 <resource handle="handle"/>
196 <font resource="font_m" color="%text_color%"/>
197 <colors line="%fileselector_linecolor%"/>
198 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
199 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100200
201 <style name="patternpassword">
202 <size name="tw_gui_pattern_grid_size" default="3"/>
203 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100204 </styles>
205
206 <pages>
207 <page name="main">
208 <action>
209 <actions>
210 <action function="set">tw_clear_destination=main2</action>
211 <action function="page">clear_vars</action>
212 </actions>
213 </action>
214 </page>
215
216 <page name="main2">
217 <template name="page"/>
218
219 <button style="main_button">
220 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500221 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100222 <action function="page">install_type</action>
223 </button>
224
225 <button style="main_button">
226 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe_type1</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <actions>
235 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500236 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100237 </actions>
238 </button>
239
240 <button style="main_button">
241 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500242 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100243 <action function="page">restore</action>
244 </button>
245
246 <button style="main_button">
247 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500248 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100249 <action function="page">reboot</action>
250 </button>
251
252 <button>
253 <placement x="%btn4_col4_x%" y="%row11_y%"/>
254 <highlight color="%highlight_color%"/>
255 <image resource="q_btn_arrow_right"/>
256 <action function="page">main3</action>
257 </button>
258 </page>
259
Matt Mower32676622017-01-18 18:56:13 -0600260 <page name="copylog">
261 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400262
Matt Mower32676622017-01-18 18:56:13 -0600263 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400264 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600265 <text>{@include_kernel_log=Include Kernel Log}</text>
266 <data variable="tw_include_kernel_log" value="1"/>
267 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400268
Captain Throwback52978932021-09-05 15:11:07 -0400269 <checkbox>
270 <condition var1="tw_logcat_exists" var2="1"/>
271 <placement x="%indent%" y="%row2_y%"/>
272 <text>{@include_logcat=Include Logcat}</text>
273 <data variable="tw_include_logcat" value="1"/>
274 </checkbox>
275
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400276 <slider>
277 <text>{@swipe_confirm= Confirm}</text>
278 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600279 <action function="set">tw_back=main3</action>
280 <action function="set">tw_action=copylog</action>
281 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
282 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400283 <action function="page">action_page</action>
284 </actions>
285 </slider>
286
287 <action>
288 <touch key="back"/>
289 <action function="page">main2</action>
290 </action>
291
292 <action>
293 <touch key="home"/>
294 <action function="page">main</action>
295 </action>
Matt Mower32676622017-01-18 18:56:13 -0600296 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400297
z31s1g28f0a922015-11-07 18:50:22 +0100298 <page name="main3">
299 <template name="page"/>
300
301 <button style="main_button">
302 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500303 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100304 <action function="page">mount</action>
305 </button>
306
307 <button style="main_button">
308 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500309 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100310 <action function="page">settings</action>
311 </button>
312
313 <button style="main_button">
314 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500315 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100316 <action function="page">filemanagerlist</action>
317 </button>
318
319 <button style="main_button">
320 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500321 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400322 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100323 </button>
324
325 <button style="main_button">
326 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500327 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100328 <action function="page">advanced</action>
329 </button>
330
331 <button>
332 <placement x="%col1_x_left%" y="%row11_y%"/>
333 <highlight color="%highlight_color%"/>
334 <image resource="q_btn_arrow_left"/>
335 <action function="page">main2</action>
336 </button>
337
338 <action>
339 <touch key="back"/>
340 <action function="page">main2</action>
341 </action>
342
343 <action>
344 <touch key="home"/>
345 <action function="page">main</action>
346 </action>
347 </page>
348
349 <page name="install_type">
350 <template name="page"/>
351
352 <template name="statusbar"/>
353
354 <text style="text_m">
355 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500356 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100357 </text>
358
359 <button style="main_button_full_width">
360 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500361 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100362 <actions>
363 <action function="queueclear"/>
364 <action function="set">tw_selectimage=0</action>
365 <action function="page">install</action>
366 </actions>
367 </button>
368
369 <button style="main_button_full_width">
370 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500371 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100372 <actions>
373 <action function="queueclear"/>
374 <action function="set">tw_selectimage=1</action>
375 <action function="page">install</action>
376 </actions>
377 </button>
378
379 <button style="main_button_full_width">
380 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500381 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100382 <action function="page">sideload</action>
383 </button>
384
385 <action>
386 <touch key="home"/>
387 <action function="page">main</action>
388 </action>
389
390 <action>
391 <touch key="back"/>
392 <action function="page">main</action>
393 </action>
394 </page>
395
396 <page name="install">
397 <template name="page"/>
398
399 <template name="statusbar"/>
400
401 <text style="text_m">
402 <condition var1="tw_selectimage" var2="0"/>
403 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500404 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100405 </text>
406
407 <text style="text_m">
408 <condition var1="tw_selectimage" var2="1"/>
409 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500410 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100411 </text>
412
413 <fileselector>
414 <condition var1="tw_selectimage" var2="0"/>
415 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
416 <text>%tw_zip_location%</text>
mauronofrio6d3bf892019-10-26 19:47:55 +0200417 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonalde7c34e52021-01-23 18:52:28 +0100418 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100419 <path name="tw_zip_location" default="/sdcard"/>
420 <data name="tw_filename"/>
421 <selection name="tw_file"/>
422 </fileselector>
423
424 <fileselector>
425 <condition var1="tw_selectimage" var2="1"/>
426 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
427 <text>%tw_zip_location%</text>
428 <filter extn=".img" folders="1" files="1"/>
429 <path name="tw_zip_location" default="/sdcard"/>
430 <data name="tw_filename"/>
431 <selection name="tw_file"/>
432 </fileselector>
433
434 <button>
435 <placement x="%btn4_col4_x%" y="%row11_y%"/>
436 <highlight color="%highlight_color%"/>
437 <image resource="q_btn_storage"/>
438 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100440 <action function="set">tw_back=install</action>
441 <action function="page">select_storage</action>
442 </actions>
443 </button>
444
445 <action>
446 <conditions>
447 <condition var1="tw_selectimage" var2="0"/>
448 <condition var1="tw_filename" op="modified"/>
449 </conditions>
450 <actions>
451 <action function="queuezip"/>
452 <action function="page">flash_queue</action>
453 </actions>
454 </action>
455
456 <action>
457 <conditions>
458 <condition var1="tw_selectimage" var2="1"/>
459 <condition var1="tw_filename" op="modified"/>
460 </conditions>
epicX8f52c0a2021-02-24 23:12:08 +0530461 <actions>
462 <action function="set">tw_is_slot_part=0</action>
463 <action function="page">flashimage_type</action>
464 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100465 </action>
466
467 <action>
468 <touch key="back"/>
469 <action function="page">install_type</action>
470 </action>
471
472 <action>
473 <touch key="home"/>
474 <action function="page">main</action>
475 </action>
476 </page>
477
478 <page name="flash_queue">
479 <template name="page"/>
480
481 <template name="statusbar"/>
482
483 <text style="text_m">
484 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500485 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100486 </text>
487
488 <text style="text_m_accent">
489 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100491 </text>
492
493 <text style="text_m">
494 <placement x="%indent%" y="%row2_y%"/>
495 <text>%tw_file%</text>
496 </text>
497
498 <text style="text_m_accent">
499 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 </text>
502
503 <text style="text_m">
504 <placement x="%indent%" y="%row5_y%"/>
505 <text>%tw_zip_location%</text>
506 </text>
507
508 <text style="text_m">
509 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500510 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100511 </text>
512
513 <button>
514 <placement x="%col1_x_left%" y="%row11_y%"/>
515 <highlight color="%highlight_color%"/>
516 <image resource="q_btn_arrow_left"/>
517 <actions>
518 <action function="queueclear"/>
519 <action function="page">install</action>
520 </actions>
521 </button>
522
523 <button>
524 <placement x="%btn4_col2_x%" y="%row11_y%"/>
525 <highlight color="%highlight_color%"/>
526 <image resource="q_btn_addzip"/>
527 <action function="page">install</action>
528 </button>
529
530 <button>
531 <placement x="%btn4_col3_x%" y="%row11_y%"/>
532 <highlight color="%highlight_color%"/>
533 <image resource="q_btn_accept"/>
534 <action function="page">flash_confirm</action>
535 </button>
536
537 <button>
538 <placement x="%btn4_col4_x%" y="%row11_y%"/>
539 <highlight color="%highlight_color%"/>
540 <image resource="q_btn_arrow_right"/>
541 <action function="page">flash_options</action>
542 </button>
543
544 <action>
545 <touch key="back"/>
546 <actions>
547 <action function="queueclear"/>
548 <action function="page">install</action>
549 </actions>
550 </action>
551
552 <action>
553 <touch key="home"/>
554 <action function="page">main</action>
555 </action>
556 </page>
557
558 <page name="flash_options">
559 <template name="page"/>
560
561 <template name="statusbar"/>
562
563 <text style="text_m">
564 <condition var1="tw_selectimage" var2="0"/>
565 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500566 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100567 </text>
568
epicX9597b842021-03-20 21:58:17 +0530569 <listbox style="options_listbox">
570 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%listbox_options_height%"/>
571 <icon selected="checkbox_true" unselected="checkbox_false"/>
572 <listitem name="{@zip_sig_chk=Zip signature verification}">
573 <data variable="tw_signed_zip_verify"/>
574 </listitem>
575 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
576 <data variable="tw_skip_digest_check_zip"/>
577 </listitem>
nebrassyac29e692021-05-20 13:03:30 +0200578 <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}">
579 <conditions>
580 <condition var1="tw_has_boot_slots" var2="1"/>
581 <condition var1="tw_has_repack_tools" var2="1"/>
Captain Throwback1f5d4ca2023-01-11 13:46:30 -0500582 <condition var1="tw_no_flash_current_twrp" var2="0"/>
nebrassyac29e692021-05-20 13:03:30 +0200583 </conditions>
584 <data variable="tw_auto_reflashtwrp"/>
585 </listitem>
epicX9597b842021-03-20 21:58:17 +0530586 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
587 <data variable="tw_install_reboot"/>
588 </listitem>
589 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
590 <condition var1="tw_has_injecttwrp" var2="1"/>
591 <data variable="tw_inject_after_zip"/>
592 </listitem>
593 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500594
z31s1g28f0a922015-11-07 18:50:22 +0100595 <button>
596 <placement x="%col1_x_left%" y="%row11_y%"/>
597 <highlight color="%highlight_color%"/>
598 <image resource="q_btn_arrow_left"/>
599 <action function="page">flash_queue</action>
600 </button>
601
602 <button>
603 <placement x="%btn4_col4_x%" y="%row11_y%"/>
604 <highlight color="%highlight_color%"/>
605 <image resource="q_btn_accept_transp"/>
606 <action function="page">flash_confirm</action>
607 </button>
608
609 <action>
610 <touch key="back"/>
611 <action function="page">flash_queue</action>
612 </action>
613
614 <action>
615 <touch key="home"/>
616 <action function="page">main</action>
617 </action>
618 </page>
619
620 <page name="flash_confirm">
621 <template name="page"/>
622
623 <template name="statusbar"/>
624
625 <text style="text_m">
626 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 </text>
629
630 <text style="text_m_accent">
631 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500632 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100633 </text>
634
635 <text style="text_m">
636 <placement x="%indent%" y="%row2_y%"/>
637 <text>%tw_file%</text>
638 </text>
639
640 <button>
641 <fill color="%transparent%"/>
642 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
643 <action function="page">flash_queue</action>
644 </button>
645
646 <text style="text_m_accent">
647 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500653 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100654 </text>
655
656 <button>
657 <fill color="%transparent%"/>
658 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
659 <action function="page">flash_queue</action>
660 </button>
661
662 <listbox style="listbox_options">
663 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500664 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100665 <data variable="tw_signed_zip_verify"/>
666 </listitem>
667 </listbox>
668
669 <text style="text_m_accent">
670 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500671 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100672 </text>
673
674 <text style="text_m">
675 <condition var1="tw_has_injecttwrp" var2="1"/>
676 <condition var1="tw_inject_after_zip" var2="1"/>
677 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500678 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100679 </text>
680
681 <button>
682 <fill color="%transparent%"/>
683 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
684 <action function="page">flash_options</action>
685 </button>
686
687 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500688 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100689 <action function="flash">flash_zip</action>
690 </slider>
691
692 <action>
693 <touch key="back"/>
694 <actions>
695 <action function="cancelzip"/>
696 <action function="page">install</action>
697 </actions>
698 </action>
699
700 <action>
701 <touch key="home"/>
702 <action function="page">main</action>
703 </action>
704 </page>
705
706 <page name="flash_zip">
707 <template name="page"/>
708
709 <template name="statusbar"/>
710
711 <text style="text_m">
712 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600713 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100714 </text>
715
716 <template name="console"/>
717
718 <template name="progress_bar"/>
719
720 <action>
721 <condition var1="tw_operation_state" var2="1"/>
722 <action function="page">flash_done</action>
723 </action>
724 </page>
725
726 <page name="flash_done">
727 <template name="page"/>
728
729 <template name="statusbar"/>
730
731 <text style="text_m_fail">
732 <condition var1="tw_operation_status" op="!=" var2="0"/>
733 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500734 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100735 </text>
736
737 <text style="text_m">
738 <condition var1="tw_operation_status" var2="0"/>
739 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500740 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100741 </text>
742
743 <template name="console"/>
744
745 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500746 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100747 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500748 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100749 <actions>
750 <action function="set">tw_back=flash_done</action>
751 <action function="set">tw_action=wipe</action>
752 <action function="set">tw_action_param=/cache</action>
753 <action function="set">tw_has_action2=1</action>
754 <action function="set">tw_action2=wipe</action>
755 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500756 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
757 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
758 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500759 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
760 <action function="page">confirm_action</action>
761 </actions>
762 </button>
763
764 <button style="main_button_half_height">
765 <condition var1="tw_ab_device" var2="1"/>
766 <placement x="%indent%" y="%row21a_y%"/>
767 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
768 <actions>
769 <action function="set">tw_back=flash_done</action>
770 <action function="set">tw_action=wipe</action>
771 <action function="set">tw_action_param=dalvik</action>
772 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
773 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
774 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
775 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100776 <action function="page">confirm_action</action>
777 </actions>
778 </button>
779
780 <button style="main_button_half_height">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100781 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100782 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500783 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100784 <actions>
785 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500786 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100787 </actions>
788 </button>
789
Chaosmaster7b66bf52020-02-07 20:33:43 +0100790 <button style="main_button_half_height">
791 <condition var1="tw_ab_device" var2="1"/>
792 <placement x="%col1_x_right%" y="%row13_y%"/>
793 <text>{@reboot_btn=Reboot}</text>
794 <actions>
795 <action function="set">tw_back=main2</action>
796 <action function="page">reboot</action>
797 </actions>
798 </button>
799
z31s1g28f0a922015-11-07 18:50:22 +0100800 <action>
801 <touch key="back"/>
802 <actions>
803 <action function="set">tw_clear_destination=install_type</action>
804 <action function="page">clear_vars</action>
805 </actions>
806 </action>
807
808 <action>
809 <touch key="home"/>
810 <actions>
811 <action function="set">tw_clear_destination=main2</action>
812 <action function="page">clear_vars</action>
813 </actions>
814 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500815
816 <action>
817 <conditions>
818 <condition var1="tw_install_reboot" var2="1"/>
819 <condition var1="tw_operation_status" var2="0"/>
820 <condition var1="tw_reboot_system" var2="1"/>
821 </conditions>
822 <actions>
823 <action function="set">tw_sleep=%tw_sleep_total%</action>
824 <action function="page">flash_sleep_and_reboot</action>
825 </actions>
826 </action>
827 </page>
828
829 <page name="flash_sleep_and_reboot">
830 <template name="page"/>
831
832 <template name="statusbar"/>
833
834 <text style="text_m">
835 <placement x="%col1_x_left%" y="%row1_header_y%"/>
836 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
837 </text>
838
839 <template name="console"/>
840
841 <template name="progress_bar"/>
842
843 <button style="main_button_half_height">
844 <condition var1="tw_sleep" op="&gt;" var2="0"/>
845 <placement x="%col1_x_right%" y="%row13_y%"/>
846 <text>{@cancel_btn=Cancel}</text>
847 <actions>
848 <action function="set">tw_install_reboot=0</action>
849 <action function="page">flash_done</action>
850 </actions>
851 </button>
852
853 <action>
854 <conditions>
855 <condition var1="tw_sleep" var2="tw_sleep_total"/>
856 <condition var1="tw_install_reboot" var2="1"/>
857 </conditions>
858 <action function="sleepcounter">%tw_sleep_total%</action>
859 </action>
860
861 <action>
862 <conditions>
863 <condition var1="tw_sleep" var2="0"/>
864 <condition var1="tw_install_reboot" var2="1"/>
865 </conditions>
866 <actions>
867 <action function="sleep">50000</action>
868 <action function="set">tw_back=main2</action>
869 <action function="page">reboot_system_routine</action>
870 </actions>
871 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100872 </page>
873
874 <page name="flashimage_type">
875 <template name="page"/>
876
877 <template name="statusbar"/>
878
879 <text style="text_m">
880 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600881 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100882 </text>
883
884 <partitionlist style="partitionlist_headerless_rb">
885 <data name="tw_flash_partition"/>
886 <listtype name="flashimg"/>
887 </partitionlist>
888
epicX8f52c0a2021-02-24 23:12:08 +0530889 <button style="checkbox">
890 <conditions>
891 <condition var1="tw_is_slot_part" op="=" var2="1"/>
892 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
893 <condition var1="tw_has_boot_slots" var2="1"/>
894 </conditions>
895 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
896 <text>{@flash_ab_both_slots=Flash to both slots}</text>
897 <image resource="checkbox_false"/>
898 <action function="set">tw_flash_both_slots=1</action>
899 </button>
900
901 <button style="checkbox">
902 <conditions>
903 <condition var1="tw_is_slot_part" op="=" var2="1"/>
904 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
905 <condition var1="tw_has_boot_slots" var2="1"/>
906 </conditions>
907 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
908 <text>{@flash_ab_both_slots=Flash to both slots}</text>
909 <image resource="checkbox_true"/>
910 <action function="set">tw_flash_both_slots=0</action>
911 </button>
912
z31s1g28f0a922015-11-07 18:50:22 +0100913 <button>
914 <placement x="%col1_x_left%" y="%row11_y%"/>
915 <highlight color="%highlight_color%"/>
916 <image resource="q_btn_arrow_left"/>
917 <action function="page">install</action>
918 </button>
919
920 <button>
921 <placement x="%btn4_col4_x%" y="%row11_y%"/>
922 <highlight color="%highlight_color%"/>
923 <image resource="q_btn_accept_transp"/>
924 <action function="page">flashimage_confirm</action>
925 </button>
926
927 <action>
928 <touch key="back"/>
929 <action function="page">install</action>
930 </action>
931
932 <action>
933 <touch key="home"/>
934 <action function="page">main</action>
935 </action>
936 </page>
937
938 <page name="flashimage_confirm">
939 <template name="page"/>
940
941 <template name="statusbar"/>
942
943 <text style="text_m">
944 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500945 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100946 </text>
947
948 <text style="text_m_accent">
949 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500950 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100951 </text>
952
953 <text style="text_m">
954 <placement x="%indent%" y="%row2_y%"/>
955 <text>%tw_file%</text>
956 </text>
957
958 <button>
959 <fill color="%transparent%"/>
960 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
961 <action function="page">install</action>
962 </button>
963
964 <text style="text_m_accent">
965 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100967 </text>
968
969 <text style="text_m">
970 <placement x="%indent%" y="%row5_y%"/>
971 <text>%tw_flash_partition%</text>
972 </text>
973
974 <button>
975 <fill color="%transparent%"/>
976 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
977 <action function="page">flashimage_type</action>
978 </button>
979
980 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500981 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100982 <actions>
983 <action function="set">tw_back=flashimage_confirm</action>
984 <action function="set">tw_action=flashimage</action>
985 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500986 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100987 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500988 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100989 <action function="page">action_page</action>
990 </actions>
991 <action function="flashimage"/>
992 </slider>
993
994 <action>
995 <touch key="back"/>
996 <actions>
997 <action function="set">tw_clear_destination=install</action>
998 <action function="page">clear_vars</action>
999 </actions>
1000 </action>
1001
1002 <action>
1003 <touch key="home"/>
1004 <actions>
1005 <action function="set">tw_clear_destination=main2</action>
1006 <action function="page">clear_vars</action>
1007 </actions>
1008 </action>
1009 </page>
1010
1011 <page name="clear_vars">
1012 <action>
1013 <action function="set">tw_operation_state=0</action>
1014 <action function="set">tw_text1=</action>
1015 <action function="set">tw_text2=</action>
1016 <action function="set">tw_text3=</action>
1017 <action function="set">tw_text4=</action>
1018 <action function="set">tw_action_text1=</action>
1019 <action function="set">tw_action_text2=</action>
1020 <action function="set">tw_action_param=</action>
1021 <action function="set">tw_has_action2=0</action>
1022 <action function="set">tw_action2=</action>
1023 <action function="set">tw_action2_param=</action>
1024 <action function="set">tw_has_cancel=0</action>
1025 <action function="set">tw_cancel_action=</action>
1026 <action function="set">tw_cancel_param=</action>
1027 <action function="set">tw_show_exclamation=0</action>
1028 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001029 <action function="set">tw_crypto_user_id=</action>
1030 <action function="set">tw_multiuser_warning_accepted=</action>
1031 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +01001032 <action function="page">%tw_clear_destination%</action>
1033 </action>
1034 </page>
1035
Matt Mower908dd252016-05-25 02:26:50 -05001036 <page name="reboot_system_routine">
1037 <action>
1038 <action function="set">tw_back=main2</action>
1039 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05001040 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -05001041 <action function="set">tw_has_action2=0</action>
1042 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1043 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
1044 <action function="set">tw_text3=</action>
1045 <action function="set">tw_text4=</action>
1046 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
1047 <action function="set">tw_action_text2=</action>
1048 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1049 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1050 <action function="page">rebootcheck</action>
1051 </action>
1052 </page>
1053
z31s1g28f0a922015-11-07 18:50:22 +01001054 <page name="confirm_action">
1055 <template name="page"/>
1056
1057 <template name="statusbar"/>
1058
1059 <text style="text_m">
1060 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001061 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001062 </text>
1063
1064 <text style="text_m_accent">
1065 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1066 <text>%tw_text1%</text>
1067 </text>
1068
1069 <text style="text_m_accent">
1070 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1071 <text>%tw_text2%</text>
1072 </text>
1073
1074 <text style="text_m">
1075 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1076 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1077 <text>%tw_text3%</text>
1078 </text>
1079
1080 <text style="text_m">
1081 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1082 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1083 <text>%tw_text4%</text>
1084 </text>
1085
1086 <text style="text_m_fail">
1087 <condition var1="tw_action" var2="changefilesystem"/>
1088 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1089 <text>%tw_text3%</text>
1090 </text>
1091
1092 <text style="text_m_fail">
1093 <condition var1="tw_action" var2="changefilesystem"/>
1094 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1095 <text>%tw_text4%</text>
1096 </text>
1097
1098 <text style="text_m">
1099 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <slider>
1104 <text>%tw_slider_text%</text>
1105 <action function="page">action_page</action>
1106 </slider>
1107
1108 <action>
1109 <touch key="back"/>
1110 <actions>
1111 <action function="set">tw_clear_destination=%tw_back%</action>
1112 <action function="page">clear_vars</action>
1113 </actions>
1114 </action>
1115
1116 <action>
1117 <touch key="home"/>
1118 <action function="page">main</action>
1119 </action>
1120 </page>
1121
1122 <page name="action_page">
1123 <template name="page"/>
1124
1125 <template name="statusbar"/>
1126
1127 <text style="text_m">
1128 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1129 <text>%tw_action_text1% %tw_action_text2%</text>
1130 </text>
1131
1132 <template name="console"/>
1133
1134 <template name="progress_bar"/>
1135
1136 <button style="main_button_half_height">
1137 <condition var1="tw_has_cancel" var2="1"/>
1138 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001139 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001140 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1141 </button>
1142
1143 <action>
1144 <condition var1="tw_operation_state" var2="1"/>
1145 <actions>
1146 <action function="page">action_complete</action>
1147 </actions>
1148 </action>
1149
1150 <action>
1151 <condition var1="tw_has_action2" var2="0"/>
1152 <actions>
1153 <action function="%tw_action%">%tw_action_param%</action>
1154 </actions>
1155 </action>
1156
1157 <action>
1158 <condition var1="tw_has_action2" var2="1"/>
1159 <actions>
1160 <action function="%tw_action%">%tw_action_param%</action>
1161 <action function="%tw_action2%">%tw_action2_param%</action>
1162 </actions>
1163 </action>
1164 </page>
1165
1166 <page name="singleaction_page">
1167 <template name="page"/>
1168
1169 <template name="statusbar"/>
1170
1171 <text style="text_m">
1172 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1173 <text>%tw_action_text1% %tw_action_text2%</text>
1174 </text>
1175
1176 <template name="console"/>
1177
1178 <template name="progress_bar"/>
1179
1180 <action>
1181 <condition var1="tw_operation_state" var2="1"/>
1182 <actions>
1183 <action function="set">tw_page_done=1</action>
1184 </actions>
1185 </action>
1186
1187 <action>
1188 <condition var1="tw_has_action2" var2="0"/>
1189 <actions>
1190 <action function="%tw_action%">%tw_action_param%</action>
1191 </actions>
1192 </action>
1193
1194 <action>
1195 <condition var1="tw_has_action2" var2="1"/>
1196 <actions>
1197 <action function="%tw_action%">%tw_action_param%</action>
1198 <action function="%tw_action2%">%tw_action2_param%</action>
1199 </actions>
1200 </action>
1201 </page>
1202
1203 <page name="action_complete">
1204 <template name="page"/>
1205
1206 <template name="statusbar"/>
1207
1208 <text style="text_m_fail">
1209 <condition var1="tw_operation_status" op="!=" var2="0"/>
1210 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001211 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001212 </text>
1213
1214 <text style="text_m">
1215 <condition var1="tw_operation_status" var2="0"/>
1216 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001217 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001218 </text>
1219
1220 <template name="console"/>
1221
1222 <button style="main_button_half_height">
1223 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001224 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001225 <actions>
1226 <action function="set">tw_clear_destination=%tw_back%</action>
1227 <action function="page">clear_vars</action>
1228 </actions>
1229 </button>
1230
1231 <button style="main_button_half_height">
1232 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001233 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001234 <actions>
1235 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001236 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </actions>
1238 </button>
1239
1240 <action>
1241 <touch key="home"/>
1242 <actions>
1243 <action function="set">tw_clear_destination=main2</action>
1244 <action function="page">clear_vars</action>
1245 </actions>
1246 </action>
1247
1248 <action>
1249 <touch key="back"/>
1250 <actions>
1251 <action function="set">tw_clear_destination=%tw_back%</action>
1252 <action function="page">clear_vars</action>
1253 </actions>
1254 </action>
1255 </page>
1256
1257 <page name="filecheck">
1258 <action>
1259 <action function="fileexists">%tw_filecheck%</action>
1260 </action>
1261
1262 <action>
1263 <conditions>
1264 <condition var1="tw_operation_state" var2="1"/>
1265 <condition var1="tw_operation_status" var2="0"/>
1266 </conditions>
1267 <actions>
1268 <action function="set">tw_fileexists=1</action>
1269 <action function="page">%tw_existpage%</action>
1270 </actions>
1271 </action>
1272
1273 <action>
1274 <conditions>
1275 <condition var1="tw_operation_state" var2="1"/>
1276 <condition var1="tw_operation_status" var2="1"/>
1277 </conditions>
1278 <actions>
1279 <action function="set">tw_fileexists=0</action>
1280 <action function="page">%tw_notexistpage%</action>
1281 </actions>
1282 </action>
1283 </page>
1284
1285 <page name="rebootcheck">
1286 <action>
1287 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001288 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001289 </action>
1290
1291 <action>
1292 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1293 <action function="page">confirm_action</action>
1294 </action>
1295 </page>
1296
1297 <page name="wipe_type1">
1298 <template name="page"/>
1299
1300 <template name="statusbar"/>
1301
1302 <text style="text_m">
1303 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <button style="main_button_full_width">
1308 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001309 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001310 <action function="page">wipe</action>
1311 </button>
1312
1313 <button style="main_button_full_width">
1314 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 <actions>
1317 <action function="set">partitionlisterror=0</action>
1318 <action function="page">advancedwipe</action>
1319 </actions>
1320 </button>
1321
1322 <button>
1323 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1324 <highlight color="%highlight_color%"/>
1325 <image resource="q_btn_arrow_right"/>
1326 <action function="page">wipe_type2</action>
1327 </button>
1328
1329 <action>
1330 <touch key="home"/>
1331 <action function="page">main</action>
1332 </action>
1333
1334 <action>
1335 <touch key="back"/>
1336 <action function="page">main</action>
1337 </action>
1338 </page>
1339
1340 <page name="wipe_type2">
1341 <template name="page"/>
1342
1343 <template name="statusbar"/>
1344
1345 <text style="text_m">
1346 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001348 </text>
1349
1350 <button style="main_button_full_width">
1351 <condition var1="tw_has_data_media" var2="1"/>
1352 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 <action function="page">formatdata</action>
1355 </button>
1356
1357 <button style="main_button_full_width">
1358 <conditions>
1359 <condition var1="tw_is_encrypted" var2="1"/>
1360 <condition var1="tw_has_data_media" var2="0"/>
1361 </conditions>
1362 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <actions>
1365 <action function="set">tw_back=wipe</action>
1366 <action function="set">tw_action=wipe</action>
1367 <action function="set">tw_action_param=DATAMEDIA</action>
1368 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001370 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1372 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1373 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001374 <action function="page">confirm_action</action>
1375 </actions>
1376 </button>
1377
1378 <button style="main_button_full_width">
1379 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001380 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001381 <action function="set">partitionlisterror=0</action>
1382 <action function="page">partitionoptions_select</action>
1383 </actions>
1384 </button>
1385
1386 <button>
1387 <placement x="%col1_x_left%" y="%row11_y%"/>
1388 <highlight color="%highlight_color%"/>
1389 <image resource="q_btn_arrow_left"/>
1390 <action function="page">wipe_type1</action>
1391 </button>
1392
1393 <action>
1394 <touch key="home"/>
1395 <action function="page">main</action>
1396 </action>
1397
1398 <action>
1399 <touch key="back"/>
1400 <action function="page">main</action>
1401 </action>
1402 </page>
1403
1404 <page name="wipe">
1405 <template name="page"/>
1406
1407 <template name="statusbar"/>
1408
1409 <text style="text_m">
1410 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001412 </text>
1413
1414 <text style="text_m_accent">
1415 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001416 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001417 </text>
1418
1419 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001420 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001421 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1422 </text>
1423
1424 <text style="text_m_accent">
1425 <condition var1="tw_has_data_media" var2="1"/>
1426 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m_accent">
1431 <conditions>
1432 <condition var1="tw_has_android_secure" var2="1"/>
1433 <condition var1="fileexists" var2="/and-sec"/>
1434 </conditions>
1435 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001436 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001437 </text>
1438
1439 <text style="text_m_accent">
1440 <condition var1="tw_has_sdext_partition" var2="1"/>
1441 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <text style="text_m">
1446 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001447 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001448 </text>
1449
1450 <text style="text_m">
1451 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001453 </text>
1454
1455 <text style="text_m">
1456 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001461 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001462 <actions>
1463 <action function="set">tw_back=wipe</action>
1464 <action function="set">tw_action=wipe</action>
1465 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001466 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1467 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001468 <action function="page">action_page</action>
1469 </actions>
1470 </slider>
1471
1472 <action>
1473 <touch key="back"/>
1474 <action function="page">wipe_type1</action>
1475 </action>
1476
1477 <action>
1478 <touch key="home"/>
1479 <action function="page">main</action>
1480 </action>
1481 </page>
1482
1483 <page name="advancedwipe">
1484 <action>
1485 <action function="set">tw_wipe_list=</action>
1486 </action>
1487
1488 <template name="page"/>
1489
1490 <template name="statusbar"/>
1491
1492 <text style="text_m">
1493 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001494 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001495 </text>
1496
1497 <partitionlist style="partitionlist_headerless_cb">
1498 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1499 <data name="tw_wipe_list"/>
1500 <listtype name="wipe"/>
1501 </partitionlist>
1502
1503 <fill color="%accent_color%">
1504 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1505 </fill>
1506
1507 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001508 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001509 <actions>
1510 <action function="set">tw_back=advancedwipe</action>
1511 <action function="set">tw_action=wipe</action>
1512 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001513 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1514 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1515 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001516 <action function="page">action_page</action>
1517 </actions>
1518 </slider>
1519
1520 <action>
1521 <touch key="home"/>
1522 <action function="page">main</action>
1523 </action>
1524
1525 <action>
1526 <touch key="back"/>
1527 <action function="page">wipe_type1</action>
1528 </action>
1529 </page>
1530
1531 <page name="formatdata">
1532 <template name="page"/>
1533
1534 <template name="statusbar"/>
1535
1536 <text style="text_m">
1537 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001539 </text>
1540
1541 <text style="text_m_fail">
1542 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001543 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001544 </text>
1545
1546 <text style="text_m_fail">
1547 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001549 </text>
1550
1551 <text style="text_m">
1552 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001554 </text>
1555
1556 <input>
1557 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1558 <text>%tw_confirm_formatdata%</text>
1559 <data name="tw_confirm_formatdata"/>
1560 <restrict minlen="3" maxlen="3" allow="yes"/>
1561 <action function="page">formatdata_confirm</action>
1562 </input>
1563
1564 <fill color="%accent_color%">
1565 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1566 </fill>
1567
1568 <template name="keyboardtemplate"/>
1569
1570 <action>
1571 <touch key="home"/>
1572 <action function="page">main</action>
1573 </action>
1574
1575 <action>
1576 <touch key="back"/>
1577 <action function="page">wipe_type2</action>
1578 </action>
1579 </page>
1580
1581 <page name="formatdata_confirm">
1582 <action>
1583 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1584 <actions>
1585 <action function="set">tw_back=formatdata</action>
1586 <action function="set">tw_action=wipe</action>
1587 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001588 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1589 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001590 <action function="page">action_page</action>
1591 </actions>
1592 </action>
1593
1594 <action>
1595 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1596 <action function="page">formatdata</action>
1597 </action>
1598 </page>
1599
1600 <page name="checkpartitionlist">
1601 <action>
1602 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1603 <actions>
1604 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001605 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001606 <action function="page">partitionoptions</action>
1607 </actions>
1608 </action>
1609
1610 <action>
1611 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1612 <actions>
1613 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001614 <action function="page">partitionoptions_select</action>
1615 </actions>
1616 </action>
1617 </page>
1618
1619 <page name="partitionoptions_select">
1620 <action>
1621 <action function="set">tw_wipe_list=</action>
1622 </action>
1623
1624 <template name="page"/>
1625
1626 <template name="statusbar"/>
1627
1628 <text style="text_m">
1629 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <partitionlist style="partitionlist_headerless_cb">
1634 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1635 <data name="tw_wipe_list"/>
1636 <listtype name="wipe"/>
1637 </partitionlist>
1638
1639 <fill color="%accent_color%">
1640 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1641 </fill>
1642
z31s1g28f0a922015-11-07 18:50:22 +01001643 <text style="text_m_fail">
1644 <condition var1="partitionlisterror" var2="1"/>
1645 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001646 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001647 </text>
1648
1649 <button>
1650 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1651 <highlight color="%highlight_color%"/>
1652 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001653 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001654 <action function="page">checkpartitionlist</action>
1655 </actions>
1656 </button>
1657
1658 <action>
1659 <touch key="home"/>
1660 <action function="page">main</action>
1661 </action>
1662
1663 <action>
1664 <touch key="back"/>
1665 <action function="page">wipe_type2</action>
1666 </action>
1667 </page>
1668
1669 <page name="partitionoptions">
1670
1671 <template name="page"/>
1672
1673 <template name="statusbar"/>
1674
1675 <text style="text_m">
1676 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001677 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001678 </text>
1679
1680 <text style="text_m_accent">
1681 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 </text>
1684
1685 <text style="text_m_accent">
1686 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001688 </text>
1689
1690 <text style="text_m">
1691 <condition var1="tw_partition_is_present" var2="1"/>
1692 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 </text>
1695
1696 <text style="text_m">
1697 <condition var1="tw_partition_is_present" var2="0"/>
1698 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001700 </text>
1701
1702 <text style="text_m">
1703 <condition var1="tw_partition_removable" var2="1"/>
1704 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001705 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001706 </text>
1707
1708 <text style="text_m">
1709 <condition var1="tw_partition_removable" var2="0"/>
1710 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </text>
1713
1714 <text style="text_m">
1715 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </text>
1718
1719 <text style="text_m">
1720 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001721 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001722 </text>
1723
1724 <text style="text_m">
1725 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001727 </text>
1728
1729 <text style="text_m">
1730 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001731 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001732 </text>
1733
1734 <button style="main_button">
1735 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1736 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001737 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001738 <actions>
1739 <action function="set">tw_back=partitionoptions</action>
1740 <action function="set">tw_action=resize</action>
1741 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1742 <action function="set">tw_has_action2=1</action>
1743 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001744 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001745 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001746 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1748 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1749 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001750 <action function="page">confirm_action</action>
1751 </actions>
1752 </button>
1753
1754 <button style="main_button">
1755 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1756 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001757 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001758 <actions>
1759 <action function="set">tw_back=partitionoptions</action>
1760 <action function="set">tw_action=repair</action>
1761 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1762 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001765 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1766 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1767 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001768 <action function="page">confirm_action</action>
1769 </actions>
1770 </button>
1771
1772 <button>
1773 <placement x="%col1_x_left%" y="%row11_y%"/>
1774 <highlight color="%highlight_color%"/>
1775 <image resource="q_btn_arrow_left"/>
1776 <action function="page">partitionoptions_select</action>
1777 </button>
1778
1779 <button style="main_button">
1780 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001781 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001782 <action function="page">selectfilesystem</action>
1783 </button>
1784
1785 <action>
1786 <touch key="home"/>
1787 <action function="page">main</action>
1788 </action>
1789
1790 <action>
1791 <touch key="back"/>
1792 <action function="page">partitionoptions_select</action>
1793 </action>
1794 </page>
1795
1796 <page name="refreshfilesystem">
1797 <action>
1798 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1799 <actions>
1800 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001801 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <action function="page">selectfilesystem</action>
1803 </actions>
1804 </action>
1805
1806 <action>
1807 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1808 <actions>
1809 <action function="set">partitionlisterror=1</action>
1810 <action function="set">tw_wipe_list=</action>
1811 <action function="page">advancedwipe</action>
1812 </actions>
1813 </action>
1814 </page>
1815
1816 <page name="selectfilesystem">
1817 <template name="page"/>
1818
1819 <template name="statusbar"/>
1820
1821 <text style="text_m">
1822 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001823 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001824 </text>
1825
1826 <button style="main_button">
1827 <condition var1="tw_partition_ext" op="=" var2="1"/>
1828 <placement x="%col1_x_left%" y="%row1_y%"/>
1829 <text>EXT2</text>
1830 <actions>
1831 <action function="set">tw_back=refreshfilesystem</action>
1832 <action function="set">tw_action=changefilesystem</action>
1833 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1834 <action function="set">tw_action_new_file_system=ext2</action>
1835 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001836 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1837 <action function="set">tw_text2=EXT2</action>
1838 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1839 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1840 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1841 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1842 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001843 <action function="page">confirm_action</action>
1844 </actions>
1845 </button>
1846
1847 <button style="main_button">
1848 <condition var1="tw_partition_ext" op="=" var2="1"/>
1849 <placement x="%col1_x_left%" y="%row6_y%"/>
1850 <text>EXT3</text>
1851 <actions>
1852 <action function="set">tw_back=refreshfilesystem</action>
1853 <action function="set">tw_action=changefilesystem</action>
1854 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1855 <action function="set">tw_action_new_file_system=ext3</action>
1856 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001857 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1858 <action function="set">tw_text2=EXT3</action>
1859 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1860 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1861 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1862 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1863 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001864 <action function="page">confirm_action</action>
1865 </actions>
1866 </button>
1867
1868 <button style="main_button">
1869 <condition var1="tw_partition_ext" op="=" var2="1"/>
1870 <placement x="%col1_x_left%" y="%row11_y%"/>
1871 <text>EXT4</text>
1872 <actions>
1873 <action function="set">tw_back=refreshfilesystem</action>
1874 <action function="set">tw_action=changefilesystem</action>
1875 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1876 <action function="set">tw_action_new_file_system=ext4</action>
1877 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001878 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1879 <action function="set">tw_text2=EXT4</action>
1880 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1881 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1882 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1883 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1884 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001885 <action function="page">confirm_action</action>
1886 </actions>
1887 </button>
1888
1889 <button style="main_button">
1890 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1891 <placement x="%col1_x_right%" y="%row1_y%"/>
1892 <text>FAT</text>
1893 <actions>
1894 <action function="set">tw_back=refreshfilesystem</action>
1895 <action function="set">tw_action=changefilesystem</action>
1896 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1897 <action function="set">tw_action_new_file_system=vfat</action>
1898 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001899 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1900 <action function="set">tw_text2=FAT</action>
1901 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1902 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1903 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1904 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1905 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001906 <action function="page">confirm_action</action>
1907 </actions>
1908 </button>
1909
1910 <button style="main_button">
1911 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1912 <placement x="%col1_x_right%" y="%row6_y%"/>
1913 <text>exFAT</text>
1914 <actions>
1915 <action function="set">tw_back=refreshfilesystem</action>
1916 <action function="set">tw_action=changefilesystem</action>
1917 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1918 <action function="set">tw_action_new_file_system=exfat</action>
1919 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001920 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1921 <action function="set">tw_text2=exFAT</action>
1922 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1923 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1924 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1925 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1926 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 <action function="page">confirm_action</action>
1928 </actions>
1929 </button>
1930
1931 <button style="main_button">
1932 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1933 <placement x="%col1_x_right%" y="%row11_y%"/>
1934 <text>F2FS</text>
1935 <actions>
1936 <action function="set">tw_back=refreshfilesystem</action>
1937 <action function="set">tw_action=changefilesystem</action>
1938 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1939 <action function="set">tw_action_new_file_system=f2fs</action>
1940 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001941 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1942 <action function="set">tw_text2=F2FS</action>
1943 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1944 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1945 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1946 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1947 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001948 <action function="page">confirm_action</action>
1949 </actions>
1950 </button>
1951
1952 <action>
1953 <touch key="home"/>
1954 <action function="page">main</action>
1955 </action>
1956
1957 <action>
1958 <touch key="back"/>
1959 <action function="page">partitionoptions</action>
1960 </action>
1961 </page>
1962
bigbiffce8f83c2015-12-12 18:30:21 -05001963 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001964 <template name="page"/>
1965
Noah Jacobson81d638d2019-04-28 00:10:07 -04001966 <action>
1967 <conditions>
1968 <condition var1="tw_is_fbe" var2="1"/>
1969 <condition var1="tw_all_users_decrypted" var2="0"/>
1970 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1971 </conditions>
1972 <actions>
1973 <action function="set">tw_multiuser_warning_destination=backup</action>
1974 <action function="page">multiuser_warning</action>
1975 </actions>
1976 </action>
1977
z31s1g28f0a922015-11-07 18:50:22 +01001978 <template name="statusbar"/>
1979
1980 <text style="text_m">
1981 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001982 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001983 </text>
1984
1985 <partitionlist style="partitionlist_headerless_rb">
1986 <data name="tw_storage_path"/>
1987 <listtype name="storage"/>
1988 </partitionlist>
1989
1990 <button>
1991 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1992 <highlight color="%highlight_color%"/>
1993 <image resource="q_btn_refresh"/>
1994 <actions>
1995 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001996 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001997 </actions>
1998 </button>
1999
2000 <button>
2001 <condition var1="tw_back" var2="backup_confirm"/>
2002 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2003 <highlight color="%highlight_color%"/>
2004 <image resource="q_btn_accept"/>
2005 <action function="page">backup_confirm</action>
2006 </button>
2007
2008 <button>
2009 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2010 <highlight color="%highlight_color%"/>
2011 <image resource="q_btn_arrow_right"/>
2012 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05002013 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002014 <action function="page">backup_selectpartitions</action>
2015 </actions>
2016 </button>
2017
2018 <action>
2019 <touch key="home"/>
2020 <action function="page">main</action>
2021 </action>
2022
2023 <action>
2024 <touch key="back"/>
2025 <action function="page">%tw_back%</action>
2026 </action>
2027
2028 <action>
2029 <touch key="power+voldown"/>
2030 <action function="screenshot"/>
2031 </action>
2032 </page>
2033
2034 <page name="backup_selectpartitions">
2035 <template name="page"/>
2036
2037 <template name="statusbar"/>
2038
2039 <text style="text_m">
2040 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <partitionlist style="partitionlist_headerless_cb">
2045 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2046 <data name="tw_backup_list"/>
2047 <listtype name="backup"/>
2048 </partitionlist>
2049
2050 <fill color="%accent_color%">
2051 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2052 </fill>
2053
2054 <button>
2055 <placement x="%col1_x_left%" y="%row11_y%"/>
2056 <highlight color="%highlight_color%"/>
2057 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002058 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002059 </button>
2060
2061 <button>
2062 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2063 <highlight color="%highlight_color%"/>
2064 <image resource="q_btn_refresh"/>
2065 <action function="page">backup_selectpartitions</action>
2066 </button>
2067
2068 <button>
2069 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2070 <highlight color="%highlight_color%"/>
2071 <image resource="q_btn_accept"/>
2072 <action function="page">backup_confirm</action>
2073 </button>
2074
2075 <button>
2076 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2077 <highlight color="%highlight_color%"/>
2078 <image resource="q_btn_arrow_right"/>
2079 <actions>
2080 <action function="set">tw_back=backup_selectpartitions</action>
2081 <action function="page">backup_options</action>
2082 </actions>
2083 </button>
2084
2085 <action>
2086 <touch key="home"/>
2087 <action function="page">main</action>
2088 </action>
2089
2090 <action>
2091 <touch key="back"/>
2092 <action function="page">%tw_back%</action>
2093 </action>
2094
2095 <action>
2096 <touch key="power+voldown"/>
2097 <action function="screenshot"/>
2098 </action>
2099 </page>
2100
Noah Jacobson81d638d2019-04-28 00:10:07 -04002101 <page name="multiuser_warning">
2102 <template name="page"/>
2103
2104 <text style="text_m">
2105 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2106 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2107 </text>
2108
2109 <text style="text_m_fail">
2110 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2111 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2112 </text>
2113
2114 <text style="text_m_fail">
2115 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2116 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2117 </text>
2118
2119 <button style="main_button_full_width">
2120 <placement x="%col1_x_left%" y="%row6_y%"/>
2121 <text>{@decrypt_users=Decrypt Users}</text>
2122 <action function="page">decrypt_users</action>
2123 </button>
2124
2125 <slider>
2126 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2127 <actions>
2128 <action function="set">tw_multiuser_warning_accepted=1</action>
2129 <action function="page">%tw_multiuser_warning_destination%</action>
2130 </actions>
2131 </slider>
2132
2133 <action>
2134 <touch key="home"/>
2135 <action function="page">main</action>
2136 </action>
2137
2138 <action>
2139 <touch key="back"/>
2140 <action function="page">main</action>
2141 </action>
2142 </page>
2143
z31s1g28f0a922015-11-07 18:50:22 +01002144 <page name="backup_options">
2145 <template name="page"/>
2146
2147 <template name="statusbar"/>
2148
2149 <text style="text_m">
2150 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002151 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002152 </text>
2153
2154 <listbox style="scrolllist">
2155 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002156 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002157 <data variable="tw_use_compression"/>
2158 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002159 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2160 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002161 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002162 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002163 <data variable="tw_disable_free_space"/>
2164 </listitem>
2165 </listbox>
2166
2167 <button>
2168 <placement x="%col1_x_left%" y="%row11_y%"/>
2169 <highlight color="%highlight_color%"/>
2170 <image resource="q_btn_arrow_left"/>
2171 <action function="page">backup_selectpartitions</action>
2172 </button>
2173
2174 <button>
2175 <conditions>
2176 <condition var1="tw_include_encrypted_backup" var2="1"/>
2177 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002178 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002179 </conditions>
2180 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2181 <highlight color="%highlight_color%"/>
2182 <image resource="q_btn_encryption_dis"/>
2183 <actions>
2184 <action function="set">tw_password_not_match=0</action>
2185 <action function="set">tw_back=backup_options</action>
2186 <action function="page">backupencryption</action>
2187 </actions>
2188 </button>
2189
2190 <button>
2191 <conditions>
2192 <condition var1="tw_include_encrypted_backup" var2="1"/>
2193 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002194 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002195 </conditions>
2196 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2197 <highlight color="%highlight_color%"/>
2198 <image resource="q_btn_encryption_en"/>
2199 <actions>
2200 <action function="set">tw_password_not_match=0</action>
2201 <action function="set">tw_back=backup_options</action>
2202 <action function="page">backupencryption</action>
2203 </actions>
2204 </button>
2205
2206 <button>
2207 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2208 <highlight color="%highlight_color%"/>
2209 <image resource="q_btn_accept_transp"/>
2210 <actions>
2211 <action function="set">tw_back=backup_options</action>
2212 <action function="page">backup_confirm</action>
2213 </actions>
2214 </button>
2215
2216 <action>
2217 <touch key="home"/>
2218 <action function="page">main</action>
2219 </action>
2220
2221 <action>
2222 <touch key="back"/>
2223 <action function="page">%tw_back%</action>
2224 </action>
2225
2226 <action>
2227 <touch key="power+voldown"/>
2228 <action function="screenshot"/>
2229 </action>
2230 </page>
2231
2232 <page name="backup_confirm">
2233 <template name="page"/>
2234
2235 <template name="statusbar"/>
2236
2237 <text style="text_m">
2238 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002239 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m_accent">
2243 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002244 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002245 </text>
2246
2247 <text style="text_m">
2248 <placement x="%col1_x_left%" y="%row2_y%"/>
2249 <text>%tw_backup_name%</text>
2250 </text>
2251
2252 <fill color="%accent_color%">
2253 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2254 </fill>
2255
2256 <button>
2257 <fill color="%transparent%"/>
2258 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2259 <actions>
2260 <action function="set">tw_back=backup_confirm</action>
2261 <action function="set">tw_fileexists=0</action>
2262 <action function="page">backup_name1</action>
2263 </actions>
2264 </button>
2265
2266 <fill color="%background_color%">
2267 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2268 </fill>
2269
2270 <text style="text_m_accent">
2271 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002273 </text>
2274
2275 <partitionlist style="partitionlist_summary">
2276 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2277 <data name="tw_backup_list"/>
2278 <listtype name="backup"/>
2279 </partitionlist>
2280
2281 <button>
2282 <fill color="%transparent%"/>
2283 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2284 <actions>
2285 <action function="set">tw_back=backup_confirm</action>
2286 <action function="page">backup_selectpartitions</action>
2287 </actions>
2288 </button>
2289
2290 <text style="text_m_accent">
2291 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <text style="text_m">
2296 <placement x="%col1_x_right%" y="%row2_y%"/>
2297 <text>%tw_storage_display_name%</text>
2298 </text>
2299
2300 <button>
2301 <fill color="%transparent%"/>
2302 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2303 <actions>
2304 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002305 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </actions>
2307 </button>
2308
2309 <text style="text_m_accent">
2310 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 </text>
2313
2314 <text style="text_m">
2315 <conditions>
2316 <condition var1="tw_include_encrypted_backup" var2="1"/>
2317 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002318 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002319 </conditions>
2320 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 </text>
2323
2324 <text style="text_m">
2325 <conditions>
2326 <condition var1="tw_include_encrypted_backup" var2="1"/>
2327 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002328 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002329 </conditions>
2330 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002331 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002332 </text>
2333
2334 <button>
2335 <fill color="%transparent%"/>
2336 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2337 <actions>
2338 <action function="set">tw_back=backup_confirm</action>
2339 <action function="page">backupencryption</action>
2340 </actions>
2341 </button>
2342
2343 <listbox style="listbox_options">
2344 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002346 <data variable="tw_use_compression"/>
2347 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002348 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2349 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002350 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002351 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002352 <data variable="tw_disable_free_space"/>
2353 </listitem>
2354 </listbox>
2355
2356 <text style="text_m_accent">
2357 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <button>
2362 <fill color="%transparent%"/>
2363 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2364 <actions>
2365 <action function="set">tw_back=backup_confirm</action>
2366 <action function="page">backup_options</action>
2367 </actions>
2368 </button>
2369
2370 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002371 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002372 <action function="page">backup_run</action>
2373 </slider>
2374
2375 <action>
2376 <touch key="home"/>
2377 <action function="page">main</action>
2378 </action>
2379
2380 <action>
2381 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002382 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002383 </action>
2384 </page>
2385
2386 <page name="backup_name1">
2387 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002388 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002389 <action function="generatebackupname"/>
2390 </action>
2391
2392 <action>
2393 <action function="page">backup_name2</action>
2394 </action>
2395 </page>
2396
2397 <page name="backup_name2">
2398 <template name="page"/>
2399
2400 <template name="statusbar"/>
2401
2402 <text style="text_m">
2403 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002405 </text>
2406
2407 <text style="text_m_accent">
2408 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002410 </text>
2411
2412 <input>
2413 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2414 <text>%tw_backup_name%</text>
2415 <data name="tw_backup_name"/>
2416 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2417 <actions>
2418 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2419 <action function="set">tw_existpage=backup_name2</action>
2420 <action function="set">tw_notexistpage=backup_confirm</action>
2421 <action function="page">filecheck</action>
2422 </actions>
2423 </input>
2424
2425 <fill color="%accent_color%">
2426 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2427 </fill>
2428
2429 <fill color="%text_fail_color%">
2430 <condition var1="tw_fileexists" var2="1"/>
2431 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2432 </fill>
2433
2434 <text style="text_m_fail">
2435 <condition var1="tw_fileexists" var2="1"/>
2436 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002438 </text>
2439
2440 <button style="main_button_half_height">
2441 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002445 <action function="page">backup_confirm</action>
2446 </actions>
2447 </button>
2448
2449 <button style="main_button_half_height">
2450 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002451 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002452 <action function="appenddatetobackupname"/>
2453 </button>
2454
2455 <template name="keyboardtemplate"/>
2456
2457 <action>
2458 <touch key="home"/>
2459 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002460 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002461 <action function="page">main</action>
2462 </actions>
2463 </action>
2464
2465 <action>
2466 <touch key="back"/>
2467 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002468 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002469 <action function="page">backup_confirm</action>
2470 </actions>
2471 </action>
2472 </page>
2473
2474 <page name="backupencryption">
2475 <template name="page"/>
2476
2477 <template name="statusbar"/>
2478
2479 <text style="text_m">
2480 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002481 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002482 </text>
2483
2484 <text style="text_m_accent">
2485 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 </text>
2488
2489 <input>
2490 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2491 <text>%tw_backup_encrypt_display%</text>
2492 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2493 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2494 <action function="page">backupencryption2</action>
2495 </input>
2496
2497 <fill color="%accent_color%">
2498 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2499 </fill>
2500
2501 <fill color="%text_fail_color%">
2502 <condition var1="tw_password_not_match" var2="1"/>
2503 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2504 </fill>
2505
2506 <text style="text_m_fail">
2507 <condition var1="tw_password_not_match" var2="1"/>
2508 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002509 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002510 </text>
2511
2512 <button style="main_button_half_height">
2513 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002514 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002515 <actions>
2516 <action function="set">tw_encrypt_backup=0</action>
2517 <action function="set">tw_backup_password=</action>
2518 <action function="set">tw_backup_password2=</action>
2519 <action function="set">tw_backup_encrypt_display=</action>
2520 <action function="set">tw_backup_encrypt_display2=</action>
2521 <action function="page">%tw_back%</action>
2522 </actions>
2523 </button>
2524
2525 <template name="keyboardtemplate"/>
2526
2527 <action>
2528 <touch key="home"/>
2529 <action function="page">main</action>
2530 </action>
2531
2532 <action>
2533 <touch key="back"/>
2534 <action function="page">%tw_back%</action>
2535 </action>
2536 </page>
2537
2538 <page name="backupencryption2">
2539 <template name="page"/>
2540
2541 <template name="statusbar"/>
2542
2543 <text style="text_m">
2544 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002545 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002546 </text>
2547
2548 <text style="text_m_accent">
2549 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002550 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002551 </text>
2552
2553 <input>
2554 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2555 <text>%tw_backup_encrypt_display2%</text>
2556 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2557 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2558 <action function="page">checkbackuppassword</action>
2559 </input>
2560
2561 <fill color="%accent_color%">
2562 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2563 </fill>
2564
2565 <button style="main_button_half_height">
2566 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 <actions>
2569 <action function="set">tw_encrypt_backup=0</action>
2570 <action function="set">tw_backup_password=</action>
2571 <action function="set">tw_backup_password2=</action>
2572 <action function="set">tw_backup_encrypt_display=</action>
2573 <action function="set">tw_backup_encrypt_display2=</action>
2574 <action function="page">%tw_back%</action>
2575 </actions>
2576 </button>
2577
2578 <template name="keyboardtemplate"/>
2579
2580 <action>
2581 <touch key="home"/>
2582 <action function="page">main</action>
2583 </action>
2584
2585 <action>
2586 <touch key="back"/>
2587 <action function="page">%tw_back%</action>
2588 </action>
2589 </page>
2590
2591 <page name="checkbackuppassword">
2592 <action>
2593 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2594 <actions>
2595 <action function="set">tw_encrypt_backup=1</action>
2596 <action function="page">%tw_back%</action>
2597 </actions>
2598 </action>
2599
2600 <action>
2601 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2602 <actions>
2603 <action function="set">tw_encrypt_backup=0</action>
2604 <action function="set">tw_password_not_match=1</action>
2605 <action function="set">tw_backup_password=</action>
2606 <action function="set">tw_backup_password2=</action>
2607 <action function="set">tw_backup_encrypt_display=</action>
2608 <action function="set">tw_backup_encrypt_display2=</action>
2609 <action function="page">backupencryption</action>
2610 </actions>
2611 </action>
2612 </page>
2613
2614 <page name="backup_run">
2615 <template name="page"/>
2616
2617 <template name="statusbar"/>
2618
2619 <text style="text_m">
2620 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2621 <text>%tw_operation% %tw_partition%</text>
2622 </text>
2623
2624 <template name="console"/>
2625
2626 <template name="progress_bar"/>
2627
2628 <text style="text_m">
2629 <placement x="%indent%" y="%row13a_y%"/>
2630 <text>%tw_file_progress%</text>
2631 </text>
2632
2633 <text style="text_m">
2634 <placement x="%indent%" y="%row14a_y%"/>
2635 <text>%tw_size_progress%</text>
2636 </text>
2637
2638 <button style="main_button_half_height">
2639 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="cancelbackup"/>
2642 </button>
2643
2644 <action>
2645 <action function="nandroid">backup</action>
2646 </action>
2647
2648 <action>
2649 <condition var1="tw_operation_state" var2="1"/>
2650 <condition var1="tw_cancel_backup" var2="0"/>
2651 <actions>
2652 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002654 <action function="set">tw_show_reboot=1</action>
2655 <action function="page">action_complete</action>
2656 </actions>
2657 </action>
2658
2659 <action>
2660 <condition var1="tw_operation_state" var2="1"/>
2661 <condition var1="tw_cancel_backup" var2="1"/>
2662 <actions>
2663 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="set">tw_show_reboot=1</action>
2666 <action function="page">action_complete</action>
2667 </actions>
2668 </action>
2669 </page>
2670
2671 <page name="restore">
2672 <template name="page"/>
2673
Noah Jacobson81d638d2019-04-28 00:10:07 -04002674 <action>
2675 <conditions>
2676 <condition var1="tw_is_fbe" var2="1"/>
2677 <condition var1="tw_all_users_decrypted" var2="0"/>
2678 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2679 </conditions>
2680 <actions>
2681 <action function="set">tw_multiuser_warning_destination=restore</action>
2682 <action function="page">multiuser_warning</action>
2683 </actions>
2684 </action>
2685
z31s1g28f0a922015-11-07 18:50:22 +01002686 <template name="statusbar"/>
2687
2688 <text style="text_m">
2689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002690 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002691 </text>
2692
2693 <fileselector>
2694 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2695 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002696 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002697 <path name="tw_backups_folder"/>
2698 <data name="tw_restore" default=""/>
2699 <selection name="tw_restore_name"/>
2700 </fileselector>
2701
2702 <button>
2703 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2704 <highlight color="%highlight_color%"/>
2705 <image resource="q_btn_storage"/>
2706 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002707 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002708 <action function="set">tw_back=restore</action>
2709 <action function="page">select_storage</action>
2710 </actions>
2711 </button>
2712
2713 <action>
bigbiff8f5fad32021-11-03 20:39:02 -04002714 <condition var1="tw_crypto_pwtype" op="!=" var2="0"/>
2715 <actions>
Captain Throwback02e74572022-01-10 12:55:05 -05002716 <action function="page">restore_keymaster</action>
bigbiff8f5fad32021-11-03 20:39:02 -04002717 </actions>
2718 </action>
2719
2720 <action>
2721 <condition var1="tw_restore" op="modified"/>
2722 <actions>
2723 <action function="readBackup"/>
2724 <action function="set">tw_back=restore</action>
2725 <action function="page">restore_read</action>
2726 </actions>
2727 </action>
2728
2729 <action>
2730 <touch key="home"/>
2731 <action function="page">main</action>
2732 </action>
2733
2734 <action>
2735 <touch key="back"/>
2736 <action function="page">main</action>
2737 </action>
2738 </page>
2739
2740 <page name="restore_force">
2741 <template name="page"/>
2742
2743 <action>
2744 <conditions>
2745 <condition var1="tw_is_fbe" var2="1"/>
2746 <condition var1="tw_all_users_decrypted" var2="0"/>
2747 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2748 </conditions>
2749 <actions>
sekaiacg750c6aa2021-12-06 12:27:46 +08002750 <action function="set">tw_multiuser_warning_destination=restore_force</action>
bigbiff8f5fad32021-11-03 20:39:02 -04002751 <action function="page">multiuser_warning</action>
2752 </actions>
2753 </action>
2754
2755 <template name="statusbar"/>
2756
2757 <text style="text_m">
2758 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2759 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
2760 </text>
2761
2762 <fileselector>
2763 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2764 <text>%tw_storage_display_name%</text>
2765 <filter folders="1" files="1" nav="0" extn=".ab"/>
2766 <path name="tw_backups_folder"/>
2767 <data name="tw_restore" default=""/>
2768 <selection name="tw_restore_name"/>
2769 </fileselector>
2770
2771 <button>
2772 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2773 <highlight color="%highlight_color%"/>
2774 <image resource="q_btn_storage"/>
2775 <actions>
2776 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
2777 <action function="set">tw_back=restore</action>
2778 <action function="page">select_storage</action>
2779 </actions>
2780 </button>
2781
2782 <action>
z31s1g28f0a922015-11-07 18:50:22 +01002783 <condition var1="tw_restore" op="modified"/>
2784 <actions>
2785 <action function="readBackup"/>
2786 <action function="set">tw_back=restore</action>
2787 <action function="page">restore_read</action>
2788 </actions>
2789 </action>
2790
2791 <action>
2792 <touch key="home"/>
2793 <action function="page">main</action>
2794 </action>
2795
2796 <action>
2797 <touch key="back"/>
2798 <action function="page">main</action>
2799 </action>
2800 </page>
2801
2802 <page name="restore_read">
2803 <action>
2804 <condition var1="tw_restore_encrypted" var2="1"/>
2805 <actions>
2806 <action function="set">tw_password_fail=0</action>
2807 <action function="page">restore_decrypt</action>
2808 </actions>
2809 </action>
2810
2811 <action>
2812 <condition var1="tw_restore_encrypted" var2="0"/>
2813 <actions>
2814 <action function="page">restore_select</action>
2815 </actions>
2816 </action>
2817 </page>
2818
2819 <page name="restore_decrypt">
2820 <template name="page"/>
2821
2822 <template name="statusbar"/>
2823
2824 <text style="text_m">
2825 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002826 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 </text>
2828
2829 <text style="text_m_accent">
2830 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002831 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002832 </text>
2833
2834 <input>
2835 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2836 <text>%tw_restore_display%</text>
2837 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2838 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2839 <action function="page">try_restore_decrypt</action>
2840 </input>
2841
2842 <fill color="%accent_color%">
2843 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2844 </fill>
2845
2846 <fill color="%text_fail_color%">
2847 <condition var1="tw_password_fail" var2="1"/>
2848 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2849 </fill>
2850
2851 <text style="text_m_fail">
2852 <condition var1="tw_password_fail" var2="1"/>
2853 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002854 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002855 </text>
2856
2857 <button style="main_button_half_height">
2858 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <actions>
2861 <action function="set">tw_page_done=1</action>
2862 <action function="page">restore</action>
2863 </actions>
2864 </button>
2865
2866 <button style="main_button_half_height">
2867 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002868 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 <actions>
2870 <action function="set">tw_back=restore</action>
2871 <action function="set">tw_action=cmd</action>
2872 <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 -05002873 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2874 <action function="set">tw_text2=%tw_restore_name%</action>
2875 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2876 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2877 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2878 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002879 <action function="page">confirm_action</action>
2880 </actions>
2881 </button>
2882
2883 <template name="keyboardtemplate"/>
2884
2885 <action>
2886 <touch key="home"/>
2887 <action function="page">main</action>
2888 </action>
2889
2890 <action>
2891 <touch key="back"/>
2892 <action function="page">restore</action>
2893 </action>
2894 </page>
2895
2896 <page name="try_restore_decrypt">
2897 <template name="page"/>
2898
2899 <template name="statusbar"/>
2900
2901 <text style="text_m">
2902 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002903 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002904 </text>
2905
2906 <template name="console"/>
2907
2908 <template name="progress_bar"/>
2909
2910 <action>
2911 <action function="decrypt_backup"/>
2912 </action>
2913
2914 <action>
2915 <conditions>
2916 <condition var1="tw_operation_state" var2="1"/>
2917 <condition var1="tw_operation_status" op="!=" var2="0"/>
2918 </conditions>
2919 <actions>
2920 <action function="set">tw_password_fail=1</action>
2921 <action function="page">restore_decrypt</action>
2922 </actions>
2923 </action>
2924
2925 <action>
2926 <conditions>
2927 <condition var1="tw_operation_state" var2="1"/>
2928 <condition var1="tw_operation_status" op="=" var2="0"/>
2929 </conditions>
2930 <actions>
2931 <action function="set">tw_page_done=1</action>
2932 <action function="page">restore_select</action>
2933 </actions>
2934 </action>
2935 </page>
2936
2937 <page name="restore_select">
2938 <template name="page"/>
2939
2940 <template name="statusbar"/>
2941
2942 <text style="text_m">
2943 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 </text>
2946
2947 <partitionlist style="partitionlist_headerless_cb">
2948 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2949 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2950 <listtype name="restore"/>
2951 </partitionlist>
2952
2953 <fill color="%accent_color%">
2954 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2955 </fill>
2956
2957 <button>
2958 <placement x="%col1_x_left%" y="%row11_y%"/>
2959 <highlight color="%highlight_color%"/>
2960 <image resource="q_btn_arrow_left"/>
2961 <action function="page">restore</action>
2962 </button>
2963
2964 <button>
2965 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2966 <highlight color="%highlight_color%"/>
2967 <image resource="q_btn_delete"/>
2968 <actions>
2969 <action function="set">tw_back=restore</action>
2970 <action function="set">tw_action=cmd</action>
2971 <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 -05002972 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002973 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2975 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2976 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2977 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002978 <action function="page">confirm_action</action>
2979 </actions>
2980 </button>
2981
2982 <button>
2983 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2984 <highlight color="%highlight_color%"/>
2985 <image resource="q_btn_accept"/>
2986 <action function="page">restore_confirm</action>
2987 </button>
2988
2989 <button>
2990 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2991 <highlight color="%highlight_color%"/>
2992 <image resource="q_btn_arrow_right"/>
2993 <actions>
2994 <action function="set">tw_back=restore_select</action>
2995 <action function="page">restore_options</action>
2996 </actions>
2997 </button>
2998
2999 <action>
3000 <touch key="home"/>
3001 <action function="page">main</action>
3002 </action>
3003
3004 <action>
3005 <touch key="back"/>
3006 <action function="page">%tw_back%</action>
3007 </action>
3008 </page>
3009
3010 <page name="restore_options">
3011 <template name="page"/>
3012
3013 <template name="statusbar"/>
3014
3015 <text style="text_m">
3016 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04003021 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003022 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003023 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3024 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003025 </listitem>
3026 </listbox>
3027
3028 <button>
3029 <placement x="%col1_x_left%" y="%row11_y%"/>
3030 <highlight color="%highlight_color%"/>
3031 <image resource="q_btn_arrow_left"/>
3032 <action function="page">restore_select</action>
3033 </button>
3034
3035 <button>
3036 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3037 <highlight color="%highlight_color%"/>
3038 <image resource="q_btn_accept_transp"/>
3039 <actions>
3040 <action function="set">tw_back=restore_options</action>
3041 <action function="page">restore_confirm</action>
3042 </actions>
3043 </button>
3044
3045 <action>
3046 <touch key="home"/>
3047 <action function="page">main</action>
3048 </action>
3049
3050 <action>
3051 <touch key="back"/>
3052 <action function="page">%tw_back%</action>
3053 </action>
3054
3055 <action>
3056 <touch key="power+voldown"/>
3057 <action function="screenshot"/>
3058 </action>
3059 </page>
3060
3061 <page name="renamebackup">
3062 <template name="page"/>
3063
3064 <template name="statusbar"/>
3065
3066 <text style="text_m">
3067 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </text>
3070
3071 <text style="text_m_accent">
3072 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003073 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003074 </text>
3075
3076 <input>
3077 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
3078 <text>%tw_backup_rename%</text>
3079 <data name="tw_backup_rename"/>
3080 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
3081 <actions>
3082 <action function="set">tw_back=restore</action>
3083 <action function="set">tw_action=cmd</action>
3084 <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 -05003085 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
3086 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
3087 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
3088 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
3089 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003090 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
3091 <action function="set">tw_existpage=renamebackup</action>
3092 <action function="set">tw_notexistpage=confirm_action</action>
3093 <action function="page">filecheck</action>
3094 </actions>
3095 </input>
3096
3097 <fill color="%accent_color%">
3098 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3099 </fill>
3100
3101 <fill color="%text_fail_color%">
3102 <condition var1="tw_fileexists" var2="1"/>
3103 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3104 </fill>
3105
3106 <text style="text_m_fail">
3107 <condition var1="tw_fileexists" var2="1"/>
3108 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003110 </text>
3111
3112 <button style="main_button_half_height">
3113 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003115 <action function="page">restore_confirm</action>
3116 </button>
3117
3118 <template name="keyboardtemplate"/>
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_confirm</action>
3128 </action>
3129 </page>
3130
3131 <page name="restore_confirm">
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%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003139 </text>
3140
3141 <text style="text_m_accent">
3142 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003144 </text>
3145
3146 <text style="text_m">
3147 <placement x="%indent%" y="%row2_y%"/>
3148 <text>%tw_restore_name%</text>
3149 </text>
3150
3151 <fill color="%accent_color%">
3152 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3153 </fill>
3154
3155 <button>
3156 <fill color="%transparent%"/>
3157 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3158 <actions>
3159 <action function="set">tw_back=restore_confirm</action>
3160 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3161 <action function="set">tw_fileexists=0</action>
3162 <action function="page">renamebackup</action>
3163 </actions>
3164 </button>
3165
3166 <text style="text_m_accent">
3167 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 </text>
3170
3171 <partitionlist style="partitionlist_summary">
3172 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3173 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3174 <listtype name="restore"/>
3175 </partitionlist>
3176
3177 <button>
3178 <fill color="%transparent%"/>
3179 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3180 <actions>
3181 <action function="set">tw_back=restore_confirm</action>
3182 <action function="page">restore_select</action>
3183 </actions>
3184 </button>
3185
3186 <listbox style="listbox_options">
3187 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003188 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3189 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003190 </listitem>
3191 </listbox>
3192
3193 <text style="text_m_accent">
3194 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 </text>
3197
3198 <button>
3199 <fill color="%transparent%"/>
3200 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3201 <actions>
3202 <action function="set">tw_back=restore_confirm</action>
3203 <action function="page">restore_options</action>
3204 </actions>
3205 </button>
3206
3207 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="page">restore_run</action>
3210 </slider>
3211
3212 <action>
3213 <touch key="home"/>
3214 <action function="page">main</action>
3215 </action>
3216
3217 <action>
3218 <touch key="back"/>
3219 <action function="page">restore_options</action>
3220 </action>
3221 </page>
3222
3223 <page name="restore_run">
3224 <template name="page"/>
3225
3226 <template name="statusbar"/>
3227
3228 <text style="text_m">
3229 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3230 <text>%tw_operation% %tw_partition%</text>
3231 </text>
3232
3233 <template name="console"/>
3234
3235 <template name="progress_bar"/>
3236
3237 <text style="text_m">
3238 <placement x="%indent%" y="%row14a_y%"/>
3239 <text>%tw_size_progress%</text>
3240 </text>
3241
3242 <action>
3243 <condition var1="tw_operation_state" var2="1"/>
3244 <actions>
3245 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003246 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003247 <action function="set">tw_show_reboot=1</action>
3248 <action function="page">action_complete</action>
3249 </actions>
3250 </action>
3251
3252 <action>
3253 <action function="nandroid">restore</action>
3254 </action>
3255 </page>
3256
3257 <page name="mount">
3258 <template name="page"/>
3259
3260 <template name="statusbar"/>
3261
3262 <text style="text_m">
3263 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003265 </text>
3266
3267 <partitionlist style="partitionlist_headerless_cb">
3268 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3269 <listtype name="mount"/>
3270 </partitionlist>
3271
3272 <fill color="%accent_color%">
3273 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3274 </fill>
3275
3276 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003277 <conditions>
bigbiffb640d972021-10-12 19:08:10 -04003278 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
bigbiffee7b7ff2020-03-23 15:08:27 -04003279 <condition var1="tw_is_super" op="=" var2="0"/>
3280 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003281 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 <image resource="checkbox_false"/>
3284 <action function="mountsystemtoggle">1</action>
3285 </button>
3286
3287 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003288 <conditions>
3289 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3290 <condition var1="tw_is_super" op="=" var2="0"/>
3291 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003292 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 <image resource="checkbox_true"/>
3295 <actions>
3296 <action function="set">tw_lifetime_writes=2</action>
3297 <action function="page">system_readonly_check</action>
3298 </actions>
3299 </button>
3300
3301 <button style="checkbox">
3302 <conditions>
3303 <condition var1="tw_has_mtp" var2="1"/>
3304 <condition var1="tw_mtp_enabled" var2="0"/>
3305 </conditions>
3306 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3307 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 <action function="startmtp"/>
3310 </button>
3311
3312 <button style="checkbox">
3313 <conditions>
3314 <condition var1="tw_has_mtp" var2="1"/>
3315 <condition var1="tw_mtp_enabled" var2="1"/>
3316 </conditions>
3317 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3318 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 <action function="stopmtp"/>
3321 </button>
3322
3323 <button>
3324 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3325 <highlight color="%highlight_color%"/>
3326 <image resource="q_btn_storage"/>
3327 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <action function="set">tw_back=mount</action>
3330 <action function="page">select_storage</action>
3331 </actions>
3332 </button>
3333
3334 <button>
3335 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3336 <highlight color="%highlight_color%"/>
3337 <image resource="q_btn_arrow_right"/>
3338 <action function="page">mount_options</action>
3339 </button>
3340
3341 <action>
3342 <touch key="home"/>
3343 <action function="page">main</action>
3344 </action>
3345
3346 <action>
3347 <touch key="back"/>
3348 <action function="page">main</action>
3349 </action>
3350 </page>
3351
3352 <page name="mount_options">
3353 <template name="page"/>
3354
3355 <template name="statusbar"/>
3356
3357 <text style="text_m">
3358 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </text>
3361
3362 <button style="main_button_full_width">
3363 <condition var1="tw_has_usb_storage" var2="1"/>
3364 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <action function="page">usb_mount</action>
3367 </button>
3368
3369 <button style="main_button_full_width">
3370 <conditions>
3371 <condition var1="tw_is_encrypted" var2="1"/>
3372 <condition var1="tw_is_decrypted" var2="0"/>
3373 </conditions>
3374 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003376 <action function="set">tw_crypto_user_id=0</action>
3377 <action function="set">tw_crypto_password=</action>
3378 <action function="set">tw_password_fail=0</action>
3379 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <action function="page">decrypt</action>
3381 </button>
3382
3383 <button>
3384 <placement x="%col1_x_left%" y="%row11_y%"/>
3385 <highlight color="%highlight_color%"/>
3386 <image resource="q_btn_arrow_left"/>
3387 <action function="page">mount</action>
3388 </button>
3389
3390 <action>
3391 <touch key="home"/>
3392 <action function="page">main</action>
3393 </action>
3394
3395 <action>
3396 <touch key="back"/>
3397 <action function="page">mount</action>
3398 </action>
3399 </page>
3400
3401 <page name="usb_mount">
3402 <template name="page"/>
3403
3404 <template name="statusbar"/>
3405
3406 <text style="text_m">
3407 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003408 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003409 </text>
3410
3411 <text style="text_m_accent">
3412 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003414 </text>
3415
3416 <text style="text_m_fail">
3417 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003418 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003419 </text>
3420
3421 <text style="text_m_fail">
3422 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003423 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003424 </text>
3425
3426 <button style="main_button">
3427 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003429 <action function="page">usb_umount</action>
3430 </button>
3431
3432 <action>
3433 <action function="mount">usb</action>
3434 <action function="set">tw_busy=1</action>
3435 </action>
3436 </page>
3437
3438 <page name="usb_umount">
3439 <action>
3440 <action function="unmount">usb</action>
3441 </action>
3442
3443 <action>
3444 <action function="page">mount_options</action>
3445 <action function="set">tw_busy=0</action>
3446 </action>
3447 </page>
3448
3449 <page name="system_readonly_check">
3450 <action>
3451 <action function="checkpartitionlifetimewrites">/system</action>
3452 </action>
3453
3454 <action>
3455 <condition var1="tw_lifetime_writes" var2="1"/>
3456 <actions>
3457 <action function="mountsystemtoggle">0</action>
3458 <action function="page">mount</action>
3459 </actions>
3460 </action>
3461
3462 <action>
3463 <condition var1="tw_lifetime_writes" var2="0"/>
3464 <actions>
3465 <action function="set">tw_back=mount</action>
3466 <action function="page">system_readonly</action>
3467 </actions>
3468 </action>
3469 </page>
3470
3471 <page name="reboot">
3472 <template name="page"/>
3473
3474 <template name="statusbar"/>
3475
3476 <text style="text_m">
3477 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003478 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003479 </text>
3480
3481 <button style="main_button">
3482 <condition var1="tw_reboot_system" var2="1"/>
3483 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 <actions>
3486 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003487 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </actions>
3489 </button>
3490
3491 <button style="main_button">
3492 <condition var1="tw_reboot_poweroff" var2="1"/>
3493 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003494 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003495 <actions>
3496 <action function="set">tw_back=reboot</action>
3497 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003498 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003499 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003500 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3502 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3503 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3504 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3505 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003506 <action function="page">rebootcheck</action>
3507 </actions>
3508 </button>
3509
3510 <button style="main_button">
3511 <condition var1="tw_reboot_recovery" var2="1"/>
3512 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <actions>
3515 <action function="set">tw_back=reboot</action>
3516 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003517 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003518 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003520 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3521 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3522 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3523 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3524 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <action function="page">rebootcheck</action>
3526 </actions>
3527 </button>
3528
3529 <button style="main_button">
3530 <condition var1="tw_reboot_bootloader" var2="1"/>
3531 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003533 <actions>
3534 <action function="set">tw_back=reboot</action>
3535 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003536 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003537 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003538 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3540 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3541 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3542 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3543 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003544 <action function="page">rebootcheck</action>
3545 </actions>
3546 </button>
3547
3548 <button style="main_button">
3549 <condition var1="tw_download_mode" var2="1"/>
3550 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <actions>
3553 <action function="set">tw_back=reboot</action>
3554 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003555 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003556 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003557 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3559 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3560 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3561 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3562 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003563 <action function="page">rebootcheck</action>
3564 </actions>
3565 </button>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003566
mauronofrioe9a49ef2018-10-03 13:38:16 +02003567 <button style="main_button">
3568 <condition var1="tw_edl_mode" var2="1"/>
3569 <placement x="%col1_x_right%" y="%row11_y%"/>
Aseem Athaledd81b9a2021-11-08 13:12:30 +05303570 <text>{@rb_edl_btn=EDL}</text>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003571 <actions>
3572 <action function="set">tw_back=reboot</action>
3573 <action function="set">tw_action=reboot</action>
3574 <action function="set">tw_action_param=edl</action>
3575 <action function="set">tw_reboot_param=edl</action>
3576 <action function="set">tw_has_action2=0</action>
3577 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3578 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3579 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3580 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3581 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3582 <action function="page">rebootcheck</action>
3583 </actions>
3584 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003585
3586 <action>
3587 <touch key="home"/>
3588 <action function="page">main</action>
3589 </action>
3590
3591 <action>
3592 <touch key="back"/>
3593 <action function="page">main</action>
3594 </action>
3595 </page>
3596
Ethan Yonker8581ab32020-12-17 14:51:50 -06003597 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003598 <template name="page"/>
3599
3600 <template name="statusbar"/>
3601
3602 <text style="text_m">
3603 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003604 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003605 </text>
3606
3607 <text style="text_m_accent">
3608 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3609 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3610 </text>
3611
3612 <text style="text_m">
3613 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3614 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3615 </text>
3616
3617 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003618 <condition var1="tw_mount_system_ro" var2="0"/>
3619 <placement x="%indent%" y="%row5_y%"/>
3620 <text>{@reboot_install_app_system=Install as a System App}</text>
3621 <data variable="tw_app_install_system"/>
3622 </checkbox>
3623
3624 <button style="main_button_half_height">
3625 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003626 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003627 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003628 </button>
3629
Ethan Yonker8581ab32020-12-17 14:51:50 -06003630 <slider>
3631 <text>{@swipe_confirm= Confirm}</text>
3632 <actions>
3633 <action function="set">tw_action=installapp</action>
3634 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3635 <action function="set">tw_action_text2=</action>
3636 <action function="set">tw_complete_text1={@successful=Successful}</action>
3637 <action function="page">action_page</action>
3638 </actions>
3639 </slider>
3640
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003641 <action>
3642 <touch key="home"/>
3643 <actions>
3644 <action function="set">tw_app_install_status=0</action>
3645 <action function="page">main</action>
3646 </actions>
3647 </action>
3648
3649 <action>
3650 <touch key="back"/>
3651 <actions>
3652 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003653 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003654 </actions>
3655 </action>
3656 </page>
3657
z31s1g28f0a922015-11-07 18:50:22 +01003658 <page name="system_readonly">
3659 <template name="page"/>
3660
3661 <template name="statusbar"/>
3662
3663 <text style="text_m">
3664 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003666 </text>
3667
3668 <text style="text_m_accent">
3669 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </text>
3672
3673 <text style="text_m">
3674 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 </text>
3677
3678 <text style="text_m">
3679 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003680 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003681 </text>
3682
3683 <text style="text_m">
3684 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 </text>
3687
3688 <text style="text_m">
3689 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003694 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003696 </text>
3697
3698 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003699 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003700 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003701 </text>
3702
z31s1g608d7ff2016-01-18 19:47:25 +01003703 <button style="main_button_half_height">
3704 <placement x="%col1_x_right%" y="%row8a_y%"/>
3705 <text>{@sel_lang_btn=Select Language}</text>
3706 <action function="page">settings_language</action>
3707 </button>
3708
z31s1g28f0a922015-11-07 18:50:22 +01003709 <checkbox>
3710 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003711 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003713 <data variable="tw_never_show_system_ro_page"/>
3714 </checkbox>
3715
3716 <button style="main_button_half_height">
3717 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 <actions>
3720 <action function="mountsystemtoggle">1</action>
3721 <action function="set">tw_page_done=1</action>
3722 <action function="page">%tw_back%</action>
3723 </actions>
3724 </button>
3725
3726 <button style="main_button_half_height">
3727 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 <actions>
3730 <action function="mountsystemtoggle">0</action>
3731 <action function="set">tw_page_done=1</action>
3732 <action function="page">%tw_back%</action>
3733 </actions>
3734 </button>
3735 </page>
3736
3737 <page name="settings">
3738 <template name="page"/>
3739
3740 <template name="statusbar"/>
3741
3742 <text style="text_m">
3743 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </text>
3746
3747 <button style="main_button">
3748 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 <action function="page">settings_general</action>
3751 </button>
3752
3753 <button style="main_button">
3754 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 <action function="page">settings_timezone</action>
3757 </button>
3758
3759 <button style="main_button">
3760 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003761 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003762 <action function="page">settings_screen</action>
3763 </button>
3764
3765 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003766 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003767 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003768 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003769 <action function="page">settings_vibration</action>
3770 </button>
3771
3772 <button style="main_button">
3773 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003775 <action function="page">settings_language</action>
3776 </button>
3777
3778 <button>
3779 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3780 <highlight color="%highlight_color%"/>
3781 <image resource="q_btn_reset"/>
3782 <action function="restoredefaultsettings"/>
3783 </button>
3784
3785 <action>
3786 <touch key="home"/>
3787 <action function="page">main</action>
3788 </action>
3789
3790 <action>
3791 <touch key="back"/>
3792 <action function="page">main3</action>
3793 </action>
3794 </page>
3795
3796 <page name="settings_general">
3797 <template name="page"/>
3798
3799 <template name="statusbar"/>
3800
3801 <text style="text_m">
3802 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003803 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003804 </text>
3805
3806 <listbox style="scrolllist">
3807 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003808 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003809 <data variable="tw_signed_zip_verify"/>
3810 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003811 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3812 <data variable="tw_install_reboot"/>
3813 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003814 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003815 <data variable="tw_rm_rf"/>
3816 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003817 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3818 <data variable="tw_disable_free_space"/>
3819 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003820 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3821 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003822 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003823 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3824 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </listitem>
epicX9597b842021-03-20 21:58:17 +05303826 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3827 <data variable="tw_skip_digest_check_zip"/>
3828 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003830 <data variable="tw_military_time"/>
3831 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003833 <data variable="tw_simulate_actions"/>
3834 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003835 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003836 <data variable="tw_simulate_fail"/>
3837 <condition var1="tw_simulate_actions" var2="1"/>
3838 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003839 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3840 <condition var1="tw_no_sha2" var2="0"/>
3841 <data variable="tw_use_sha2"/>
3842 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003843 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3844 <data variable="tw_unmount_system"/>
3845 </listitem>
nebrassyac29e692021-05-20 13:03:30 +02003846 <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}">
3847 <conditions>
3848 <condition var1="tw_has_boot_slots" var2="1"/>
3849 <condition var1="tw_has_repack_tools" var2="1"/>
Captain Throwback1f5d4ca2023-01-11 13:46:30 -05003850 <condition var1="tw_no_flash_current_twrp" var2="0"/>
nebrassyac29e692021-05-20 13:03:30 +02003851 </conditions>
3852 <data variable="tw_auto_reflashtwrp"/>
3853 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </listbox>
3855
3856 <action>
3857 <touch key="home"/>
3858 <action function="page">main</action>
3859 </action>
3860
3861 <action>
3862 <touch key="back"/>
3863 <action function="page">settings</action>
3864 </action>
3865 </page>
3866
3867 <page name="settings_timezone">
3868 <template name="page"/>
3869
3870 <template name="statusbar"/>
3871
3872 <text style="text_m">
3873 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </text>
3876
3877 <text color="%text_color%">
3878 <font resource="font_m"/>
3879 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3880 <text>%tw_time%</text>
3881 </text>
3882
3883 <listbox style="listbox_headerless">
3884 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3885 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3887 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3888 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3889 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3890 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3891 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3892 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3893 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3894 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3895 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3896 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3897 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3898 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3899 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3900 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3901 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3902 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3903 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3904 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3905 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3906 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3907 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3908 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3909 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003910 </listbox>
3911
3912 <button>
3913 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3914 <highlight color="%highlight_color%"/>
3915 <image resource="q_btn_arrow_right"/>
3916 <actions>
3917 <action function="setguitimezone"/>
3918 <action function="page">settings_timezone2</action>
3919 </actions>
3920 </button>
3921
3922 <action>
3923 <condition var1="tw_time_zone_guisel" op="modified"/>
3924 <action function="setguitimezone"/>
3925 </action>
3926
3927 <action>
3928 <touch key="home"/>
3929 <actions>
3930 <action function="page">main</action>
3931 <action function="setguitimezone"/>
3932 </actions>
3933 </action>
3934
3935 <action>
3936 <touch key="back"/>
3937 <actions>
3938 <action function="page">settings</action>
3939 <action function="setguitimezone"/>
3940 </actions>
3941 </action>
3942
3943 <action>
3944 <touch key="power+voldown"/>
3945 <action function="screenshot"/>
3946 </action>
3947 </page>
3948
3949 <page name="settings_timezone2">
3950 <template name="page"/>
3951
3952 <template name="statusbar"/>
3953
3954 <text style="text_m">
3955 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003956 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </text>
3958
3959 <text color="%text_color%">
3960 <font resource="font_m"/>
3961 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3962 <text>%tw_time%</text>
3963 </text>
3964
3965 <checkbox>
3966 <placement x="%col1_x_left%" y="%row1_y%"/>
3967 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <data variable="tw_time_zone_guidst"/>
3970 <image checked="checkbox_true" unchecked="checkbox_false"/>
3971 </checkbox>
3972
3973 <text style="text_m_accent">
3974 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 </text>
3977
3978 <button style="main_button_quarter_width">
3979 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 <actions>
3982 <action function="set">tw_time_zone_guioffset=0</action>
3983 <action function="setguitimezone"/>
3984 </actions>
3985 </button>
3986
3987 <button style="main_button_quarter_width">
3988 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 <actions>
3991 <action function="set">tw_time_zone_guioffset=15</action>
3992 <action function="setguitimezone"/>
3993 </actions>
3994 </button>
3995
3996 <button style="main_button_quarter_width">
3997 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 <actions>
4000 <action function="set">tw_time_zone_guioffset=30</action>
4001 <action function="setguitimezone"/>
4002 </actions>
4003 </button>
4004
4005 <button style="main_button_quarter_width">
4006 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004008 <actions>
4009 <action function="set">tw_time_zone_guioffset=45</action>
4010 <action function="setguitimezone"/>
4011 </actions>
4012 </button>
4013
4014 <button>
4015 <placement x="%col1_x_left%" y="%row11_y%"/>
4016 <highlight color="%highlight_color%"/>
4017 <image resource="q_btn_arrow_left"/>
4018 <actions>
4019 <action function="setguitimezone"/>
4020 <action function="page">settings_timezone</action>
4021 </actions>
4022 </button>
4023
4024 <text style="text_m_accent">
4025 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004027 </text>
4028
4029 <text style="text_m">
4030 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
4031 <text>%tw_time_zone%</text>
4032 </text>
4033
4034 <action>
4035 <condition var1="tw_time_zone_guidst" op="modified"/>
4036 <action function="setguitimezone"/>
4037 </action>
4038
4039 <action>
4040 <touch key="home"/>
4041 <actions>
4042 <action function="setguitimezone"/>
4043 <action function="page">main</action>
4044 </actions>
4045 </action>
4046
4047 <action>
4048 <touch key="back"/>
4049 <actions>
4050 <action function="setguitimezone"/>
4051 <action function="page">settings_timezone</action>
4052 </actions>
4053 </action>
4054 </page>
4055
4056 <page name="settings_screen">
4057 <template name="page"/>
4058
4059 <template name="statusbar"/>
4060
4061 <text style="text_m">
4062 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 </text>
4065
4066 <button style="checkbox">
4067 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
4068 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
4069 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004071 <image resource="checkbox_false"/>
4072 <action function="set">tw_screen_timeout_secs=60</action>
4073 </button>
4074
4075 <button style="checkbox">
4076 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
4077 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
4078 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <image resource="checkbox_true"/>
4081 <action function="set">tw_screen_timeout_secs=0</action>
4082 </button>
4083
4084 <slidervalue>
4085 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
4086 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004088 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
4089 </slidervalue>
4090
4091 <text style="text_m_fail">
4092 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
4093 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 </text>
4096
4097 <button>
4098 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4099 <highlight color="%highlight_color%"/>
4100 <image resource="q_btn_arrow_right"/>
4101 <action function="page">settings_screen2</action>
4102 </button>
4103
4104 <action>
4105 <touch key="home"/>
4106 <action function="page">main</action>
4107 </action>
4108
4109 <action>
4110 <touch key="back"/>
4111 <action function="page">settings</action>
4112 </action>
4113 </page>
4114
4115 <page name="settings_screen2">
4116 <template name="page"/>
4117
4118 <template name="statusbar"/>
4119
4120 <text style="text_m">
4121 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 </text>
4124
4125 <slidervalue>
4126 <condition var1="tw_has_brightnesss_file" var2="1"/>
4127 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004128 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004129 <data variable="tw_brightness_pct" min="10" max="100"/>
4130 <actions>
4131 <action function="set">tw_brightness=%tw_brightness_max%</action>
4132 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4133 <action function="compute">tw_brightness/100</action>
4134 <action function="setbrightness">%tw_brightness%</action>
4135 </actions>
4136 </slidervalue>
4137
4138 <text style="text_m_fail">
4139 <condition var1="tw_has_brightnesss_file" var2="0"/>
4140 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004141 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004142 </text>
4143
4144 <button>
4145 <placement x="%col1_x_left%" y="%row11_y%"/>
4146 <highlight color="%highlight_color%"/>
4147 <image resource="q_btn_arrow_left"/>
4148 <action function="page">settings_screen</action>
4149 </button>
4150
4151 <action>
4152 <touch key="home"/>
4153 <action function="page">main</action>
4154 </action>
4155
4156 <action>
4157 <touch key="back"/>
4158 <action function="page">settings</action>
4159 </action>
4160 </page>
4161
4162 <page name="settings_vibration">
4163 <template name="page"/>
4164
4165 <template name="statusbar"/>
4166
4167 <text style="text_m">
4168 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 </text>
4171
4172 <slidervalue>
4173 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004175 <data variable="tw_button_vibrate" min="0" max="300"/>
4176 </slidervalue>
4177
4178 <button>
4179 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4180 <highlight color="%highlight_color%"/>
4181 <image resource="q_btn_arrow_right"/>
4182 <action function="page">settings_vibration2</action>
4183 </button>
4184
4185 <action>
4186 <touch key="home"/>
4187 <action function="page">main</action>
4188 </action>
4189
4190 <action>
4191 <touch key="back"/>
4192 <action function="page">settings</action>
4193 </action>
4194 </page>
4195
4196 <page name="settings_vibration2">
4197 <template name="page"/>
4198
4199 <template name="statusbar"/>
4200
4201 <text style="text_m">
4202 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004204 </text>
4205
4206 <slidervalue>
4207 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4210 </slidervalue>
4211
4212 <button>
4213 <placement x="%col1_x_left%" y="%row11_y%"/>
4214 <highlight color="%highlight_color%"/>
4215 <image resource="q_btn_arrow_left"/>
4216 <action function="page">settings_vibration</action>
4217 </button>
4218
4219 <button>
4220 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4221 <highlight color="%highlight_color%"/>
4222 <image resource="q_btn_arrow_right"/>
4223 <action function="page">settings_vibration3</action>
4224 </button>
4225
4226 <action>
4227 <touch key="home"/>
4228 <action function="page">main</action>
4229 </action>
4230
4231 <action>
4232 <touch key="back"/>
4233 <action function="page">settings</action>
4234 </action>
4235 </page>
4236
4237 <page name="settings_vibration3">
4238 <template name="page"/>
4239
4240 <template name="statusbar"/>
4241
4242 <text style="text_m">
4243 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004244 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004245 </text>
4246
4247 <slidervalue>
4248 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004249 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004250 <data variable="tw_action_vibrate" min="0" max="500"/>
4251 </slidervalue>
4252
4253 <button>
4254 <placement x="%col1_x_left%" y="%row11_y%"/>
4255 <highlight color="%highlight_color%"/>
4256 <image resource="q_btn_arrow_left"/>
4257 <action function="page">settings_vibration2</action>
4258 </button>
4259
4260 <action>
4261 <touch key="home"/>
4262 <action function="page">main</action>
4263 </action>
4264
4265 <action>
4266 <touch key="back"/>
4267 <action function="page">settings</action>
4268 </action>
4269 </page>
4270
Ethan Yonker74db1572015-10-28 12:44:49 -05004271 <page name="settings_language">
4272 <template name="page"/>
4273
4274 <template name="statusbar"/>
4275
4276 <text style="text_m">
4277 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4278 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4279 </text>
4280
z31s1g608d7ff2016-01-18 19:47:25 +01004281 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004282 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4283 <icon selected="radio_true" unselected="radio_false" />
4284 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004285 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004286
4287 <button>
4288 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4289 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004290 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004291 <action function="setlanguage"></action>
4292 </button>
4293
z31s1g608d7ff2016-01-18 19:47:25 +01004294 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <touch key="home" />
4296 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004297 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298
z31s1g608d7ff2016-01-18 19:47:25 +01004299 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <touch key="back" />
4301 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004302 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004303 </page>
4304
z31s1g28f0a922015-11-07 18:50:22 +01004305 <page name="advanced">
4306 <template name="page"/>
4307
4308 <template name="statusbar"/>
4309
4310 <text style="text_m">
4311 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004312 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004313 </text>
4314
4315 <button style="main_button">
4316 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004317 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004318 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004319 </button>
4320
4321 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004322 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004323 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004324 <text>{@fix_context_btn=Fix Contexts}</text>
4325 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004326 </button>
4327
Ethan Yonker64e0a652018-07-25 09:52:17 -05004328 <button>
4329 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4330 <highlight color="%highlight_color%"/>
4331 <image resource="q_btn_arrow_right"/>
4332 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004333 </button>
4334
Ethan Yonker64e0a652018-07-25 09:52:17 -05004335 <action>
4336 <touch key="home"/>
4337 <action function="page">main</action>
4338 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004339
Ethan Yonker64e0a652018-07-25 09:52:17 -05004340 <action>
4341 <touch key="back"/>
4342 <action function="page">main3</action>
4343 </action>
4344 </page>
4345
4346 <page name="advanced2">
4347 <template name="page"/>
4348
4349 <template name="statusbar"/>
4350
4351 <text style="text_m">
4352 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4353 <text>{@advanced_hdr=Advanced}</text>
4354 </text>
4355
4356 <listbox style="advanced_listbox">
4357 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05304358 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
nebrassya9e4c462021-12-20 20:09:40 +01004359 <condition var1="tw_is_decrypted" var2="1"/>
epicXa721f952021-01-04 13:01:31 +05304360 <action function="page">changeTwrpFolder</action>
4361 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004362 <listitem name="{@decrypt_users=Decrypt Users}">
4363 <conditions>
4364 <condition var1="tw_is_fbe" var2="1"/>
4365 <condition var1="tw_all_users_decrypted" var2="0"/>
4366 </conditions>
4367 <actions>
4368 <action function="set">tw_crypto_user_id=</action>
4369 <action function="page">decrypt_users</action>
4370 </actions>
4371 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004372 <listitem name="{@reload_theme_btn=Reload Theme}">
4373 <action function="reload"/>
4374 </listitem>
4375 <listitem name="{@part_sd_btn=Partition SD Card}">
4376 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4377 <actions>
4378 <action function="set">partitionlisterror=0</action>
4379 <action function="page">partsdcardsel</action>
4380 </actions>
4381 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004382 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4383 <condition var1="tw_has_injecttwrp" var2="1"/>
4384 <actions>
4385 <action function="set">tw_back=advanced</action>
4386 <action function="set">tw_action=reinjecttwrp</action>
4387 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4388 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4389 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4390 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4391 <action function="page">confirm_action</action>
4392 </actions>
4393 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004394 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4395 <conditions>
4396 <condition var1="tw_has_boot_slots" var2="1"/>
4397 <condition var1="tw_has_repack_tools" var2="1"/>
4398 </conditions>
4399 <actions>
4400 <action function="set">tw_repack_kernel=0</action>
4401 <action function="page">repackselect</action>
4402 </actions>
4403 </listitem>
nebrassyac29e692021-05-20 13:03:30 +02004404 <listitem name="{@reflash_twrp=Flash Current TWRP}">
4405 <conditions>
4406 <condition var1="tw_has_boot_slots" var2="1"/>
4407 <condition var1="tw_has_repack_tools" var2="1"/>
Captain Throwback1f5d4ca2023-01-11 13:46:30 -05004408 <condition var1="tw_no_flash_current_twrp" var2="0"/>
nebrassyac29e692021-05-20 13:03:30 +02004409 </conditions>
4410 <actions>
4411 <action function="set">tw_repack_kernel=0</action>
4412 <action function="set">tw_back=advanced</action>
4413 <action function="set">tw_action=reflashtwrp</action>
4414 <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action>
4415 <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action>
4416 <action function="set">tw_complete_text1={@reflash_twrp_complete=Done Flashing TWRP}</action>
4417 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4418 <action function="page">confirm_action</action>
4419 </actions>
4420 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004421 <listitem name="{@install_kernel=Install Kernel}">
4422 <conditions>
4423 <condition var1="tw_has_boot_slots" var2="1"/>
4424 <condition var1="tw_has_repack_tools" var2="1"/>
4425 </conditions>
4426 <actions>
4427 <action function="set">tw_repack_kernel=1</action>
4428 <action function="page">repackselect</action>
4429 </actions>
4430 </listitem>
4431 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4432 <conditions>
4433 <condition var1="tw_has_boot_slots" var2="1"/>
4434 <condition var1="tw_has_repack_tools" var2="1"/>
Captain Throwbackbc2cfa32021-09-16 10:04:26 -04004435 <condition var1="tw_uses_initramfs" var2="1"/>
Ethan Yonker53796e72019-01-11 22:49:52 -06004436 </conditions>
4437 <actions>
4438 <action function="set">tw_back=advanced</action>
4439 <action function="set">tw_action=fixabrecoverybootloop</action>
4440 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4441 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4442 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4443 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4444 <action function="page">confirm_action</action>
4445 </actions>
4446 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06004447 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4448 <condition var1="tw_app_install_status" var2="1"/>
4449 <actions>
4450 <action function="set">tw_back=advanced2</action>
4451 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4452 <action function="page">installapp</action>
4453 </actions>
4454 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004455 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4456 <condition var1="tw_app_installed_in_system" var2="1"/>
4457 <actions>
4458 <action function="set">tw_back=advanced</action>
4459 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4460 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4461 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4462 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4463 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4464 <action function="page">confirm_action</action>
4465 </actions>
4466 </listitem>
bigbiffcfa875c2021-06-20 16:20:27 -04004467 <listitem name="{@unmap_super_devices=Unmap Super Devices}">
me-cafebabe2136fc52022-07-20 06:42:18 +08004468 <condition var1="tw_is_super" op="=" var2="1"/>
bigbiffcfa875c2021-06-20 16:20:27 -04004469 <actions>
4470 <action function="set">tw_back=advanced</action>
4471 <action function="set">tw_action=unmapsuperdevices</action>
4472 <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action>
4473 <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action>
4474 <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action>
4475 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4476 <action function="page">confirm_action</action>
4477 </actions>
4478 </listitem>
bigbiffd21252f2021-09-18 15:56:32 -04004479 <listitem name="{@merges_snapshots=Merge Snapshots}">
bigbiffab76bd72021-10-11 10:17:48 -04004480 <condition var1="tw_virtual_ab.enabled" op="=" var2="1"/>
bigbiffd21252f2021-09-18 15:56:32 -04004481 <actions>
4482 <action function="set">tw_back=advanced</action>
4483 <action function="set">tw_action=mergesnapshots</action>
4484 <action function="set">tw_text1={@merge_snapshots_confirm=Merge Snapshots?}</action>
4485 <action function="set">tw_action_text1={@merging_snapshots=Merging Snapshots...}</action>
4486 <action function="set">tw_complete_text1={@merging_snapshots_complete=Merged Snapshots}</action>
4487 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4488 <action function="page">confirm_action</action>
4489 </actions>
4490 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004491 </listbox>
4492
4493 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004494 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004495 <highlight color="%highlight_color%"/>
4496 <image resource="q_btn_arrow_left"/>
4497 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004498 </button>
4499
4500 <action>
4501 <touch key="home"/>
4502 <action function="page">main</action>
4503 </action>
4504
4505 <action>
4506 <touch key="back"/>
4507 <action function="page">main3</action>
4508 </action>
4509 </page>
4510
Ethan Yonker483e9f42016-01-11 22:21:18 -06004511 <page name="partsdcardsel">
4512 <template name="page"/>
4513
4514 <template name="statusbar"/>
4515
4516 <text style="text_m">
4517 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4518 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4519 </text>
4520
4521 <partitionlist style="partitionlist_headerless_rb">
4522 <data name="tw_storage_path"/>
4523 <listtype name="storage"/>
4524 </partitionlist>
4525
4526 <text style="text_m_fail">
4527 <condition var1="partitionlisterror" var2="1"/>
4528 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4529 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4530 </text>
4531
4532 <button>
4533 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4534 <highlight color="%highlight_color%"/>
4535 <image resource="q_btn_refresh"/>
4536 <action function="refreshsizes"/>
4537 </button>
4538
4539 <button>
4540 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4541 <highlight color="%highlight_color%"/>
4542 <image resource="q_btn_accept"/>
4543 <actions>
4544 <action function="getpartitiondetails">tw_storage_path</action>
4545 <action function="page">partsdcardcheck</action>
4546 </actions>
4547 </button>
4548
4549 <action>
4550 <touch key="home"/>
4551 <action function="page">main</action>
4552 </action>
4553
4554 <action>
4555 <touch key="back"/>
4556 <action function="page">advanced</action>
4557 </action>
4558 </page>
4559
4560 <page name="partsdcardcheck">
4561 <action>
4562 <condition var1="tw_partition_removable" op="=" var2="1"/>
4563 <actions>
4564 <action function="set">partitionlisterror=0</action>
4565 <action function="page">partsdcard</action>
4566 </actions>
4567 </action>
4568
4569 <action>
4570 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4571 <actions>
4572 <action function="set">partitionlisterror=1</action>
4573 <action function="page">partsdcardsel</action>
4574 </actions>
4575 </action>
4576 </page>
4577
z31s1g28f0a922015-11-07 18:50:22 +01004578 <page name="partsdcard">
4579 <template name="page"/>
4580
4581 <template name="statusbar"/>
4582
4583 <text style="text_m">
4584 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004585 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </text>
4587
4588 <text style="text_m_fail">
4589 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004590 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004591 </text>
4592
4593 <text style="text_m_fail">
4594 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004595 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004596 </text>
4597
4598 <text style="text_m_accent">
4599 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004600 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004601 </text>
4602
4603 <text style="text_m">
4604 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4605 <text>%tw_sdext_size%</text>
4606 </text>
4607
4608 <button style="main_button_quarter_width">
4609 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004610 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004611 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004612 </button>
4613
4614 <button style="main_button_quarter_width">
4615 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004616 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004617 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </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">partsdcard2</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"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004634 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </action>
4636 </page>
4637
4638 <page name="partsdcard2">
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_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </text>
4662
4663 <text style="text_m">
4664 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4665 <text>%tw_swap_size%</text>
4666 </text>
4667
4668 <button style="main_button_quarter_width">
4669 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004671 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004672 </button>
4673
4674 <button style="main_button_quarter_width">
4675 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004677 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004678 </button>
4679
4680 <button>
4681 <placement x="%col1_x_left%" y="%row11_y%"/>
4682 <highlight color="%highlight_color%"/>
4683 <image resource="q_btn_arrow_left"/>
4684 <action function="page">partsdcard</action>
4685 </button>
4686
4687 <button>
4688 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4689 <highlight color="%highlight_color%"/>
4690 <image resource="q_btn_arrow_right"/>
4691 <action function="page">partsdcard3</action>
4692 </button>
4693
4694 <action>
4695 <touch key="home"/>
4696 <action function="page">main</action>
4697 </action>
4698
4699 <action>
4700 <touch key="back"/>
4701 <action function="page">advanced</action>
4702 </action>
4703 </page>
4704
4705 <page name="partsdcard3">
4706 <template name="page"/>
4707
4708 <template name="statusbar"/>
4709
4710 <text style="text_m">
4711 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004713 </text>
4714
4715 <text style="text_m_fail">
4716 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004717 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004718 </text>
4719
4720 <text style="text_m_fail">
4721 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004722 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004723 </text>
4724
4725 <text style="text_m_accent">
4726 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004727 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004728 </text>
4729
4730 <text style="text_m">
4731 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4732 <text>%tw_sdpart_file_system%</text>
4733 </text>
4734
4735 <button style="main_button_quarter_width">
4736 <placement x="%indent%" y="%row6_y%"/>
4737 <text>EXT3</text>
4738 <action function="set">tw_sdpart_file_system=ext3</action>
4739 </button>
4740
4741 <button style="main_button_quarter_width">
4742 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4743 <text>EXT4</text>
4744 <action function="set">tw_sdpart_file_system=ext4</action>
4745 </button>
4746
4747 <button>
4748 <placement x="%col1_x_left%" y="%row11_y%"/>
4749 <highlight color="%highlight_color%"/>
4750 <image resource="q_btn_arrow_left"/>
4751 <action function="page">partsdcard2</action>
4752 </button>
4753
4754 <button>
4755 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4756 <highlight color="%highlight_color%"/>
4757 <image resource="q_btn_arrow_right"/>
4758 <action function="page">partsdcard_confirm</action>
4759 </button>
4760
4761 <action>
4762 <touch key="home"/>
4763 <action function="page">main</action>
4764 </action>
4765
4766 <action>
4767 <touch key="back"/>
4768 <action function="page">advanced</action>
4769 </action>
4770 </page>
4771
4772 <page name="partsdcard_confirm">
4773 <template name="page"/>
4774
4775 <template name="statusbar"/>
4776
4777 <text style="text_m">
4778 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004779 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004780 </text>
4781
4782 <text style="text_m_fail">
4783 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004784 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004785 </text>
4786
4787 <text style="text_m_fail">
4788 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004789 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004790 </text>
4791
4792 <text style="text_m_accent">
4793 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004794 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004795 </text>
4796
4797 <text style="text_m_accent">
4798 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004799 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004800 </text>
4801
4802 <text style="text_m_accent">
4803 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004804 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004805 </text>
4806
4807 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004808 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004809 <action function="page">partsdcardaction</action>
4810 <actions>
4811 <action function="set">tw_back=partsdcard</action>
4812 <action function="set">tw_action=partitionsd</action>
4813 <action function="set">tw_has_action2=1</action>
4814 <action function="set">tw_action2=set</action>
4815 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004816 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4817 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4818 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004819 <action function="page">action_page</action>
4820 </actions>
4821 </slider>
4822
4823 <action>
4824 <touch key="home"/>
4825 <action function="page">main</action>
4826 </action>
4827
4828 <action>
4829 <touch key="back"/>
4830 <action function="page">advanced</action>
4831 </action>
4832 </page>
4833
Ethan Yonker53796e72019-01-11 22:49:52 -06004834 <page name="repackselect">
4835 <template name="page"/>
4836
4837 <template name="statusbar"/>
4838
4839 <text style="text_m">
4840 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4841 <text>{@repack_image_hdr=Select Image}</text>
4842 </text>
4843
4844 <fileselector>
4845 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4846 <text>%tw_zip_location%</text>
4847 <filter extn=".img" folders="1" files="1"/>
4848 <path name="tw_zip_location" default="/sdcard"/>
4849 <data name="tw_filename"/>
4850 <selection name="tw_file"/>
4851 </fileselector>
4852
4853 <button>
4854 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4855 <highlight color="%highlight_color%"/>
4856 <image resource="q_btn_storage"/>
4857 <actions>
4858 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4859 <action function="set">tw_back=install</action>
4860 <action function="page">select_storage</action>
4861 </actions>
4862 </button>
4863
4864 <action>
4865 <conditions>
4866 <condition var1="tw_filename" op="modified"/>
4867 </conditions>
4868 <action function="page">repackconfirm</action>
4869 </action>
4870
4871 <action>
4872 <touch key="back"/>
4873 <action function="page">advanced</action>
4874 </action>
4875
4876 <action>
4877 <touch key="home"/>
4878 <action function="page">main</action>
4879 </action>
4880 </page>
4881
4882 <page name="repackconfirm">
4883 <template name="page"/>
4884
4885 <template name="statusbar"/>
4886
4887 <text style="text_m">
4888 <condition var1="tw_repack_kernel" var2="1"/>
4889 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4890 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4891 </text>
4892
4893 <text style="text_m">
4894 <condition var1="tw_repack_kernel" var2="0"/>
4895 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4896 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4897 </text>
4898
4899 <text style="text_m_accent">
4900 <placement x="%indent%" y="%row2_y%"/>
4901 <text>{@folder=Folder:}</text>
4902 </text>
4903
4904 <text style="text_m">
4905 <placement x="%indent%" y="%row3_y%"/>
4906 <text>%tw_zip_location%</text>
4907 </text>
4908
4909 <text style="text_m_accent">
4910 <placement x="%indent%" y="%row4_y%"/>
4911 <text>{@file=File:}</text>
4912 </text>
4913
4914 <text style="text_m">
4915 <placement x="%indent%" y="%row5_y%"/>
4916 <text>%tw_file%</text>
4917 </text>
4918
4919 <checkbox>
4920 <placement x="%indent%" y="%row7_y%"/>
4921 <text>{@repack_backup_first=Back up existing image first}</text>
4922 <data variable="tw_repack_backup_first"/>
4923 </checkbox>
4924
4925 <slider>
4926 <text>{@swipe_to_install=Swipe to Install}</text>
4927 <actions>
4928 <action function="set">tw_back=advanced</action>
4929 <action function="set">tw_action=repackimage</action>
4930 <action function="set">tw_action_param=/boot</action>
4931 <action function="set">tw_action_text1={@installing=Installing...}</action>
4932 <action function="set">tw_action_text2=</action>
4933 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4934 <action function="page">action_page</action>
4935 </actions>
4936 </slider>
4937
4938 <action>
4939 <touch key="back"/>
4940 <action function="page">repackselect</action>
4941 </action>
4942
4943 <action>
4944 <touch key="home"/>
4945 <action function="page">main</action>
4946 </action>
4947 </page>
4948
z31s1g28f0a922015-11-07 18:50:22 +01004949 <page name="lock">
4950 <background color="%semi_transparent%"/>
4951
4952 <image>
4953 <image resource="unlock_icon"/>
4954 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4955 </image>
4956
4957 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004959 <action function="overlay"/>
4960 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004961
4962 <action>
4963 <touch key="power"/>
4964 <action function="togglebacklight"/>
4965 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004966 </page>
4967
4968 <page name="filemanagerlist">
4969 <template name="page"/>
4970
4971 <template name="statusbar"/>
4972
4973 <text style="text_m">
4974 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004975 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004976 </text>
4977
4978 <fileselector>
4979 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4980 <text>%tw_file_location1%</text>
4981 <filter folders="1" files="1"/>
4982 <path name="tw_file_location1" default="/"/>
4983 <data name="tw_filename1"/>
4984 <selection name="tw_selection1"/>
4985 </fileselector>
4986
4987 <button>
4988 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4989 <highlight color="%highlight_color%"/>
4990 <image resource="q_btn_folder"/>
4991 <actions>
4992 <action function="set">tw_filename1=tw_file_location1</action>
4993 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004994 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004995 <action function="page">filemanageroptions</action>
4996 </actions>
4997 </button>
4998
4999 <action>
5000 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005001 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005002 <action function="set">tw_fm_isfolder=0</action>
5003 </actions>
5004 </action>
5005
5006 <action>
5007 <touch key="home"/>
5008 <action function="page">main</action>
5009 </action>
5010
5011 <action>
5012 <touch key="back"/>
5013 <action function="page">main3</action>
5014 </action>
5015
5016 <action>
5017 <condition var1="tw_filename1" op="modified"/>
5018 <action function="page">filemanageroptions</action>
5019 </action>
5020 </page>
5021
5022 <page name="filemanageroptions">
5023 <template name="page"/>
5024
5025 <template name="statusbar"/>
5026
5027 <text style="text_m">
5028 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005029 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005030 </text>
5031
5032 <button style="main_button">
5033 <condition var1="tw_fm_isfolder" var2="0"/>
5034 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005035 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005036 <actions>
5037 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005038 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005039 <action function="page">choosedestinationfolder</action>
5040 </actions>
5041 </button>
5042
5043 <button style="main_button">
5044 <condition var1="tw_fm_isfolder" var2="1"/>
5045 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005046 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005047 <actions>
5048 <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 -05005049 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005050 <action function="page">choosedestinationfolder</action>
5051 </actions>
5052 </button>
5053
5054 <button style="main_button">
5055 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005056 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005057 <actions>
5058 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005059 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005060 <action function="page">choosedestinationfolder</action>
5061 </actions>
5062 </button>
5063
5064 <button style="main_button">
5065 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005066 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005067 <actions>
5068 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005069 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005070 <action function="set">tw_fm_text2=</action>
5071 <action function="set">tw_fm_text3=</action>
5072 <action function="set">tw_include_text3=0</action>
5073 <action function="set">tw_back=filemanageroptions</action>
5074 <action function="page">filemanagerconfirm</action>
5075 </actions>
5076 </button>
5077
5078 <button style="main_button">
5079 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005080 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005081 <actions>
5082 <action function="set">tw_filemanager_rename=0000</action>
5083 <action function="set">tw_fm_text2=</action>
5084 <action function="set">tw_fm_text3=</action>
5085 <action function="set">tw_include_text3=0</action>
5086 <action function="set">tw_back=filemanageroptions</action>
5087 <action function="page">filemanagerchmod</action>
5088 </actions>
5089 </button>
5090
5091 <button style="main_button">
5092 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005093 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005094 <actions>
5095 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005096 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005097 <action function="set">tw_fm_text2=</action>
5098 <action function="set">tw_fm_text3=</action>
5099 <action function="set">tw_include_text3=0</action>
5100 <action function="set">tw_back=filemanageroptions</action>
5101 <action function="page">filemanagerconfirm</action>
5102 </actions>
5103 </button>
5104
5105 <button style="main_button">
5106 <condition var1="tw_fm_isfolder" var2="0"/>
5107 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005108 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005109 <actions>
5110 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005111 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005112 <action function="set">tw_filemanager_command=mv</action>
5113 <action function="page">filemanagerrenamefile</action>
5114 </actions>
5115 </button>
5116
5117 <button style="main_button">
5118 <condition var1="tw_fm_isfolder" var2="1"/>
5119 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005120 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005121 <actions>
5122 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005123 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005124 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5125 <action function="page">filemanagerrenamefolder</action>
5126 </actions>
5127 </button>
5128
5129 <action>
5130 <touch key="home"/>
5131 <action function="page">main</action>
5132 </action>
5133
5134 <action>
5135 <touch key="back"/>
5136 <action function="page">filemanagerlist</action>
5137 </action>
5138 </page>
5139
5140 <page name="choosedestinationfolder">
5141 <template name="page"/>
5142
5143 <template name="statusbar"/>
5144
5145 <text style="text_m">
5146 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005147 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005148 </text>
5149
5150 <fileselector>
5151 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5152 <text>%tw_file_location2%</text>
5153 <filter folders="1" files="0"/>
5154 <path name="tw_file_location2" default="/"/>
5155 <data name="tw_filename2"/>
5156 <selection name="tw_selection2"/>
5157 </fileselector>
5158
5159 <button>
5160 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5161 <highlight color="%highlight_color%"/>
5162 <image resource="q_btn_folder"/>
5163 <actions>
5164 <action function="set">tw_fm_text2=to</action>
5165 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5166 <action function="set">tw_include_text3=1</action>
5167 <action function="set">tw_back=filemanageroptions</action>
5168 <action function="page">filemanagerconfirm</action>
5169 </actions>
5170 </button>
5171
5172 <action>
5173 <touch key="home"/>
5174 <action function="page">main</action>
5175 </action>
5176
5177 <action>
5178 <touch key="back"/>
5179 <action function="page">filemanageroptions</action>
5180 </action>
5181 </page>
5182
5183 <page name="filemanagerrenamefile">
5184 <template name="page"/>
5185
5186 <template name="statusbar"/>
5187
5188 <text style="text_m">
5189 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005190 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005191 </text>
5192
5193 <text style="text_m_accent">
5194 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005195 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005196 </text>
5197
5198 <input>
5199 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5200 <text>%tw_filemanager_rename%</text>
5201 <data name="tw_filemanager_rename"/>
5202 <restrict minlen="1" maxlen="128"/>
5203 <actions>
5204 <action function="set">tw_fm_text2=to</action>
5205 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5206 <action function="set">tw_include_text3=1</action>
5207 <action function="set">tw_back=filemanageroptions</action>
5208 <action function="page">filemanagerconfirm</action>
5209 </actions>
5210 </input>
5211
5212 <fill color="%accent_color%">
5213 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5214 </fill>
5215
5216 <button style="main_button_half_height">
5217 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005218 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005219 <action function="page">filemanageroptions</action>
5220 </button>
5221
5222 <template name="keyboardtemplate"/>
5223
5224 <action>
5225 <touch key="home"/>
5226 <action function="page">main</action>
5227 </action>
5228
5229 <action>
5230 <touch key="back"/>
5231 <action function="page">filemanageroptions</action>
5232 </action>
5233 </page>
5234
5235 <page name="filemanagerrenamefolder">
5236 <template name="page"/>
5237
5238 <template name="statusbar"/>
5239
5240 <text style="text_m">
5241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005242 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005243 </text>
5244
5245 <text style="text_m_accent">
5246 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005247 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005248 </text>
5249
5250 <input>
5251 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5252 <text>%tw_filemanager_rename%</text>
5253 <data name="tw_filemanager_rename"/>
5254 <restrict minlen="1" maxlen="128"/>
5255 <actions>
5256 <action function="set">tw_fm_text2=to</action>
5257 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5258 <action function="set">tw_include_text3=1</action>
5259 <action function="set">tw_back=filemanageroptions</action>
5260 <action function="page">filemanagerconfirm</action>
5261 </actions>
5262 </input>
5263
5264 <fill color="%accent_color%">
5265 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5266 </fill>
5267
5268 <button style="main_button_half_height">
5269 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005270 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005271 <action function="page">filemanageroptions</action>
5272 </button>
5273
5274 <template name="keyboardtemplate"/>
5275
5276 <action>
5277 <touch key="home"/>
5278 <action function="page">main</action>
5279 </action>
5280
5281 <action>
5282 <touch key="back"/>
5283 <action function="page">filemanageroptions</action>
5284 </action>
5285 </page>
5286
5287 <page name="filemanagerchmod">
5288 <template name="page"/>
5289
5290 <template name="statusbar"/>
5291
5292 <text style="text_m">
5293 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005294 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005295 </text>
5296
5297 <text style="text_m_accent">
5298 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005299 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005300 </text>
5301
5302 <input>
5303 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5304 <text>%tw_filemanager_rename%</text>
5305 <data name="tw_filemanager_rename"/>
5306 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5307 <actions>
5308 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5309 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5310 <action function="set">tw_back=filemanageroptions</action>
5311 <action function="page">filemanagerconfirm</action>
5312 </actions>
5313 </input>
5314
5315 <fill color="%accent_color%">
5316 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5317 </fill>
5318
5319 <button style="main_button_half_height">
5320 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005321 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005322 <action function="page">filemanageroptions</action>
5323 </button>
5324
5325 <template name="keyboardtemplate"/>
5326
5327 <action>
5328 <touch key="home"/>
5329 <action function="page">main</action>
5330 </action>
5331
5332 <action>
5333 <touch key="back"/>
5334 <action function="page">filemanageroptions</action>
5335 </action>
5336 </page>
5337
5338 <page name="filemanagerconfirm">
5339 <template name="page"/>
5340
5341 <template name="statusbar"/>
5342
5343 <text style="text_m">
5344 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005345 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005346 </text>
5347
5348 <text style="text_m_accent">
5349 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5350 <text>%tw_fm_text1%</text>
5351 </text>
5352
5353 <text style="text_m">
5354 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5355 <text>%tw_filename1%</text>
5356 </text>
5357
5358 <text style="text_m_accent">
5359 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5360 <text>%tw_fm_text2%</text>
5361 </text>
5362
5363 <text style="text_m">
5364 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5365 <text>%tw_fm_text3%</text>
5366 </text>
5367
5368 <text style="text_m">
5369 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005370 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005371 </text>
5372
5373 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005374 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005375 <action function="page">filemanageraction</action>
5376 </slider>
5377
5378 <action>
5379 <touch key="back"/>
5380 <action function="page">%tw_back%</action>
5381 </action>
5382
5383 <action>
5384 <touch key="home"/>
5385 <action function="page">main</action>
5386 </action>
5387 </page>
5388
5389 <page name="filemanageraction">
5390 <template name="page"/>
5391
5392 <template name="statusbar"/>
5393
5394 <text style="text_m">
5395 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005396 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005397 </text>
5398
5399 <template name="console"/>
5400
5401 <template name="progress_bar"/>
5402
5403 <action>
5404 <conditions>
5405 <condition var1="tw_operation_state" var2="1"/>
5406 <condition var1="tw_operation_status" var2="0"/>
5407 </conditions>
5408 <actions>
5409 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005410 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005411 <action function="page">action_complete</action>
5412 </actions>
5413 </action>
5414
5415 <action>
5416 <conditions>
5417 <condition var1="tw_operation_state" var2="1"/>
5418 <condition var1="tw_operation_status" op="!=" var2="0"/>
5419 </conditions>
5420 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005421 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005422 <action function="page">action_complete</action>
5423 </actions>
5424 </action>
5425
5426 <action>
5427 <condition var1="tw_include_text3" var2="0"/>
5428 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5429 </action>
5430
5431 <action>
5432 <condition var1="tw_include_text3" var2="1"/>
5433 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5434 </action>
5435 </page>
5436
5437 <page name="decrypt">
5438 <template name="page"/>
5439
5440 <template name="statusbar"/>
5441
5442 <action>
5443 <condition var1="tw_crypto_pwtype" var2="2"/>
5444 <action function="page">decrypt_pattern</action>
5445 </action>
5446
Captain Throwbackfec0c3b2021-11-04 15:50:36 -04005447 <action>
5448 <condition var1="tw_crypto_pwtype" var2="3"/>
5449 <action function="page">decrypt_pin</action>
5450 </action>
5451
z31s1g28f0a922015-11-07 18:50:22 +01005452 <text style="text_m">
5453 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005454 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005455 </text>
5456
5457 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005458 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005459 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005460 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005461 </text>
5462
Noah Jacobson81d638d2019-04-28 00:10:07 -04005463 <text style="text_m_accent">
5464 <condition var1="tw_is_fbe" var2="1"/>
5465 <placement x="%col1_x_left%" y="%row1_y%"/>
5466 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5467 </text>
5468
z31s1g28f0a922015-11-07 18:50:22 +01005469 <input>
5470 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5471 <text>%tw_crypto_display%</text>
5472 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5473 <restrict minlen="1" maxlen="254"/>
5474 <action function="page">trydecrypt</action>
5475 </input>
5476
5477 <fill color="%accent_color%">
5478 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5479 </fill>
5480
5481 <fill color="%text_fail_color%">
5482 <condition var1="tw_password_fail" var2="1"/>
5483 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5484 </fill>
5485
5486 <text style="text_m_fail">
5487 <condition var1="tw_password_fail" var2="1"/>
5488 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005489 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005490 </text>
5491
5492 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005493 <placement x="%col1_x_left%" y="%row4_y%"/>
5494 <text>{@sel_lang_btn=Select Language}</text>
5495 <action function="page">settings_language</action>
5496 </button>
5497
5498 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005499 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005500 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05005501 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005502 </button>
5503
5504 <template name="keyboardtemplate"/>
5505 </page>
5506
5507 <page name="decrypt_pattern">
5508 <template name="page"/>
5509
5510 <template name="statusbar"/>
5511
Aleksa Saraib25a1832015-12-31 17:36:00 +01005512 <action>
5513 <action function="set">tw_gui_pattern_grid_size=3</action>
5514 </action>
5515
z31s1g28f0a922015-11-07 18:50:22 +01005516 <text style="text_m">
5517 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005518 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005519 </text>
5520
5521 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005522 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005523 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005524 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005525 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005526 </text>
5527
Noah Jacobson81d638d2019-04-28 00:10:07 -04005528 <text style="text_m_accent">
5529 <condition var1="tw_is_fbe" var2="1"/>
5530 <condition var1="tw_password_fail" op="!=" var2="1"/>
5531 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5532 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5533 </text>
5534
Aleksa Saraib25a1832015-12-31 17:36:00 +01005535 <text style="text_m_fail">
5536 <condition var1="tw_password_fail" var2="1"/>
5537 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005538 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005539 </text>
5540
z31s1g28f0a922015-11-07 18:50:22 +01005541 <text style="text_m">
5542 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005543 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005544 </text>
5545
5546 <patternpassword>
5547 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005548 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5549 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5550 <data name="tw_crypto_password"/>
5551 <action function="page">trydecrypt</action>
5552 </patternpassword>
5553
5554 <fill color="#000000">
5555 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5556 </fill>
5557
5558 <button>
5559 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5560 <image resource="back"/>
5561 <condition var1="tw_busy" var2="0"/>
Captain Throwback89b56a12021-02-10 18:25:07 -05005562 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005563 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005564
5565 <button>
5566 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5567 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5568 <image resource="grid_less"/>
5569 <action function="set">tw_gui_pattern_grid_size=3</action>
5570 </button>
5571
5572 <button>
5573 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5574 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5575 <image resource="grid_less"/>
5576 <action function="set">tw_gui_pattern_grid_size=3</action>
5577 </button>
5578
5579 <button>
5580 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5581 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5582 <image resource="grid_less"/>
5583 <action function="set">tw_gui_pattern_grid_size=4</action>
5584 </button>
5585
5586 <button>
5587 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5588 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5589 <image resource="grid_less"/>
5590 <action function="set">tw_gui_pattern_grid_size=5</action>
5591 </button>
5592
5593 <button>
5594 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5595 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5596 <image resource="grid_more"/>
5597 <action function="set">tw_gui_pattern_grid_size=4</action>
5598 </button>
5599
5600 <button>
5601 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5602 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5603 <image resource="grid_more"/>
5604 <action function="set">tw_gui_pattern_grid_size=5</action>
5605 </button>
5606
5607 <button>
5608 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5609 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5610 <image resource="grid_more"/>
5611 <action function="set">tw_gui_pattern_grid_size=6</action>
5612 </button>
5613
5614 <button>
5615 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5616 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5617 <image resource="grid_more"/>
5618 <action function="set">tw_gui_pattern_grid_size=6</action>
5619 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005620 </page>
5621
Captain Throwbackfec0c3b2021-11-04 15:50:36 -04005622 <page name="decrypt_pin">
5623 <template name="page"/>
5624
5625 <template name="statusbar"/>
5626
5627 <text style="text_m">
5628 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5629 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
5630 </text>
5631
5632 <text style="text_m_accent">
5633 <condition var1="tw_is_fbe" op="!=" var2="1"/>
5634 <placement x="%col1_x_left%" y="%row1_y%"/>
5635 <text>{@decrypt_data_enter_pass=Enter PIN:}</text>
5636 </text>
5637
5638 <text style="text_m_accent">
5639 <condition var1="tw_is_fbe" var2="1"/>
5640 <placement x="%col1_x_left%" y="%row1_y%"/>
5641 <text>{@decrypt_data_enter_pass_fbe=Enter PIN for User [%tw_crypto_user_id%]}</text>
5642 </text>
5643
5644 <input>
5645 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5646 <text>%tw_crypto_display%</text>
5647 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5648 <restrict minlen="1" maxlen="254"/>
5649 <action function="page">trydecrypt</action>
5650 </input>
5651
5652 <fill color="%accent_color%">
5653 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5654 </fill>
5655
5656 <fill color="%text_fail_color%">
5657 <condition var1="tw_password_fail" var2="1"/>
5658 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5659 </fill>
5660
5661 <text style="text_m_fail">
5662 <condition var1="tw_password_fail" var2="1"/>
5663 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5664 <text>{@decrypt_data_failed=PIN failed, please try again!}</text>
5665 </text>
5666
5667 <button style="main_button_half_height">
5668 <placement x="%col1_x_left%" y="%row4_y%"/>
5669 <text>{@sel_lang_btn=Select Language}</text>
5670 <action function="page">settings_language</action>
5671 </button>
5672
5673 <button style="main_button_half_height">
5674 <placement x="%col1_x_right%" y="%row4_y%"/>
5675 <text>{@cancel_btn=Cancel}</text>
5676 <action function="page">canceldecrypt</action>
5677 </button>
5678
5679 <template name="keyboardnum"/>
5680 </page>
5681
z31s1g28f0a922015-11-07 18:50:22 +01005682 <page name="trydecrypt">
5683 <template name="page"/>
5684
5685 <template name="statusbar"/>
5686
5687 <text style="text_m">
5688 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005689 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005690 </text>
5691
5692 <template name="console"/>
5693
5694 <template name="progress_bar"/>
5695
5696 <action>
5697 <action function="decrypt"/>
5698 </action>
5699
5700 <action>
5701 <conditions>
5702 <condition var1="tw_operation_state" var2="1"/>
5703 <condition var1="tw_operation_status" op="!=" var2="0"/>
5704 </conditions>
5705 <actions>
5706 <action function="set">tw_password_fail=1</action>
5707 <action function="page">decrypt</action>
5708 </actions>
5709 </action>
5710
5711 <action>
5712 <conditions>
5713 <condition var1="tw_operation_state" var2="1"/>
5714 <condition var1="tw_operation_status" op="=" var2="0"/>
5715 </conditions>
5716 <actions>
5717 <action function="set">tw_page_done=1</action>
5718 <action function="page">main</action>
5719 </actions>
5720 </action>
5721 </page>
5722
Captain Throwback89b56a12021-02-10 18:25:07 -05005723 <page name="canceldecrypt">
5724 <template name="page"/>
5725
5726 <template name="statusbar"/>
5727
5728 <text style="text_m">
5729 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5730 <text>{@cancel_btn=Cancel} &gt; {@refresh_sizes_btn=Refresh Sizes}</text>
5731 </text>
5732
5733 <template name="console"/>
5734
5735 <template name="progress_bar"/>
5736
5737 <action>
5738 <action function="refreshsizes"/>
5739 </action>
5740
5741 <action>
5742 <conditions>
5743 <condition var1="tw_operation_state" var2="1"/>
5744 </conditions>
5745 <actions>
5746 <action function="set">tw_page_done=1</action>
5747 <action function="page">main</action>
5748 </actions>
5749 </action>
5750 </page>
5751
z31s1g28f0a922015-11-07 18:50:22 +01005752 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005753 <terminal>
5754 <condition var1="tw_hide_kb" var2="0"/>
5755 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5756 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005757
z31s1g56189522016-01-13 19:12:40 +01005758 <terminal>
5759 <condition var1="tw_hide_kb" var2="1"/>
5760 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5761 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005762
z31s1g56189522016-01-13 19:12:40 +01005763 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005764
5765 <template name="keyboardtemplate"/>
5766
z31s1g608d7ff2016-01-18 19:47:25 +01005767 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005768 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005769 </fill>
z31s1g56189522016-01-13 19:12:40 +01005770
z31s1g608d7ff2016-01-18 19:47:25 +01005771 <button>
z31s1g56189522016-01-13 19:12:40 +01005772 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5773 <image resource="back" />
5774 <condition var1="tw_busy" var2="0" />
5775 <actions>
5776 <action function="set">tw_hide_kb=0</action>
5777 <action function="key">back</action>
5778 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005779 </button>
z31s1g56189522016-01-13 19:12:40 +01005780
z31s1g608d7ff2016-01-18 19:47:25 +01005781 <button>
z31s1g56189522016-01-13 19:12:40 +01005782 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5783 <image resource="home" />
5784 <condition var1="tw_busy" var2="0" />
5785 <actions>
5786 <action function="set">tw_hide_kb=0</action>
5787 <action function="key">home</action>
5788 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005789 </button>
z31s1g56189522016-01-13 19:12:40 +01005790
z31s1g608d7ff2016-01-18 19:47:25 +01005791 <button>
z31s1g56189522016-01-13 19:12:40 +01005792 <condition var1="tw_hide_kb" var2="0"/>
5793 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5794 <image resource="kb_hide" />
5795 <condition var1="tw_busy" var2="0" />
5796 <actions>
5797 <action function="set">tw_hide_kb=1</action>
5798 <action function="page">terminalcommand</action>
5799 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005800 </button>
z31s1g56189522016-01-13 19:12:40 +01005801
z31s1g608d7ff2016-01-18 19:47:25 +01005802 <button>
z31s1g56189522016-01-13 19:12:40 +01005803 <condition var1="tw_hide_kb" var2="1"/>
5804 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5805 <image resource="kb_show" />
5806 <condition var1="tw_busy" var2="0" />
5807 <actions>
5808 <action function="set">tw_hide_kb=0</action>
5809 <action function="page">terminalcommand</action>
5810 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005811 </button>
z31s1g56189522016-01-13 19:12:40 +01005812
z31s1g28f0a922015-11-07 18:50:22 +01005813 <action>
5814 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005815 <actions>
5816 <action function="set">tw_hide_kb=0</action>
5817 <action function="page">main</action>
5818 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005819 </action>
5820
5821 <action>
5822 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005823 <actions>
5824 <action function="set">tw_hide_kb=0</action>
5825 <action function="page">advanced</action>
5826 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005827 </action>
z31s1g56189522016-01-13 19:12:40 +01005828
z31s1g608d7ff2016-01-18 19:47:25 +01005829 <action>
z31s1g56189522016-01-13 19:12:40 +01005830 <touch key="power+voldown" />
5831 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005832 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005833 </page>
5834
5835 <page name="sideload">
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%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005842 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005843 </text>
5844
5845 <text style="text_m_accent">
5846 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005847 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005848 </text>
5849
5850 <checkbox>
5851 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005852 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005853 <data variable="tw_wipe_dalvik"/>
5854 </checkbox>
5855
5856 <checkbox>
5857 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005858 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005859 <data variable="tw_wipe_cache"/>
5860 </checkbox>
5861
5862 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005863 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005864 <actions>
5865 <action function="set">tw_back=install_type</action>
5866 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005867 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5868 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5869 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005870 <action function="set">tw_has_cancel=1</action>
5871 <action function="set">tw_show_reboot=1</action>
5872 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5873 <action function="page">action_page</action>
5874 </actions>
5875 </slider>
5876
5877 <action>
5878 <touch key="home"/>
5879 <action function="page">main</action>
5880 </action>
5881
5882 <action>
5883 <touch key="back"/>
5884 <action function="page">install_type</action>
5885 </action>
5886 </page>
5887
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005888 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005889 <template name="page"/>
5890
5891 <template name="statusbar"/>
5892
5893 <text style="text_m">
5894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005895 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005896 </text>
5897
5898 <text style="text_m_accent">
5899 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005900 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005901 </text>
5902
z31s1g28f0a922015-11-07 18:50:22 +01005903 <text style="text_m_fail">
5904 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005905 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005906 </text>
5907
5908 <text style="text_m_fail">
5909 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005910 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005911 </text>
5912
5913 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005914 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005915 <actions>
5916 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005917 <action function="set">tw_action=fixcontexts</action>
5918 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5919 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005920 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005921 <action function="set">tw_show_reboot=1</action>
5922 <action function="page">action_page</action>
5923 </actions>
5924 </slider>
5925
5926 <action>
5927 <touch key="home"/>
5928 <action function="page">main</action>
5929 </action>
5930
5931 <action>
5932 <touch key="back"/>
5933 <action function="page">advanced</action>
5934 </action>
5935 </page>
5936
z31s1g28f0a922015-11-07 18:50:22 +01005937 <page name="slideout">
5938 <fill color="%background_color%">
5939 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5940 </fill>
5941
5942 <console>
5943 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5944 </console>
5945
5946 <fill color="%fileselector_linecolor%">
5947 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5948 </fill>
5949
5950 <fill color="%fileselector_linecolor%">
5951 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5952 </fill>
5953
5954 <button>
5955 <fill color="%transparent%"/>
5956 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5957 <action function="overlay"/>
5958 </button>
5959
5960 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005961 <touch key="power"/>
5962 <action function="togglebacklight"/>
5963 </action>
5964
5965 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005966 <touch key="power+voldown"/>
5967 <action function="screenshot"/>
5968 </action>
5969 </page>
5970
5971 <page name="select_storage">
5972 <template name="page"/>
5973
5974 <template name="statusbar"/>
5975
5976 <text style="text_m">
5977 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5978 <text>%tw_storagetext%</text>
5979 </text>
5980
5981 <partitionlist style="partitionlist_headerless_rb">
5982 <data name="tw_storage_path"/>
5983 <listtype name="storage"/>
5984 </partitionlist>
5985
5986 <button>
5987 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5988 <highlight color="%highlight_color%"/>
5989 <image resource="q_btn_refresh"/>
5990 <actions>
5991 <action function="refreshsizes"/>
5992 <action function="page">select_storage</action>
5993 </actions>
5994 </button>
5995
5996 <button>
5997 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5998 <highlight color="%highlight_color%"/>
5999 <image resource="q_btn_accept"/>
6000 <actions>
6001 <action function="set">tw_clear_destination=%tw_back%</action>
6002 <action function="page">clear_vars</action>
6003 </actions>
6004 </button>
6005
6006 <action>
6007 <touch key="power+voldown"/>
6008 <action function="screenshot"/>
6009 </action>
6010 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04006011
6012 <page name="decrypt_users">
6013 <template name="page"/>
6014
6015 <text style="text_l">
6016 <placement x="%col1_x_header%" y="%row3_header_y%"/>
6017 <text>{@decrypt_users=Decrypt Users}</text>
6018 </text>
6019
6020 <text style="text_m_accent">
6021 <placement x="%center_x%" y="%row2_y%" placement="5"/>
6022 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
6023 </text>
6024
6025 <listbox>
6026 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
6027 <text>{@select_user=Select User}</text>
6028 <icon selected="radio_true" unselected="radio_false" />
6029 <data name="tw_crypto_user_id" />
6030 </listbox>
6031
6032 <button style="main_button_half_height">
6033 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
6034 <text>{@decrypt_users=Decrypt Users}</text>
6035 <action function="set">tw_crypto_password=</action>
6036 <action function="set">tw_password_fail=0</action>
6037 <action function="page">decrypt</action>
6038 </button>
6039
6040 <action>
6041 <touch key="home"/>
6042 <action function="page">main</action>
6043 </action>
6044
6045 <action>
6046 <touch key="back"/>
6047 <action function="page">advanced</action>
6048 </action>
6049 </page>
epicXa721f952021-01-04 13:01:31 +05306050
6051 <page name="changeTwrpFolder">
6052 <template name="page"/>
6053
6054 <template name="statusbar"/>
6055
6056 <text style="text_m">
6057 <placement x="%col1_x_left%" y="%row1_header_y%"/>
6058 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
6059 </text>
6060
6061 <text style="text_m_accent">
6062 <placement x="%col1_x_left%" y="%row1_y%"/>
6063 <text>{@name=Name:}</text>
6064 </text>
6065
6066 <input>
6067 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
6068 <text>%tw_custom_folder%</text>
6069 <data name="tw_custom_folder"/>
6070 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
6071 <actions>
6072 <action function="set">tw_back=changeTwrpFolder</action>
6073 <action function="set">tw_action=applycustomtwrpfolder</action>
6074 <action function="set">tw_action_param=%tw_custom_folder%</action>
6075 <action function="set">tw_text1={@confirm_action=Confirm}</action>
6076 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
6077 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
6078 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
6079 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
6080 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
6081 <action function="set">tw_existpage=changeTwrpFolder</action>
6082 <action function="set">tw_notexistpage=confirm_action</action>
6083 <action function="page">filecheck</action>
6084 </actions>
6085 </input>
6086
6087 <fill color="%accent_color%">
6088 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
6089 </fill>
6090
6091 <fill color="%text_fail_color%">
6092 <condition var1="tw_fileexists" var2="1"/>
6093 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
6094 </fill>
6095
6096 <text style="text_m_fail">
6097 <condition var1="tw_fileexists" var2="1"/>
6098 <placement x="%col1_x_left%" y="%row3_input_y%"/>
6099 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
6100 </text>
6101
6102 <button style="main_button_half_width_low">
6103 <placement x="%col1_x_left%" y="%row4_y%"/>
6104 <text>{@cancel_btn=Cancel}</text>
6105 <action function="page">advanced2</action>
6106 </button>
6107
6108 <button style="main_button_half_height">
6109 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
6110 <placement x="%col1_x_right%" y="%row4_y%"/>
6111 <text>{@restore_defaults_btn=Restore Defaults}</text>
6112 <actions>
6113 <action function="set">tw_back=changeTwrpFolder</action>
6114 <action function="set">tw_action=applycustomtwrpfolder</action>
6115 <action function="set">tw_action_param=TWRP</action>
6116 <action function="set">tw_text1={@confirm_action=Confirm}</action>
6117 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
6118 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
6119 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
6120 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
6121 <action function="set">tw_filecheck=/sdcard/TWRP</action>
6122 <action function="set">tw_existpage=changeTwrpFolder</action>
6123 <action function="set">tw_notexistpage=confirm_action</action>
6124 <action function="page">filecheck</action>
6125 </actions>
6126 </button>
6127
6128 <template name="keyboardtemplate"/>
6129
6130 <action>
6131 <touch key="home"/>
6132 <actions>
6133 <action function="page">main</action>
6134 </actions>
6135 </action>
6136
6137 <action>
6138 <touch key="back"/>
6139 <actions>
6140 <action function="page">advanced2</action>
6141 </actions>
6142 </action>
6143 </page>
bigbiff8f5fad32021-11-03 20:39:02 -04006144
Captain Throwback02e74572022-01-10 12:55:05 -05006145 <page name="restore_keymaster">
bigbiff8f5fad32021-11-03 20:39:02 -04006146 <template name="page"/>
6147 <text style="text_m_accent">
6148 <condition var1="tw_crypto_pwtype" var2="1"/>
6149 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Captain Throwback02e74572022-01-10 12:55:05 -05006150 <text>{@restore_with_pin_password1=PIN/Password is enabled}</text>
bigbiff8f5fad32021-11-03 20:39:02 -04006151 </text>
6152 <text style="text_m_accent">
6153 <condition var1="tw_crypto_pwtype" var2="1"/>
6154 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Captain Throwback02e74572022-01-10 12:55:05 -05006155 <text>{@restore_with_pin_password2=PIN/Password should be disabled before restore}</text>
bigbiff8f5fad32021-11-03 20:39:02 -04006156 </text>
6157 <text style="text_l">
6158 <condition var1="tw_crypto_pwtype" var2="1"/>
6159 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Captain Throwback02e74572022-01-10 12:55:05 -05006160 <text>{@restore_pin_password=Restore While PIN/Password Enabled?}</text>
bigbiff8f5fad32021-11-03 20:39:02 -04006161 </text>
6162 <text style="text_m_accent">
6163 <condition var1="tw_crypto_pwtype" var2="2"/>
6164 <placement x="%center_x%" y="%row1_y%" placement="5"/>
6165 <text>{@restore_with_pattern1=Pattern is enabled}</text>
6166 </text>
6167 <text style="text_m_accent">
6168 <condition var1="tw_crypto_pwtype" var2="2"/>
6169 <placement x="%center_x%" y="%row2_y%" placement="5"/>
6170 <text>{@restore_with_pattern2=Pattern should be disabled before restore}</text>
6171 </text>
6172 <text style="text_l">
6173 <condition var1="tw_crypto_pwtype" var2="2"/>
6174 <placement x="%center_x%" y="%row3_y%" placement="5"/>
6175 <text>{@restore_pattern=Restore While Pattern Enabled?}</text>
6176 </text>
6177
6178 <text style="text_m_accent">
6179 <condition var1="tw_crypto_pwtype" var2="2"/>
6180 <placement x="%center_x%" y="%row2_y%" placement="5"/>
6181 <text>{@restore_with_pin1=PIN is enabled}</text>
6182 </text>
6183
6184 <text style="text_m_accent">
6185 <condition var1="tw_crypto_pwtype" var2="3"/>
6186 <placement x="%center_x%" y="%row2_y%" placement="5"/>
6187 <text>{@restore_with_pin2=PIN should be disabled before restore}</text>
6188 </text>
6189
6190 <text style="text_l">
6191 <condition var1="tw_crypto_pwtype" var2="3"/>
6192 <placement x="%center_x%" y="%row3_y%" placement="5"/>
6193 <text>{@restore_pin=Restore While PIN Enabled?}</text>
6194 </text>
6195
6196 <slider>
6197 <text>{@continue_restore_encrypted=Continue Restore?}</text>
6198 <actions>
6199 <action function="page">restore_force</action>
6200 </actions>
6201 </slider>
6202 <action>
6203 <touch key="home"/>
6204 <action function="page">main</action>
6205 </action>
6206 <action>
6207 <touch key="back"/>
6208 <actions>
6209 <action function="page">main</action>
6210 </actions>
6211 </action>
6212 </page>
z31s1g28f0a922015-11-07 18:50:22 +01006213 </pages>
6214</recovery>