blob: 1b7054701f00cd0a7c63c481b4d668d79bd98793 [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
269 <slider>
270 <text>{@swipe_confirm= Confirm}</text>
271 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600272 <action function="set">tw_back=main3</action>
273 <action function="set">tw_action=copylog</action>
274 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
275 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400276 <action function="page">action_page</action>
277 </actions>
278 </slider>
279
280 <action>
281 <touch key="back"/>
282 <action function="page">main2</action>
283 </action>
284
285 <action>
286 <touch key="home"/>
287 <action function="page">main</action>
288 </action>
Matt Mower32676622017-01-18 18:56:13 -0600289 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400290
z31s1g28f0a922015-11-07 18:50:22 +0100291 <page name="main3">
292 <template name="page"/>
293
294 <button style="main_button">
295 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500296 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100297 <action function="page">mount</action>
298 </button>
299
300 <button style="main_button">
301 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500302 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100303 <action function="page">settings</action>
304 </button>
305
306 <button style="main_button">
307 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500308 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100309 <action function="page">filemanagerlist</action>
310 </button>
311
312 <button style="main_button">
313 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500314 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400315 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100316 </button>
317
318 <button style="main_button">
319 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500320 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100321 <action function="page">advanced</action>
322 </button>
323
324 <button>
325 <placement x="%col1_x_left%" y="%row11_y%"/>
326 <highlight color="%highlight_color%"/>
327 <image resource="q_btn_arrow_left"/>
328 <action function="page">main2</action>
329 </button>
330
331 <action>
332 <touch key="back"/>
333 <action function="page">main2</action>
334 </action>
335
336 <action>
337 <touch key="home"/>
338 <action function="page">main</action>
339 </action>
340 </page>
341
342 <page name="install_type">
343 <template name="page"/>
344
345 <template name="statusbar"/>
346
347 <text style="text_m">
348 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <button style="main_button_full_width">
353 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 <actions>
356 <action function="queueclear"/>
357 <action function="set">tw_selectimage=0</action>
358 <action function="page">install</action>
359 </actions>
360 </button>
361
362 <button style="main_button_full_width">
363 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 <actions>
366 <action function="queueclear"/>
367 <action function="set">tw_selectimage=1</action>
368 <action function="page">install</action>
369 </actions>
370 </button>
371
372 <button style="main_button_full_width">
373 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 <action function="page">sideload</action>
376 </button>
377
378 <action>
379 <touch key="home"/>
380 <action function="page">main</action>
381 </action>
382
383 <action>
384 <touch key="back"/>
385 <action function="page">main</action>
386 </action>
387 </page>
388
389 <page name="install">
390 <template name="page"/>
391
392 <template name="statusbar"/>
393
394 <text style="text_m">
395 <condition var1="tw_selectimage" var2="0"/>
396 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <condition var1="tw_selectimage" var2="1"/>
402 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <fileselector>
407 <condition var1="tw_selectimage" var2="0"/>
408 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
409 <text>%tw_zip_location%</text>
mauronofrio6d3bf892019-10-26 19:47:55 +0200410 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonalde7c34e52021-01-23 18:52:28 +0100411 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100412 <path name="tw_zip_location" default="/sdcard"/>
413 <data name="tw_filename"/>
414 <selection name="tw_file"/>
415 </fileselector>
416
417 <fileselector>
418 <condition var1="tw_selectimage" var2="1"/>
419 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
420 <text>%tw_zip_location%</text>
421 <filter extn=".img" folders="1" files="1"/>
422 <path name="tw_zip_location" default="/sdcard"/>
423 <data name="tw_filename"/>
424 <selection name="tw_file"/>
425 </fileselector>
426
427 <button>
428 <placement x="%btn4_col4_x%" y="%row11_y%"/>
429 <highlight color="%highlight_color%"/>
430 <image resource="q_btn_storage"/>
431 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <action function="set">tw_back=install</action>
434 <action function="page">select_storage</action>
435 </actions>
436 </button>
437
438 <action>
439 <conditions>
440 <condition var1="tw_selectimage" var2="0"/>
441 <condition var1="tw_filename" op="modified"/>
442 </conditions>
443 <actions>
444 <action function="queuezip"/>
445 <action function="page">flash_queue</action>
446 </actions>
447 </action>
448
449 <action>
450 <conditions>
451 <condition var1="tw_selectimage" var2="1"/>
452 <condition var1="tw_filename" op="modified"/>
453 </conditions>
epicX8f52c0a2021-02-24 23:12:08 +0530454 <actions>
455 <action function="set">tw_is_slot_part=0</action>
456 <action function="page">flashimage_type</action>
457 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </action>
459
460 <action>
461 <touch key="back"/>
462 <action function="page">install_type</action>
463 </action>
464
465 <action>
466 <touch key="home"/>
467 <action function="page">main</action>
468 </action>
469 </page>
470
471 <page name="flash_queue">
472 <template name="page"/>
473
474 <template name="statusbar"/>
475
476 <text style="text_m">
477 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500478 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100479 </text>
480
481 <text style="text_m_accent">
482 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500483 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100484 </text>
485
486 <text style="text_m">
487 <placement x="%indent%" y="%row2_y%"/>
488 <text>%tw_file%</text>
489 </text>
490
491 <text style="text_m_accent">
492 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500493 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100494 </text>
495
496 <text style="text_m">
497 <placement x="%indent%" y="%row5_y%"/>
498 <text>%tw_zip_location%</text>
499 </text>
500
501 <text style="text_m">
502 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500503 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </text>
505
506 <button>
507 <placement x="%col1_x_left%" y="%row11_y%"/>
508 <highlight color="%highlight_color%"/>
509 <image resource="q_btn_arrow_left"/>
510 <actions>
511 <action function="queueclear"/>
512 <action function="page">install</action>
513 </actions>
514 </button>
515
516 <button>
517 <placement x="%btn4_col2_x%" y="%row11_y%"/>
518 <highlight color="%highlight_color%"/>
519 <image resource="q_btn_addzip"/>
520 <action function="page">install</action>
521 </button>
522
523 <button>
524 <placement x="%btn4_col3_x%" y="%row11_y%"/>
525 <highlight color="%highlight_color%"/>
526 <image resource="q_btn_accept"/>
527 <action function="page">flash_confirm</action>
528 </button>
529
530 <button>
531 <placement x="%btn4_col4_x%" y="%row11_y%"/>
532 <highlight color="%highlight_color%"/>
533 <image resource="q_btn_arrow_right"/>
534 <action function="page">flash_options</action>
535 </button>
536
537 <action>
538 <touch key="back"/>
539 <actions>
540 <action function="queueclear"/>
541 <action function="page">install</action>
542 </actions>
543 </action>
544
545 <action>
546 <touch key="home"/>
547 <action function="page">main</action>
548 </action>
549 </page>
550
551 <page name="flash_options">
552 <template name="page"/>
553
554 <template name="statusbar"/>
555
556 <text style="text_m">
557 <condition var1="tw_selectimage" var2="0"/>
558 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500559 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100560 </text>
561
epicX9597b842021-03-20 21:58:17 +0530562 <listbox style="options_listbox">
563 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%listbox_options_height%"/>
564 <icon selected="checkbox_true" unselected="checkbox_false"/>
565 <listitem name="{@zip_sig_chk=Zip signature verification}">
566 <data variable="tw_signed_zip_verify"/>
567 </listitem>
568 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
569 <data variable="tw_skip_digest_check_zip"/>
570 </listitem>
571 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
572 <data variable="tw_install_reboot"/>
573 </listitem>
574 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
575 <condition var1="tw_has_injecttwrp" var2="1"/>
576 <data variable="tw_inject_after_zip"/>
577 </listitem>
578 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500579
z31s1g28f0a922015-11-07 18:50:22 +0100580 <button>
581 <placement x="%col1_x_left%" y="%row11_y%"/>
582 <highlight color="%highlight_color%"/>
583 <image resource="q_btn_arrow_left"/>
584 <action function="page">flash_queue</action>
585 </button>
586
587 <button>
588 <placement x="%btn4_col4_x%" y="%row11_y%"/>
589 <highlight color="%highlight_color%"/>
590 <image resource="q_btn_accept_transp"/>
591 <action function="page">flash_confirm</action>
592 </button>
593
594 <action>
595 <touch key="back"/>
596 <action function="page">flash_queue</action>
597 </action>
598
599 <action>
600 <touch key="home"/>
601 <action function="page">main</action>
602 </action>
603 </page>
604
605 <page name="flash_confirm">
606 <template name="page"/>
607
608 <template name="statusbar"/>
609
610 <text style="text_m">
611 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500612 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100613 </text>
614
615 <text style="text_m_accent">
616 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <text style="text_m">
621 <placement x="%indent%" y="%row2_y%"/>
622 <text>%tw_file%</text>
623 </text>
624
625 <button>
626 <fill color="%transparent%"/>
627 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
628 <action function="page">flash_queue</action>
629 </button>
630
631 <text style="text_m_accent">
632 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100634 </text>
635
636 <text style="text_m">
637 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <button>
642 <fill color="%transparent%"/>
643 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
644 <action function="page">flash_queue</action>
645 </button>
646
647 <listbox style="listbox_options">
648 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500649 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100650 <data variable="tw_signed_zip_verify"/>
651 </listitem>
652 </listbox>
653
654 <text style="text_m_accent">
655 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500656 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100657 </text>
658
659 <text style="text_m">
660 <condition var1="tw_has_injecttwrp" var2="1"/>
661 <condition var1="tw_inject_after_zip" var2="1"/>
662 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500663 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100664 </text>
665
666 <button>
667 <fill color="%transparent%"/>
668 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
669 <action function="page">flash_options</action>
670 </button>
671
672 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 <action function="flash">flash_zip</action>
675 </slider>
676
677 <action>
678 <touch key="back"/>
679 <actions>
680 <action function="cancelzip"/>
681 <action function="page">install</action>
682 </actions>
683 </action>
684
685 <action>
686 <touch key="home"/>
687 <action function="page">main</action>
688 </action>
689 </page>
690
691 <page name="flash_zip">
692 <template name="page"/>
693
694 <template name="statusbar"/>
695
696 <text style="text_m">
697 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600698 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100699 </text>
700
701 <template name="console"/>
702
703 <template name="progress_bar"/>
704
705 <action>
706 <condition var1="tw_operation_state" var2="1"/>
707 <action function="page">flash_done</action>
708 </action>
709 </page>
710
711 <page name="flash_done">
712 <template name="page"/>
713
714 <template name="statusbar"/>
715
716 <text style="text_m_fail">
717 <condition var1="tw_operation_status" op="!=" var2="0"/>
718 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500719 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100720 </text>
721
722 <text style="text_m">
723 <condition var1="tw_operation_status" var2="0"/>
724 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500725 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100726 </text>
727
728 <template name="console"/>
729
730 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500731 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100732 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500733 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100734 <actions>
735 <action function="set">tw_back=flash_done</action>
736 <action function="set">tw_action=wipe</action>
737 <action function="set">tw_action_param=/cache</action>
738 <action function="set">tw_has_action2=1</action>
739 <action function="set">tw_action2=wipe</action>
740 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500741 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
742 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
743 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500744 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
745 <action function="page">confirm_action</action>
746 </actions>
747 </button>
748
749 <button style="main_button_half_height">
750 <condition var1="tw_ab_device" var2="1"/>
751 <placement x="%indent%" y="%row21a_y%"/>
752 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
753 <actions>
754 <action function="set">tw_back=flash_done</action>
755 <action function="set">tw_action=wipe</action>
756 <action function="set">tw_action_param=dalvik</action>
757 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
758 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
759 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
760 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100761 <action function="page">confirm_action</action>
762 </actions>
763 </button>
764
765 <button style="main_button_half_height">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100766 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100767 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500768 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100769 <actions>
770 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500771 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100772 </actions>
773 </button>
774
Chaosmaster7b66bf52020-02-07 20:33:43 +0100775 <button style="main_button_half_height">
776 <condition var1="tw_ab_device" var2="1"/>
777 <placement x="%col1_x_right%" y="%row13_y%"/>
778 <text>{@reboot_btn=Reboot}</text>
779 <actions>
780 <action function="set">tw_back=main2</action>
781 <action function="page">reboot</action>
782 </actions>
783 </button>
784
z31s1g28f0a922015-11-07 18:50:22 +0100785 <action>
786 <touch key="back"/>
787 <actions>
788 <action function="set">tw_clear_destination=install_type</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </action>
792
793 <action>
794 <touch key="home"/>
795 <actions>
796 <action function="set">tw_clear_destination=main2</action>
797 <action function="page">clear_vars</action>
798 </actions>
799 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500800
801 <action>
802 <conditions>
803 <condition var1="tw_install_reboot" var2="1"/>
804 <condition var1="tw_operation_status" var2="0"/>
805 <condition var1="tw_reboot_system" var2="1"/>
806 </conditions>
807 <actions>
808 <action function="set">tw_sleep=%tw_sleep_total%</action>
809 <action function="page">flash_sleep_and_reboot</action>
810 </actions>
811 </action>
812 </page>
813
814 <page name="flash_sleep_and_reboot">
815 <template name="page"/>
816
817 <template name="statusbar"/>
818
819 <text style="text_m">
820 <placement x="%col1_x_left%" y="%row1_header_y%"/>
821 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
822 </text>
823
824 <template name="console"/>
825
826 <template name="progress_bar"/>
827
828 <button style="main_button_half_height">
829 <condition var1="tw_sleep" op="&gt;" var2="0"/>
830 <placement x="%col1_x_right%" y="%row13_y%"/>
831 <text>{@cancel_btn=Cancel}</text>
832 <actions>
833 <action function="set">tw_install_reboot=0</action>
834 <action function="page">flash_done</action>
835 </actions>
836 </button>
837
838 <action>
839 <conditions>
840 <condition var1="tw_sleep" var2="tw_sleep_total"/>
841 <condition var1="tw_install_reboot" var2="1"/>
842 </conditions>
843 <action function="sleepcounter">%tw_sleep_total%</action>
844 </action>
845
846 <action>
847 <conditions>
848 <condition var1="tw_sleep" var2="0"/>
849 <condition var1="tw_install_reboot" var2="1"/>
850 </conditions>
851 <actions>
852 <action function="sleep">50000</action>
853 <action function="set">tw_back=main2</action>
854 <action function="page">reboot_system_routine</action>
855 </actions>
856 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </page>
858
859 <page name="flashimage_type">
860 <template name="page"/>
861
862 <template name="statusbar"/>
863
864 <text style="text_m">
865 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600866 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100867 </text>
868
869 <partitionlist style="partitionlist_headerless_rb">
870 <data name="tw_flash_partition"/>
871 <listtype name="flashimg"/>
872 </partitionlist>
873
epicX8f52c0a2021-02-24 23:12:08 +0530874 <button style="checkbox">
875 <conditions>
876 <condition var1="tw_is_slot_part" op="=" var2="1"/>
877 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
878 <condition var1="tw_has_boot_slots" var2="1"/>
879 </conditions>
880 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
881 <text>{@flash_ab_both_slots=Flash to both slots}</text>
882 <image resource="checkbox_false"/>
883 <action function="set">tw_flash_both_slots=1</action>
884 </button>
885
886 <button style="checkbox">
887 <conditions>
888 <condition var1="tw_is_slot_part" op="=" var2="1"/>
889 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
890 <condition var1="tw_has_boot_slots" var2="1"/>
891 </conditions>
892 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
893 <text>{@flash_ab_both_slots=Flash to both slots}</text>
894 <image resource="checkbox_true"/>
895 <action function="set">tw_flash_both_slots=0</action>
896 </button>
897
z31s1g28f0a922015-11-07 18:50:22 +0100898 <button>
899 <placement x="%col1_x_left%" y="%row11_y%"/>
900 <highlight color="%highlight_color%"/>
901 <image resource="q_btn_arrow_left"/>
902 <action function="page">install</action>
903 </button>
904
905 <button>
906 <placement x="%btn4_col4_x%" y="%row11_y%"/>
907 <highlight color="%highlight_color%"/>
908 <image resource="q_btn_accept_transp"/>
909 <action function="page">flashimage_confirm</action>
910 </button>
911
912 <action>
913 <touch key="back"/>
914 <action function="page">install</action>
915 </action>
916
917 <action>
918 <touch key="home"/>
919 <action function="page">main</action>
920 </action>
921 </page>
922
923 <page name="flashimage_confirm">
924 <template name="page"/>
925
926 <template name="statusbar"/>
927
928 <text style="text_m">
929 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500930 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100931 </text>
932
933 <text style="text_m_accent">
934 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500935 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100936 </text>
937
938 <text style="text_m">
939 <placement x="%indent%" y="%row2_y%"/>
940 <text>%tw_file%</text>
941 </text>
942
943 <button>
944 <fill color="%transparent%"/>
945 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
946 <action function="page">install</action>
947 </button>
948
949 <text style="text_m_accent">
950 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </text>
953
954 <text style="text_m">
955 <placement x="%indent%" y="%row5_y%"/>
956 <text>%tw_flash_partition%</text>
957 </text>
958
959 <button>
960 <fill color="%transparent%"/>
961 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
962 <action function="page">flashimage_type</action>
963 </button>
964
965 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100967 <actions>
968 <action function="set">tw_back=flashimage_confirm</action>
969 <action function="set">tw_action=flashimage</action>
970 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500971 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100972 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <action function="page">action_page</action>
975 </actions>
976 <action function="flashimage"/>
977 </slider>
978
979 <action>
980 <touch key="back"/>
981 <actions>
982 <action function="set">tw_clear_destination=install</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </action>
986
987 <action>
988 <touch key="home"/>
989 <actions>
990 <action function="set">tw_clear_destination=main2</action>
991 <action function="page">clear_vars</action>
992 </actions>
993 </action>
994 </page>
995
996 <page name="clear_vars">
997 <action>
998 <action function="set">tw_operation_state=0</action>
999 <action function="set">tw_text1=</action>
1000 <action function="set">tw_text2=</action>
1001 <action function="set">tw_text3=</action>
1002 <action function="set">tw_text4=</action>
1003 <action function="set">tw_action_text1=</action>
1004 <action function="set">tw_action_text2=</action>
1005 <action function="set">tw_action_param=</action>
1006 <action function="set">tw_has_action2=0</action>
1007 <action function="set">tw_action2=</action>
1008 <action function="set">tw_action2_param=</action>
1009 <action function="set">tw_has_cancel=0</action>
1010 <action function="set">tw_cancel_action=</action>
1011 <action function="set">tw_cancel_param=</action>
1012 <action function="set">tw_show_exclamation=0</action>
1013 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001014 <action function="set">tw_crypto_user_id=</action>
1015 <action function="set">tw_multiuser_warning_accepted=</action>
1016 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +01001017 <action function="page">%tw_clear_destination%</action>
1018 </action>
1019 </page>
1020
Matt Mower908dd252016-05-25 02:26:50 -05001021 <page name="reboot_system_routine">
1022 <action>
1023 <action function="set">tw_back=main2</action>
1024 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05001025 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -05001026 <action function="set">tw_has_action2=0</action>
1027 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1028 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
1029 <action function="set">tw_text3=</action>
1030 <action function="set">tw_text4=</action>
1031 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
1032 <action function="set">tw_action_text2=</action>
1033 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1034 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1035 <action function="page">rebootcheck</action>
1036 </action>
1037 </page>
1038
z31s1g28f0a922015-11-07 18:50:22 +01001039 <page name="confirm_action">
1040 <template name="page"/>
1041
1042 <template name="statusbar"/>
1043
1044 <text style="text_m">
1045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <text style="text_m_accent">
1050 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1051 <text>%tw_text1%</text>
1052 </text>
1053
1054 <text style="text_m_accent">
1055 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1056 <text>%tw_text2%</text>
1057 </text>
1058
1059 <text style="text_m">
1060 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1061 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1062 <text>%tw_text3%</text>
1063 </text>
1064
1065 <text style="text_m">
1066 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1067 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1068 <text>%tw_text4%</text>
1069 </text>
1070
1071 <text style="text_m_fail">
1072 <condition var1="tw_action" var2="changefilesystem"/>
1073 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1074 <text>%tw_text3%</text>
1075 </text>
1076
1077 <text style="text_m_fail">
1078 <condition var1="tw_action" var2="changefilesystem"/>
1079 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1080 <text>%tw_text4%</text>
1081 </text>
1082
1083 <text style="text_m">
1084 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 </text>
1087
1088 <slider>
1089 <text>%tw_slider_text%</text>
1090 <action function="page">action_page</action>
1091 </slider>
1092
1093 <action>
1094 <touch key="back"/>
1095 <actions>
1096 <action function="set">tw_clear_destination=%tw_back%</action>
1097 <action function="page">clear_vars</action>
1098 </actions>
1099 </action>
1100
1101 <action>
1102 <touch key="home"/>
1103 <action function="page">main</action>
1104 </action>
1105 </page>
1106
1107 <page name="action_page">
1108 <template name="page"/>
1109
1110 <template name="statusbar"/>
1111
1112 <text style="text_m">
1113 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1114 <text>%tw_action_text1% %tw_action_text2%</text>
1115 </text>
1116
1117 <template name="console"/>
1118
1119 <template name="progress_bar"/>
1120
1121 <button style="main_button_half_height">
1122 <condition var1="tw_has_cancel" var2="1"/>
1123 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1126 </button>
1127
1128 <action>
1129 <condition var1="tw_operation_state" var2="1"/>
1130 <actions>
1131 <action function="page">action_complete</action>
1132 </actions>
1133 </action>
1134
1135 <action>
1136 <condition var1="tw_has_action2" var2="0"/>
1137 <actions>
1138 <action function="%tw_action%">%tw_action_param%</action>
1139 </actions>
1140 </action>
1141
1142 <action>
1143 <condition var1="tw_has_action2" var2="1"/>
1144 <actions>
1145 <action function="%tw_action%">%tw_action_param%</action>
1146 <action function="%tw_action2%">%tw_action2_param%</action>
1147 </actions>
1148 </action>
1149 </page>
1150
1151 <page name="singleaction_page">
1152 <template name="page"/>
1153
1154 <template name="statusbar"/>
1155
1156 <text style="text_m">
1157 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1158 <text>%tw_action_text1% %tw_action_text2%</text>
1159 </text>
1160
1161 <template name="console"/>
1162
1163 <template name="progress_bar"/>
1164
1165 <action>
1166 <condition var1="tw_operation_state" var2="1"/>
1167 <actions>
1168 <action function="set">tw_page_done=1</action>
1169 </actions>
1170 </action>
1171
1172 <action>
1173 <condition var1="tw_has_action2" var2="0"/>
1174 <actions>
1175 <action function="%tw_action%">%tw_action_param%</action>
1176 </actions>
1177 </action>
1178
1179 <action>
1180 <condition var1="tw_has_action2" var2="1"/>
1181 <actions>
1182 <action function="%tw_action%">%tw_action_param%</action>
1183 <action function="%tw_action2%">%tw_action2_param%</action>
1184 </actions>
1185 </action>
1186 </page>
1187
1188 <page name="action_complete">
1189 <template name="page"/>
1190
1191 <template name="statusbar"/>
1192
1193 <text style="text_m_fail">
1194 <condition var1="tw_operation_status" op="!=" var2="0"/>
1195 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <text style="text_m">
1200 <condition var1="tw_operation_status" var2="0"/>
1201 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <template name="console"/>
1206
1207 <button style="main_button_half_height">
1208 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 <actions>
1211 <action function="set">tw_clear_destination=%tw_back%</action>
1212 <action function="page">clear_vars</action>
1213 </actions>
1214 </button>
1215
1216 <button style="main_button_half_height">
1217 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 <actions>
1220 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001221 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001222 </actions>
1223 </button>
1224
1225 <action>
1226 <touch key="home"/>
1227 <actions>
1228 <action function="set">tw_clear_destination=main2</action>
1229 <action function="page">clear_vars</action>
1230 </actions>
1231 </action>
1232
1233 <action>
1234 <touch key="back"/>
1235 <actions>
1236 <action function="set">tw_clear_destination=%tw_back%</action>
1237 <action function="page">clear_vars</action>
1238 </actions>
1239 </action>
1240 </page>
1241
1242 <page name="filecheck">
1243 <action>
1244 <action function="fileexists">%tw_filecheck%</action>
1245 </action>
1246
1247 <action>
1248 <conditions>
1249 <condition var1="tw_operation_state" var2="1"/>
1250 <condition var1="tw_operation_status" var2="0"/>
1251 </conditions>
1252 <actions>
1253 <action function="set">tw_fileexists=1</action>
1254 <action function="page">%tw_existpage%</action>
1255 </actions>
1256 </action>
1257
1258 <action>
1259 <conditions>
1260 <condition var1="tw_operation_state" var2="1"/>
1261 <condition var1="tw_operation_status" var2="1"/>
1262 </conditions>
1263 <actions>
1264 <action function="set">tw_fileexists=0</action>
1265 <action function="page">%tw_notexistpage%</action>
1266 </actions>
1267 </action>
1268 </page>
1269
1270 <page name="rebootcheck">
1271 <action>
1272 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001273 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </action>
1275
1276 <action>
1277 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1278 <action function="page">confirm_action</action>
1279 </action>
1280 </page>
1281
1282 <page name="wipe_type1">
1283 <template name="page"/>
1284
1285 <template name="statusbar"/>
1286
1287 <text style="text_m">
1288 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001289 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001290 </text>
1291
1292 <button style="main_button_full_width">
1293 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 <action function="page">wipe</action>
1296 </button>
1297
1298 <button style="main_button_full_width">
1299 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 <actions>
1302 <action function="set">partitionlisterror=0</action>
1303 <action function="page">advancedwipe</action>
1304 </actions>
1305 </button>
1306
1307 <button>
1308 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1309 <highlight color="%highlight_color%"/>
1310 <image resource="q_btn_arrow_right"/>
1311 <action function="page">wipe_type2</action>
1312 </button>
1313
1314 <action>
1315 <touch key="home"/>
1316 <action function="page">main</action>
1317 </action>
1318
1319 <action>
1320 <touch key="back"/>
1321 <action function="page">main</action>
1322 </action>
1323 </page>
1324
1325 <page name="wipe_type2">
1326 <template name="page"/>
1327
1328 <template name="statusbar"/>
1329
1330 <text style="text_m">
1331 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <button style="main_button_full_width">
1336 <condition var1="tw_has_data_media" var2="1"/>
1337 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <action function="page">formatdata</action>
1340 </button>
1341
1342 <button style="main_button_full_width">
1343 <conditions>
1344 <condition var1="tw_is_encrypted" var2="1"/>
1345 <condition var1="tw_has_data_media" var2="0"/>
1346 </conditions>
1347 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <actions>
1350 <action function="set">tw_back=wipe</action>
1351 <action function="set">tw_action=wipe</action>
1352 <action function="set">tw_action_param=DATAMEDIA</action>
1353 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001354 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001355 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1357 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1358 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001359 <action function="page">confirm_action</action>
1360 </actions>
1361 </button>
1362
1363 <button style="main_button_full_width">
1364 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001366 <action function="set">partitionlisterror=0</action>
1367 <action function="page">partitionoptions_select</action>
1368 </actions>
1369 </button>
1370
1371 <button>
1372 <placement x="%col1_x_left%" y="%row11_y%"/>
1373 <highlight color="%highlight_color%"/>
1374 <image resource="q_btn_arrow_left"/>
1375 <action function="page">wipe_type1</action>
1376 </button>
1377
1378 <action>
1379 <touch key="home"/>
1380 <action function="page">main</action>
1381 </action>
1382
1383 <action>
1384 <touch key="back"/>
1385 <action function="page">main</action>
1386 </action>
1387 </page>
1388
1389 <page name="wipe">
1390 <template name="page"/>
1391
1392 <template name="statusbar"/>
1393
1394 <text style="text_m">
1395 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m_accent">
1400 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001405 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001406 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1407 </text>
1408
1409 <text style="text_m_accent">
1410 <condition var1="tw_has_data_media" var2="1"/>
1411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001412 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001413 </text>
1414
1415 <text style="text_m_accent">
1416 <conditions>
1417 <condition var1="tw_has_android_secure" var2="1"/>
1418 <condition var1="fileexists" var2="/and-sec"/>
1419 </conditions>
1420 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001421 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001422 </text>
1423
1424 <text style="text_m_accent">
1425 <condition var1="tw_has_sdext_partition" var2="1"/>
1426 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m">
1431 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m">
1436 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m">
1441 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 <actions>
1448 <action function="set">tw_back=wipe</action>
1449 <action function="set">tw_action=wipe</action>
1450 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001451 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1452 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">action_page</action>
1454 </actions>
1455 </slider>
1456
1457 <action>
1458 <touch key="back"/>
1459 <action function="page">wipe_type1</action>
1460 </action>
1461
1462 <action>
1463 <touch key="home"/>
1464 <action function="page">main</action>
1465 </action>
1466 </page>
1467
1468 <page name="advancedwipe">
1469 <action>
1470 <action function="set">tw_wipe_list=</action>
1471 </action>
1472
1473 <template name="page"/>
1474
1475 <template name="statusbar"/>
1476
1477 <text style="text_m">
1478 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001479 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001480 </text>
1481
1482 <partitionlist style="partitionlist_headerless_cb">
1483 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1484 <data name="tw_wipe_list"/>
1485 <listtype name="wipe"/>
1486 </partitionlist>
1487
1488 <fill color="%accent_color%">
1489 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1490 </fill>
1491
1492 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001493 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001494 <actions>
1495 <action function="set">tw_back=advancedwipe</action>
1496 <action function="set">tw_action=wipe</action>
1497 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1499 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1500 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001501 <action function="page">action_page</action>
1502 </actions>
1503 </slider>
1504
1505 <action>
1506 <touch key="home"/>
1507 <action function="page">main</action>
1508 </action>
1509
1510 <action>
1511 <touch key="back"/>
1512 <action function="page">wipe_type1</action>
1513 </action>
1514 </page>
1515
1516 <page name="formatdata">
1517 <template name="page"/>
1518
1519 <template name="statusbar"/>
1520
1521 <text style="text_m">
1522 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001524 </text>
1525
1526 <text style="text_m_fail">
1527 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001529 </text>
1530
1531 <text style="text_m_fail">
1532 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001533 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001534 </text>
1535
1536 <text style="text_m">
1537 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001539 </text>
1540
1541 <input>
1542 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1543 <text>%tw_confirm_formatdata%</text>
1544 <data name="tw_confirm_formatdata"/>
1545 <restrict minlen="3" maxlen="3" allow="yes"/>
1546 <action function="page">formatdata_confirm</action>
1547 </input>
1548
1549 <fill color="%accent_color%">
1550 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1551 </fill>
1552
1553 <template name="keyboardtemplate"/>
1554
1555 <action>
1556 <touch key="home"/>
1557 <action function="page">main</action>
1558 </action>
1559
1560 <action>
1561 <touch key="back"/>
1562 <action function="page">wipe_type2</action>
1563 </action>
1564 </page>
1565
1566 <page name="formatdata_confirm">
1567 <action>
1568 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1569 <actions>
1570 <action function="set">tw_back=formatdata</action>
1571 <action function="set">tw_action=wipe</action>
1572 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1574 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001575 <action function="page">action_page</action>
1576 </actions>
1577 </action>
1578
1579 <action>
1580 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1581 <action function="page">formatdata</action>
1582 </action>
1583 </page>
1584
1585 <page name="checkpartitionlist">
1586 <action>
1587 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1588 <actions>
1589 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001590 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <action function="page">partitionoptions</action>
1592 </actions>
1593 </action>
1594
1595 <action>
1596 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1597 <actions>
1598 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001599 <action function="page">partitionoptions_select</action>
1600 </actions>
1601 </action>
1602 </page>
1603
1604 <page name="partitionoptions_select">
1605 <action>
1606 <action function="set">tw_wipe_list=</action>
1607 </action>
1608
1609 <template name="page"/>
1610
1611 <template name="statusbar"/>
1612
1613 <text style="text_m">
1614 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001616 </text>
1617
1618 <partitionlist style="partitionlist_headerless_cb">
1619 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1620 <data name="tw_wipe_list"/>
1621 <listtype name="wipe"/>
1622 </partitionlist>
1623
1624 <fill color="%accent_color%">
1625 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1626 </fill>
1627
z31s1g28f0a922015-11-07 18:50:22 +01001628 <text style="text_m_fail">
1629 <condition var1="partitionlisterror" var2="1"/>
1630 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <button>
1635 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1636 <highlight color="%highlight_color%"/>
1637 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001638 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001639 <action function="page">checkpartitionlist</action>
1640 </actions>
1641 </button>
1642
1643 <action>
1644 <touch key="home"/>
1645 <action function="page">main</action>
1646 </action>
1647
1648 <action>
1649 <touch key="back"/>
1650 <action function="page">wipe_type2</action>
1651 </action>
1652 </page>
1653
1654 <page name="partitionoptions">
1655
1656 <template name="page"/>
1657
1658 <template name="statusbar"/>
1659
1660 <text style="text_m">
1661 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m_accent">
1666 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001667 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001668 </text>
1669
1670 <text style="text_m_accent">
1671 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001672 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001673 </text>
1674
1675 <text style="text_m">
1676 <condition var1="tw_partition_is_present" var2="1"/>
1677 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <text style="text_m">
1682 <condition var1="tw_partition_is_present" var2="0"/>
1683 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 </text>
1686
1687 <text style="text_m">
1688 <condition var1="tw_partition_removable" var2="1"/>
1689 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <text style="text_m">
1694 <condition var1="tw_partition_removable" var2="0"/>
1695 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </text>
1698
1699 <text style="text_m">
1700 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 </text>
1703
1704 <text style="text_m">
1705 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <text style="text_m">
1710 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </text>
1713
1714 <text style="text_m">
1715 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </text>
1718
1719 <button style="main_button">
1720 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1721 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001723 <actions>
1724 <action function="set">tw_back=partitionoptions</action>
1725 <action function="set">tw_action=resize</action>
1726 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1727 <action function="set">tw_has_action2=1</action>
1728 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001729 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001730 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001732 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1733 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1734 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001735 <action function="page">confirm_action</action>
1736 </actions>
1737 </button>
1738
1739 <button style="main_button">
1740 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1741 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <actions>
1744 <action function="set">tw_back=partitionoptions</action>
1745 <action function="set">tw_action=repair</action>
1746 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1747 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001749 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1751 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1752 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <action function="page">confirm_action</action>
1754 </actions>
1755 </button>
1756
1757 <button>
1758 <placement x="%col1_x_left%" y="%row11_y%"/>
1759 <highlight color="%highlight_color%"/>
1760 <image resource="q_btn_arrow_left"/>
1761 <action function="page">partitionoptions_select</action>
1762 </button>
1763
1764 <button style="main_button">
1765 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <action function="page">selectfilesystem</action>
1768 </button>
1769
1770 <action>
1771 <touch key="home"/>
1772 <action function="page">main</action>
1773 </action>
1774
1775 <action>
1776 <touch key="back"/>
1777 <action function="page">partitionoptions_select</action>
1778 </action>
1779 </page>
1780
1781 <page name="refreshfilesystem">
1782 <action>
1783 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1784 <actions>
1785 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001786 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <action function="page">selectfilesystem</action>
1788 </actions>
1789 </action>
1790
1791 <action>
1792 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1793 <actions>
1794 <action function="set">partitionlisterror=1</action>
1795 <action function="set">tw_wipe_list=</action>
1796 <action function="page">advancedwipe</action>
1797 </actions>
1798 </action>
1799 </page>
1800
1801 <page name="selectfilesystem">
1802 <template name="page"/>
1803
1804 <template name="statusbar"/>
1805
1806 <text style="text_m">
1807 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <button style="main_button">
1812 <condition var1="tw_partition_ext" op="=" var2="1"/>
1813 <placement x="%col1_x_left%" y="%row1_y%"/>
1814 <text>EXT2</text>
1815 <actions>
1816 <action function="set">tw_back=refreshfilesystem</action>
1817 <action function="set">tw_action=changefilesystem</action>
1818 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1819 <action function="set">tw_action_new_file_system=ext2</action>
1820 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1822 <action function="set">tw_text2=EXT2</action>
1823 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1824 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1825 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1826 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1827 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <action function="page">confirm_action</action>
1829 </actions>
1830 </button>
1831
1832 <button style="main_button">
1833 <condition var1="tw_partition_ext" op="=" var2="1"/>
1834 <placement x="%col1_x_left%" y="%row6_y%"/>
1835 <text>EXT3</text>
1836 <actions>
1837 <action function="set">tw_back=refreshfilesystem</action>
1838 <action function="set">tw_action=changefilesystem</action>
1839 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1840 <action function="set">tw_action_new_file_system=ext3</action>
1841 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1843 <action function="set">tw_text2=EXT3</action>
1844 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1845 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1846 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1847 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1848 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001849 <action function="page">confirm_action</action>
1850 </actions>
1851 </button>
1852
1853 <button style="main_button">
1854 <condition var1="tw_partition_ext" op="=" var2="1"/>
1855 <placement x="%col1_x_left%" y="%row11_y%"/>
1856 <text>EXT4</text>
1857 <actions>
1858 <action function="set">tw_back=refreshfilesystem</action>
1859 <action function="set">tw_action=changefilesystem</action>
1860 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1861 <action function="set">tw_action_new_file_system=ext4</action>
1862 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001863 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1864 <action function="set">tw_text2=EXT4</action>
1865 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1866 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1867 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1868 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1869 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001870 <action function="page">confirm_action</action>
1871 </actions>
1872 </button>
1873
1874 <button style="main_button">
1875 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1876 <placement x="%col1_x_right%" y="%row1_y%"/>
1877 <text>FAT</text>
1878 <actions>
1879 <action function="set">tw_back=refreshfilesystem</action>
1880 <action function="set">tw_action=changefilesystem</action>
1881 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1882 <action function="set">tw_action_new_file_system=vfat</action>
1883 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001884 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1885 <action function="set">tw_text2=FAT</action>
1886 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1887 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1888 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1889 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1890 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001891 <action function="page">confirm_action</action>
1892 </actions>
1893 </button>
1894
1895 <button style="main_button">
1896 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1897 <placement x="%col1_x_right%" y="%row6_y%"/>
1898 <text>exFAT</text>
1899 <actions>
1900 <action function="set">tw_back=refreshfilesystem</action>
1901 <action function="set">tw_action=changefilesystem</action>
1902 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1903 <action function="set">tw_action_new_file_system=exfat</action>
1904 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1906 <action function="set">tw_text2=exFAT</action>
1907 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1908 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1909 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1910 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1911 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001912 <action function="page">confirm_action</action>
1913 </actions>
1914 </button>
1915
1916 <button style="main_button">
1917 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1918 <placement x="%col1_x_right%" y="%row11_y%"/>
1919 <text>F2FS</text>
1920 <actions>
1921 <action function="set">tw_back=refreshfilesystem</action>
1922 <action function="set">tw_action=changefilesystem</action>
1923 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1924 <action function="set">tw_action_new_file_system=f2fs</action>
1925 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1927 <action function="set">tw_text2=F2FS</action>
1928 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1929 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1930 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1931 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1932 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001933 <action function="page">confirm_action</action>
1934 </actions>
1935 </button>
1936
1937 <action>
1938 <touch key="home"/>
1939 <action function="page">main</action>
1940 </action>
1941
1942 <action>
1943 <touch key="back"/>
1944 <action function="page">partitionoptions</action>
1945 </action>
1946 </page>
1947
bigbiffce8f83c2015-12-12 18:30:21 -05001948 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001949 <template name="page"/>
1950
Noah Jacobson81d638d2019-04-28 00:10:07 -04001951 <action>
1952 <conditions>
1953 <condition var1="tw_is_fbe" var2="1"/>
1954 <condition var1="tw_all_users_decrypted" var2="0"/>
1955 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1956 </conditions>
1957 <actions>
1958 <action function="set">tw_multiuser_warning_destination=backup</action>
1959 <action function="page">multiuser_warning</action>
1960 </actions>
1961 </action>
1962
z31s1g28f0a922015-11-07 18:50:22 +01001963 <template name="statusbar"/>
1964
1965 <text style="text_m">
1966 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001967 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001968 </text>
1969
1970 <partitionlist style="partitionlist_headerless_rb">
1971 <data name="tw_storage_path"/>
1972 <listtype name="storage"/>
1973 </partitionlist>
1974
1975 <button>
1976 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1977 <highlight color="%highlight_color%"/>
1978 <image resource="q_btn_refresh"/>
1979 <actions>
1980 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001981 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001982 </actions>
1983 </button>
1984
1985 <button>
1986 <condition var1="tw_back" var2="backup_confirm"/>
1987 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1988 <highlight color="%highlight_color%"/>
1989 <image resource="q_btn_accept"/>
1990 <action function="page">backup_confirm</action>
1991 </button>
1992
1993 <button>
1994 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1995 <highlight color="%highlight_color%"/>
1996 <image resource="q_btn_arrow_right"/>
1997 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001998 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001999 <action function="page">backup_selectpartitions</action>
2000 </actions>
2001 </button>
2002
2003 <action>
2004 <touch key="home"/>
2005 <action function="page">main</action>
2006 </action>
2007
2008 <action>
2009 <touch key="back"/>
2010 <action function="page">%tw_back%</action>
2011 </action>
2012
2013 <action>
2014 <touch key="power+voldown"/>
2015 <action function="screenshot"/>
2016 </action>
2017 </page>
2018
2019 <page name="backup_selectpartitions">
2020 <template name="page"/>
2021
2022 <template name="statusbar"/>
2023
2024 <text style="text_m">
2025 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002027 </text>
2028
2029 <partitionlist style="partitionlist_headerless_cb">
2030 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2031 <data name="tw_backup_list"/>
2032 <listtype name="backup"/>
2033 </partitionlist>
2034
2035 <fill color="%accent_color%">
2036 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2037 </fill>
2038
2039 <button>
2040 <placement x="%col1_x_left%" y="%row11_y%"/>
2041 <highlight color="%highlight_color%"/>
2042 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002043 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002044 </button>
2045
2046 <button>
2047 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2048 <highlight color="%highlight_color%"/>
2049 <image resource="q_btn_refresh"/>
2050 <action function="page">backup_selectpartitions</action>
2051 </button>
2052
2053 <button>
2054 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2055 <highlight color="%highlight_color%"/>
2056 <image resource="q_btn_accept"/>
2057 <action function="page">backup_confirm</action>
2058 </button>
2059
2060 <button>
2061 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2062 <highlight color="%highlight_color%"/>
2063 <image resource="q_btn_arrow_right"/>
2064 <actions>
2065 <action function="set">tw_back=backup_selectpartitions</action>
2066 <action function="page">backup_options</action>
2067 </actions>
2068 </button>
2069
2070 <action>
2071 <touch key="home"/>
2072 <action function="page">main</action>
2073 </action>
2074
2075 <action>
2076 <touch key="back"/>
2077 <action function="page">%tw_back%</action>
2078 </action>
2079
2080 <action>
2081 <touch key="power+voldown"/>
2082 <action function="screenshot"/>
2083 </action>
2084 </page>
2085
Noah Jacobson81d638d2019-04-28 00:10:07 -04002086 <page name="multiuser_warning">
2087 <template name="page"/>
2088
2089 <text style="text_m">
2090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2091 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2092 </text>
2093
2094 <text style="text_m_fail">
2095 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2096 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2097 </text>
2098
2099 <text style="text_m_fail">
2100 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2101 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2102 </text>
2103
2104 <button style="main_button_full_width">
2105 <placement x="%col1_x_left%" y="%row6_y%"/>
2106 <text>{@decrypt_users=Decrypt Users}</text>
2107 <action function="page">decrypt_users</action>
2108 </button>
2109
2110 <slider>
2111 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2112 <actions>
2113 <action function="set">tw_multiuser_warning_accepted=1</action>
2114 <action function="page">%tw_multiuser_warning_destination%</action>
2115 </actions>
2116 </slider>
2117
2118 <action>
2119 <touch key="home"/>
2120 <action function="page">main</action>
2121 </action>
2122
2123 <action>
2124 <touch key="back"/>
2125 <action function="page">main</action>
2126 </action>
2127 </page>
2128
z31s1g28f0a922015-11-07 18:50:22 +01002129 <page name="backup_options">
2130 <template name="page"/>
2131
2132 <template name="statusbar"/>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002136 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002137 </text>
2138
2139 <listbox style="scrolllist">
2140 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002142 <data variable="tw_use_compression"/>
2143 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002144 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2145 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002147 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002148 <data variable="tw_disable_free_space"/>
2149 </listitem>
2150 </listbox>
2151
2152 <button>
2153 <placement x="%col1_x_left%" y="%row11_y%"/>
2154 <highlight color="%highlight_color%"/>
2155 <image resource="q_btn_arrow_left"/>
2156 <action function="page">backup_selectpartitions</action>
2157 </button>
2158
2159 <button>
2160 <conditions>
2161 <condition var1="tw_include_encrypted_backup" var2="1"/>
2162 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002163 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002164 </conditions>
2165 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2166 <highlight color="%highlight_color%"/>
2167 <image resource="q_btn_encryption_dis"/>
2168 <actions>
2169 <action function="set">tw_password_not_match=0</action>
2170 <action function="set">tw_back=backup_options</action>
2171 <action function="page">backupencryption</action>
2172 </actions>
2173 </button>
2174
2175 <button>
2176 <conditions>
2177 <condition var1="tw_include_encrypted_backup" var2="1"/>
2178 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002179 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002180 </conditions>
2181 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2182 <highlight color="%highlight_color%"/>
2183 <image resource="q_btn_encryption_en"/>
2184 <actions>
2185 <action function="set">tw_password_not_match=0</action>
2186 <action function="set">tw_back=backup_options</action>
2187 <action function="page">backupencryption</action>
2188 </actions>
2189 </button>
2190
2191 <button>
2192 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2193 <highlight color="%highlight_color%"/>
2194 <image resource="q_btn_accept_transp"/>
2195 <actions>
2196 <action function="set">tw_back=backup_options</action>
2197 <action function="page">backup_confirm</action>
2198 </actions>
2199 </button>
2200
2201 <action>
2202 <touch key="home"/>
2203 <action function="page">main</action>
2204 </action>
2205
2206 <action>
2207 <touch key="back"/>
2208 <action function="page">%tw_back%</action>
2209 </action>
2210
2211 <action>
2212 <touch key="power+voldown"/>
2213 <action function="screenshot"/>
2214 </action>
2215 </page>
2216
2217 <page name="backup_confirm">
2218 <template name="page"/>
2219
2220 <template name="statusbar"/>
2221
2222 <text style="text_m">
2223 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002224 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002225 </text>
2226
2227 <text style="text_m_accent">
2228 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <placement x="%col1_x_left%" y="%row2_y%"/>
2234 <text>%tw_backup_name%</text>
2235 </text>
2236
2237 <fill color="%accent_color%">
2238 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2239 </fill>
2240
2241 <button>
2242 <fill color="%transparent%"/>
2243 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2244 <actions>
2245 <action function="set">tw_back=backup_confirm</action>
2246 <action function="set">tw_fileexists=0</action>
2247 <action function="page">backup_name1</action>
2248 </actions>
2249 </button>
2250
2251 <fill color="%background_color%">
2252 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2253 </fill>
2254
2255 <text style="text_m_accent">
2256 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <partitionlist style="partitionlist_summary">
2261 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2262 <data name="tw_backup_list"/>
2263 <listtype name="backup"/>
2264 </partitionlist>
2265
2266 <button>
2267 <fill color="%transparent%"/>
2268 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2269 <actions>
2270 <action function="set">tw_back=backup_confirm</action>
2271 <action function="page">backup_selectpartitions</action>
2272 </actions>
2273 </button>
2274
2275 <text style="text_m_accent">
2276 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </text>
2279
2280 <text style="text_m">
2281 <placement x="%col1_x_right%" y="%row2_y%"/>
2282 <text>%tw_storage_display_name%</text>
2283 </text>
2284
2285 <button>
2286 <fill color="%transparent%"/>
2287 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2288 <actions>
2289 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002290 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </actions>
2292 </button>
2293
2294 <text style="text_m_accent">
2295 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002297 </text>
2298
2299 <text style="text_m">
2300 <conditions>
2301 <condition var1="tw_include_encrypted_backup" var2="1"/>
2302 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002303 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002304 </conditions>
2305 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m">
2310 <conditions>
2311 <condition var1="tw_include_encrypted_backup" var2="1"/>
2312 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002313 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002314 </conditions>
2315 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002316 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002317 </text>
2318
2319 <button>
2320 <fill color="%transparent%"/>
2321 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2322 <actions>
2323 <action function="set">tw_back=backup_confirm</action>
2324 <action function="page">backupencryption</action>
2325 </actions>
2326 </button>
2327
2328 <listbox style="listbox_options">
2329 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002331 <data variable="tw_use_compression"/>
2332 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002333 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2334 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002336 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002337 <data variable="tw_disable_free_space"/>
2338 </listitem>
2339 </listbox>
2340
2341 <text style="text_m_accent">
2342 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002343 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002344 </text>
2345
2346 <button>
2347 <fill color="%transparent%"/>
2348 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2349 <actions>
2350 <action function="set">tw_back=backup_confirm</action>
2351 <action function="page">backup_options</action>
2352 </actions>
2353 </button>
2354
2355 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 <action function="page">backup_run</action>
2358 </slider>
2359
2360 <action>
2361 <touch key="home"/>
2362 <action function="page">main</action>
2363 </action>
2364
2365 <action>
2366 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002367 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002368 </action>
2369 </page>
2370
2371 <page name="backup_name1">
2372 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002374 <action function="generatebackupname"/>
2375 </action>
2376
2377 <action>
2378 <action function="page">backup_name2</action>
2379 </action>
2380 </page>
2381
2382 <page name="backup_name2">
2383 <template name="page"/>
2384
2385 <template name="statusbar"/>
2386
2387 <text style="text_m">
2388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002389 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002390 </text>
2391
2392 <text style="text_m_accent">
2393 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 </text>
2396
2397 <input>
2398 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2399 <text>%tw_backup_name%</text>
2400 <data name="tw_backup_name"/>
2401 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2402 <actions>
2403 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2404 <action function="set">tw_existpage=backup_name2</action>
2405 <action function="set">tw_notexistpage=backup_confirm</action>
2406 <action function="page">filecheck</action>
2407 </actions>
2408 </input>
2409
2410 <fill color="%accent_color%">
2411 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2412 </fill>
2413
2414 <fill color="%text_fail_color%">
2415 <condition var1="tw_fileexists" var2="1"/>
2416 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2417 </fill>
2418
2419 <text style="text_m_fail">
2420 <condition var1="tw_fileexists" var2="1"/>
2421 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <button style="main_button_half_height">
2426 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002429 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002430 <action function="page">backup_confirm</action>
2431 </actions>
2432 </button>
2433
2434 <button style="main_button_half_height">
2435 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002436 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002437 <action function="appenddatetobackupname"/>
2438 </button>
2439
2440 <template name="keyboardtemplate"/>
2441
2442 <action>
2443 <touch key="home"/>
2444 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="page">main</action>
2447 </actions>
2448 </action>
2449
2450 <action>
2451 <touch key="back"/>
2452 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002453 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002454 <action function="page">backup_confirm</action>
2455 </actions>
2456 </action>
2457 </page>
2458
2459 <page name="backupencryption">
2460 <template name="page"/>
2461
2462 <template name="statusbar"/>
2463
2464 <text style="text_m">
2465 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 </text>
2468
2469 <text style="text_m_accent">
2470 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002471 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002472 </text>
2473
2474 <input>
2475 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2476 <text>%tw_backup_encrypt_display%</text>
2477 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2478 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2479 <action function="page">backupencryption2</action>
2480 </input>
2481
2482 <fill color="%accent_color%">
2483 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2484 </fill>
2485
2486 <fill color="%text_fail_color%">
2487 <condition var1="tw_password_not_match" var2="1"/>
2488 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2489 </fill>
2490
2491 <text style="text_m_fail">
2492 <condition var1="tw_password_not_match" var2="1"/>
2493 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002494 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002495 </text>
2496
2497 <button style="main_button_half_height">
2498 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 <actions>
2501 <action function="set">tw_encrypt_backup=0</action>
2502 <action function="set">tw_backup_password=</action>
2503 <action function="set">tw_backup_password2=</action>
2504 <action function="set">tw_backup_encrypt_display=</action>
2505 <action function="set">tw_backup_encrypt_display2=</action>
2506 <action function="page">%tw_back%</action>
2507 </actions>
2508 </button>
2509
2510 <template name="keyboardtemplate"/>
2511
2512 <action>
2513 <touch key="home"/>
2514 <action function="page">main</action>
2515 </action>
2516
2517 <action>
2518 <touch key="back"/>
2519 <action function="page">%tw_back%</action>
2520 </action>
2521 </page>
2522
2523 <page name="backupencryption2">
2524 <template name="page"/>
2525
2526 <template name="statusbar"/>
2527
2528 <text style="text_m">
2529 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 </text>
2532
2533 <text style="text_m_accent">
2534 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002535 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002536 </text>
2537
2538 <input>
2539 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2540 <text>%tw_backup_encrypt_display2%</text>
2541 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2542 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2543 <action function="page">checkbackuppassword</action>
2544 </input>
2545
2546 <fill color="%accent_color%">
2547 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2548 </fill>
2549
2550 <button style="main_button_half_height">
2551 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <actions>
2554 <action function="set">tw_encrypt_backup=0</action>
2555 <action function="set">tw_backup_password=</action>
2556 <action function="set">tw_backup_password2=</action>
2557 <action function="set">tw_backup_encrypt_display=</action>
2558 <action function="set">tw_backup_encrypt_display2=</action>
2559 <action function="page">%tw_back%</action>
2560 </actions>
2561 </button>
2562
2563 <template name="keyboardtemplate"/>
2564
2565 <action>
2566 <touch key="home"/>
2567 <action function="page">main</action>
2568 </action>
2569
2570 <action>
2571 <touch key="back"/>
2572 <action function="page">%tw_back%</action>
2573 </action>
2574 </page>
2575
2576 <page name="checkbackuppassword">
2577 <action>
2578 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2579 <actions>
2580 <action function="set">tw_encrypt_backup=1</action>
2581 <action function="page">%tw_back%</action>
2582 </actions>
2583 </action>
2584
2585 <action>
2586 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2587 <actions>
2588 <action function="set">tw_encrypt_backup=0</action>
2589 <action function="set">tw_password_not_match=1</action>
2590 <action function="set">tw_backup_password=</action>
2591 <action function="set">tw_backup_password2=</action>
2592 <action function="set">tw_backup_encrypt_display=</action>
2593 <action function="set">tw_backup_encrypt_display2=</action>
2594 <action function="page">backupencryption</action>
2595 </actions>
2596 </action>
2597 </page>
2598
2599 <page name="backup_run">
2600 <template name="page"/>
2601
2602 <template name="statusbar"/>
2603
2604 <text style="text_m">
2605 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2606 <text>%tw_operation% %tw_partition%</text>
2607 </text>
2608
2609 <template name="console"/>
2610
2611 <template name="progress_bar"/>
2612
2613 <text style="text_m">
2614 <placement x="%indent%" y="%row13a_y%"/>
2615 <text>%tw_file_progress%</text>
2616 </text>
2617
2618 <text style="text_m">
2619 <placement x="%indent%" y="%row14a_y%"/>
2620 <text>%tw_size_progress%</text>
2621 </text>
2622
2623 <button style="main_button_half_height">
2624 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="cancelbackup"/>
2627 </button>
2628
2629 <action>
2630 <action function="nandroid">backup</action>
2631 </action>
2632
2633 <action>
2634 <condition var1="tw_operation_state" var2="1"/>
2635 <condition var1="tw_cancel_backup" var2="0"/>
2636 <actions>
2637 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <action function="set">tw_show_reboot=1</action>
2640 <action function="page">action_complete</action>
2641 </actions>
2642 </action>
2643
2644 <action>
2645 <condition var1="tw_operation_state" var2="1"/>
2646 <condition var1="tw_cancel_backup" var2="1"/>
2647 <actions>
2648 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002650 <action function="set">tw_show_reboot=1</action>
2651 <action function="page">action_complete</action>
2652 </actions>
2653 </action>
2654 </page>
2655
2656 <page name="restore">
2657 <template name="page"/>
2658
Noah Jacobson81d638d2019-04-28 00:10:07 -04002659 <action>
2660 <conditions>
2661 <condition var1="tw_is_fbe" var2="1"/>
2662 <condition var1="tw_all_users_decrypted" var2="0"/>
2663 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2664 </conditions>
2665 <actions>
2666 <action function="set">tw_multiuser_warning_destination=restore</action>
2667 <action function="page">multiuser_warning</action>
2668 </actions>
2669 </action>
2670
z31s1g28f0a922015-11-07 18:50:22 +01002671 <template name="statusbar"/>
2672
2673 <text style="text_m">
2674 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 </text>
2677
2678 <fileselector>
2679 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2680 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002681 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002682 <path name="tw_backups_folder"/>
2683 <data name="tw_restore" default=""/>
2684 <selection name="tw_restore_name"/>
2685 </fileselector>
2686
2687 <button>
2688 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2689 <highlight color="%highlight_color%"/>
2690 <image resource="q_btn_storage"/>
2691 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <action function="set">tw_back=restore</action>
2694 <action function="page">select_storage</action>
2695 </actions>
2696 </button>
2697
2698 <action>
2699 <condition var1="tw_restore" op="modified"/>
2700 <actions>
2701 <action function="readBackup"/>
2702 <action function="set">tw_back=restore</action>
2703 <action function="page">restore_read</action>
2704 </actions>
2705 </action>
2706
2707 <action>
2708 <touch key="home"/>
2709 <action function="page">main</action>
2710 </action>
2711
2712 <action>
2713 <touch key="back"/>
2714 <action function="page">main</action>
2715 </action>
2716 </page>
2717
2718 <page name="restore_read">
2719 <action>
2720 <condition var1="tw_restore_encrypted" var2="1"/>
2721 <actions>
2722 <action function="set">tw_password_fail=0</action>
2723 <action function="page">restore_decrypt</action>
2724 </actions>
2725 </action>
2726
2727 <action>
2728 <condition var1="tw_restore_encrypted" var2="0"/>
2729 <actions>
2730 <action function="page">restore_select</action>
2731 </actions>
2732 </action>
2733 </page>
2734
2735 <page name="restore_decrypt">
2736 <template name="page"/>
2737
2738 <template name="statusbar"/>
2739
2740 <text style="text_m">
2741 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002742 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002743 </text>
2744
2745 <text style="text_m_accent">
2746 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <input>
2751 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2752 <text>%tw_restore_display%</text>
2753 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2754 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2755 <action function="page">try_restore_decrypt</action>
2756 </input>
2757
2758 <fill color="%accent_color%">
2759 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2760 </fill>
2761
2762 <fill color="%text_fail_color%">
2763 <condition var1="tw_password_fail" var2="1"/>
2764 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2765 </fill>
2766
2767 <text style="text_m_fail">
2768 <condition var1="tw_password_fail" var2="1"/>
2769 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 </text>
2772
2773 <button style="main_button_half_height">
2774 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002776 <actions>
2777 <action function="set">tw_page_done=1</action>
2778 <action function="page">restore</action>
2779 </actions>
2780 </button>
2781
2782 <button style="main_button_half_height">
2783 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 <actions>
2786 <action function="set">tw_back=restore</action>
2787 <action function="set">tw_action=cmd</action>
2788 <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 -05002789 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2790 <action function="set">tw_text2=%tw_restore_name%</action>
2791 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2792 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2793 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2794 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002795 <action function="page">confirm_action</action>
2796 </actions>
2797 </button>
2798
2799 <template name="keyboardtemplate"/>
2800
2801 <action>
2802 <touch key="home"/>
2803 <action function="page">main</action>
2804 </action>
2805
2806 <action>
2807 <touch key="back"/>
2808 <action function="page">restore</action>
2809 </action>
2810 </page>
2811
2812 <page name="try_restore_decrypt">
2813 <template name="page"/>
2814
2815 <template name="statusbar"/>
2816
2817 <text style="text_m">
2818 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </text>
2821
2822 <template name="console"/>
2823
2824 <template name="progress_bar"/>
2825
2826 <action>
2827 <action function="decrypt_backup"/>
2828 </action>
2829
2830 <action>
2831 <conditions>
2832 <condition var1="tw_operation_state" var2="1"/>
2833 <condition var1="tw_operation_status" op="!=" var2="0"/>
2834 </conditions>
2835 <actions>
2836 <action function="set">tw_password_fail=1</action>
2837 <action function="page">restore_decrypt</action>
2838 </actions>
2839 </action>
2840
2841 <action>
2842 <conditions>
2843 <condition var1="tw_operation_state" var2="1"/>
2844 <condition var1="tw_operation_status" op="=" var2="0"/>
2845 </conditions>
2846 <actions>
2847 <action function="set">tw_page_done=1</action>
2848 <action function="page">restore_select</action>
2849 </actions>
2850 </action>
2851 </page>
2852
2853 <page name="restore_select">
2854 <template name="page"/>
2855
2856 <template name="statusbar"/>
2857
2858 <text style="text_m">
2859 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 </text>
2862
2863 <partitionlist style="partitionlist_headerless_cb">
2864 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2865 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2866 <listtype name="restore"/>
2867 </partitionlist>
2868
2869 <fill color="%accent_color%">
2870 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2871 </fill>
2872
2873 <button>
2874 <placement x="%col1_x_left%" y="%row11_y%"/>
2875 <highlight color="%highlight_color%"/>
2876 <image resource="q_btn_arrow_left"/>
2877 <action function="page">restore</action>
2878 </button>
2879
2880 <button>
2881 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2882 <highlight color="%highlight_color%"/>
2883 <image resource="q_btn_delete"/>
2884 <actions>
2885 <action function="set">tw_back=restore</action>
2886 <action function="set">tw_action=cmd</action>
2887 <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 -05002888 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002889 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2891 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2892 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2893 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002894 <action function="page">confirm_action</action>
2895 </actions>
2896 </button>
2897
2898 <button>
2899 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2900 <highlight color="%highlight_color%"/>
2901 <image resource="q_btn_accept"/>
2902 <action function="page">restore_confirm</action>
2903 </button>
2904
2905 <button>
2906 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2907 <highlight color="%highlight_color%"/>
2908 <image resource="q_btn_arrow_right"/>
2909 <actions>
2910 <action function="set">tw_back=restore_select</action>
2911 <action function="page">restore_options</action>
2912 </actions>
2913 </button>
2914
2915 <action>
2916 <touch key="home"/>
2917 <action function="page">main</action>
2918 </action>
2919
2920 <action>
2921 <touch key="back"/>
2922 <action function="page">%tw_back%</action>
2923 </action>
2924 </page>
2925
2926 <page name="restore_options">
2927 <template name="page"/>
2928
2929 <template name="statusbar"/>
2930
2931 <text style="text_m">
2932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002933 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002934 </text>
2935
2936 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002937 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002939 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2940 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002941 </listitem>
2942 </listbox>
2943
2944 <button>
2945 <placement x="%col1_x_left%" y="%row11_y%"/>
2946 <highlight color="%highlight_color%"/>
2947 <image resource="q_btn_arrow_left"/>
2948 <action function="page">restore_select</action>
2949 </button>
2950
2951 <button>
2952 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2953 <highlight color="%highlight_color%"/>
2954 <image resource="q_btn_accept_transp"/>
2955 <actions>
2956 <action function="set">tw_back=restore_options</action>
2957 <action function="page">restore_confirm</action>
2958 </actions>
2959 </button>
2960
2961 <action>
2962 <touch key="home"/>
2963 <action function="page">main</action>
2964 </action>
2965
2966 <action>
2967 <touch key="back"/>
2968 <action function="page">%tw_back%</action>
2969 </action>
2970
2971 <action>
2972 <touch key="power+voldown"/>
2973 <action function="screenshot"/>
2974 </action>
2975 </page>
2976
2977 <page name="renamebackup">
2978 <template name="page"/>
2979
2980 <template name="statusbar"/>
2981
2982 <text style="text_m">
2983 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <text style="text_m_accent">
2988 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <input>
2993 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2994 <text>%tw_backup_rename%</text>
2995 <data name="tw_backup_rename"/>
2996 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2997 <actions>
2998 <action function="set">tw_back=restore</action>
2999 <action function="set">tw_action=cmd</action>
3000 <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 -05003001 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
3002 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
3003 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
3004 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
3005 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003006 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
3007 <action function="set">tw_existpage=renamebackup</action>
3008 <action function="set">tw_notexistpage=confirm_action</action>
3009 <action function="page">filecheck</action>
3010 </actions>
3011 </input>
3012
3013 <fill color="%accent_color%">
3014 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3015 </fill>
3016
3017 <fill color="%text_fail_color%">
3018 <condition var1="tw_fileexists" var2="1"/>
3019 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3020 </fill>
3021
3022 <text style="text_m_fail">
3023 <condition var1="tw_fileexists" var2="1"/>
3024 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 </text>
3027
3028 <button style="main_button_half_height">
3029 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003031 <action function="page">restore_confirm</action>
3032 </button>
3033
3034 <template name="keyboardtemplate"/>
3035
3036 <action>
3037 <touch key="home"/>
3038 <action function="page">main</action>
3039 </action>
3040
3041 <action>
3042 <touch key="back"/>
3043 <action function="page">restore_confirm</action>
3044 </action>
3045 </page>
3046
3047 <page name="restore_confirm">
3048 <template name="page"/>
3049
3050 <template name="statusbar"/>
3051
3052 <text style="text_m">
3053 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 </text>
3056
3057 <text style="text_m_accent">
3058 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 </text>
3061
3062 <text style="text_m">
3063 <placement x="%indent%" y="%row2_y%"/>
3064 <text>%tw_restore_name%</text>
3065 </text>
3066
3067 <fill color="%accent_color%">
3068 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3069 </fill>
3070
3071 <button>
3072 <fill color="%transparent%"/>
3073 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3074 <actions>
3075 <action function="set">tw_back=restore_confirm</action>
3076 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3077 <action function="set">tw_fileexists=0</action>
3078 <action function="page">renamebackup</action>
3079 </actions>
3080 </button>
3081
3082 <text style="text_m_accent">
3083 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </text>
3086
3087 <partitionlist style="partitionlist_summary">
3088 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3089 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3090 <listtype name="restore"/>
3091 </partitionlist>
3092
3093 <button>
3094 <fill color="%transparent%"/>
3095 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3096 <actions>
3097 <action function="set">tw_back=restore_confirm</action>
3098 <action function="page">restore_select</action>
3099 </actions>
3100 </button>
3101
3102 <listbox style="listbox_options">
3103 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003104 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3105 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003106 </listitem>
3107 </listbox>
3108
3109 <text style="text_m_accent">
3110 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 </text>
3113
3114 <button>
3115 <fill color="%transparent%"/>
3116 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3117 <actions>
3118 <action function="set">tw_back=restore_confirm</action>
3119 <action function="page">restore_options</action>
3120 </actions>
3121 </button>
3122
3123 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003124 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003125 <action function="page">restore_run</action>
3126 </slider>
3127
3128 <action>
3129 <touch key="home"/>
3130 <action function="page">main</action>
3131 </action>
3132
3133 <action>
3134 <touch key="back"/>
3135 <action function="page">restore_options</action>
3136 </action>
3137 </page>
3138
3139 <page name="restore_run">
3140 <template name="page"/>
3141
3142 <template name="statusbar"/>
3143
3144 <text style="text_m">
3145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3146 <text>%tw_operation% %tw_partition%</text>
3147 </text>
3148
3149 <template name="console"/>
3150
3151 <template name="progress_bar"/>
3152
3153 <text style="text_m">
3154 <placement x="%indent%" y="%row14a_y%"/>
3155 <text>%tw_size_progress%</text>
3156 </text>
3157
3158 <action>
3159 <condition var1="tw_operation_state" var2="1"/>
3160 <actions>
3161 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003162 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <action function="set">tw_show_reboot=1</action>
3164 <action function="page">action_complete</action>
3165 </actions>
3166 </action>
3167
3168 <action>
3169 <action function="nandroid">restore</action>
3170 </action>
3171 </page>
3172
3173 <page name="mount">
3174 <template name="page"/>
3175
3176 <template name="statusbar"/>
3177
3178 <text style="text_m">
3179 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 </text>
3182
3183 <partitionlist style="partitionlist_headerless_cb">
3184 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3185 <listtype name="mount"/>
3186 </partitionlist>
3187
3188 <fill color="%accent_color%">
3189 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3190 </fill>
3191
3192 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003193 <conditions>
3194 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3195 <condition var1="tw_is_super" op="=" var2="0"/>
3196 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003197 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003198 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003199 <image resource="checkbox_false"/>
3200 <action function="mountsystemtoggle">1</action>
3201 </button>
3202
3203 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003204 <conditions>
3205 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3206 <condition var1="tw_is_super" op="=" var2="0"/>
3207 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003208 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 <image resource="checkbox_true"/>
3211 <actions>
3212 <action function="set">tw_lifetime_writes=2</action>
3213 <action function="page">system_readonly_check</action>
3214 </actions>
3215 </button>
3216
3217 <button style="checkbox">
3218 <conditions>
3219 <condition var1="tw_has_mtp" var2="1"/>
3220 <condition var1="tw_mtp_enabled" var2="0"/>
3221 </conditions>
3222 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3223 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 <action function="startmtp"/>
3226 </button>
3227
3228 <button style="checkbox">
3229 <conditions>
3230 <condition var1="tw_has_mtp" var2="1"/>
3231 <condition var1="tw_mtp_enabled" var2="1"/>
3232 </conditions>
3233 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3234 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="stopmtp"/>
3237 </button>
3238
3239 <button>
3240 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3241 <highlight color="%highlight_color%"/>
3242 <image resource="q_btn_storage"/>
3243 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003245 <action function="set">tw_back=mount</action>
3246 <action function="page">select_storage</action>
3247 </actions>
3248 </button>
3249
3250 <button>
3251 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3252 <highlight color="%highlight_color%"/>
3253 <image resource="q_btn_arrow_right"/>
3254 <action function="page">mount_options</action>
3255 </button>
3256
3257 <action>
3258 <touch key="home"/>
3259 <action function="page">main</action>
3260 </action>
3261
3262 <action>
3263 <touch key="back"/>
3264 <action function="page">main</action>
3265 </action>
3266 </page>
3267
3268 <page name="mount_options">
3269 <template name="page"/>
3270
3271 <template name="statusbar"/>
3272
3273 <text style="text_m">
3274 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 </text>
3277
3278 <button style="main_button_full_width">
3279 <condition var1="tw_has_usb_storage" var2="1"/>
3280 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <action function="page">usb_mount</action>
3283 </button>
3284
3285 <button style="main_button_full_width">
3286 <conditions>
3287 <condition var1="tw_is_encrypted" var2="1"/>
3288 <condition var1="tw_is_decrypted" var2="0"/>
3289 </conditions>
3290 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003291 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003292 <action function="set">tw_crypto_user_id=0</action>
3293 <action function="set">tw_crypto_password=</action>
3294 <action function="set">tw_password_fail=0</action>
3295 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <action function="page">decrypt</action>
3297 </button>
3298
3299 <button>
3300 <placement x="%col1_x_left%" y="%row11_y%"/>
3301 <highlight color="%highlight_color%"/>
3302 <image resource="q_btn_arrow_left"/>
3303 <action function="page">mount</action>
3304 </button>
3305
3306 <action>
3307 <touch key="home"/>
3308 <action function="page">main</action>
3309 </action>
3310
3311 <action>
3312 <touch key="back"/>
3313 <action function="page">mount</action>
3314 </action>
3315 </page>
3316
3317 <page name="usb_mount">
3318 <template name="page"/>
3319
3320 <template name="statusbar"/>
3321
3322 <text style="text_m">
3323 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003324 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003325 </text>
3326
3327 <text style="text_m_accent">
3328 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </text>
3331
3332 <text style="text_m_fail">
3333 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </text>
3336
3337 <text style="text_m_fail">
3338 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <button style="main_button">
3343 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003345 <action function="page">usb_umount</action>
3346 </button>
3347
3348 <action>
3349 <action function="mount">usb</action>
3350 <action function="set">tw_busy=1</action>
3351 </action>
3352 </page>
3353
3354 <page name="usb_umount">
3355 <action>
3356 <action function="unmount">usb</action>
3357 </action>
3358
3359 <action>
3360 <action function="page">mount_options</action>
3361 <action function="set">tw_busy=0</action>
3362 </action>
3363 </page>
3364
3365 <page name="system_readonly_check">
3366 <action>
3367 <action function="checkpartitionlifetimewrites">/system</action>
3368 </action>
3369
3370 <action>
3371 <condition var1="tw_lifetime_writes" var2="1"/>
3372 <actions>
3373 <action function="mountsystemtoggle">0</action>
3374 <action function="page">mount</action>
3375 </actions>
3376 </action>
3377
3378 <action>
3379 <condition var1="tw_lifetime_writes" var2="0"/>
3380 <actions>
3381 <action function="set">tw_back=mount</action>
3382 <action function="page">system_readonly</action>
3383 </actions>
3384 </action>
3385 </page>
3386
3387 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06003388 <action>
3389 <action function="checkforapp"></action>
3390 <action function="page">reboot2</action>
3391 </action>
3392 </page>
3393
3394 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003395 <template name="page"/>
3396
3397 <template name="statusbar"/>
3398
3399 <text style="text_m">
3400 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003401 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003402 </text>
3403
3404 <button style="main_button">
3405 <condition var1="tw_reboot_system" var2="1"/>
3406 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003408 <actions>
3409 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003410 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003411 </actions>
3412 </button>
3413
3414 <button style="main_button">
3415 <condition var1="tw_reboot_poweroff" var2="1"/>
3416 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003417 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003418 <actions>
3419 <action function="set">tw_back=reboot</action>
3420 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003421 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003422 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003423 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3425 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3426 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3427 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3428 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003429 <action function="page">rebootcheck</action>
3430 </actions>
3431 </button>
3432
3433 <button style="main_button">
3434 <condition var1="tw_reboot_recovery" var2="1"/>
3435 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 <actions>
3438 <action function="set">tw_back=reboot</action>
3439 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003440 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003441 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003442 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3444 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3445 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3446 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3447 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <action function="page">rebootcheck</action>
3449 </actions>
3450 </button>
3451
3452 <button style="main_button">
3453 <condition var1="tw_reboot_bootloader" var2="1"/>
3454 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <actions>
3457 <action function="set">tw_back=reboot</action>
3458 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003459 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003460 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3463 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3464 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3465 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3466 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003467 <action function="page">rebootcheck</action>
3468 </actions>
3469 </button>
3470
3471 <button style="main_button">
3472 <condition var1="tw_download_mode" var2="1"/>
3473 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003475 <actions>
3476 <action function="set">tw_back=reboot</action>
3477 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003478 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003479 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3482 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3483 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3484 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3485 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003486 <action function="page">rebootcheck</action>
3487 </actions>
3488 </button>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003489
mauronofrioe9a49ef2018-10-03 13:38:16 +02003490 <button style="main_button">
3491 <condition var1="tw_edl_mode" var2="1"/>
3492 <placement x="%col1_x_right%" y="%row11_y%"/>
3493 <text>{@rb_edl_btn=Edl}</text>
3494 <actions>
3495 <action function="set">tw_back=reboot</action>
3496 <action function="set">tw_action=reboot</action>
3497 <action function="set">tw_action_param=edl</action>
3498 <action function="set">tw_reboot_param=edl</action>
3499 <action function="set">tw_has_action2=0</action>
3500 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3501 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3502 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3503 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3504 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3505 <action function="page">rebootcheck</action>
3506 </actions>
3507 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003508
3509 <action>
3510 <touch key="home"/>
3511 <action function="page">main</action>
3512 </action>
3513
3514 <action>
3515 <touch key="back"/>
3516 <action function="page">main</action>
3517 </action>
3518 </page>
3519
Ethan Yonker8581ab32020-12-17 14:51:50 -06003520 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003521 <template name="page"/>
3522
3523 <template name="statusbar"/>
3524
3525 <text style="text_m">
3526 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003527 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003528 </text>
3529
3530 <text style="text_m_accent">
3531 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3532 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3533 </text>
3534
3535 <text style="text_m">
3536 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3537 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3538 </text>
3539
3540 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003541 <condition var1="tw_mount_system_ro" var2="0"/>
3542 <placement x="%indent%" y="%row5_y%"/>
3543 <text>{@reboot_install_app_system=Install as a System App}</text>
3544 <data variable="tw_app_install_system"/>
3545 </checkbox>
3546
3547 <button style="main_button_half_height">
3548 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003549 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003550 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003551 </button>
3552
Ethan Yonker8581ab32020-12-17 14:51:50 -06003553 <slider>
3554 <text>{@swipe_confirm= Confirm}</text>
3555 <actions>
3556 <action function="set">tw_action=installapp</action>
3557 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3558 <action function="set">tw_action_text2=</action>
3559 <action function="set">tw_complete_text1={@successful=Successful}</action>
3560 <action function="page">action_page</action>
3561 </actions>
3562 </slider>
3563
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003564 <action>
3565 <touch key="home"/>
3566 <actions>
3567 <action function="set">tw_app_install_status=0</action>
3568 <action function="page">main</action>
3569 </actions>
3570 </action>
3571
3572 <action>
3573 <touch key="back"/>
3574 <actions>
3575 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003576 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003577 </actions>
3578 </action>
3579 </page>
3580
z31s1g28f0a922015-11-07 18:50:22 +01003581 <page name="system_readonly">
3582 <template name="page"/>
3583
3584 <template name="statusbar"/>
3585
3586 <text style="text_m">
3587 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </text>
3590
3591 <text style="text_m_accent">
3592 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 </text>
3595
3596 <text style="text_m">
3597 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003598 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003599 </text>
3600
3601 <text style="text_m">
3602 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 </text>
3605
3606 <text style="text_m">
3607 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 </text>
3610
3611 <text style="text_m">
3612 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 </text>
3615
3616 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003617 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003618 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003619 </text>
3620
3621 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003622 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003624 </text>
3625
z31s1g608d7ff2016-01-18 19:47:25 +01003626 <button style="main_button_half_height">
3627 <placement x="%col1_x_right%" y="%row8a_y%"/>
3628 <text>{@sel_lang_btn=Select Language}</text>
3629 <action function="page">settings_language</action>
3630 </button>
3631
z31s1g28f0a922015-11-07 18:50:22 +01003632 <checkbox>
3633 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003634 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <data variable="tw_never_show_system_ro_page"/>
3637 </checkbox>
3638
3639 <button style="main_button_half_height">
3640 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003641 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003642 <actions>
3643 <action function="mountsystemtoggle">1</action>
3644 <action function="set">tw_page_done=1</action>
3645 <action function="page">%tw_back%</action>
3646 </actions>
3647 </button>
3648
3649 <button style="main_button_half_height">
3650 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <actions>
3653 <action function="mountsystemtoggle">0</action>
3654 <action function="set">tw_page_done=1</action>
3655 <action function="page">%tw_back%</action>
3656 </actions>
3657 </button>
3658 </page>
3659
3660 <page name="settings">
3661 <template name="page"/>
3662
3663 <template name="statusbar"/>
3664
3665 <text style="text_m">
3666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003667 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003668 </text>
3669
3670 <button style="main_button">
3671 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="page">settings_general</action>
3674 </button>
3675
3676 <button style="main_button">
3677 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003679 <action function="page">settings_timezone</action>
3680 </button>
3681
3682 <button style="main_button">
3683 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 <action function="page">settings_screen</action>
3686 </button>
3687
3688 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003689 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003690 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003692 <action function="page">settings_vibration</action>
3693 </button>
3694
3695 <button style="main_button">
3696 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 <action function="page">settings_language</action>
3699 </button>
3700
3701 <button>
3702 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3703 <highlight color="%highlight_color%"/>
3704 <image resource="q_btn_reset"/>
3705 <action function="restoredefaultsettings"/>
3706 </button>
3707
3708 <action>
3709 <touch key="home"/>
3710 <action function="page">main</action>
3711 </action>
3712
3713 <action>
3714 <touch key="back"/>
3715 <action function="page">main3</action>
3716 </action>
3717 </page>
3718
3719 <page name="settings_general">
3720 <template name="page"/>
3721
3722 <template name="statusbar"/>
3723
3724 <text style="text_m">
3725 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003726 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003727 </text>
3728
3729 <listbox style="scrolllist">
3730 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003732 <data variable="tw_signed_zip_verify"/>
3733 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003734 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3735 <data variable="tw_install_reboot"/>
3736 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003737 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003738 <data variable="tw_rm_rf"/>
3739 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003740 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3741 <data variable="tw_disable_free_space"/>
3742 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003743 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3744 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003746 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3747 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003748 </listitem>
epicX9597b842021-03-20 21:58:17 +05303749 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3750 <data variable="tw_skip_digest_check_zip"/>
3751 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003753 <data variable="tw_military_time"/>
3754 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003756 <data variable="tw_simulate_actions"/>
3757 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003759 <data variable="tw_simulate_fail"/>
3760 <condition var1="tw_simulate_actions" var2="1"/>
3761 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003762 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3763 <condition var1="tw_no_sha2" var2="0"/>
3764 <data variable="tw_use_sha2"/>
3765 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003766 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3767 <data variable="tw_unmount_system"/>
3768 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003769 </listbox>
3770
3771 <action>
3772 <touch key="home"/>
3773 <action function="page">main</action>
3774 </action>
3775
3776 <action>
3777 <touch key="back"/>
3778 <action function="page">settings</action>
3779 </action>
3780 </page>
3781
3782 <page name="settings_timezone">
3783 <template name="page"/>
3784
3785 <template name="statusbar"/>
3786
3787 <text style="text_m">
3788 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </text>
3791
3792 <text color="%text_color%">
3793 <font resource="font_m"/>
3794 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3795 <text>%tw_time%</text>
3796 </text>
3797
3798 <listbox style="listbox_headerless">
3799 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3800 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3802 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3803 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3804 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3805 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3806 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3807 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3808 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3809 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3810 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3811 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3812 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3813 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3814 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3815 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3816 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3817 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3818 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3819 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3820 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3821 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3822 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3823 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3824 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003825 </listbox>
3826
3827 <button>
3828 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3829 <highlight color="%highlight_color%"/>
3830 <image resource="q_btn_arrow_right"/>
3831 <actions>
3832 <action function="setguitimezone"/>
3833 <action function="page">settings_timezone2</action>
3834 </actions>
3835 </button>
3836
3837 <action>
3838 <condition var1="tw_time_zone_guisel" op="modified"/>
3839 <action function="setguitimezone"/>
3840 </action>
3841
3842 <action>
3843 <touch key="home"/>
3844 <actions>
3845 <action function="page">main</action>
3846 <action function="setguitimezone"/>
3847 </actions>
3848 </action>
3849
3850 <action>
3851 <touch key="back"/>
3852 <actions>
3853 <action function="page">settings</action>
3854 <action function="setguitimezone"/>
3855 </actions>
3856 </action>
3857
3858 <action>
3859 <touch key="power+voldown"/>
3860 <action function="screenshot"/>
3861 </action>
3862 </page>
3863
3864 <page name="settings_timezone2">
3865 <template name="page"/>
3866
3867 <template name="statusbar"/>
3868
3869 <text style="text_m">
3870 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003871 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003872 </text>
3873
3874 <text color="%text_color%">
3875 <font resource="font_m"/>
3876 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3877 <text>%tw_time%</text>
3878 </text>
3879
3880 <checkbox>
3881 <placement x="%col1_x_left%" y="%row1_y%"/>
3882 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 <data variable="tw_time_zone_guidst"/>
3885 <image checked="checkbox_true" unchecked="checkbox_false"/>
3886 </checkbox>
3887
3888 <text style="text_m_accent">
3889 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 </text>
3892
3893 <button style="main_button_quarter_width">
3894 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 <actions>
3897 <action function="set">tw_time_zone_guioffset=0</action>
3898 <action function="setguitimezone"/>
3899 </actions>
3900 </button>
3901
3902 <button style="main_button_quarter_width">
3903 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003904 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003905 <actions>
3906 <action function="set">tw_time_zone_guioffset=15</action>
3907 <action function="setguitimezone"/>
3908 </actions>
3909 </button>
3910
3911 <button style="main_button_quarter_width">
3912 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003914 <actions>
3915 <action function="set">tw_time_zone_guioffset=30</action>
3916 <action function="setguitimezone"/>
3917 </actions>
3918 </button>
3919
3920 <button style="main_button_quarter_width">
3921 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003922 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003923 <actions>
3924 <action function="set">tw_time_zone_guioffset=45</action>
3925 <action function="setguitimezone"/>
3926 </actions>
3927 </button>
3928
3929 <button>
3930 <placement x="%col1_x_left%" y="%row11_y%"/>
3931 <highlight color="%highlight_color%"/>
3932 <image resource="q_btn_arrow_left"/>
3933 <actions>
3934 <action function="setguitimezone"/>
3935 <action function="page">settings_timezone</action>
3936 </actions>
3937 </button>
3938
3939 <text style="text_m_accent">
3940 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 </text>
3943
3944 <text style="text_m">
3945 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3946 <text>%tw_time_zone%</text>
3947 </text>
3948
3949 <action>
3950 <condition var1="tw_time_zone_guidst" op="modified"/>
3951 <action function="setguitimezone"/>
3952 </action>
3953
3954 <action>
3955 <touch key="home"/>
3956 <actions>
3957 <action function="setguitimezone"/>
3958 <action function="page">main</action>
3959 </actions>
3960 </action>
3961
3962 <action>
3963 <touch key="back"/>
3964 <actions>
3965 <action function="setguitimezone"/>
3966 <action function="page">settings_timezone</action>
3967 </actions>
3968 </action>
3969 </page>
3970
3971 <page name="settings_screen">
3972 <template name="page"/>
3973
3974 <template name="statusbar"/>
3975
3976 <text style="text_m">
3977 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003979 </text>
3980
3981 <button style="checkbox">
3982 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3983 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3984 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 <image resource="checkbox_false"/>
3987 <action function="set">tw_screen_timeout_secs=60</action>
3988 </button>
3989
3990 <button style="checkbox">
3991 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3992 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3993 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003995 <image resource="checkbox_true"/>
3996 <action function="set">tw_screen_timeout_secs=0</action>
3997 </button>
3998
3999 <slidervalue>
4000 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
4001 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004002 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004003 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
4004 </slidervalue>
4005
4006 <text style="text_m_fail">
4007 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
4008 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004009 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004010 </text>
4011
4012 <button>
4013 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4014 <highlight color="%highlight_color%"/>
4015 <image resource="q_btn_arrow_right"/>
4016 <action function="page">settings_screen2</action>
4017 </button>
4018
4019 <action>
4020 <touch key="home"/>
4021 <action function="page">main</action>
4022 </action>
4023
4024 <action>
4025 <touch key="back"/>
4026 <action function="page">settings</action>
4027 </action>
4028 </page>
4029
4030 <page name="settings_screen2">
4031 <template name="page"/>
4032
4033 <template name="statusbar"/>
4034
4035 <text style="text_m">
4036 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 </text>
4039
4040 <slidervalue>
4041 <condition var1="tw_has_brightnesss_file" var2="1"/>
4042 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004043 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004044 <data variable="tw_brightness_pct" min="10" max="100"/>
4045 <actions>
4046 <action function="set">tw_brightness=%tw_brightness_max%</action>
4047 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4048 <action function="compute">tw_brightness/100</action>
4049 <action function="setbrightness">%tw_brightness%</action>
4050 </actions>
4051 </slidervalue>
4052
4053 <text style="text_m_fail">
4054 <condition var1="tw_has_brightnesss_file" var2="0"/>
4055 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004057 </text>
4058
4059 <button>
4060 <placement x="%col1_x_left%" y="%row11_y%"/>
4061 <highlight color="%highlight_color%"/>
4062 <image resource="q_btn_arrow_left"/>
4063 <action function="page">settings_screen</action>
4064 </button>
4065
4066 <action>
4067 <touch key="home"/>
4068 <action function="page">main</action>
4069 </action>
4070
4071 <action>
4072 <touch key="back"/>
4073 <action function="page">settings</action>
4074 </action>
4075 </page>
4076
4077 <page name="settings_vibration">
4078 <template name="page"/>
4079
4080 <template name="statusbar"/>
4081
4082 <text style="text_m">
4083 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 </text>
4086
4087 <slidervalue>
4088 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 <data variable="tw_button_vibrate" min="0" max="300"/>
4091 </slidervalue>
4092
4093 <button>
4094 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4095 <highlight color="%highlight_color%"/>
4096 <image resource="q_btn_arrow_right"/>
4097 <action function="page">settings_vibration2</action>
4098 </button>
4099
4100 <action>
4101 <touch key="home"/>
4102 <action function="page">main</action>
4103 </action>
4104
4105 <action>
4106 <touch key="back"/>
4107 <action function="page">settings</action>
4108 </action>
4109 </page>
4110
4111 <page name="settings_vibration2">
4112 <template name="page"/>
4113
4114 <template name="statusbar"/>
4115
4116 <text style="text_m">
4117 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004119 </text>
4120
4121 <slidervalue>
4122 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4125 </slidervalue>
4126
4127 <button>
4128 <placement x="%col1_x_left%" y="%row11_y%"/>
4129 <highlight color="%highlight_color%"/>
4130 <image resource="q_btn_arrow_left"/>
4131 <action function="page">settings_vibration</action>
4132 </button>
4133
4134 <button>
4135 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4136 <highlight color="%highlight_color%"/>
4137 <image resource="q_btn_arrow_right"/>
4138 <action function="page">settings_vibration3</action>
4139 </button>
4140
4141 <action>
4142 <touch key="home"/>
4143 <action function="page">main</action>
4144 </action>
4145
4146 <action>
4147 <touch key="back"/>
4148 <action function="page">settings</action>
4149 </action>
4150 </page>
4151
4152 <page name="settings_vibration3">
4153 <template name="page"/>
4154
4155 <template name="statusbar"/>
4156
4157 <text style="text_m">
4158 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004160 </text>
4161
4162 <slidervalue>
4163 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004165 <data variable="tw_action_vibrate" min="0" max="500"/>
4166 </slidervalue>
4167
4168 <button>
4169 <placement x="%col1_x_left%" y="%row11_y%"/>
4170 <highlight color="%highlight_color%"/>
4171 <image resource="q_btn_arrow_left"/>
4172 <action function="page">settings_vibration2</action>
4173 </button>
4174
4175 <action>
4176 <touch key="home"/>
4177 <action function="page">main</action>
4178 </action>
4179
4180 <action>
4181 <touch key="back"/>
4182 <action function="page">settings</action>
4183 </action>
4184 </page>
4185
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <page name="settings_language">
4187 <template name="page"/>
4188
4189 <template name="statusbar"/>
4190
4191 <text style="text_m">
4192 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4193 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4194 </text>
4195
z31s1g608d7ff2016-01-18 19:47:25 +01004196 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004197 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4198 <icon selected="radio_true" unselected="radio_false" />
4199 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004200 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201
4202 <button>
4203 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4204 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004205 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004206 <action function="setlanguage"></action>
4207 </button>
4208
z31s1g608d7ff2016-01-18 19:47:25 +01004209 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004210 <touch key="home" />
4211 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004212 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213
z31s1g608d7ff2016-01-18 19:47:25 +01004214 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004215 <touch key="back" />
4216 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004217 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 </page>
4219
z31s1g28f0a922015-11-07 18:50:22 +01004220 <page name="advanced">
4221 <template name="page"/>
4222
4223 <template name="statusbar"/>
4224
4225 <text style="text_m">
4226 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </text>
4229
4230 <button style="main_button">
4231 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004233 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004234 </button>
4235
4236 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004237 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004238 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004239 <text>{@fix_context_btn=Fix Contexts}</text>
4240 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </button>
4242
Ethan Yonker64e0a652018-07-25 09:52:17 -05004243 <button>
4244 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4245 <highlight color="%highlight_color%"/>
4246 <image resource="q_btn_arrow_right"/>
4247 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004248 </button>
4249
Ethan Yonker64e0a652018-07-25 09:52:17 -05004250 <action>
4251 <touch key="home"/>
4252 <action function="page">main</action>
4253 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004254
Ethan Yonker64e0a652018-07-25 09:52:17 -05004255 <action>
4256 <touch key="back"/>
4257 <action function="page">main3</action>
4258 </action>
4259 </page>
4260
4261 <page name="advanced2">
4262 <template name="page"/>
4263
4264 <template name="statusbar"/>
4265
4266 <text style="text_m">
4267 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4268 <text>{@advanced_hdr=Advanced}</text>
4269 </text>
4270
4271 <listbox style="advanced_listbox">
4272 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05304273 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
4274 <condition var1="tw_is_encrypted" var2="0"/>
4275 <action function="page">changeTwrpFolder</action>
4276 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004277 <listitem name="{@decrypt_users=Decrypt Users}">
4278 <conditions>
4279 <condition var1="tw_is_fbe" var2="1"/>
4280 <condition var1="tw_all_users_decrypted" var2="0"/>
4281 </conditions>
4282 <actions>
4283 <action function="set">tw_crypto_user_id=</action>
4284 <action function="page">decrypt_users</action>
4285 </actions>
4286 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004287 <listitem name="{@reload_theme_btn=Reload Theme}">
4288 <action function="reload"/>
4289 </listitem>
4290 <listitem name="{@part_sd_btn=Partition SD Card}">
4291 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4292 <actions>
4293 <action function="set">partitionlisterror=0</action>
4294 <action function="page">partsdcardsel</action>
4295 </actions>
4296 </listitem>
4297 <listitem name="{@dumlock_btn=HTC Dumlock}">
4298 <condition var1="tw_show_dumlock" var2="1"/>
4299 <action function="page">htcdumlock</action>
4300 </listitem>
4301 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4302 <condition var1="tw_has_injecttwrp" var2="1"/>
4303 <actions>
4304 <action function="set">tw_back=advanced</action>
4305 <action function="set">tw_action=reinjecttwrp</action>
4306 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4307 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4308 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4309 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4310 <action function="page">confirm_action</action>
4311 </actions>
4312 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004313 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4314 <conditions>
4315 <condition var1="tw_has_boot_slots" var2="1"/>
4316 <condition var1="tw_has_repack_tools" var2="1"/>
4317 </conditions>
4318 <actions>
4319 <action function="set">tw_repack_kernel=0</action>
4320 <action function="page">repackselect</action>
4321 </actions>
4322 </listitem>
4323 <listitem name="{@install_kernel=Install Kernel}">
4324 <conditions>
4325 <condition var1="tw_has_boot_slots" var2="1"/>
4326 <condition var1="tw_has_repack_tools" var2="1"/>
4327 </conditions>
4328 <actions>
4329 <action function="set">tw_repack_kernel=1</action>
4330 <action function="page">repackselect</action>
4331 </actions>
4332 </listitem>
4333 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4334 <conditions>
4335 <condition var1="tw_has_boot_slots" var2="1"/>
4336 <condition var1="tw_has_repack_tools" var2="1"/>
4337 </conditions>
4338 <actions>
4339 <action function="set">tw_back=advanced</action>
4340 <action function="set">tw_action=fixabrecoverybootloop</action>
4341 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4342 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4343 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4344 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4345 <action function="page">confirm_action</action>
4346 </actions>
4347 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06004348 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4349 <condition var1="tw_app_install_status" var2="1"/>
4350 <actions>
4351 <action function="set">tw_back=advanced2</action>
4352 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4353 <action function="page">installapp</action>
4354 </actions>
4355 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004356 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4357 <condition var1="tw_app_installed_in_system" var2="1"/>
4358 <actions>
4359 <action function="set">tw_back=advanced</action>
4360 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4361 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4362 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4363 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4364 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4365 <action function="page">confirm_action</action>
4366 </actions>
4367 </listitem>
bigbiffcfa875c2021-06-20 16:20:27 -04004368 <listitem name="{@unmap_super_devices=Unmap Super Devices}">
4369 <actions>
4370 <action function="set">tw_back=advanced</action>
4371 <action function="set">tw_action=unmapsuperdevices</action>
4372 <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action>
4373 <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action>
4374 <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action>
4375 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4376 <action function="page">confirm_action</action>
4377 </actions>
4378 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004379 </listbox>
4380
4381 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004382 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004383 <highlight color="%highlight_color%"/>
4384 <image resource="q_btn_arrow_left"/>
4385 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004386 </button>
4387
4388 <action>
4389 <touch key="home"/>
4390 <action function="page">main</action>
4391 </action>
4392
4393 <action>
4394 <touch key="back"/>
4395 <action function="page">main3</action>
4396 </action>
4397 </page>
4398
Ethan Yonker483e9f42016-01-11 22:21:18 -06004399 <page name="partsdcardsel">
4400 <template name="page"/>
4401
4402 <template name="statusbar"/>
4403
4404 <text style="text_m">
4405 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4406 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4407 </text>
4408
4409 <partitionlist style="partitionlist_headerless_rb">
4410 <data name="tw_storage_path"/>
4411 <listtype name="storage"/>
4412 </partitionlist>
4413
4414 <text style="text_m_fail">
4415 <condition var1="partitionlisterror" var2="1"/>
4416 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4417 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4418 </text>
4419
4420 <button>
4421 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4422 <highlight color="%highlight_color%"/>
4423 <image resource="q_btn_refresh"/>
4424 <action function="refreshsizes"/>
4425 </button>
4426
4427 <button>
4428 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4429 <highlight color="%highlight_color%"/>
4430 <image resource="q_btn_accept"/>
4431 <actions>
4432 <action function="getpartitiondetails">tw_storage_path</action>
4433 <action function="page">partsdcardcheck</action>
4434 </actions>
4435 </button>
4436
4437 <action>
4438 <touch key="home"/>
4439 <action function="page">main</action>
4440 </action>
4441
4442 <action>
4443 <touch key="back"/>
4444 <action function="page">advanced</action>
4445 </action>
4446 </page>
4447
4448 <page name="partsdcardcheck">
4449 <action>
4450 <condition var1="tw_partition_removable" op="=" var2="1"/>
4451 <actions>
4452 <action function="set">partitionlisterror=0</action>
4453 <action function="page">partsdcard</action>
4454 </actions>
4455 </action>
4456
4457 <action>
4458 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4459 <actions>
4460 <action function="set">partitionlisterror=1</action>
4461 <action function="page">partsdcardsel</action>
4462 </actions>
4463 </action>
4464 </page>
4465
z31s1g28f0a922015-11-07 18:50:22 +01004466 <page name="partsdcard">
4467 <template name="page"/>
4468
4469 <template name="statusbar"/>
4470
4471 <text style="text_m">
4472 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 </text>
4475
4476 <text style="text_m_fail">
4477 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004478 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004479 </text>
4480
4481 <text style="text_m_fail">
4482 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <text style="text_m_accent">
4487 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m">
4492 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4493 <text>%tw_sdext_size%</text>
4494 </text>
4495
4496 <button style="main_button_quarter_width">
4497 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004499 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004500 </button>
4501
4502 <button style="main_button_quarter_width">
4503 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004504 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004505 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </button>
4507
4508 <button>
4509 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4510 <highlight color="%highlight_color%"/>
4511 <image resource="q_btn_arrow_right"/>
4512 <action function="page">partsdcard2</action>
4513 </button>
4514
4515 <action>
4516 <touch key="home"/>
4517 <action function="page">main</action>
4518 </action>
4519
4520 <action>
4521 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004522 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004523 </action>
4524 </page>
4525
4526 <page name="partsdcard2">
4527 <template name="page"/>
4528
4529 <template name="statusbar"/>
4530
4531 <text style="text_m">
4532 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <text style="text_m_fail">
4537 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004538 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004539 </text>
4540
4541 <text style="text_m_fail">
4542 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m_accent">
4547 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
4551 <text style="text_m">
4552 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4553 <text>%tw_swap_size%</text>
4554 </text>
4555
4556 <button style="main_button_quarter_width">
4557 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004559 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004560 </button>
4561
4562 <button style="main_button_quarter_width">
4563 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004564 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004565 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004566 </button>
4567
4568 <button>
4569 <placement x="%col1_x_left%" y="%row11_y%"/>
4570 <highlight color="%highlight_color%"/>
4571 <image resource="q_btn_arrow_left"/>
4572 <action function="page">partsdcard</action>
4573 </button>
4574
4575 <button>
4576 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4577 <highlight color="%highlight_color%"/>
4578 <image resource="q_btn_arrow_right"/>
4579 <action function="page">partsdcard3</action>
4580 </button>
4581
4582 <action>
4583 <touch key="home"/>
4584 <action function="page">main</action>
4585 </action>
4586
4587 <action>
4588 <touch key="back"/>
4589 <action function="page">advanced</action>
4590 </action>
4591 </page>
4592
4593 <page name="partsdcard3">
4594 <template name="page"/>
4595
4596 <template name="statusbar"/>
4597
4598 <text style="text_m">
4599 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004600 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004601 </text>
4602
4603 <text style="text_m_fail">
4604 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004605 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004606 </text>
4607
4608 <text style="text_m_fail">
4609 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004610 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004611 </text>
4612
4613 <text style="text_m_accent">
4614 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004615 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004616 </text>
4617
4618 <text style="text_m">
4619 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4620 <text>%tw_sdpart_file_system%</text>
4621 </text>
4622
4623 <button style="main_button_quarter_width">
4624 <placement x="%indent%" y="%row6_y%"/>
4625 <text>EXT3</text>
4626 <action function="set">tw_sdpart_file_system=ext3</action>
4627 </button>
4628
4629 <button style="main_button_quarter_width">
4630 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4631 <text>EXT4</text>
4632 <action function="set">tw_sdpart_file_system=ext4</action>
4633 </button>
4634
4635 <button>
4636 <placement x="%col1_x_left%" y="%row11_y%"/>
4637 <highlight color="%highlight_color%"/>
4638 <image resource="q_btn_arrow_left"/>
4639 <action function="page">partsdcard2</action>
4640 </button>
4641
4642 <button>
4643 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4644 <highlight color="%highlight_color%"/>
4645 <image resource="q_btn_arrow_right"/>
4646 <action function="page">partsdcard_confirm</action>
4647 </button>
4648
4649 <action>
4650 <touch key="home"/>
4651 <action function="page">main</action>
4652 </action>
4653
4654 <action>
4655 <touch key="back"/>
4656 <action function="page">advanced</action>
4657 </action>
4658 </page>
4659
4660 <page name="partsdcard_confirm">
4661 <template name="page"/>
4662
4663 <template name="statusbar"/>
4664
4665 <text style="text_m">
4666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004667 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004668 </text>
4669
4670 <text style="text_m_fail">
4671 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004672 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004673 </text>
4674
4675 <text style="text_m_fail">
4676 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004677 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004678 </text>
4679
4680 <text style="text_m_accent">
4681 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <text style="text_m_accent">
4686 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004687 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 </text>
4689
4690 <text style="text_m_accent">
4691 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004692 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004693 </text>
4694
4695 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004696 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 <action function="page">partsdcardaction</action>
4698 <actions>
4699 <action function="set">tw_back=partsdcard</action>
4700 <action function="set">tw_action=partitionsd</action>
4701 <action function="set">tw_has_action2=1</action>
4702 <action function="set">tw_action2=set</action>
4703 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004704 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4705 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4706 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004707 <action function="page">action_page</action>
4708 </actions>
4709 </slider>
4710
4711 <action>
4712 <touch key="home"/>
4713 <action function="page">main</action>
4714 </action>
4715
4716 <action>
4717 <touch key="back"/>
4718 <action function="page">advanced</action>
4719 </action>
4720 </page>
4721
4722 <page name="htcdumlock">
4723 <template name="page"/>
4724
4725 <template name="statusbar"/>
4726
4727 <text style="text_m">
4728 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004729 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004730 </text>
4731
4732 <button style="main_button_full_width">
4733 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004734 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004735 <actions>
4736 <action function="set">tw_back=htcdumlock</action>
4737 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004738 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4739 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4740 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4741 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004742 <action function="page">confirm_action</action>
4743 </actions>
4744 </button>
4745
4746 <button style="main_button_full_width">
4747 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004749 <actions>
4750 <action function="set">tw_back=htcdumlock</action>
4751 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004752 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4753 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4754 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4755 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004756 <action function="page">confirm_action</action>
4757 </actions>
4758 </button>
4759
4760 <button style="main_button_full_width">
4761 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004762 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004763 <actions>
4764 <action function="set">tw_back=htcdumlock</action>
4765 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004766 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4767 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4768 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4769 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004770 <action function="page">confirm_action</action>
4771 </actions>
4772 </button>
4773
4774 <action>
4775 <touch key="home"/>
4776 <action function="page">main</action>
4777 </action>
4778
4779 <action>
4780 <touch key="back"/>
4781 <action function="page">advanced</action>
4782 </action>
4783 </page>
4784
Ethan Yonker53796e72019-01-11 22:49:52 -06004785 <page name="repackselect">
4786 <template name="page"/>
4787
4788 <template name="statusbar"/>
4789
4790 <text style="text_m">
4791 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4792 <text>{@repack_image_hdr=Select Image}</text>
4793 </text>
4794
4795 <fileselector>
4796 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4797 <text>%tw_zip_location%</text>
4798 <filter extn=".img" folders="1" files="1"/>
4799 <path name="tw_zip_location" default="/sdcard"/>
4800 <data name="tw_filename"/>
4801 <selection name="tw_file"/>
4802 </fileselector>
4803
4804 <button>
4805 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4806 <highlight color="%highlight_color%"/>
4807 <image resource="q_btn_storage"/>
4808 <actions>
4809 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4810 <action function="set">tw_back=install</action>
4811 <action function="page">select_storage</action>
4812 </actions>
4813 </button>
4814
4815 <action>
4816 <conditions>
4817 <condition var1="tw_filename" op="modified"/>
4818 </conditions>
4819 <action function="page">repackconfirm</action>
4820 </action>
4821
4822 <action>
4823 <touch key="back"/>
4824 <action function="page">advanced</action>
4825 </action>
4826
4827 <action>
4828 <touch key="home"/>
4829 <action function="page">main</action>
4830 </action>
4831 </page>
4832
4833 <page name="repackconfirm">
4834 <template name="page"/>
4835
4836 <template name="statusbar"/>
4837
4838 <text style="text_m">
4839 <condition var1="tw_repack_kernel" var2="1"/>
4840 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4841 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4842 </text>
4843
4844 <text style="text_m">
4845 <condition var1="tw_repack_kernel" var2="0"/>
4846 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4847 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4848 </text>
4849
4850 <text style="text_m_accent">
4851 <placement x="%indent%" y="%row2_y%"/>
4852 <text>{@folder=Folder:}</text>
4853 </text>
4854
4855 <text style="text_m">
4856 <placement x="%indent%" y="%row3_y%"/>
4857 <text>%tw_zip_location%</text>
4858 </text>
4859
4860 <text style="text_m_accent">
4861 <placement x="%indent%" y="%row4_y%"/>
4862 <text>{@file=File:}</text>
4863 </text>
4864
4865 <text style="text_m">
4866 <placement x="%indent%" y="%row5_y%"/>
4867 <text>%tw_file%</text>
4868 </text>
4869
4870 <checkbox>
4871 <placement x="%indent%" y="%row7_y%"/>
4872 <text>{@repack_backup_first=Back up existing image first}</text>
4873 <data variable="tw_repack_backup_first"/>
4874 </checkbox>
4875
4876 <slider>
4877 <text>{@swipe_to_install=Swipe to Install}</text>
4878 <actions>
4879 <action function="set">tw_back=advanced</action>
4880 <action function="set">tw_action=repackimage</action>
4881 <action function="set">tw_action_param=/boot</action>
4882 <action function="set">tw_action_text1={@installing=Installing...}</action>
4883 <action function="set">tw_action_text2=</action>
4884 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4885 <action function="page">action_page</action>
4886 </actions>
4887 </slider>
4888
4889 <action>
4890 <touch key="back"/>
4891 <action function="page">repackselect</action>
4892 </action>
4893
4894 <action>
4895 <touch key="home"/>
4896 <action function="page">main</action>
4897 </action>
4898 </page>
4899
z31s1g28f0a922015-11-07 18:50:22 +01004900 <page name="lock">
4901 <background color="%semi_transparent%"/>
4902
4903 <image>
4904 <image resource="unlock_icon"/>
4905 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4906 </image>
4907
4908 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004909 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004910 <action function="overlay"/>
4911 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004912
4913 <action>
4914 <touch key="power"/>
4915 <action function="togglebacklight"/>
4916 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004917 </page>
4918
4919 <page name="filemanagerlist">
4920 <template name="page"/>
4921
4922 <template name="statusbar"/>
4923
4924 <text style="text_m">
4925 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004926 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004927 </text>
4928
4929 <fileselector>
4930 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4931 <text>%tw_file_location1%</text>
4932 <filter folders="1" files="1"/>
4933 <path name="tw_file_location1" default="/"/>
4934 <data name="tw_filename1"/>
4935 <selection name="tw_selection1"/>
4936 </fileselector>
4937
4938 <button>
4939 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4940 <highlight color="%highlight_color%"/>
4941 <image resource="q_btn_folder"/>
4942 <actions>
4943 <action function="set">tw_filename1=tw_file_location1</action>
4944 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004945 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004946 <action function="page">filemanageroptions</action>
4947 </actions>
4948 </button>
4949
4950 <action>
4951 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004952 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004953 <action function="set">tw_fm_isfolder=0</action>
4954 </actions>
4955 </action>
4956
4957 <action>
4958 <touch key="home"/>
4959 <action function="page">main</action>
4960 </action>
4961
4962 <action>
4963 <touch key="back"/>
4964 <action function="page">main3</action>
4965 </action>
4966
4967 <action>
4968 <condition var1="tw_filename1" op="modified"/>
4969 <action function="page">filemanageroptions</action>
4970 </action>
4971 </page>
4972
4973 <page name="filemanageroptions">
4974 <template name="page"/>
4975
4976 <template name="statusbar"/>
4977
4978 <text style="text_m">
4979 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004980 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004981 </text>
4982
4983 <button style="main_button">
4984 <condition var1="tw_fm_isfolder" var2="0"/>
4985 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004986 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004987 <actions>
4988 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004989 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004990 <action function="page">choosedestinationfolder</action>
4991 </actions>
4992 </button>
4993
4994 <button style="main_button">
4995 <condition var1="tw_fm_isfolder" var2="1"/>
4996 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004997 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004998 <actions>
4999 <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 -05005000 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005001 <action function="page">choosedestinationfolder</action>
5002 </actions>
5003 </button>
5004
5005 <button style="main_button">
5006 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005007 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005008 <actions>
5009 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005010 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005011 <action function="page">choosedestinationfolder</action>
5012 </actions>
5013 </button>
5014
5015 <button style="main_button">
5016 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005017 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005018 <actions>
5019 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005020 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005021 <action function="set">tw_fm_text2=</action>
5022 <action function="set">tw_fm_text3=</action>
5023 <action function="set">tw_include_text3=0</action>
5024 <action function="set">tw_back=filemanageroptions</action>
5025 <action function="page">filemanagerconfirm</action>
5026 </actions>
5027 </button>
5028
5029 <button style="main_button">
5030 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005031 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005032 <actions>
5033 <action function="set">tw_filemanager_rename=0000</action>
5034 <action function="set">tw_fm_text2=</action>
5035 <action function="set">tw_fm_text3=</action>
5036 <action function="set">tw_include_text3=0</action>
5037 <action function="set">tw_back=filemanageroptions</action>
5038 <action function="page">filemanagerchmod</action>
5039 </actions>
5040 </button>
5041
5042 <button style="main_button">
5043 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005044 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005045 <actions>
5046 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005047 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005048 <action function="set">tw_fm_text2=</action>
5049 <action function="set">tw_fm_text3=</action>
5050 <action function="set">tw_include_text3=0</action>
5051 <action function="set">tw_back=filemanageroptions</action>
5052 <action function="page">filemanagerconfirm</action>
5053 </actions>
5054 </button>
5055
5056 <button style="main_button">
5057 <condition var1="tw_fm_isfolder" var2="0"/>
5058 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005059 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005060 <actions>
5061 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005062 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005063 <action function="set">tw_filemanager_command=mv</action>
5064 <action function="page">filemanagerrenamefile</action>
5065 </actions>
5066 </button>
5067
5068 <button style="main_button">
5069 <condition var1="tw_fm_isfolder" var2="1"/>
5070 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005071 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005072 <actions>
5073 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005074 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005075 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5076 <action function="page">filemanagerrenamefolder</action>
5077 </actions>
5078 </button>
5079
5080 <action>
5081 <touch key="home"/>
5082 <action function="page">main</action>
5083 </action>
5084
5085 <action>
5086 <touch key="back"/>
5087 <action function="page">filemanagerlist</action>
5088 </action>
5089 </page>
5090
5091 <page name="choosedestinationfolder">
5092 <template name="page"/>
5093
5094 <template name="statusbar"/>
5095
5096 <text style="text_m">
5097 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005098 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005099 </text>
5100
5101 <fileselector>
5102 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5103 <text>%tw_file_location2%</text>
5104 <filter folders="1" files="0"/>
5105 <path name="tw_file_location2" default="/"/>
5106 <data name="tw_filename2"/>
5107 <selection name="tw_selection2"/>
5108 </fileselector>
5109
5110 <button>
5111 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5112 <highlight color="%highlight_color%"/>
5113 <image resource="q_btn_folder"/>
5114 <actions>
5115 <action function="set">tw_fm_text2=to</action>
5116 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5117 <action function="set">tw_include_text3=1</action>
5118 <action function="set">tw_back=filemanageroptions</action>
5119 <action function="page">filemanagerconfirm</action>
5120 </actions>
5121 </button>
5122
5123 <action>
5124 <touch key="home"/>
5125 <action function="page">main</action>
5126 </action>
5127
5128 <action>
5129 <touch key="back"/>
5130 <action function="page">filemanageroptions</action>
5131 </action>
5132 </page>
5133
5134 <page name="filemanagerrenamefile">
5135 <template name="page"/>
5136
5137 <template name="statusbar"/>
5138
5139 <text style="text_m">
5140 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005141 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005142 </text>
5143
5144 <text style="text_m_accent">
5145 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005146 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005147 </text>
5148
5149 <input>
5150 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5151 <text>%tw_filemanager_rename%</text>
5152 <data name="tw_filemanager_rename"/>
5153 <restrict minlen="1" maxlen="128"/>
5154 <actions>
5155 <action function="set">tw_fm_text2=to</action>
5156 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5157 <action function="set">tw_include_text3=1</action>
5158 <action function="set">tw_back=filemanageroptions</action>
5159 <action function="page">filemanagerconfirm</action>
5160 </actions>
5161 </input>
5162
5163 <fill color="%accent_color%">
5164 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5165 </fill>
5166
5167 <button style="main_button_half_height">
5168 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005169 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005170 <action function="page">filemanageroptions</action>
5171 </button>
5172
5173 <template name="keyboardtemplate"/>
5174
5175 <action>
5176 <touch key="home"/>
5177 <action function="page">main</action>
5178 </action>
5179
5180 <action>
5181 <touch key="back"/>
5182 <action function="page">filemanageroptions</action>
5183 </action>
5184 </page>
5185
5186 <page name="filemanagerrenamefolder">
5187 <template name="page"/>
5188
5189 <template name="statusbar"/>
5190
5191 <text style="text_m">
5192 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005193 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005194 </text>
5195
5196 <text style="text_m_accent">
5197 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005198 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005199 </text>
5200
5201 <input>
5202 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5203 <text>%tw_filemanager_rename%</text>
5204 <data name="tw_filemanager_rename"/>
5205 <restrict minlen="1" maxlen="128"/>
5206 <actions>
5207 <action function="set">tw_fm_text2=to</action>
5208 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5209 <action function="set">tw_include_text3=1</action>
5210 <action function="set">tw_back=filemanageroptions</action>
5211 <action function="page">filemanagerconfirm</action>
5212 </actions>
5213 </input>
5214
5215 <fill color="%accent_color%">
5216 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5217 </fill>
5218
5219 <button style="main_button_half_height">
5220 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005221 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005222 <action function="page">filemanageroptions</action>
5223 </button>
5224
5225 <template name="keyboardtemplate"/>
5226
5227 <action>
5228 <touch key="home"/>
5229 <action function="page">main</action>
5230 </action>
5231
5232 <action>
5233 <touch key="back"/>
5234 <action function="page">filemanageroptions</action>
5235 </action>
5236 </page>
5237
5238 <page name="filemanagerchmod">
5239 <template name="page"/>
5240
5241 <template name="statusbar"/>
5242
5243 <text style="text_m">
5244 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005245 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005246 </text>
5247
5248 <text style="text_m_accent">
5249 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005250 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005251 </text>
5252
5253 <input>
5254 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5255 <text>%tw_filemanager_rename%</text>
5256 <data name="tw_filemanager_rename"/>
5257 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5258 <actions>
5259 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5260 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5261 <action function="set">tw_back=filemanageroptions</action>
5262 <action function="page">filemanagerconfirm</action>
5263 </actions>
5264 </input>
5265
5266 <fill color="%accent_color%">
5267 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5268 </fill>
5269
5270 <button style="main_button_half_height">
5271 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005272 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005273 <action function="page">filemanageroptions</action>
5274 </button>
5275
5276 <template name="keyboardtemplate"/>
5277
5278 <action>
5279 <touch key="home"/>
5280 <action function="page">main</action>
5281 </action>
5282
5283 <action>
5284 <touch key="back"/>
5285 <action function="page">filemanageroptions</action>
5286 </action>
5287 </page>
5288
5289 <page name="filemanagerconfirm">
5290 <template name="page"/>
5291
5292 <template name="statusbar"/>
5293
5294 <text style="text_m">
5295 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005296 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005297 </text>
5298
5299 <text style="text_m_accent">
5300 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5301 <text>%tw_fm_text1%</text>
5302 </text>
5303
5304 <text style="text_m">
5305 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5306 <text>%tw_filename1%</text>
5307 </text>
5308
5309 <text style="text_m_accent">
5310 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5311 <text>%tw_fm_text2%</text>
5312 </text>
5313
5314 <text style="text_m">
5315 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5316 <text>%tw_fm_text3%</text>
5317 </text>
5318
5319 <text style="text_m">
5320 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005321 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005322 </text>
5323
5324 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005325 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005326 <action function="page">filemanageraction</action>
5327 </slider>
5328
5329 <action>
5330 <touch key="back"/>
5331 <action function="page">%tw_back%</action>
5332 </action>
5333
5334 <action>
5335 <touch key="home"/>
5336 <action function="page">main</action>
5337 </action>
5338 </page>
5339
5340 <page name="filemanageraction">
5341 <template name="page"/>
5342
5343 <template name="statusbar"/>
5344
5345 <text style="text_m">
5346 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005347 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005348 </text>
5349
5350 <template name="console"/>
5351
5352 <template name="progress_bar"/>
5353
5354 <action>
5355 <conditions>
5356 <condition var1="tw_operation_state" var2="1"/>
5357 <condition var1="tw_operation_status" var2="0"/>
5358 </conditions>
5359 <actions>
5360 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005361 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005362 <action function="page">action_complete</action>
5363 </actions>
5364 </action>
5365
5366 <action>
5367 <conditions>
5368 <condition var1="tw_operation_state" var2="1"/>
5369 <condition var1="tw_operation_status" op="!=" var2="0"/>
5370 </conditions>
5371 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005372 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005373 <action function="page">action_complete</action>
5374 </actions>
5375 </action>
5376
5377 <action>
5378 <condition var1="tw_include_text3" var2="0"/>
5379 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5380 </action>
5381
5382 <action>
5383 <condition var1="tw_include_text3" var2="1"/>
5384 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5385 </action>
5386 </page>
5387
5388 <page name="decrypt">
5389 <template name="page"/>
5390
5391 <template name="statusbar"/>
5392
5393 <action>
5394 <condition var1="tw_crypto_pwtype" var2="2"/>
5395 <action function="page">decrypt_pattern</action>
5396 </action>
5397
5398 <text style="text_m">
5399 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005400 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005401 </text>
5402
5403 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005404 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005405 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005406 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005407 </text>
5408
Noah Jacobson81d638d2019-04-28 00:10:07 -04005409 <text style="text_m_accent">
5410 <condition var1="tw_is_fbe" var2="1"/>
5411 <placement x="%col1_x_left%" y="%row1_y%"/>
5412 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5413 </text>
5414
z31s1g28f0a922015-11-07 18:50:22 +01005415 <input>
5416 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5417 <text>%tw_crypto_display%</text>
5418 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5419 <restrict minlen="1" maxlen="254"/>
5420 <action function="page">trydecrypt</action>
5421 </input>
5422
5423 <fill color="%accent_color%">
5424 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5425 </fill>
5426
5427 <fill color="%text_fail_color%">
5428 <condition var1="tw_password_fail" var2="1"/>
5429 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5430 </fill>
5431
5432 <text style="text_m_fail">
5433 <condition var1="tw_password_fail" var2="1"/>
5434 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005435 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005436 </text>
5437
5438 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005439 <placement x="%col1_x_left%" y="%row4_y%"/>
5440 <text>{@sel_lang_btn=Select Language}</text>
5441 <action function="page">settings_language</action>
5442 </button>
5443
5444 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005445 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005446 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05005447 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005448 </button>
5449
5450 <template name="keyboardtemplate"/>
5451 </page>
5452
5453 <page name="decrypt_pattern">
5454 <template name="page"/>
5455
5456 <template name="statusbar"/>
5457
Aleksa Saraib25a1832015-12-31 17:36:00 +01005458 <action>
5459 <action function="set">tw_gui_pattern_grid_size=3</action>
5460 </action>
5461
z31s1g28f0a922015-11-07 18:50:22 +01005462 <text style="text_m">
5463 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005464 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005465 </text>
5466
5467 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005468 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005469 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005470 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005471 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005472 </text>
5473
Noah Jacobson81d638d2019-04-28 00:10:07 -04005474 <text style="text_m_accent">
5475 <condition var1="tw_is_fbe" var2="1"/>
5476 <condition var1="tw_password_fail" op="!=" var2="1"/>
5477 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5478 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5479 </text>
5480
Aleksa Saraib25a1832015-12-31 17:36:00 +01005481 <text style="text_m_fail">
5482 <condition var1="tw_password_fail" var2="1"/>
5483 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005484 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005485 </text>
5486
z31s1g28f0a922015-11-07 18:50:22 +01005487 <text style="text_m">
5488 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005489 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005490 </text>
5491
5492 <patternpassword>
5493 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005494 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5495 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5496 <data name="tw_crypto_password"/>
5497 <action function="page">trydecrypt</action>
5498 </patternpassword>
5499
5500 <fill color="#000000">
5501 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5502 </fill>
5503
5504 <button>
5505 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5506 <image resource="back"/>
5507 <condition var1="tw_busy" var2="0"/>
Captain Throwback89b56a12021-02-10 18:25:07 -05005508 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01005509 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005510
5511 <button>
5512 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5513 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5514 <image resource="grid_less"/>
5515 <action function="set">tw_gui_pattern_grid_size=3</action>
5516 </button>
5517
5518 <button>
5519 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5520 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5521 <image resource="grid_less"/>
5522 <action function="set">tw_gui_pattern_grid_size=3</action>
5523 </button>
5524
5525 <button>
5526 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5527 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5528 <image resource="grid_less"/>
5529 <action function="set">tw_gui_pattern_grid_size=4</action>
5530 </button>
5531
5532 <button>
5533 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5534 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5535 <image resource="grid_less"/>
5536 <action function="set">tw_gui_pattern_grid_size=5</action>
5537 </button>
5538
5539 <button>
5540 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5541 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5542 <image resource="grid_more"/>
5543 <action function="set">tw_gui_pattern_grid_size=4</action>
5544 </button>
5545
5546 <button>
5547 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5548 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5549 <image resource="grid_more"/>
5550 <action function="set">tw_gui_pattern_grid_size=5</action>
5551 </button>
5552
5553 <button>
5554 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5555 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5556 <image resource="grid_more"/>
5557 <action function="set">tw_gui_pattern_grid_size=6</action>
5558 </button>
5559
5560 <button>
5561 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5562 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5563 <image resource="grid_more"/>
5564 <action function="set">tw_gui_pattern_grid_size=6</action>
5565 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005566 </page>
5567
5568 <page name="trydecrypt">
5569 <template name="page"/>
5570
5571 <template name="statusbar"/>
5572
5573 <text style="text_m">
5574 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005575 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005576 </text>
5577
5578 <template name="console"/>
5579
5580 <template name="progress_bar"/>
5581
5582 <action>
5583 <action function="decrypt"/>
5584 </action>
5585
5586 <action>
5587 <conditions>
5588 <condition var1="tw_operation_state" var2="1"/>
5589 <condition var1="tw_operation_status" op="!=" var2="0"/>
5590 </conditions>
5591 <actions>
5592 <action function="set">tw_password_fail=1</action>
5593 <action function="page">decrypt</action>
5594 </actions>
5595 </action>
5596
5597 <action>
5598 <conditions>
5599 <condition var1="tw_operation_state" var2="1"/>
5600 <condition var1="tw_operation_status" op="=" var2="0"/>
5601 </conditions>
5602 <actions>
5603 <action function="set">tw_page_done=1</action>
5604 <action function="page">main</action>
5605 </actions>
5606 </action>
5607 </page>
5608
Captain Throwback89b56a12021-02-10 18:25:07 -05005609 <page name="canceldecrypt">
5610 <template name="page"/>
5611
5612 <template name="statusbar"/>
5613
5614 <text style="text_m">
5615 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5616 <text>{@cancel_btn=Cancel} &gt; {@refresh_sizes_btn=Refresh Sizes}</text>
5617 </text>
5618
5619 <template name="console"/>
5620
5621 <template name="progress_bar"/>
5622
5623 <action>
5624 <action function="refreshsizes"/>
5625 </action>
5626
5627 <action>
5628 <conditions>
5629 <condition var1="tw_operation_state" var2="1"/>
5630 </conditions>
5631 <actions>
5632 <action function="set">tw_page_done=1</action>
5633 <action function="page">main</action>
5634 </actions>
5635 </action>
5636 </page>
5637
z31s1g28f0a922015-11-07 18:50:22 +01005638 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005639 <terminal>
5640 <condition var1="tw_hide_kb" var2="0"/>
5641 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5642 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005643
z31s1g56189522016-01-13 19:12:40 +01005644 <terminal>
5645 <condition var1="tw_hide_kb" var2="1"/>
5646 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5647 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005648
z31s1g56189522016-01-13 19:12:40 +01005649 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005650
5651 <template name="keyboardtemplate"/>
5652
z31s1g608d7ff2016-01-18 19:47:25 +01005653 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005654 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005655 </fill>
z31s1g56189522016-01-13 19:12:40 +01005656
z31s1g608d7ff2016-01-18 19:47:25 +01005657 <button>
z31s1g56189522016-01-13 19:12:40 +01005658 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5659 <image resource="back" />
5660 <condition var1="tw_busy" var2="0" />
5661 <actions>
5662 <action function="set">tw_hide_kb=0</action>
5663 <action function="key">back</action>
5664 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005665 </button>
z31s1g56189522016-01-13 19:12:40 +01005666
z31s1g608d7ff2016-01-18 19:47:25 +01005667 <button>
z31s1g56189522016-01-13 19:12:40 +01005668 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5669 <image resource="home" />
5670 <condition var1="tw_busy" var2="0" />
5671 <actions>
5672 <action function="set">tw_hide_kb=0</action>
5673 <action function="key">home</action>
5674 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005675 </button>
z31s1g56189522016-01-13 19:12:40 +01005676
z31s1g608d7ff2016-01-18 19:47:25 +01005677 <button>
z31s1g56189522016-01-13 19:12:40 +01005678 <condition var1="tw_hide_kb" var2="0"/>
5679 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5680 <image resource="kb_hide" />
5681 <condition var1="tw_busy" var2="0" />
5682 <actions>
5683 <action function="set">tw_hide_kb=1</action>
5684 <action function="page">terminalcommand</action>
5685 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005686 </button>
z31s1g56189522016-01-13 19:12:40 +01005687
z31s1g608d7ff2016-01-18 19:47:25 +01005688 <button>
z31s1g56189522016-01-13 19:12:40 +01005689 <condition var1="tw_hide_kb" var2="1"/>
5690 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5691 <image resource="kb_show" />
5692 <condition var1="tw_busy" var2="0" />
5693 <actions>
5694 <action function="set">tw_hide_kb=0</action>
5695 <action function="page">terminalcommand</action>
5696 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005697 </button>
z31s1g56189522016-01-13 19:12:40 +01005698
z31s1g28f0a922015-11-07 18:50:22 +01005699 <action>
5700 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005701 <actions>
5702 <action function="set">tw_hide_kb=0</action>
5703 <action function="page">main</action>
5704 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005705 </action>
5706
5707 <action>
5708 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005709 <actions>
5710 <action function="set">tw_hide_kb=0</action>
5711 <action function="page">advanced</action>
5712 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005713 </action>
z31s1g56189522016-01-13 19:12:40 +01005714
z31s1g608d7ff2016-01-18 19:47:25 +01005715 <action>
z31s1g56189522016-01-13 19:12:40 +01005716 <touch key="power+voldown" />
5717 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005718 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005719 </page>
5720
5721 <page name="sideload">
5722 <template name="page"/>
5723
5724 <template name="statusbar"/>
5725
5726 <text style="text_m">
5727 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005728 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005729 </text>
5730
5731 <text style="text_m_accent">
5732 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005733 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005734 </text>
5735
5736 <checkbox>
5737 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005738 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005739 <data variable="tw_wipe_dalvik"/>
5740 </checkbox>
5741
5742 <checkbox>
5743 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005744 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005745 <data variable="tw_wipe_cache"/>
5746 </checkbox>
5747
5748 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005749 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005750 <actions>
5751 <action function="set">tw_back=install_type</action>
5752 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005753 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5754 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5755 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005756 <action function="set">tw_has_cancel=1</action>
5757 <action function="set">tw_show_reboot=1</action>
5758 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5759 <action function="page">action_page</action>
5760 </actions>
5761 </slider>
5762
5763 <action>
5764 <touch key="home"/>
5765 <action function="page">main</action>
5766 </action>
5767
5768 <action>
5769 <touch key="back"/>
5770 <action function="page">install_type</action>
5771 </action>
5772 </page>
5773
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005774 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005775 <template name="page"/>
5776
5777 <template name="statusbar"/>
5778
5779 <text style="text_m">
5780 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005781 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005782 </text>
5783
5784 <text style="text_m_accent">
5785 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005786 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005787 </text>
5788
z31s1g28f0a922015-11-07 18:50:22 +01005789 <text style="text_m_fail">
5790 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005791 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005792 </text>
5793
5794 <text style="text_m_fail">
5795 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005796 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005797 </text>
5798
5799 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005800 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005801 <actions>
5802 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005803 <action function="set">tw_action=fixcontexts</action>
5804 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5805 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005806 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005807 <action function="set">tw_show_reboot=1</action>
5808 <action function="page">action_page</action>
5809 </actions>
5810 </slider>
5811
5812 <action>
5813 <touch key="home"/>
5814 <action function="page">main</action>
5815 </action>
5816
5817 <action>
5818 <touch key="back"/>
5819 <action function="page">advanced</action>
5820 </action>
5821 </page>
5822
z31s1g28f0a922015-11-07 18:50:22 +01005823 <page name="slideout">
5824 <fill color="%background_color%">
5825 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5826 </fill>
5827
5828 <console>
5829 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5830 </console>
5831
5832 <fill color="%fileselector_linecolor%">
5833 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5834 </fill>
5835
5836 <fill color="%fileselector_linecolor%">
5837 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5838 </fill>
5839
5840 <button>
5841 <fill color="%transparent%"/>
5842 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5843 <action function="overlay"/>
5844 </button>
5845
5846 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005847 <touch key="power"/>
5848 <action function="togglebacklight"/>
5849 </action>
5850
5851 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005852 <touch key="power+voldown"/>
5853 <action function="screenshot"/>
5854 </action>
5855 </page>
5856
5857 <page name="select_storage">
5858 <template name="page"/>
5859
5860 <template name="statusbar"/>
5861
5862 <text style="text_m">
5863 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5864 <text>%tw_storagetext%</text>
5865 </text>
5866
5867 <partitionlist style="partitionlist_headerless_rb">
5868 <data name="tw_storage_path"/>
5869 <listtype name="storage"/>
5870 </partitionlist>
5871
5872 <button>
5873 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5874 <highlight color="%highlight_color%"/>
5875 <image resource="q_btn_refresh"/>
5876 <actions>
5877 <action function="refreshsizes"/>
5878 <action function="page">select_storage</action>
5879 </actions>
5880 </button>
5881
5882 <button>
5883 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5884 <highlight color="%highlight_color%"/>
5885 <image resource="q_btn_accept"/>
5886 <actions>
5887 <action function="set">tw_clear_destination=%tw_back%</action>
5888 <action function="page">clear_vars</action>
5889 </actions>
5890 </button>
5891
5892 <action>
5893 <touch key="power+voldown"/>
5894 <action function="screenshot"/>
5895 </action>
5896 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005897
5898 <page name="decrypt_users">
5899 <template name="page"/>
5900
5901 <text style="text_l">
5902 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5903 <text>{@decrypt_users=Decrypt Users}</text>
5904 </text>
5905
5906 <text style="text_m_accent">
5907 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5908 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5909 </text>
5910
5911 <listbox>
5912 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5913 <text>{@select_user=Select User}</text>
5914 <icon selected="radio_true" unselected="radio_false" />
5915 <data name="tw_crypto_user_id" />
5916 </listbox>
5917
5918 <button style="main_button_half_height">
5919 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5920 <text>{@decrypt_users=Decrypt Users}</text>
5921 <action function="set">tw_crypto_password=</action>
5922 <action function="set">tw_password_fail=0</action>
5923 <action function="page">decrypt</action>
5924 </button>
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>
epicXa721f952021-01-04 13:01:31 +05305936
5937 <page name="changeTwrpFolder">
5938 <template name="page"/>
5939
5940 <template name="statusbar"/>
5941
5942 <text style="text_m">
5943 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5944 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5945 </text>
5946
5947 <text style="text_m_accent">
5948 <placement x="%col1_x_left%" y="%row1_y%"/>
5949 <text>{@name=Name:}</text>
5950 </text>
5951
5952 <input>
5953 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5954 <text>%tw_custom_folder%</text>
5955 <data name="tw_custom_folder"/>
5956 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5957 <actions>
5958 <action function="set">tw_back=changeTwrpFolder</action>
5959 <action function="set">tw_action=applycustomtwrpfolder</action>
5960 <action function="set">tw_action_param=%tw_custom_folder%</action>
5961 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5962 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5963 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5964 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5965 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5966 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5967 <action function="set">tw_existpage=changeTwrpFolder</action>
5968 <action function="set">tw_notexistpage=confirm_action</action>
5969 <action function="page">filecheck</action>
5970 </actions>
5971 </input>
5972
5973 <fill color="%accent_color%">
5974 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5975 </fill>
5976
5977 <fill color="%text_fail_color%">
5978 <condition var1="tw_fileexists" var2="1"/>
5979 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5980 </fill>
5981
5982 <text style="text_m_fail">
5983 <condition var1="tw_fileexists" var2="1"/>
5984 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5985 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5986 </text>
5987
5988 <button style="main_button_half_width_low">
5989 <placement x="%col1_x_left%" y="%row4_y%"/>
5990 <text>{@cancel_btn=Cancel}</text>
5991 <action function="page">advanced2</action>
5992 </button>
5993
5994 <button style="main_button_half_height">
5995 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5996 <placement x="%col1_x_right%" y="%row4_y%"/>
5997 <text>{@restore_defaults_btn=Restore Defaults}</text>
5998 <actions>
5999 <action function="set">tw_back=changeTwrpFolder</action>
6000 <action function="set">tw_action=applycustomtwrpfolder</action>
6001 <action function="set">tw_action_param=TWRP</action>
6002 <action function="set">tw_text1={@confirm_action=Confirm}</action>
6003 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
6004 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
6005 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
6006 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
6007 <action function="set">tw_filecheck=/sdcard/TWRP</action>
6008 <action function="set">tw_existpage=changeTwrpFolder</action>
6009 <action function="set">tw_notexistpage=confirm_action</action>
6010 <action function="page">filecheck</action>
6011 </actions>
6012 </button>
6013
6014 <template name="keyboardtemplate"/>
6015
6016 <action>
6017 <touch key="home"/>
6018 <actions>
6019 <action function="page">main</action>
6020 </actions>
6021 </action>
6022
6023 <action>
6024 <touch key="back"/>
6025 <actions>
6026 <action function="page">advanced2</action>
6027 </actions>
6028 </action>
6029 </page>
z31s1g28f0a922015-11-07 18:50:22 +01006030 </pages>
6031</recovery>