blob: 8b8fdd75b1d06ff8cb1a70c9559851f3042614fe [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300127 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100128 </style>
129
130 <style name="partitionlist">
131 <highlight color="%fileselector_highlight_color%"/>
132 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
133 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
134 <icon selected="checkbox_true" unselected="checkbox_false"/>
135 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
136 <background color="%background_color%"/>
137 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
138 </style>
139
140 <style name="partitionlist_summary">
141 <highlight color="%fileselector_highlight_color%"/>
142 <background color="%background_color%"/>
143 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
144 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
145 </style>
146
147 <style name="partitionlist_headerless_rb">
148 <highlight color="%fileselector_highlight_color%"/>
149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
150 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
151 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
152 <icon selected="radio_true" unselected="radio_false"/>
153 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
154 <background color="%background_color%"/>
155 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
156 </style>
157
158 <style name="partitionlist_headerless_cb">
159 <highlight color="%fileselector_highlight_color%"/>
160 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
161 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
162 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
163 <icon selected="checkbox_true" unselected="checkbox_false"/>
164 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
165 <background color="%background_color%"/>
166 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
167 </style>
168
Ethan Yonker64e0a652018-07-25 09:52:17 -0500169 <style name="advanced_listbox">
170 <highlight color="%fileselector_highlight_color%"/>
171 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
172 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
173 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
174 <icon selected="handle" unselected="handle"/>
175 <background color="%background_color%"/>
176 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
177 </style>
178
z31s1g28f0a922015-11-07 18:50:22 +0100179 <style name="slider">
180 <placement x="%center_x%" y="%slider_y%"/>
181 <font resource="font_l" color="%text_color%"/>
182 <resource base="slider" used="slider_used" touch="slider_touch"/>
183 </style>
184
185 <style name="slidervalue">
186 <resource handle="handle"/>
187 <font resource="font_m" color="%text_color%"/>
188 <colors line="%fileselector_linecolor%"/>
189 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
190 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100191
192 <style name="patternpassword">
193 <size name="tw_gui_pattern_grid_size" default="3"/>
194 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100195 </styles>
196
197 <pages>
198 <page name="main">
199 <action>
200 <actions>
201 <action function="set">tw_clear_destination=main2</action>
202 <action function="page">clear_vars</action>
203 </actions>
204 </action>
205 </page>
206
207 <page name="main2">
208 <template name="page"/>
209
210 <button style="main_button">
211 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500212 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100213 <action function="page">install_type</action>
214 </button>
215
216 <button style="main_button">
217 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500218 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100219 <action function="page">wipe_type1</action>
220 </button>
221
222 <button style="main_button">
223 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500224 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100225 <actions>
226 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500227 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100228 </actions>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">restore</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">reboot</action>
241 </button>
242
243 <button>
244 <placement x="%btn4_col4_x%" y="%row11_y%"/>
245 <highlight color="%highlight_color%"/>
246 <image resource="q_btn_arrow_right"/>
247 <action function="page">main3</action>
248 </button>
249 </page>
250
Matt Mower32676622017-01-18 18:56:13 -0600251 <page name="copylog">
252 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400253
Matt Mower32676622017-01-18 18:56:13 -0600254 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400255 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600256 <text>{@include_kernel_log=Include Kernel Log}</text>
257 <data variable="tw_include_kernel_log" value="1"/>
258 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400259
260 <slider>
261 <text>{@swipe_confirm= Confirm}</text>
262 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600263 <action function="set">tw_back=main3</action>
264 <action function="set">tw_action=copylog</action>
265 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
266 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400267 <action function="page">action_page</action>
268 </actions>
269 </slider>
270
271 <action>
272 <touch key="back"/>
273 <action function="page">main2</action>
274 </action>
275
276 <action>
277 <touch key="home"/>
278 <action function="page">main</action>
279 </action>
Matt Mower32676622017-01-18 18:56:13 -0600280 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400281
z31s1g28f0a922015-11-07 18:50:22 +0100282 <page name="main3">
283 <template name="page"/>
284
285 <button style="main_button">
286 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <action function="page">mount</action>
289 </button>
290
291 <button style="main_button">
292 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500293 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100294 <action function="page">settings</action>
295 </button>
296
297 <button style="main_button">
298 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500299 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100300 <action function="page">filemanagerlist</action>
301 </button>
302
303 <button style="main_button">
304 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500305 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400306 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </button>
308
309 <button style="main_button">
310 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <action function="page">advanced</action>
313 </button>
314
315 <button>
316 <placement x="%col1_x_left%" y="%row11_y%"/>
317 <highlight color="%highlight_color%"/>
318 <image resource="q_btn_arrow_left"/>
319 <action function="page">main2</action>
320 </button>
321
322 <action>
323 <touch key="back"/>
324 <action function="page">main2</action>
325 </action>
326
327 <action>
328 <touch key="home"/>
329 <action function="page">main</action>
330 </action>
331 </page>
332
333 <page name="install_type">
334 <template name="page"/>
335
336 <template name="statusbar"/>
337
338 <text style="text_m">
339 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 </text>
342
343 <button style="main_button_full_width">
344 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500345 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100346 <actions>
347 <action function="queueclear"/>
348 <action function="set">tw_selectimage=0</action>
349 <action function="page">install</action>
350 </actions>
351 </button>
352
353 <button style="main_button_full_width">
354 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 <actions>
357 <action function="queueclear"/>
358 <action function="set">tw_selectimage=1</action>
359 <action function="page">install</action>
360 </actions>
361 </button>
362
363 <button style="main_button_full_width">
364 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 <action function="page">sideload</action>
367 </button>
368
369 <action>
370 <touch key="home"/>
371 <action function="page">main</action>
372 </action>
373
374 <action>
375 <touch key="back"/>
376 <action function="page">main</action>
377 </action>
378 </page>
379
380 <page name="install">
381 <template name="page"/>
382
383 <template name="statusbar"/>
384
385 <text style="text_m">
386 <condition var1="tw_selectimage" var2="0"/>
387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100389 </text>
390
391 <text style="text_m">
392 <condition var1="tw_selectimage" var2="1"/>
393 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500394 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100395 </text>
396
397 <fileselector>
398 <condition var1="tw_selectimage" var2="0"/>
399 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
400 <text>%tw_zip_location%</text>
mauronofrio0ff59842019-10-26 19:47:55 +0200401 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonald15430b62021-01-23 18:52:28 +0100402 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100403 <path name="tw_zip_location" default="/sdcard"/>
404 <data name="tw_filename"/>
405 <selection name="tw_file"/>
406 </fileselector>
407
408 <fileselector>
409 <condition var1="tw_selectimage" var2="1"/>
410 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
411 <text>%tw_zip_location%</text>
412 <filter extn=".img" folders="1" files="1"/>
413 <path name="tw_zip_location" default="/sdcard"/>
414 <data name="tw_filename"/>
415 <selection name="tw_file"/>
416 </fileselector>
417
418 <button>
419 <placement x="%btn4_col4_x%" y="%row11_y%"/>
420 <highlight color="%highlight_color%"/>
421 <image resource="q_btn_storage"/>
422 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500423 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100424 <action function="set">tw_back=install</action>
425 <action function="page">select_storage</action>
426 </actions>
427 </button>
428
429 <action>
430 <conditions>
431 <condition var1="tw_selectimage" var2="0"/>
432 <condition var1="tw_filename" op="modified"/>
433 </conditions>
434 <actions>
435 <action function="queuezip"/>
436 <action function="page">flash_queue</action>
437 </actions>
438 </action>
439
440 <action>
441 <conditions>
442 <condition var1="tw_selectimage" var2="1"/>
443 <condition var1="tw_filename" op="modified"/>
444 </conditions>
epicXb7337372021-02-24 23:12:08 +0530445 <actions>
446 <action function="set">tw_is_slot_part=0</action>
447 <action function="page">flashimage_type</action>
448 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100449 </action>
450
451 <action>
452 <touch key="back"/>
453 <action function="page">install_type</action>
454 </action>
455
456 <action>
457 <touch key="home"/>
458 <action function="page">main</action>
459 </action>
460 </page>
461
462 <page name="flash_queue">
463 <template name="page"/>
464
465 <template name="statusbar"/>
466
467 <text style="text_m">
468 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 </text>
471
472 <text style="text_m_accent">
473 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 </text>
476
477 <text style="text_m">
478 <placement x="%indent%" y="%row2_y%"/>
479 <text>%tw_file%</text>
480 </text>
481
482 <text style="text_m_accent">
483 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500484 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100485 </text>
486
487 <text style="text_m">
488 <placement x="%indent%" y="%row5_y%"/>
489 <text>%tw_zip_location%</text>
490 </text>
491
492 <text style="text_m">
493 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500494 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 </text>
496
497 <button>
498 <placement x="%col1_x_left%" y="%row11_y%"/>
499 <highlight color="%highlight_color%"/>
500 <image resource="q_btn_arrow_left"/>
501 <actions>
502 <action function="queueclear"/>
503 <action function="page">install</action>
504 </actions>
505 </button>
506
507 <button>
508 <placement x="%btn4_col2_x%" y="%row11_y%"/>
509 <highlight color="%highlight_color%"/>
510 <image resource="q_btn_addzip"/>
511 <action function="page">install</action>
512 </button>
513
514 <button>
515 <placement x="%btn4_col3_x%" y="%row11_y%"/>
516 <highlight color="%highlight_color%"/>
517 <image resource="q_btn_accept"/>
518 <action function="page">flash_confirm</action>
519 </button>
520
521 <button>
522 <placement x="%btn4_col4_x%" y="%row11_y%"/>
523 <highlight color="%highlight_color%"/>
524 <image resource="q_btn_arrow_right"/>
525 <action function="page">flash_options</action>
526 </button>
527
528 <action>
529 <touch key="back"/>
530 <actions>
531 <action function="queueclear"/>
532 <action function="page">install</action>
533 </actions>
534 </action>
535
536 <action>
537 <touch key="home"/>
538 <action function="page">main</action>
539 </action>
540 </page>
541
542 <page name="flash_options">
543 <template name="page"/>
544
545 <template name="statusbar"/>
546
547 <text style="text_m">
548 <condition var1="tw_selectimage" var2="0"/>
549 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100551 </text>
552
553 <checkbox>
554 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500555 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100556 <data variable="tw_signed_zip_verify"/>
557 </checkbox>
558
559 <checkbox>
560 <condition var1="tw_has_injecttwrp" var2="1"/>
561 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500562 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100563 <data variable="tw_inject_after_zip"/>
564 </checkbox>
565
bigbiffa869fc72016-03-01 19:40:36 -0500566 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600567 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500568 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600569 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500570 </checkbox>
571
z31s1g28f0a922015-11-07 18:50:22 +0100572 <button>
573 <placement x="%col1_x_left%" y="%row11_y%"/>
574 <highlight color="%highlight_color%"/>
575 <image resource="q_btn_arrow_left"/>
576 <action function="page">flash_queue</action>
577 </button>
578
579 <button>
580 <placement x="%btn4_col4_x%" y="%row11_y%"/>
581 <highlight color="%highlight_color%"/>
582 <image resource="q_btn_accept_transp"/>
583 <action function="page">flash_confirm</action>
584 </button>
585
586 <action>
587 <touch key="back"/>
588 <action function="page">flash_queue</action>
589 </action>
590
591 <action>
592 <touch key="home"/>
593 <action function="page">main</action>
594 </action>
595 </page>
596
597 <page name="flash_confirm">
598 <template name="page"/>
599
600 <template name="statusbar"/>
601
602 <text style="text_m">
603 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500604 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100605 </text>
606
607 <text style="text_m_accent">
608 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500609 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </text>
611
612 <text style="text_m">
613 <placement x="%indent%" y="%row2_y%"/>
614 <text>%tw_file%</text>
615 </text>
616
617 <button>
618 <fill color="%transparent%"/>
619 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
620 <action function="page">flash_queue</action>
621 </button>
622
623 <text style="text_m_accent">
624 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500625 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100626 </text>
627
628 <text style="text_m">
629 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500630 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100631 </text>
632
633 <button>
634 <fill color="%transparent%"/>
635 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
636 <action function="page">flash_queue</action>
637 </button>
638
639 <listbox style="listbox_options">
640 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500641 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100642 <data variable="tw_signed_zip_verify"/>
643 </listitem>
644 </listbox>
645
646 <text style="text_m_accent">
647 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <condition var1="tw_has_injecttwrp" var2="1"/>
653 <condition var1="tw_inject_after_zip" var2="1"/>
654 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500655 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100656 </text>
657
658 <button>
659 <fill color="%transparent%"/>
660 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
661 <action function="page">flash_options</action>
662 </button>
663
664 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 <action function="flash">flash_zip</action>
667 </slider>
668
669 <action>
670 <touch key="back"/>
671 <actions>
672 <action function="cancelzip"/>
673 <action function="page">install</action>
674 </actions>
675 </action>
676
677 <action>
678 <touch key="home"/>
679 <action function="page">main</action>
680 </action>
681 </page>
682
683 <page name="flash_zip">
684 <template name="page"/>
685
686 <template name="statusbar"/>
687
688 <text style="text_m">
689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600690 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100691 </text>
692
693 <template name="console"/>
694
695 <template name="progress_bar"/>
696
697 <action>
698 <condition var1="tw_operation_state" var2="1"/>
699 <action function="page">flash_done</action>
700 </action>
701 </page>
702
703 <page name="flash_done">
704 <template name="page"/>
705
706 <template name="statusbar"/>
707
708 <text style="text_m_fail">
709 <condition var1="tw_operation_status" op="!=" var2="0"/>
710 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500711 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100712 </text>
713
714 <text style="text_m">
715 <condition var1="tw_operation_status" var2="0"/>
716 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500717 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100718 </text>
719
720 <template name="console"/>
721
722 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500723 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100724 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500725 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100726 <actions>
727 <action function="set">tw_back=flash_done</action>
728 <action function="set">tw_action=wipe</action>
729 <action function="set">tw_action_param=/cache</action>
730 <action function="set">tw_has_action2=1</action>
731 <action function="set">tw_action2=wipe</action>
732 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500733 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
734 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
735 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500736 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
737 <action function="page">confirm_action</action>
738 </actions>
739 </button>
740
741 <button style="main_button_half_height">
742 <condition var1="tw_ab_device" var2="1"/>
743 <placement x="%indent%" y="%row21a_y%"/>
744 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
745 <actions>
746 <action function="set">tw_back=flash_done</action>
747 <action function="set">tw_action=wipe</action>
748 <action function="set">tw_action_param=dalvik</action>
749 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
750 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
751 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
752 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100753 <action function="page">confirm_action</action>
754 </actions>
755 </button>
756
757 <button style="main_button_half_height">
Chaosmaster90df3de2020-02-07 20:33:43 +0100758 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100759 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500760 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100761 <actions>
762 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500763 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100764 </actions>
765 </button>
766
Chaosmaster90df3de2020-02-07 20:33:43 +0100767 <button style="main_button_half_height">
768 <condition var1="tw_ab_device" var2="1"/>
769 <placement x="%col1_x_right%" y="%row13_y%"/>
770 <text>{@reboot_btn=Reboot}</text>
771 <actions>
772 <action function="set">tw_back=main2</action>
773 <action function="page">reboot</action>
774 </actions>
775 </button>
776
z31s1g28f0a922015-11-07 18:50:22 +0100777 <action>
778 <touch key="back"/>
779 <actions>
780 <action function="set">tw_clear_destination=install_type</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </action>
784
785 <action>
786 <touch key="home"/>
787 <actions>
788 <action function="set">tw_clear_destination=main2</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500792
793 <action>
794 <conditions>
795 <condition var1="tw_install_reboot" var2="1"/>
796 <condition var1="tw_operation_status" var2="0"/>
797 <condition var1="tw_reboot_system" var2="1"/>
798 </conditions>
799 <actions>
800 <action function="set">tw_sleep=%tw_sleep_total%</action>
801 <action function="page">flash_sleep_and_reboot</action>
802 </actions>
803 </action>
804 </page>
805
806 <page name="flash_sleep_and_reboot">
807 <template name="page"/>
808
809 <template name="statusbar"/>
810
811 <text style="text_m">
812 <placement x="%col1_x_left%" y="%row1_header_y%"/>
813 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
814 </text>
815
816 <template name="console"/>
817
818 <template name="progress_bar"/>
819
820 <button style="main_button_half_height">
821 <condition var1="tw_sleep" op="&gt;" var2="0"/>
822 <placement x="%col1_x_right%" y="%row13_y%"/>
823 <text>{@cancel_btn=Cancel}</text>
824 <actions>
825 <action function="set">tw_install_reboot=0</action>
826 <action function="page">flash_done</action>
827 </actions>
828 </button>
829
830 <action>
831 <conditions>
832 <condition var1="tw_sleep" var2="tw_sleep_total"/>
833 <condition var1="tw_install_reboot" var2="1"/>
834 </conditions>
835 <action function="sleepcounter">%tw_sleep_total%</action>
836 </action>
837
838 <action>
839 <conditions>
840 <condition var1="tw_sleep" var2="0"/>
841 <condition var1="tw_install_reboot" var2="1"/>
842 </conditions>
843 <actions>
844 <action function="sleep">50000</action>
845 <action function="set">tw_back=main2</action>
846 <action function="page">reboot_system_routine</action>
847 </actions>
848 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100849 </page>
850
851 <page name="flashimage_type">
852 <template name="page"/>
853
854 <template name="statusbar"/>
855
856 <text style="text_m">
857 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600858 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100859 </text>
860
861 <partitionlist style="partitionlist_headerless_rb">
862 <data name="tw_flash_partition"/>
863 <listtype name="flashimg"/>
864 </partitionlist>
865
epicXb7337372021-02-24 23:12:08 +0530866 <button style="checkbox">
867 <conditions>
868 <condition var1="tw_is_slot_part" op="=" var2="1"/>
869 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
870 <condition var1="tw_has_boot_slots" var2="1"/>
871 </conditions>
872 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
873 <text>{@flash_ab_both_slots=Flash to both slots}</text>
874 <image resource="checkbox_false"/>
875 <action function="set">tw_flash_both_slots=1</action>
876 </button>
877
878 <button style="checkbox">
879 <conditions>
880 <condition var1="tw_is_slot_part" op="=" var2="1"/>
881 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
882 <condition var1="tw_has_boot_slots" var2="1"/>
883 </conditions>
884 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
885 <text>{@flash_ab_both_slots=Flash to both slots}</text>
886 <image resource="checkbox_true"/>
887 <action function="set">tw_flash_both_slots=0</action>
888 </button>
889
z31s1g28f0a922015-11-07 18:50:22 +0100890 <button>
891 <placement x="%col1_x_left%" y="%row11_y%"/>
892 <highlight color="%highlight_color%"/>
893 <image resource="q_btn_arrow_left"/>
894 <action function="page">install</action>
895 </button>
896
897 <button>
898 <placement x="%btn4_col4_x%" y="%row11_y%"/>
899 <highlight color="%highlight_color%"/>
900 <image resource="q_btn_accept_transp"/>
901 <action function="page">flashimage_confirm</action>
902 </button>
903
904 <action>
905 <touch key="back"/>
906 <action function="page">install</action>
907 </action>
908
909 <action>
910 <touch key="home"/>
911 <action function="page">main</action>
912 </action>
913 </page>
914
915 <page name="flashimage_confirm">
916 <template name="page"/>
917
918 <template name="statusbar"/>
919
920 <text style="text_m">
921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500922 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100923 </text>
924
925 <text style="text_m_accent">
926 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500927 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100928 </text>
929
930 <text style="text_m">
931 <placement x="%indent%" y="%row2_y%"/>
932 <text>%tw_file%</text>
933 </text>
934
935 <button>
936 <fill color="%transparent%"/>
937 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
938 <action function="page">install</action>
939 </button>
940
941 <text style="text_m_accent">
942 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500943 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100944 </text>
945
946 <text style="text_m">
947 <placement x="%indent%" y="%row5_y%"/>
948 <text>%tw_flash_partition%</text>
949 </text>
950
951 <button>
952 <fill color="%transparent%"/>
953 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
954 <action function="page">flashimage_type</action>
955 </button>
956
957 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500958 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100959 <actions>
960 <action function="set">tw_back=flashimage_confirm</action>
961 <action function="set">tw_action=flashimage</action>
962 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100964 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500965 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100966 <action function="page">action_page</action>
967 </actions>
968 <action function="flashimage"/>
969 </slider>
970
971 <action>
972 <touch key="back"/>
973 <actions>
974 <action function="set">tw_clear_destination=install</action>
975 <action function="page">clear_vars</action>
976 </actions>
977 </action>
978
979 <action>
980 <touch key="home"/>
981 <actions>
982 <action function="set">tw_clear_destination=main2</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </action>
986 </page>
987
988 <page name="clear_vars">
989 <action>
990 <action function="set">tw_operation_state=0</action>
991 <action function="set">tw_text1=</action>
992 <action function="set">tw_text2=</action>
993 <action function="set">tw_text3=</action>
994 <action function="set">tw_text4=</action>
995 <action function="set">tw_action_text1=</action>
996 <action function="set">tw_action_text2=</action>
997 <action function="set">tw_action_param=</action>
998 <action function="set">tw_has_action2=0</action>
999 <action function="set">tw_action2=</action>
1000 <action function="set">tw_action2_param=</action>
1001 <action function="set">tw_has_cancel=0</action>
1002 <action function="set">tw_cancel_action=</action>
1003 <action function="set">tw_cancel_param=</action>
1004 <action function="set">tw_show_exclamation=0</action>
1005 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001006 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001007 <action function="set">tw_multiuser_warning_accepted=</action>
1008 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +01001009 <action function="page">%tw_clear_destination%</action>
1010 </action>
1011 </page>
1012
Matt Mower908dd252016-05-25 02:26:50 -05001013 <page name="reboot_system_routine">
1014 <action>
1015 <action function="set">tw_back=main2</action>
1016 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05001017 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -05001018 <action function="set">tw_has_action2=0</action>
1019 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1020 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
1021 <action function="set">tw_text3=</action>
1022 <action function="set">tw_text4=</action>
1023 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
1024 <action function="set">tw_action_text2=</action>
1025 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1026 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1027 <action function="page">rebootcheck</action>
1028 </action>
1029 </page>
1030
z31s1g28f0a922015-11-07 18:50:22 +01001031 <page name="confirm_action">
1032 <template name="page"/>
1033
1034 <template name="statusbar"/>
1035
1036 <text style="text_m">
1037 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001039 </text>
1040
1041 <text style="text_m_accent">
1042 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1043 <text>%tw_text1%</text>
1044 </text>
1045
1046 <text style="text_m_accent">
1047 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1048 <text>%tw_text2%</text>
1049 </text>
1050
1051 <text style="text_m">
1052 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1053 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1054 <text>%tw_text3%</text>
1055 </text>
1056
1057 <text style="text_m">
1058 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1059 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1060 <text>%tw_text4%</text>
1061 </text>
1062
1063 <text style="text_m_fail">
1064 <condition var1="tw_action" var2="changefilesystem"/>
1065 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1066 <text>%tw_text3%</text>
1067 </text>
1068
1069 <text style="text_m_fail">
1070 <condition var1="tw_action" var2="changefilesystem"/>
1071 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1072 <text>%tw_text4%</text>
1073 </text>
1074
1075 <text style="text_m">
1076 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001077 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001078 </text>
1079
1080 <slider>
1081 <text>%tw_slider_text%</text>
1082 <action function="page">action_page</action>
1083 </slider>
1084
1085 <action>
1086 <touch key="back"/>
1087 <actions>
1088 <action function="set">tw_clear_destination=%tw_back%</action>
1089 <action function="page">clear_vars</action>
1090 </actions>
1091 </action>
1092
1093 <action>
1094 <touch key="home"/>
1095 <action function="page">main</action>
1096 </action>
1097 </page>
1098
1099 <page name="action_page">
1100 <template name="page"/>
1101
1102 <template name="statusbar"/>
1103
1104 <text style="text_m">
1105 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1106 <text>%tw_action_text1% %tw_action_text2%</text>
1107 </text>
1108
1109 <template name="console"/>
1110
1111 <template name="progress_bar"/>
1112
1113 <button style="main_button_half_height">
1114 <condition var1="tw_has_cancel" var2="1"/>
1115 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1118 </button>
1119
1120 <action>
1121 <condition var1="tw_operation_state" var2="1"/>
1122 <actions>
1123 <action function="page">action_complete</action>
1124 </actions>
1125 </action>
1126
1127 <action>
1128 <condition var1="tw_has_action2" var2="0"/>
1129 <actions>
1130 <action function="%tw_action%">%tw_action_param%</action>
1131 </actions>
1132 </action>
1133
1134 <action>
1135 <condition var1="tw_has_action2" var2="1"/>
1136 <actions>
1137 <action function="%tw_action%">%tw_action_param%</action>
1138 <action function="%tw_action2%">%tw_action2_param%</action>
1139 </actions>
1140 </action>
1141 </page>
1142
1143 <page name="singleaction_page">
1144 <template name="page"/>
1145
1146 <template name="statusbar"/>
1147
1148 <text style="text_m">
1149 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1150 <text>%tw_action_text1% %tw_action_text2%</text>
1151 </text>
1152
1153 <template name="console"/>
1154
1155 <template name="progress_bar"/>
1156
1157 <action>
1158 <condition var1="tw_operation_state" var2="1"/>
1159 <actions>
1160 <action function="set">tw_page_done=1</action>
1161 </actions>
1162 </action>
1163
1164 <action>
1165 <condition var1="tw_has_action2" var2="0"/>
1166 <actions>
1167 <action function="%tw_action%">%tw_action_param%</action>
1168 </actions>
1169 </action>
1170
1171 <action>
1172 <condition var1="tw_has_action2" var2="1"/>
1173 <actions>
1174 <action function="%tw_action%">%tw_action_param%</action>
1175 <action function="%tw_action2%">%tw_action2_param%</action>
1176 </actions>
1177 </action>
1178 </page>
1179
1180 <page name="action_complete">
1181 <template name="page"/>
1182
1183 <template name="statusbar"/>
1184
1185 <text style="text_m_fail">
1186 <condition var1="tw_operation_status" op="!=" var2="0"/>
1187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <text style="text_m">
1192 <condition var1="tw_operation_status" var2="0"/>
1193 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001194 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001195 </text>
1196
1197 <template name="console"/>
1198
1199 <button style="main_button_half_height">
1200 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 <actions>
1203 <action function="set">tw_clear_destination=%tw_back%</action>
1204 <action function="page">clear_vars</action>
1205 </actions>
1206 </button>
1207
1208 <button style="main_button_half_height">
1209 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001210 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001211 <actions>
1212 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001213 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001214 </actions>
1215 </button>
1216
1217 <action>
1218 <touch key="home"/>
1219 <actions>
1220 <action function="set">tw_clear_destination=main2</action>
1221 <action function="page">clear_vars</action>
1222 </actions>
1223 </action>
1224
1225 <action>
1226 <touch key="back"/>
1227 <actions>
1228 <action function="set">tw_clear_destination=%tw_back%</action>
1229 <action function="page">clear_vars</action>
1230 </actions>
1231 </action>
1232 </page>
1233
1234 <page name="filecheck">
1235 <action>
1236 <action function="fileexists">%tw_filecheck%</action>
1237 </action>
1238
1239 <action>
1240 <conditions>
1241 <condition var1="tw_operation_state" var2="1"/>
1242 <condition var1="tw_operation_status" var2="0"/>
1243 </conditions>
1244 <actions>
1245 <action function="set">tw_fileexists=1</action>
1246 <action function="page">%tw_existpage%</action>
1247 </actions>
1248 </action>
1249
1250 <action>
1251 <conditions>
1252 <condition var1="tw_operation_state" var2="1"/>
1253 <condition var1="tw_operation_status" var2="1"/>
1254 </conditions>
1255 <actions>
1256 <action function="set">tw_fileexists=0</action>
1257 <action function="page">%tw_notexistpage%</action>
1258 </actions>
1259 </action>
1260 </page>
1261
1262 <page name="rebootcheck">
1263 <action>
1264 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001265 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001266 </action>
1267
1268 <action>
1269 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1270 <action function="page">confirm_action</action>
1271 </action>
1272 </page>
1273
1274 <page name="wipe_type1">
1275 <template name="page"/>
1276
1277 <template name="statusbar"/>
1278
1279 <text style="text_m">
1280 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <button style="main_button_full_width">
1285 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <action function="page">wipe</action>
1288 </button>
1289
1290 <button style="main_button_full_width">
1291 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001292 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001293 <actions>
1294 <action function="set">partitionlisterror=0</action>
1295 <action function="page">advancedwipe</action>
1296 </actions>
1297 </button>
1298
1299 <button>
1300 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1301 <highlight color="%highlight_color%"/>
1302 <image resource="q_btn_arrow_right"/>
1303 <action function="page">wipe_type2</action>
1304 </button>
1305
1306 <action>
1307 <touch key="home"/>
1308 <action function="page">main</action>
1309 </action>
1310
1311 <action>
1312 <touch key="back"/>
1313 <action function="page">main</action>
1314 </action>
1315 </page>
1316
1317 <page name="wipe_type2">
1318 <template name="page"/>
1319
1320 <template name="statusbar"/>
1321
1322 <text style="text_m">
1323 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <button style="main_button_full_width">
1328 <condition var1="tw_has_data_media" var2="1"/>
1329 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <action function="page">formatdata</action>
1332 </button>
1333
1334 <button style="main_button_full_width">
1335 <conditions>
1336 <condition var1="tw_is_encrypted" var2="1"/>
1337 <condition var1="tw_has_data_media" var2="0"/>
1338 </conditions>
1339 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <actions>
1342 <action function="set">tw_back=wipe</action>
1343 <action function="set">tw_action=wipe</action>
1344 <action function="set">tw_action_param=DATAMEDIA</action>
1345 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1349 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1350 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">confirm_action</action>
1352 </actions>
1353 </button>
1354
1355 <button style="main_button_full_width">
1356 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001358 <action function="set">partitionlisterror=0</action>
1359 <action function="page">partitionoptions_select</action>
1360 </actions>
1361 </button>
1362
1363 <button>
1364 <placement x="%col1_x_left%" y="%row11_y%"/>
1365 <highlight color="%highlight_color%"/>
1366 <image resource="q_btn_arrow_left"/>
1367 <action function="page">wipe_type1</action>
1368 </button>
1369
1370 <action>
1371 <touch key="home"/>
1372 <action function="page">main</action>
1373 </action>
1374
1375 <action>
1376 <touch key="back"/>
1377 <action function="page">main</action>
1378 </action>
1379 </page>
1380
1381 <page name="wipe">
1382 <template name="page"/>
1383
1384 <template name="statusbar"/>
1385
1386 <text style="text_m">
1387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001389 </text>
1390
1391 <text style="text_m_accent">
1392 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 </text>
1395
1396 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001397 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001398 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1399 </text>
1400
1401 <text style="text_m_accent">
1402 <condition var1="tw_has_data_media" var2="1"/>
1403 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m_accent">
1408 <conditions>
1409 <condition var1="tw_has_android_secure" var2="1"/>
1410 <condition var1="fileexists" var2="/and-sec"/>
1411 </conditions>
1412 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 </text>
1415
1416 <text style="text_m_accent">
1417 <condition var1="tw_has_sdext_partition" var2="1"/>
1418 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 </text>
1421
1422 <text style="text_m">
1423 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 </text>
1426
1427 <text style="text_m">
1428 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001430 </text>
1431
1432 <text style="text_m">
1433 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001435 </text>
1436
1437 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001438 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001439 <actions>
1440 <action function="set">tw_back=wipe</action>
1441 <action function="set">tw_action=wipe</action>
1442 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1444 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001445 <action function="page">action_page</action>
1446 </actions>
1447 </slider>
1448
1449 <action>
1450 <touch key="back"/>
1451 <action function="page">wipe_type1</action>
1452 </action>
1453
1454 <action>
1455 <touch key="home"/>
1456 <action function="page">main</action>
1457 </action>
1458 </page>
1459
1460 <page name="advancedwipe">
1461 <action>
1462 <action function="set">tw_wipe_list=</action>
1463 </action>
1464
1465 <template name="page"/>
1466
1467 <template name="statusbar"/>
1468
1469 <text style="text_m">
1470 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001472 </text>
1473
1474 <partitionlist style="partitionlist_headerless_cb">
1475 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1476 <data name="tw_wipe_list"/>
1477 <listtype name="wipe"/>
1478 </partitionlist>
1479
1480 <fill color="%accent_color%">
1481 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1482 </fill>
1483
1484 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 <actions>
1487 <action function="set">tw_back=advancedwipe</action>
1488 <action function="set">tw_action=wipe</action>
1489 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1491 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1492 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001493 <action function="page">action_page</action>
1494 </actions>
1495 </slider>
1496
1497 <action>
1498 <touch key="home"/>
1499 <action function="page">main</action>
1500 </action>
1501
1502 <action>
1503 <touch key="back"/>
1504 <action function="page">wipe_type1</action>
1505 </action>
1506 </page>
1507
1508 <page name="formatdata">
1509 <template name="page"/>
1510
1511 <template name="statusbar"/>
1512
1513 <text style="text_m">
1514 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001515 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001516 </text>
1517
1518 <text style="text_m_fail">
1519 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001520 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001521 </text>
1522
1523 <text style="text_m_fail">
1524 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001525 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001526 </text>
1527
1528 <text style="text_m">
1529 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001530 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001531 </text>
1532
1533 <input>
1534 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1535 <text>%tw_confirm_formatdata%</text>
1536 <data name="tw_confirm_formatdata"/>
1537 <restrict minlen="3" maxlen="3" allow="yes"/>
1538 <action function="page">formatdata_confirm</action>
1539 </input>
1540
1541 <fill color="%accent_color%">
1542 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1543 </fill>
1544
1545 <template name="keyboardtemplate"/>
1546
1547 <action>
1548 <touch key="home"/>
1549 <action function="page">main</action>
1550 </action>
1551
1552 <action>
1553 <touch key="back"/>
1554 <action function="page">wipe_type2</action>
1555 </action>
1556 </page>
1557
1558 <page name="formatdata_confirm">
1559 <action>
1560 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1561 <actions>
1562 <action function="set">tw_back=formatdata</action>
1563 <action function="set">tw_action=wipe</action>
1564 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001565 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1566 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001567 <action function="page">action_page</action>
1568 </actions>
1569 </action>
1570
1571 <action>
1572 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1573 <action function="page">formatdata</action>
1574 </action>
1575 </page>
1576
1577 <page name="checkpartitionlist">
1578 <action>
1579 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1580 <actions>
1581 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001582 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001583 <action function="page">partitionoptions</action>
1584 </actions>
1585 </action>
1586
1587 <action>
1588 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1589 <actions>
1590 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <action function="page">partitionoptions_select</action>
1592 </actions>
1593 </action>
1594 </page>
1595
1596 <page name="partitionoptions_select">
1597 <action>
1598 <action function="set">tw_wipe_list=</action>
1599 </action>
1600
1601 <template name="page"/>
1602
1603 <template name="statusbar"/>
1604
1605 <text style="text_m">
1606 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001607 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001608 </text>
1609
1610 <partitionlist style="partitionlist_headerless_cb">
1611 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1612 <data name="tw_wipe_list"/>
1613 <listtype name="wipe"/>
1614 </partitionlist>
1615
1616 <fill color="%accent_color%">
1617 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1618 </fill>
1619
z31s1g28f0a922015-11-07 18:50:22 +01001620 <text style="text_m_fail">
1621 <condition var1="partitionlisterror" var2="1"/>
1622 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001623 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001624 </text>
1625
1626 <button>
1627 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1628 <highlight color="%highlight_color%"/>
1629 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001630 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001631 <action function="page">checkpartitionlist</action>
1632 </actions>
1633 </button>
1634
1635 <action>
1636 <touch key="home"/>
1637 <action function="page">main</action>
1638 </action>
1639
1640 <action>
1641 <touch key="back"/>
1642 <action function="page">wipe_type2</action>
1643 </action>
1644 </page>
1645
1646 <page name="partitionoptions">
1647
1648 <template name="page"/>
1649
1650 <template name="statusbar"/>
1651
1652 <text style="text_m">
1653 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 </text>
1656
1657 <text style="text_m_accent">
1658 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001659 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001660 </text>
1661
1662 <text style="text_m_accent">
1663 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <text style="text_m">
1668 <condition var1="tw_partition_is_present" var2="1"/>
1669 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <condition var1="tw_partition_is_present" var2="0"/>
1675 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <text style="text_m">
1680 <condition var1="tw_partition_removable" var2="1"/>
1681 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 </text>
1684
1685 <text style="text_m">
1686 <condition var1="tw_partition_removable" var2="0"/>
1687 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001688 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001689 </text>
1690
1691 <text style="text_m">
1692 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 </text>
1695
1696 <text style="text_m">
1697 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001698 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001699 </text>
1700
1701 <text style="text_m">
1702 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001703 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001704 </text>
1705
1706 <text style="text_m">
1707 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 </text>
1710
1711 <button style="main_button">
1712 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1713 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001715 <actions>
1716 <action function="set">tw_back=partitionoptions</action>
1717 <action function="set">tw_action=resize</action>
1718 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1719 <action function="set">tw_has_action2=1</action>
1720 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001721 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001723 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001724 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1725 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1726 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="page">confirm_action</action>
1728 </actions>
1729 </button>
1730
1731 <button style="main_button">
1732 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1733 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 <actions>
1736 <action function="set">tw_back=partitionoptions</action>
1737 <action function="set">tw_action=repair</action>
1738 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1739 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001741 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1743 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1744 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001745 <action function="page">confirm_action</action>
1746 </actions>
1747 </button>
1748
1749 <button>
1750 <placement x="%col1_x_left%" y="%row11_y%"/>
1751 <highlight color="%highlight_color%"/>
1752 <image resource="q_btn_arrow_left"/>
1753 <action function="page">partitionoptions_select</action>
1754 </button>
1755
1756 <button style="main_button">
1757 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001758 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001759 <action function="page">selectfilesystem</action>
1760 </button>
1761
1762 <action>
1763 <touch key="home"/>
1764 <action function="page">main</action>
1765 </action>
1766
1767 <action>
1768 <touch key="back"/>
1769 <action function="page">partitionoptions_select</action>
1770 </action>
1771 </page>
1772
1773 <page name="refreshfilesystem">
1774 <action>
1775 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1776 <actions>
1777 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001778 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001779 <action function="page">selectfilesystem</action>
1780 </actions>
1781 </action>
1782
1783 <action>
1784 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1785 <actions>
1786 <action function="set">partitionlisterror=1</action>
1787 <action function="set">tw_wipe_list=</action>
1788 <action function="page">advancedwipe</action>
1789 </actions>
1790 </action>
1791 </page>
1792
1793 <page name="selectfilesystem">
1794 <template name="page"/>
1795
1796 <template name="statusbar"/>
1797
1798 <text style="text_m">
1799 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 </text>
1802
1803 <button style="main_button">
1804 <condition var1="tw_partition_ext" op="=" var2="1"/>
1805 <placement x="%col1_x_left%" y="%row1_y%"/>
1806 <text>EXT2</text>
1807 <actions>
1808 <action function="set">tw_back=refreshfilesystem</action>
1809 <action function="set">tw_action=changefilesystem</action>
1810 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1811 <action function="set">tw_action_new_file_system=ext2</action>
1812 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001813 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1814 <action function="set">tw_text2=EXT2</action>
1815 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1816 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1817 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1818 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1819 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001820 <action function="page">confirm_action</action>
1821 </actions>
1822 </button>
1823
1824 <button style="main_button">
1825 <condition var1="tw_partition_ext" op="=" var2="1"/>
1826 <placement x="%col1_x_left%" y="%row6_y%"/>
1827 <text>EXT3</text>
1828 <actions>
1829 <action function="set">tw_back=refreshfilesystem</action>
1830 <action function="set">tw_action=changefilesystem</action>
1831 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1832 <action function="set">tw_action_new_file_system=ext3</action>
1833 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001834 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1835 <action function="set">tw_text2=EXT3</action>
1836 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1837 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1838 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1839 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1840 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001841 <action function="page">confirm_action</action>
1842 </actions>
1843 </button>
1844
1845 <button style="main_button">
1846 <condition var1="tw_partition_ext" op="=" var2="1"/>
1847 <placement x="%col1_x_left%" y="%row11_y%"/>
1848 <text>EXT4</text>
1849 <actions>
1850 <action function="set">tw_back=refreshfilesystem</action>
1851 <action function="set">tw_action=changefilesystem</action>
1852 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1853 <action function="set">tw_action_new_file_system=ext4</action>
1854 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1856 <action function="set">tw_text2=EXT4</action>
1857 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1858 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1859 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1860 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1861 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001862 <action function="page">confirm_action</action>
1863 </actions>
1864 </button>
1865
1866 <button style="main_button">
1867 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1868 <placement x="%col1_x_right%" y="%row1_y%"/>
1869 <text>FAT</text>
1870 <actions>
1871 <action function="set">tw_back=refreshfilesystem</action>
1872 <action function="set">tw_action=changefilesystem</action>
1873 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1874 <action function="set">tw_action_new_file_system=vfat</action>
1875 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001876 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1877 <action function="set">tw_text2=FAT</action>
1878 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1879 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1880 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1881 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1882 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001883 <action function="page">confirm_action</action>
1884 </actions>
1885 </button>
1886
1887 <button style="main_button">
1888 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1889 <placement x="%col1_x_right%" y="%row6_y%"/>
1890 <text>exFAT</text>
1891 <actions>
1892 <action function="set">tw_back=refreshfilesystem</action>
1893 <action function="set">tw_action=changefilesystem</action>
1894 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1895 <action function="set">tw_action_new_file_system=exfat</action>
1896 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001897 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1898 <action function="set">tw_text2=exFAT</action>
1899 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1900 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1901 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1902 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1903 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001904 <action function="page">confirm_action</action>
1905 </actions>
1906 </button>
1907
1908 <button style="main_button">
1909 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1910 <placement x="%col1_x_right%" y="%row11_y%"/>
1911 <text>F2FS</text>
1912 <actions>
1913 <action function="set">tw_back=refreshfilesystem</action>
1914 <action function="set">tw_action=changefilesystem</action>
1915 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1916 <action function="set">tw_action_new_file_system=f2fs</action>
1917 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1919 <action function="set">tw_text2=F2FS</action>
1920 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1921 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1922 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1923 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1924 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001925 <action function="page">confirm_action</action>
1926 </actions>
1927 </button>
1928
1929 <action>
1930 <touch key="home"/>
1931 <action function="page">main</action>
1932 </action>
1933
1934 <action>
1935 <touch key="back"/>
1936 <action function="page">partitionoptions</action>
1937 </action>
1938 </page>
1939
bigbiffce8f83c2015-12-12 18:30:21 -05001940 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001941 <template name="page"/>
1942
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001943 <action>
1944 <conditions>
1945 <condition var1="tw_is_fbe" var2="1"/>
1946 <condition var1="tw_all_users_decrypted" var2="0"/>
1947 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1948 </conditions>
1949 <actions>
1950 <action function="set">tw_multiuser_warning_destination=backup</action>
1951 <action function="page">multiuser_warning</action>
1952 </actions>
1953 </action>
1954
z31s1g28f0a922015-11-07 18:50:22 +01001955 <template name="statusbar"/>
1956
1957 <text style="text_m">
1958 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001959 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001960 </text>
1961
1962 <partitionlist style="partitionlist_headerless_rb">
1963 <data name="tw_storage_path"/>
1964 <listtype name="storage"/>
1965 </partitionlist>
1966
1967 <button>
1968 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1969 <highlight color="%highlight_color%"/>
1970 <image resource="q_btn_refresh"/>
1971 <actions>
1972 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001973 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001974 </actions>
1975 </button>
1976
1977 <button>
1978 <condition var1="tw_back" var2="backup_confirm"/>
1979 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1980 <highlight color="%highlight_color%"/>
1981 <image resource="q_btn_accept"/>
1982 <action function="page">backup_confirm</action>
1983 </button>
1984
1985 <button>
1986 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1987 <highlight color="%highlight_color%"/>
1988 <image resource="q_btn_arrow_right"/>
1989 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001990 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001991 <action function="page">backup_selectpartitions</action>
1992 </actions>
1993 </button>
1994
1995 <action>
1996 <touch key="home"/>
1997 <action function="page">main</action>
1998 </action>
1999
2000 <action>
2001 <touch key="back"/>
2002 <action function="page">%tw_back%</action>
2003 </action>
2004
2005 <action>
2006 <touch key="power+voldown"/>
2007 <action function="screenshot"/>
2008 </action>
2009 </page>
2010
2011 <page name="backup_selectpartitions">
2012 <template name="page"/>
2013
2014 <template name="statusbar"/>
2015
2016 <text style="text_m">
2017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 </text>
2020
2021 <partitionlist style="partitionlist_headerless_cb">
2022 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2023 <data name="tw_backup_list"/>
2024 <listtype name="backup"/>
2025 </partitionlist>
2026
2027 <fill color="%accent_color%">
2028 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2029 </fill>
2030
2031 <button>
2032 <placement x="%col1_x_left%" y="%row11_y%"/>
2033 <highlight color="%highlight_color%"/>
2034 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002035 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002036 </button>
2037
2038 <button>
2039 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2040 <highlight color="%highlight_color%"/>
2041 <image resource="q_btn_refresh"/>
2042 <action function="page">backup_selectpartitions</action>
2043 </button>
2044
2045 <button>
2046 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2047 <highlight color="%highlight_color%"/>
2048 <image resource="q_btn_accept"/>
2049 <action function="page">backup_confirm</action>
2050 </button>
2051
2052 <button>
2053 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2054 <highlight color="%highlight_color%"/>
2055 <image resource="q_btn_arrow_right"/>
2056 <actions>
2057 <action function="set">tw_back=backup_selectpartitions</action>
2058 <action function="page">backup_options</action>
2059 </actions>
2060 </button>
2061
2062 <action>
2063 <touch key="home"/>
2064 <action function="page">main</action>
2065 </action>
2066
2067 <action>
2068 <touch key="back"/>
2069 <action function="page">%tw_back%</action>
2070 </action>
2071
2072 <action>
2073 <touch key="power+voldown"/>
2074 <action function="screenshot"/>
2075 </action>
2076 </page>
2077
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002078 <page name="multiuser_warning">
2079 <template name="page"/>
2080
2081 <text style="text_m">
2082 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2083 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2084 </text>
2085
2086 <text style="text_m_fail">
2087 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2088 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2089 </text>
2090
2091 <text style="text_m_fail">
2092 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2093 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2094 </text>
2095
2096 <button style="main_button_full_width">
2097 <placement x="%col1_x_left%" y="%row6_y%"/>
2098 <text>{@decrypt_users=Decrypt Users}</text>
2099 <action function="page">decrypt_users</action>
2100 </button>
2101
2102 <slider>
2103 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2104 <actions>
2105 <action function="set">tw_multiuser_warning_accepted=1</action>
2106 <action function="page">%tw_multiuser_warning_destination%</action>
2107 </actions>
2108 </slider>
2109
2110 <action>
2111 <touch key="home"/>
2112 <action function="page">main</action>
2113 </action>
2114
2115 <action>
2116 <touch key="back"/>
2117 <action function="page">main</action>
2118 </action>
2119 </page>
2120
z31s1g28f0a922015-11-07 18:50:22 +01002121 <page name="backup_options">
2122 <template name="page"/>
2123
2124 <template name="statusbar"/>
2125
2126 <text style="text_m">
2127 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002128 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </text>
2130
2131 <listbox style="scrolllist">
2132 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002134 <data variable="tw_use_compression"/>
2135 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002136 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2137 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002138 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002139 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002140 <data variable="tw_disable_free_space"/>
2141 </listitem>
2142 </listbox>
2143
2144 <button>
2145 <placement x="%col1_x_left%" y="%row11_y%"/>
2146 <highlight color="%highlight_color%"/>
2147 <image resource="q_btn_arrow_left"/>
2148 <action function="page">backup_selectpartitions</action>
2149 </button>
2150
2151 <button>
2152 <conditions>
2153 <condition var1="tw_include_encrypted_backup" var2="1"/>
2154 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002155 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002156 </conditions>
2157 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2158 <highlight color="%highlight_color%"/>
2159 <image resource="q_btn_encryption_dis"/>
2160 <actions>
2161 <action function="set">tw_password_not_match=0</action>
2162 <action function="set">tw_back=backup_options</action>
2163 <action function="page">backupencryption</action>
2164 </actions>
2165 </button>
2166
2167 <button>
2168 <conditions>
2169 <condition var1="tw_include_encrypted_backup" var2="1"/>
2170 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002171 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002172 </conditions>
2173 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2174 <highlight color="%highlight_color%"/>
2175 <image resource="q_btn_encryption_en"/>
2176 <actions>
2177 <action function="set">tw_password_not_match=0</action>
2178 <action function="set">tw_back=backup_options</action>
2179 <action function="page">backupencryption</action>
2180 </actions>
2181 </button>
2182
2183 <button>
2184 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2185 <highlight color="%highlight_color%"/>
2186 <image resource="q_btn_accept_transp"/>
2187 <actions>
2188 <action function="set">tw_back=backup_options</action>
2189 <action function="page">backup_confirm</action>
2190 </actions>
2191 </button>
2192
2193 <action>
2194 <touch key="home"/>
2195 <action function="page">main</action>
2196 </action>
2197
2198 <action>
2199 <touch key="back"/>
2200 <action function="page">%tw_back%</action>
2201 </action>
2202
2203 <action>
2204 <touch key="power+voldown"/>
2205 <action function="screenshot"/>
2206 </action>
2207 </page>
2208
2209 <page name="backup_confirm">
2210 <template name="page"/>
2211
2212 <template name="statusbar"/>
2213
2214 <text style="text_m">
2215 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002216 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002217 </text>
2218
2219 <text style="text_m_accent">
2220 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002222 </text>
2223
2224 <text style="text_m">
2225 <placement x="%col1_x_left%" y="%row2_y%"/>
2226 <text>%tw_backup_name%</text>
2227 </text>
2228
2229 <fill color="%accent_color%">
2230 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2231 </fill>
2232
2233 <button>
2234 <fill color="%transparent%"/>
2235 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2236 <actions>
2237 <action function="set">tw_back=backup_confirm</action>
2238 <action function="set">tw_fileexists=0</action>
2239 <action function="page">backup_name1</action>
2240 </actions>
2241 </button>
2242
2243 <fill color="%background_color%">
2244 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2245 </fill>
2246
2247 <text style="text_m_accent">
2248 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002249 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002250 </text>
2251
2252 <partitionlist style="partitionlist_summary">
2253 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2254 <data name="tw_backup_list"/>
2255 <listtype name="backup"/>
2256 </partitionlist>
2257
2258 <button>
2259 <fill color="%transparent%"/>
2260 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2261 <actions>
2262 <action function="set">tw_back=backup_confirm</action>
2263 <action function="page">backup_selectpartitions</action>
2264 </actions>
2265 </button>
2266
2267 <text style="text_m_accent">
2268 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002269 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002270 </text>
2271
2272 <text style="text_m">
2273 <placement x="%col1_x_right%" y="%row2_y%"/>
2274 <text>%tw_storage_display_name%</text>
2275 </text>
2276
2277 <button>
2278 <fill color="%transparent%"/>
2279 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2280 <actions>
2281 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002282 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002283 </actions>
2284 </button>
2285
2286 <text style="text_m_accent">
2287 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 </text>
2290
2291 <text style="text_m">
2292 <conditions>
2293 <condition var1="tw_include_encrypted_backup" var2="1"/>
2294 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002295 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </conditions>
2297 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002298 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </text>
2300
2301 <text style="text_m">
2302 <conditions>
2303 <condition var1="tw_include_encrypted_backup" var2="1"/>
2304 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002305 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </conditions>
2307 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002308 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002309 </text>
2310
2311 <button>
2312 <fill color="%transparent%"/>
2313 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2314 <actions>
2315 <action function="set">tw_back=backup_confirm</action>
2316 <action function="page">backupencryption</action>
2317 </actions>
2318 </button>
2319
2320 <listbox style="listbox_options">
2321 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002323 <data variable="tw_use_compression"/>
2324 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002325 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2326 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002327 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002328 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002329 <data variable="tw_disable_free_space"/>
2330 </listitem>
2331 </listbox>
2332
2333 <text style="text_m_accent">
2334 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002335 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002336 </text>
2337
2338 <button>
2339 <fill color="%transparent%"/>
2340 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2341 <actions>
2342 <action function="set">tw_back=backup_confirm</action>
2343 <action function="page">backup_options</action>
2344 </actions>
2345 </button>
2346
2347 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 <action function="page">backup_run</action>
2350 </slider>
2351
2352 <action>
2353 <touch key="home"/>
2354 <action function="page">main</action>
2355 </action>
2356
2357 <action>
2358 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002359 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </action>
2361 </page>
2362
2363 <page name="backup_name1">
2364 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <action function="generatebackupname"/>
2367 </action>
2368
2369 <action>
2370 <action function="page">backup_name2</action>
2371 </action>
2372 </page>
2373
2374 <page name="backup_name2">
2375 <template name="page"/>
2376
2377 <template name="statusbar"/>
2378
2379 <text style="text_m">
2380 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <text style="text_m_accent">
2385 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 </text>
2388
2389 <input>
2390 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2391 <text>%tw_backup_name%</text>
2392 <data name="tw_backup_name"/>
2393 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2394 <actions>
2395 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2396 <action function="set">tw_existpage=backup_name2</action>
2397 <action function="set">tw_notexistpage=backup_confirm</action>
2398 <action function="page">filecheck</action>
2399 </actions>
2400 </input>
2401
2402 <fill color="%accent_color%">
2403 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2404 </fill>
2405
2406 <fill color="%text_fail_color%">
2407 <condition var1="tw_fileexists" var2="1"/>
2408 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2409 </fill>
2410
2411 <text style="text_m_fail">
2412 <condition var1="tw_fileexists" var2="1"/>
2413 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <button style="main_button_half_height">
2418 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002421 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="page">backup_confirm</action>
2423 </actions>
2424 </button>
2425
2426 <button style="main_button_half_height">
2427 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002428 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002429 <action function="appenddatetobackupname"/>
2430 </button>
2431
2432 <template name="keyboardtemplate"/>
2433
2434 <action>
2435 <touch key="home"/>
2436 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002437 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002438 <action function="page">main</action>
2439 </actions>
2440 </action>
2441
2442 <action>
2443 <touch key="back"/>
2444 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="page">backup_confirm</action>
2447 </actions>
2448 </action>
2449 </page>
2450
2451 <page name="backupencryption">
2452 <template name="page"/>
2453
2454 <template name="statusbar"/>
2455
2456 <text style="text_m">
2457 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <text style="text_m_accent">
2462 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002463 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002464 </text>
2465
2466 <input>
2467 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2468 <text>%tw_backup_encrypt_display%</text>
2469 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2470 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2471 <action function="page">backupencryption2</action>
2472 </input>
2473
2474 <fill color="%accent_color%">
2475 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2476 </fill>
2477
2478 <fill color="%text_fail_color%">
2479 <condition var1="tw_password_not_match" var2="1"/>
2480 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2481 </fill>
2482
2483 <text style="text_m_fail">
2484 <condition var1="tw_password_not_match" var2="1"/>
2485 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002486 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002487 </text>
2488
2489 <button style="main_button_half_height">
2490 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002491 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002492 <actions>
2493 <action function="set">tw_encrypt_backup=0</action>
2494 <action function="set">tw_backup_password=</action>
2495 <action function="set">tw_backup_password2=</action>
2496 <action function="set">tw_backup_encrypt_display=</action>
2497 <action function="set">tw_backup_encrypt_display2=</action>
2498 <action function="page">%tw_back%</action>
2499 </actions>
2500 </button>
2501
2502 <template name="keyboardtemplate"/>
2503
2504 <action>
2505 <touch key="home"/>
2506 <action function="page">main</action>
2507 </action>
2508
2509 <action>
2510 <touch key="back"/>
2511 <action function="page">%tw_back%</action>
2512 </action>
2513 </page>
2514
2515 <page name="backupencryption2">
2516 <template name="page"/>
2517
2518 <template name="statusbar"/>
2519
2520 <text style="text_m">
2521 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002522 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002523 </text>
2524
2525 <text style="text_m_accent">
2526 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <input>
2531 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2532 <text>%tw_backup_encrypt_display2%</text>
2533 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2534 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2535 <action function="page">checkbackuppassword</action>
2536 </input>
2537
2538 <fill color="%accent_color%">
2539 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2540 </fill>
2541
2542 <button style="main_button_half_height">
2543 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <actions>
2546 <action function="set">tw_encrypt_backup=0</action>
2547 <action function="set">tw_backup_password=</action>
2548 <action function="set">tw_backup_password2=</action>
2549 <action function="set">tw_backup_encrypt_display=</action>
2550 <action function="set">tw_backup_encrypt_display2=</action>
2551 <action function="page">%tw_back%</action>
2552 </actions>
2553 </button>
2554
2555 <template name="keyboardtemplate"/>
2556
2557 <action>
2558 <touch key="home"/>
2559 <action function="page">main</action>
2560 </action>
2561
2562 <action>
2563 <touch key="back"/>
2564 <action function="page">%tw_back%</action>
2565 </action>
2566 </page>
2567
2568 <page name="checkbackuppassword">
2569 <action>
2570 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2571 <actions>
2572 <action function="set">tw_encrypt_backup=1</action>
2573 <action function="page">%tw_back%</action>
2574 </actions>
2575 </action>
2576
2577 <action>
2578 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2579 <actions>
2580 <action function="set">tw_encrypt_backup=0</action>
2581 <action function="set">tw_password_not_match=1</action>
2582 <action function="set">tw_backup_password=</action>
2583 <action function="set">tw_backup_password2=</action>
2584 <action function="set">tw_backup_encrypt_display=</action>
2585 <action function="set">tw_backup_encrypt_display2=</action>
2586 <action function="page">backupencryption</action>
2587 </actions>
2588 </action>
2589 </page>
2590
2591 <page name="backup_run">
2592 <template name="page"/>
2593
2594 <template name="statusbar"/>
2595
2596 <text style="text_m">
2597 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2598 <text>%tw_operation% %tw_partition%</text>
2599 </text>
2600
2601 <template name="console"/>
2602
2603 <template name="progress_bar"/>
2604
2605 <text style="text_m">
2606 <placement x="%indent%" y="%row13a_y%"/>
2607 <text>%tw_file_progress%</text>
2608 </text>
2609
2610 <text style="text_m">
2611 <placement x="%indent%" y="%row14a_y%"/>
2612 <text>%tw_size_progress%</text>
2613 </text>
2614
2615 <button style="main_button_half_height">
2616 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002617 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002618 <action function="cancelbackup"/>
2619 </button>
2620
2621 <action>
2622 <action function="nandroid">backup</action>
2623 </action>
2624
2625 <action>
2626 <condition var1="tw_operation_state" var2="1"/>
2627 <condition var1="tw_cancel_backup" var2="0"/>
2628 <actions>
2629 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002630 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002631 <action function="set">tw_show_reboot=1</action>
2632 <action function="page">action_complete</action>
2633 </actions>
2634 </action>
2635
2636 <action>
2637 <condition var1="tw_operation_state" var2="1"/>
2638 <condition var1="tw_cancel_backup" var2="1"/>
2639 <actions>
2640 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <action function="set">tw_show_reboot=1</action>
2643 <action function="page">action_complete</action>
2644 </actions>
2645 </action>
2646 </page>
2647
2648 <page name="restore">
2649 <template name="page"/>
2650
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002651 <action>
2652 <conditions>
2653 <condition var1="tw_is_fbe" var2="1"/>
2654 <condition var1="tw_all_users_decrypted" var2="0"/>
2655 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2656 </conditions>
2657 <actions>
2658 <action function="set">tw_multiuser_warning_destination=restore</action>
2659 <action function="page">multiuser_warning</action>
2660 </actions>
2661 </action>
2662
z31s1g28f0a922015-11-07 18:50:22 +01002663 <template name="statusbar"/>
2664
2665 <text style="text_m">
2666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002667 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <fileselector>
2671 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2672 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002673 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002674 <path name="tw_backups_folder"/>
2675 <data name="tw_restore" default=""/>
2676 <selection name="tw_restore_name"/>
2677 </fileselector>
2678
2679 <button>
2680 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2681 <highlight color="%highlight_color%"/>
2682 <image resource="q_btn_storage"/>
2683 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="set">tw_back=restore</action>
2686 <action function="page">select_storage</action>
2687 </actions>
2688 </button>
2689
2690 <action>
2691 <condition var1="tw_restore" op="modified"/>
2692 <actions>
2693 <action function="readBackup"/>
2694 <action function="set">tw_back=restore</action>
2695 <action function="page">restore_read</action>
2696 </actions>
2697 </action>
2698
2699 <action>
2700 <touch key="home"/>
2701 <action function="page">main</action>
2702 </action>
2703
2704 <action>
2705 <touch key="back"/>
2706 <action function="page">main</action>
2707 </action>
2708 </page>
2709
2710 <page name="restore_read">
2711 <action>
2712 <condition var1="tw_restore_encrypted" var2="1"/>
2713 <actions>
2714 <action function="set">tw_password_fail=0</action>
2715 <action function="page">restore_decrypt</action>
2716 </actions>
2717 </action>
2718
2719 <action>
2720 <condition var1="tw_restore_encrypted" var2="0"/>
2721 <actions>
2722 <action function="page">restore_select</action>
2723 </actions>
2724 </action>
2725 </page>
2726
2727 <page name="restore_decrypt">
2728 <template name="page"/>
2729
2730 <template name="statusbar"/>
2731
2732 <text style="text_m">
2733 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002735 </text>
2736
2737 <text style="text_m_accent">
2738 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 </text>
2741
2742 <input>
2743 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2744 <text>%tw_restore_display%</text>
2745 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2746 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2747 <action function="page">try_restore_decrypt</action>
2748 </input>
2749
2750 <fill color="%accent_color%">
2751 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2752 </fill>
2753
2754 <fill color="%text_fail_color%">
2755 <condition var1="tw_password_fail" var2="1"/>
2756 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2757 </fill>
2758
2759 <text style="text_m_fail">
2760 <condition var1="tw_password_fail" var2="1"/>
2761 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002763 </text>
2764
2765 <button style="main_button_half_height">
2766 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <actions>
2769 <action function="set">tw_page_done=1</action>
2770 <action function="page">restore</action>
2771 </actions>
2772 </button>
2773
2774 <button style="main_button_half_height">
2775 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002776 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002777 <actions>
2778 <action function="set">tw_back=restore</action>
2779 <action function="set">tw_action=cmd</action>
2780 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2782 <action function="set">tw_text2=%tw_restore_name%</action>
2783 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2784 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2785 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2786 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002787 <action function="page">confirm_action</action>
2788 </actions>
2789 </button>
2790
2791 <template name="keyboardtemplate"/>
2792
2793 <action>
2794 <touch key="home"/>
2795 <action function="page">main</action>
2796 </action>
2797
2798 <action>
2799 <touch key="back"/>
2800 <action function="page">restore</action>
2801 </action>
2802 </page>
2803
2804 <page name="try_restore_decrypt">
2805 <template name="page"/>
2806
2807 <template name="statusbar"/>
2808
2809 <text style="text_m">
2810 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002811 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002812 </text>
2813
2814 <template name="console"/>
2815
2816 <template name="progress_bar"/>
2817
2818 <action>
2819 <action function="decrypt_backup"/>
2820 </action>
2821
2822 <action>
2823 <conditions>
2824 <condition var1="tw_operation_state" var2="1"/>
2825 <condition var1="tw_operation_status" op="!=" var2="0"/>
2826 </conditions>
2827 <actions>
2828 <action function="set">tw_password_fail=1</action>
2829 <action function="page">restore_decrypt</action>
2830 </actions>
2831 </action>
2832
2833 <action>
2834 <conditions>
2835 <condition var1="tw_operation_state" var2="1"/>
2836 <condition var1="tw_operation_status" op="=" var2="0"/>
2837 </conditions>
2838 <actions>
2839 <action function="set">tw_page_done=1</action>
2840 <action function="page">restore_select</action>
2841 </actions>
2842 </action>
2843 </page>
2844
2845 <page name="restore_select">
2846 <template name="page"/>
2847
2848 <template name="statusbar"/>
2849
2850 <text style="text_m">
2851 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002852 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002853 </text>
2854
2855 <partitionlist style="partitionlist_headerless_cb">
2856 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2857 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2858 <listtype name="restore"/>
2859 </partitionlist>
2860
2861 <fill color="%accent_color%">
2862 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2863 </fill>
2864
2865 <button>
2866 <placement x="%col1_x_left%" y="%row11_y%"/>
2867 <highlight color="%highlight_color%"/>
2868 <image resource="q_btn_arrow_left"/>
2869 <action function="page">restore</action>
2870 </button>
2871
2872 <button>
2873 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2874 <highlight color="%highlight_color%"/>
2875 <image resource="q_btn_delete"/>
2876 <actions>
2877 <action function="set">tw_back=restore</action>
2878 <action function="set">tw_action=cmd</action>
2879 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002880 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002881 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002882 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2883 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2884 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2885 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002886 <action function="page">confirm_action</action>
2887 </actions>
2888 </button>
2889
2890 <button>
2891 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2892 <highlight color="%highlight_color%"/>
2893 <image resource="q_btn_accept"/>
2894 <action function="page">restore_confirm</action>
2895 </button>
2896
2897 <button>
2898 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2899 <highlight color="%highlight_color%"/>
2900 <image resource="q_btn_arrow_right"/>
2901 <actions>
2902 <action function="set">tw_back=restore_select</action>
2903 <action function="page">restore_options</action>
2904 </actions>
2905 </button>
2906
2907 <action>
2908 <touch key="home"/>
2909 <action function="page">main</action>
2910 </action>
2911
2912 <action>
2913 <touch key="back"/>
2914 <action function="page">%tw_back%</action>
2915 </action>
2916 </page>
2917
2918 <page name="restore_options">
2919 <template name="page"/>
2920
2921 <template name="statusbar"/>
2922
2923 <text style="text_m">
2924 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002929 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002930 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002931 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2932 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002933 </listitem>
2934 </listbox>
2935
2936 <button>
2937 <placement x="%col1_x_left%" y="%row11_y%"/>
2938 <highlight color="%highlight_color%"/>
2939 <image resource="q_btn_arrow_left"/>
2940 <action function="page">restore_select</action>
2941 </button>
2942
2943 <button>
2944 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2945 <highlight color="%highlight_color%"/>
2946 <image resource="q_btn_accept_transp"/>
2947 <actions>
2948 <action function="set">tw_back=restore_options</action>
2949 <action function="page">restore_confirm</action>
2950 </actions>
2951 </button>
2952
2953 <action>
2954 <touch key="home"/>
2955 <action function="page">main</action>
2956 </action>
2957
2958 <action>
2959 <touch key="back"/>
2960 <action function="page">%tw_back%</action>
2961 </action>
2962
2963 <action>
2964 <touch key="power+voldown"/>
2965 <action function="screenshot"/>
2966 </action>
2967 </page>
2968
2969 <page name="renamebackup">
2970 <template name="page"/>
2971
2972 <template name="statusbar"/>
2973
2974 <text style="text_m">
2975 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002976 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002977 </text>
2978
2979 <text style="text_m_accent">
2980 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 </text>
2983
2984 <input>
2985 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2986 <text>%tw_backup_rename%</text>
2987 <data name="tw_backup_rename"/>
2988 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2989 <actions>
2990 <action function="set">tw_back=restore</action>
2991 <action function="set">tw_action=cmd</action>
2992 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002993 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2994 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2995 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2996 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2997 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002998 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2999 <action function="set">tw_existpage=renamebackup</action>
3000 <action function="set">tw_notexistpage=confirm_action</action>
3001 <action function="page">filecheck</action>
3002 </actions>
3003 </input>
3004
3005 <fill color="%accent_color%">
3006 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3007 </fill>
3008
3009 <fill color="%text_fail_color%">
3010 <condition var1="tw_fileexists" var2="1"/>
3011 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3012 </fill>
3013
3014 <text style="text_m_fail">
3015 <condition var1="tw_fileexists" var2="1"/>
3016 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 </text>
3019
3020 <button style="main_button_half_height">
3021 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 <action function="page">restore_confirm</action>
3024 </button>
3025
3026 <template name="keyboardtemplate"/>
3027
3028 <action>
3029 <touch key="home"/>
3030 <action function="page">main</action>
3031 </action>
3032
3033 <action>
3034 <touch key="back"/>
3035 <action function="page">restore_confirm</action>
3036 </action>
3037 </page>
3038
3039 <page name="restore_confirm">
3040 <template name="page"/>
3041
3042 <template name="statusbar"/>
3043
3044 <text style="text_m">
3045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003046 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </text>
3048
3049 <text style="text_m_accent">
3050 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 </text>
3053
3054 <text style="text_m">
3055 <placement x="%indent%" y="%row2_y%"/>
3056 <text>%tw_restore_name%</text>
3057 </text>
3058
3059 <fill color="%accent_color%">
3060 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3061 </fill>
3062
3063 <button>
3064 <fill color="%transparent%"/>
3065 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3066 <actions>
3067 <action function="set">tw_back=restore_confirm</action>
3068 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3069 <action function="set">tw_fileexists=0</action>
3070 <action function="page">renamebackup</action>
3071 </actions>
3072 </button>
3073
3074 <text style="text_m_accent">
3075 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003077 </text>
3078
3079 <partitionlist style="partitionlist_summary">
3080 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3081 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3082 <listtype name="restore"/>
3083 </partitionlist>
3084
3085 <button>
3086 <fill color="%transparent%"/>
3087 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3088 <actions>
3089 <action function="set">tw_back=restore_confirm</action>
3090 <action function="page">restore_select</action>
3091 </actions>
3092 </button>
3093
3094 <listbox style="listbox_options">
3095 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003096 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3097 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003098 </listitem>
3099 </listbox>
3100
3101 <text style="text_m_accent">
3102 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 </text>
3105
3106 <button>
3107 <fill color="%transparent%"/>
3108 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3109 <actions>
3110 <action function="set">tw_back=restore_confirm</action>
3111 <action function="page">restore_options</action>
3112 </actions>
3113 </button>
3114
3115 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003116 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003117 <action function="page">restore_run</action>
3118 </slider>
3119
3120 <action>
3121 <touch key="home"/>
3122 <action function="page">main</action>
3123 </action>
3124
3125 <action>
3126 <touch key="back"/>
3127 <action function="page">restore_options</action>
3128 </action>
3129 </page>
3130
3131 <page name="restore_run">
3132 <template name="page"/>
3133
3134 <template name="statusbar"/>
3135
3136 <text style="text_m">
3137 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3138 <text>%tw_operation% %tw_partition%</text>
3139 </text>
3140
3141 <template name="console"/>
3142
3143 <template name="progress_bar"/>
3144
3145 <text style="text_m">
3146 <placement x="%indent%" y="%row14a_y%"/>
3147 <text>%tw_size_progress%</text>
3148 </text>
3149
3150 <action>
3151 <condition var1="tw_operation_state" var2="1"/>
3152 <actions>
3153 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003154 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003155 <action function="set">tw_show_reboot=1</action>
3156 <action function="page">action_complete</action>
3157 </actions>
3158 </action>
3159
3160 <action>
3161 <action function="nandroid">restore</action>
3162 </action>
3163 </page>
3164
3165 <page name="mount">
3166 <template name="page"/>
3167
3168 <template name="statusbar"/>
3169
3170 <text style="text_m">
3171 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 </text>
3174
3175 <partitionlist style="partitionlist_headerless_cb">
3176 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3177 <listtype name="mount"/>
3178 </partitionlist>
3179
3180 <fill color="%accent_color%">
3181 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3182 </fill>
3183
3184 <button style="checkbox">
3185 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3186 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 <image resource="checkbox_false"/>
3189 <action function="mountsystemtoggle">1</action>
3190 </button>
3191
3192 <button style="checkbox">
3193 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3194 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <image resource="checkbox_true"/>
3197 <actions>
3198 <action function="set">tw_lifetime_writes=2</action>
3199 <action function="page">system_readonly_check</action>
3200 </actions>
3201 </button>
3202
3203 <button style="checkbox">
3204 <conditions>
3205 <condition var1="tw_has_mtp" var2="1"/>
3206 <condition var1="tw_mtp_enabled" var2="0"/>
3207 </conditions>
3208 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3209 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 <action function="startmtp"/>
3212 </button>
3213
3214 <button style="checkbox">
3215 <conditions>
3216 <condition var1="tw_has_mtp" var2="1"/>
3217 <condition var1="tw_mtp_enabled" var2="1"/>
3218 </conditions>
3219 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3220 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="stopmtp"/>
3223 </button>
3224
3225 <button>
3226 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3227 <highlight color="%highlight_color%"/>
3228 <image resource="q_btn_storage"/>
3229 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003231 <action function="set">tw_back=mount</action>
3232 <action function="page">select_storage</action>
3233 </actions>
3234 </button>
3235
3236 <button>
3237 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3238 <highlight color="%highlight_color%"/>
3239 <image resource="q_btn_arrow_right"/>
3240 <action function="page">mount_options</action>
3241 </button>
3242
3243 <action>
3244 <touch key="home"/>
3245 <action function="page">main</action>
3246 </action>
3247
3248 <action>
3249 <touch key="back"/>
3250 <action function="page">main</action>
3251 </action>
3252 </page>
3253
3254 <page name="mount_options">
3255 <template name="page"/>
3256
3257 <template name="statusbar"/>
3258
3259 <text style="text_m">
3260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003262 </text>
3263
3264 <button style="main_button_full_width">
3265 <condition var1="tw_has_usb_storage" var2="1"/>
3266 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 <action function="page">usb_mount</action>
3269 </button>
3270
3271 <button style="main_button_full_width">
3272 <conditions>
3273 <condition var1="tw_is_encrypted" var2="1"/>
3274 <condition var1="tw_is_decrypted" var2="0"/>
3275 </conditions>
3276 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003278 <action function="set">tw_crypto_user_id=0</action>
3279 <action function="set">tw_crypto_password=</action>
3280 <action function="set">tw_password_fail=0</action>
3281 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <action function="page">decrypt</action>
3283 </button>
3284
3285 <button>
3286 <placement x="%col1_x_left%" y="%row11_y%"/>
3287 <highlight color="%highlight_color%"/>
3288 <image resource="q_btn_arrow_left"/>
3289 <action function="page">mount</action>
3290 </button>
3291
3292 <action>
3293 <touch key="home"/>
3294 <action function="page">main</action>
3295 </action>
3296
3297 <action>
3298 <touch key="back"/>
3299 <action function="page">mount</action>
3300 </action>
3301 </page>
3302
3303 <page name="usb_mount">
3304 <template name="page"/>
3305
3306 <template name="statusbar"/>
3307
3308 <text style="text_m">
3309 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003310 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </text>
3312
3313 <text style="text_m_accent">
3314 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m_fail">
3319 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </text>
3322
3323 <text style="text_m_fail">
3324 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <button style="main_button">
3329 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">usb_umount</action>
3332 </button>
3333
3334 <action>
3335 <action function="mount">usb</action>
3336 <action function="set">tw_busy=1</action>
3337 </action>
3338 </page>
3339
3340 <page name="usb_umount">
3341 <action>
3342 <action function="unmount">usb</action>
3343 </action>
3344
3345 <action>
3346 <action function="page">mount_options</action>
3347 <action function="set">tw_busy=0</action>
3348 </action>
3349 </page>
3350
3351 <page name="system_readonly_check">
3352 <action>
3353 <action function="checkpartitionlifetimewrites">/system</action>
3354 </action>
3355
3356 <action>
3357 <condition var1="tw_lifetime_writes" var2="1"/>
3358 <actions>
3359 <action function="mountsystemtoggle">0</action>
3360 <action function="page">mount</action>
3361 </actions>
3362 </action>
3363
3364 <action>
3365 <condition var1="tw_lifetime_writes" var2="0"/>
3366 <actions>
3367 <action function="set">tw_back=mount</action>
3368 <action function="page">system_readonly</action>
3369 </actions>
3370 </action>
3371 </page>
3372
3373 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003374 <action>
3375 <action function="checkforapp"></action>
3376 <action function="page">reboot2</action>
3377 </action>
3378 </page>
3379
3380 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003381 <template name="page"/>
3382
3383 <template name="statusbar"/>
3384
3385 <text style="text_m">
3386 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003387 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003388 </text>
3389
3390 <button style="main_button">
3391 <condition var1="tw_reboot_system" var2="1"/>
3392 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003393 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003394 <actions>
3395 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003396 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003397 </actions>
3398 </button>
3399
3400 <button style="main_button">
3401 <condition var1="tw_reboot_poweroff" var2="1"/>
3402 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003404 <actions>
3405 <action function="set">tw_back=reboot</action>
3406 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003407 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003408 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003409 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003410 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3411 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3412 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3413 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3414 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003415 <action function="page">rebootcheck</action>
3416 </actions>
3417 </button>
3418
3419 <button style="main_button">
3420 <condition var1="tw_reboot_recovery" var2="1"/>
3421 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003422 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003423 <actions>
3424 <action function="set">tw_back=reboot</action>
3425 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003426 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003427 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003428 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003429 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3430 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3431 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3432 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3433 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <action function="page">rebootcheck</action>
3435 </actions>
3436 </button>
3437
3438 <button style="main_button">
3439 <condition var1="tw_reboot_bootloader" var2="1"/>
3440 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003442 <actions>
3443 <action function="set">tw_back=reboot</action>
3444 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003445 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003446 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003447 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003448 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3449 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3450 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3451 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3452 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <action function="page">rebootcheck</action>
3454 </actions>
3455 </button>
3456
3457 <button style="main_button">
3458 <condition var1="tw_download_mode" var2="1"/>
3459 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <actions>
3462 <action function="set">tw_back=reboot</action>
3463 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003464 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003465 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3468 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3469 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3470 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3471 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003472 <action function="page">rebootcheck</action>
3473 </actions>
3474 </button>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003475
mauronofrioe9a49ef2018-10-03 13:38:16 +02003476 <button style="main_button">
3477 <condition var1="tw_edl_mode" var2="1"/>
3478 <placement x="%col1_x_right%" y="%row11_y%"/>
3479 <text>{@rb_edl_btn=Edl}</text>
3480 <actions>
3481 <action function="set">tw_back=reboot</action>
3482 <action function="set">tw_action=reboot</action>
3483 <action function="set">tw_action_param=edl</action>
3484 <action function="set">tw_reboot_param=edl</action>
3485 <action function="set">tw_has_action2=0</action>
3486 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3487 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3488 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3489 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3490 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3491 <action function="page">rebootcheck</action>
3492 </actions>
3493 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003494
3495 <action>
3496 <touch key="home"/>
3497 <action function="page">main</action>
3498 </action>
3499
3500 <action>
3501 <touch key="back"/>
3502 <action function="page">main</action>
3503 </action>
3504 </page>
3505
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003506 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003507 <template name="page"/>
3508
3509 <template name="statusbar"/>
3510
3511 <text style="text_m">
3512 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003513 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003514 </text>
3515
3516 <text style="text_m_accent">
3517 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3518 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3519 </text>
3520
3521 <text style="text_m">
3522 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3523 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3524 </text>
3525
3526 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003527 <condition var1="tw_mount_system_ro" var2="0"/>
3528 <placement x="%indent%" y="%row5_y%"/>
3529 <text>{@reboot_install_app_system=Install as a System App}</text>
3530 <data variable="tw_app_install_system"/>
3531 </checkbox>
3532
3533 <button style="main_button_half_height">
3534 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003535 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003536 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003537 </button>
3538
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003539 <slider>
3540 <text>{@swipe_confirm= Confirm}</text>
3541 <actions>
3542 <action function="set">tw_action=installapp</action>
3543 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3544 <action function="set">tw_action_text2=</action>
3545 <action function="set">tw_complete_text1={@successful=Successful}</action>
3546 <action function="page">action_page</action>
3547 </actions>
3548 </slider>
3549
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003550 <action>
3551 <touch key="home"/>
3552 <actions>
3553 <action function="set">tw_app_install_status=0</action>
3554 <action function="page">main</action>
3555 </actions>
3556 </action>
3557
3558 <action>
3559 <touch key="back"/>
3560 <actions>
3561 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003562 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003563 </actions>
3564 </action>
3565 </page>
3566
z31s1g28f0a922015-11-07 18:50:22 +01003567 <page name="system_readonly">
3568 <template name="page"/>
3569
3570 <template name="statusbar"/>
3571
3572 <text style="text_m">
3573 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 </text>
3576
3577 <text style="text_m_accent">
3578 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003580 </text>
3581
3582 <text style="text_m">
3583 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003584 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003585 </text>
3586
3587 <text style="text_m">
3588 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003590 </text>
3591
3592 <text style="text_m">
3593 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003595 </text>
3596
3597 <text style="text_m">
3598 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 </text>
3601
3602 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003603 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003604 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003605 </text>
3606
3607 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003608 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 </text>
3611
z31s1g608d7ff2016-01-18 19:47:25 +01003612 <button style="main_button_half_height">
3613 <placement x="%col1_x_right%" y="%row8a_y%"/>
3614 <text>{@sel_lang_btn=Select Language}</text>
3615 <action function="page">settings_language</action>
3616 </button>
3617
z31s1g28f0a922015-11-07 18:50:22 +01003618 <checkbox>
3619 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003620 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003621 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003622 <data variable="tw_never_show_system_ro_page"/>
3623 </checkbox>
3624
3625 <button style="main_button_half_height">
3626 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003627 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003628 <actions>
3629 <action function="mountsystemtoggle">1</action>
3630 <action function="set">tw_page_done=1</action>
3631 <action function="page">%tw_back%</action>
3632 </actions>
3633 </button>
3634
3635 <button style="main_button_half_height">
3636 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 <actions>
3639 <action function="mountsystemtoggle">0</action>
3640 <action function="set">tw_page_done=1</action>
3641 <action function="page">%tw_back%</action>
3642 </actions>
3643 </button>
3644 </page>
3645
3646 <page name="settings">
3647 <template name="page"/>
3648
3649 <template name="statusbar"/>
3650
3651 <text style="text_m">
3652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003653 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003654 </text>
3655
3656 <button style="main_button">
3657 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003658 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003659 <action function="page">settings_general</action>
3660 </button>
3661
3662 <button style="main_button">
3663 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="page">settings_timezone</action>
3666 </button>
3667
3668 <button style="main_button">
3669 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="page">settings_screen</action>
3672 </button>
3673
3674 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003675 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003676 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003678 <action function="page">settings_vibration</action>
3679 </button>
3680
3681 <button style="main_button">
3682 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 <action function="page">settings_language</action>
3685 </button>
3686
3687 <button>
3688 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3689 <highlight color="%highlight_color%"/>
3690 <image resource="q_btn_reset"/>
3691 <action function="restoredefaultsettings"/>
3692 </button>
3693
3694 <action>
3695 <touch key="home"/>
3696 <action function="page">main</action>
3697 </action>
3698
3699 <action>
3700 <touch key="back"/>
3701 <action function="page">main3</action>
3702 </action>
3703 </page>
3704
3705 <page name="settings_general">
3706 <template name="page"/>
3707
3708 <template name="statusbar"/>
3709
3710 <text style="text_m">
3711 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003713 </text>
3714
3715 <listbox style="scrolllist">
3716 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003717 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003718 <data variable="tw_signed_zip_verify"/>
3719 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003720 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3721 <data variable="tw_install_reboot"/>
3722 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003723 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003724 <data variable="tw_rm_rf"/>
3725 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003726 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3727 <data variable="tw_disable_free_space"/>
3728 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003729 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3730 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003731 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003732 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3733 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003734 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003735 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003736 <data variable="tw_military_time"/>
3737 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003739 <data variable="tw_simulate_actions"/>
3740 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003741 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003742 <data variable="tw_simulate_fail"/>
3743 <condition var1="tw_simulate_actions" var2="1"/>
3744 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003745 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3746 <condition var1="tw_no_sha2" var2="0"/>
3747 <data variable="tw_use_sha2"/>
3748 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003749 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3750 <data variable="tw_unmount_system"/>
3751 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </listbox>
3753
3754 <action>
3755 <touch key="home"/>
3756 <action function="page">main</action>
3757 </action>
3758
3759 <action>
3760 <touch key="back"/>
3761 <action function="page">settings</action>
3762 </action>
3763 </page>
3764
3765 <page name="settings_timezone">
3766 <template name="page"/>
3767
3768 <template name="statusbar"/>
3769
3770 <text style="text_m">
3771 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003772 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003773 </text>
3774
3775 <text color="%text_color%">
3776 <font resource="font_m"/>
3777 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3778 <text>%tw_time%</text>
3779 </text>
3780
3781 <listbox style="listbox_headerless">
3782 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3783 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3785 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3786 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3787 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3788 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3789 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3790 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3791 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3792 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3793 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3794 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3795 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3796 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3797 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3798 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3799 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3800 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3801 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3802 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3803 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3804 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3805 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3806 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3807 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003808 </listbox>
3809
3810 <button>
3811 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3812 <highlight color="%highlight_color%"/>
3813 <image resource="q_btn_arrow_right"/>
3814 <actions>
3815 <action function="setguitimezone"/>
3816 <action function="page">settings_timezone2</action>
3817 </actions>
3818 </button>
3819
3820 <action>
3821 <condition var1="tw_time_zone_guisel" op="modified"/>
3822 <action function="setguitimezone"/>
3823 </action>
3824
3825 <action>
3826 <touch key="home"/>
3827 <actions>
3828 <action function="page">main</action>
3829 <action function="setguitimezone"/>
3830 </actions>
3831 </action>
3832
3833 <action>
3834 <touch key="back"/>
3835 <actions>
3836 <action function="page">settings</action>
3837 <action function="setguitimezone"/>
3838 </actions>
3839 </action>
3840
3841 <action>
3842 <touch key="power+voldown"/>
3843 <action function="screenshot"/>
3844 </action>
3845 </page>
3846
3847 <page name="settings_timezone2">
3848 <template name="page"/>
3849
3850 <template name="statusbar"/>
3851
3852 <text style="text_m">
3853 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003855 </text>
3856
3857 <text color="%text_color%">
3858 <font resource="font_m"/>
3859 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3860 <text>%tw_time%</text>
3861 </text>
3862
3863 <checkbox>
3864 <placement x="%col1_x_left%" y="%row1_y%"/>
3865 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 <data variable="tw_time_zone_guidst"/>
3868 <image checked="checkbox_true" unchecked="checkbox_false"/>
3869 </checkbox>
3870
3871 <text style="text_m_accent">
3872 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 </text>
3875
3876 <button style="main_button_quarter_width">
3877 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <actions>
3880 <action function="set">tw_time_zone_guioffset=0</action>
3881 <action function="setguitimezone"/>
3882 </actions>
3883 </button>
3884
3885 <button style="main_button_quarter_width">
3886 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003887 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003888 <actions>
3889 <action function="set">tw_time_zone_guioffset=15</action>
3890 <action function="setguitimezone"/>
3891 </actions>
3892 </button>
3893
3894 <button style="main_button_quarter_width">
3895 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 <actions>
3898 <action function="set">tw_time_zone_guioffset=30</action>
3899 <action function="setguitimezone"/>
3900 </actions>
3901 </button>
3902
3903 <button style="main_button_quarter_width">
3904 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003905 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003906 <actions>
3907 <action function="set">tw_time_zone_guioffset=45</action>
3908 <action function="setguitimezone"/>
3909 </actions>
3910 </button>
3911
3912 <button>
3913 <placement x="%col1_x_left%" y="%row11_y%"/>
3914 <highlight color="%highlight_color%"/>
3915 <image resource="q_btn_arrow_left"/>
3916 <actions>
3917 <action function="setguitimezone"/>
3918 <action function="page">settings_timezone</action>
3919 </actions>
3920 </button>
3921
3922 <text style="text_m_accent">
3923 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003925 </text>
3926
3927 <text style="text_m">
3928 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3929 <text>%tw_time_zone%</text>
3930 </text>
3931
3932 <action>
3933 <condition var1="tw_time_zone_guidst" op="modified"/>
3934 <action function="setguitimezone"/>
3935 </action>
3936
3937 <action>
3938 <touch key="home"/>
3939 <actions>
3940 <action function="setguitimezone"/>
3941 <action function="page">main</action>
3942 </actions>
3943 </action>
3944
3945 <action>
3946 <touch key="back"/>
3947 <actions>
3948 <action function="setguitimezone"/>
3949 <action function="page">settings_timezone</action>
3950 </actions>
3951 </action>
3952 </page>
3953
3954 <page name="settings_screen">
3955 <template name="page"/>
3956
3957 <template name="statusbar"/>
3958
3959 <text style="text_m">
3960 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <button style="checkbox">
3965 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3966 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3967 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003969 <image resource="checkbox_false"/>
3970 <action function="set">tw_screen_timeout_secs=60</action>
3971 </button>
3972
3973 <button style="checkbox">
3974 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3975 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3976 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003977 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 <image resource="checkbox_true"/>
3979 <action function="set">tw_screen_timeout_secs=0</action>
3980 </button>
3981
3982 <slidervalue>
3983 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3984 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003985 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003986 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3987 </slidervalue>
3988
3989 <text style="text_m_fail">
3990 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3991 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 </text>
3994
3995 <button>
3996 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3997 <highlight color="%highlight_color%"/>
3998 <image resource="q_btn_arrow_right"/>
3999 <action function="page">settings_screen2</action>
4000 </button>
4001
4002 <action>
4003 <touch key="home"/>
4004 <action function="page">main</action>
4005 </action>
4006
4007 <action>
4008 <touch key="back"/>
4009 <action function="page">settings</action>
4010 </action>
4011 </page>
4012
4013 <page name="settings_screen2">
4014 <template name="page"/>
4015
4016 <template name="statusbar"/>
4017
4018 <text style="text_m">
4019 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 </text>
4022
4023 <slidervalue>
4024 <condition var1="tw_has_brightnesss_file" var2="1"/>
4025 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004026 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004027 <data variable="tw_brightness_pct" min="10" max="100"/>
4028 <actions>
4029 <action function="set">tw_brightness=%tw_brightness_max%</action>
4030 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4031 <action function="compute">tw_brightness/100</action>
4032 <action function="setbrightness">%tw_brightness%</action>
4033 </actions>
4034 </slidervalue>
4035
4036 <text style="text_m_fail">
4037 <condition var1="tw_has_brightnesss_file" var2="0"/>
4038 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <button>
4043 <placement x="%col1_x_left%" y="%row11_y%"/>
4044 <highlight color="%highlight_color%"/>
4045 <image resource="q_btn_arrow_left"/>
4046 <action function="page">settings_screen</action>
4047 </button>
4048
4049 <action>
4050 <touch key="home"/>
4051 <action function="page">main</action>
4052 </action>
4053
4054 <action>
4055 <touch key="back"/>
4056 <action function="page">settings</action>
4057 </action>
4058 </page>
4059
4060 <page name="settings_vibration">
4061 <template name="page"/>
4062
4063 <template name="statusbar"/>
4064
4065 <text style="text_m">
4066 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004067 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004068 </text>
4069
4070 <slidervalue>
4071 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004072 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004073 <data variable="tw_button_vibrate" min="0" max="300"/>
4074 </slidervalue>
4075
4076 <button>
4077 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4078 <highlight color="%highlight_color%"/>
4079 <image resource="q_btn_arrow_right"/>
4080 <action function="page">settings_vibration2</action>
4081 </button>
4082
4083 <action>
4084 <touch key="home"/>
4085 <action function="page">main</action>
4086 </action>
4087
4088 <action>
4089 <touch key="back"/>
4090 <action function="page">settings</action>
4091 </action>
4092 </page>
4093
4094 <page name="settings_vibration2">
4095 <template name="page"/>
4096
4097 <template name="statusbar"/>
4098
4099 <text style="text_m">
4100 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <slidervalue>
4105 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4108 </slidervalue>
4109
4110 <button>
4111 <placement x="%col1_x_left%" y="%row11_y%"/>
4112 <highlight color="%highlight_color%"/>
4113 <image resource="q_btn_arrow_left"/>
4114 <action function="page">settings_vibration</action>
4115 </button>
4116
4117 <button>
4118 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4119 <highlight color="%highlight_color%"/>
4120 <image resource="q_btn_arrow_right"/>
4121 <action function="page">settings_vibration3</action>
4122 </button>
4123
4124 <action>
4125 <touch key="home"/>
4126 <action function="page">main</action>
4127 </action>
4128
4129 <action>
4130 <touch key="back"/>
4131 <action function="page">settings</action>
4132 </action>
4133 </page>
4134
4135 <page name="settings_vibration3">
4136 <template name="page"/>
4137
4138 <template name="statusbar"/>
4139
4140 <text style="text_m">
4141 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </text>
4144
4145 <slidervalue>
4146 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004148 <data variable="tw_action_vibrate" min="0" max="500"/>
4149 </slidervalue>
4150
4151 <button>
4152 <placement x="%col1_x_left%" y="%row11_y%"/>
4153 <highlight color="%highlight_color%"/>
4154 <image resource="q_btn_arrow_left"/>
4155 <action function="page">settings_vibration2</action>
4156 </button>
4157
4158 <action>
4159 <touch key="home"/>
4160 <action function="page">main</action>
4161 </action>
4162
4163 <action>
4164 <touch key="back"/>
4165 <action function="page">settings</action>
4166 </action>
4167 </page>
4168
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <page name="settings_language">
4170 <template name="page"/>
4171
4172 <template name="statusbar"/>
4173
4174 <text style="text_m">
4175 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4176 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4177 </text>
4178
z31s1g608d7ff2016-01-18 19:47:25 +01004179 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4181 <icon selected="radio_true" unselected="radio_false" />
4182 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004183 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004184
4185 <button>
4186 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4187 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004188 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004189 <action function="setlanguage"></action>
4190 </button>
4191
z31s1g608d7ff2016-01-18 19:47:25 +01004192 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <touch key="home" />
4194 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004195 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004196
z31s1g608d7ff2016-01-18 19:47:25 +01004197 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004198 <touch key="back" />
4199 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004200 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004201 </page>
4202
z31s1g28f0a922015-11-07 18:50:22 +01004203 <page name="advanced">
4204 <template name="page"/>
4205
4206 <template name="statusbar"/>
4207
4208 <text style="text_m">
4209 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004210 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004211 </text>
4212
4213 <button style="main_button">
4214 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004215 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004216 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004217 </button>
4218
4219 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004220 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004221 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004222 <text>{@fix_context_btn=Fix Contexts}</text>
4223 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004224 </button>
4225
Ethan Yonker64e0a652018-07-25 09:52:17 -05004226 <button>
4227 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4228 <highlight color="%highlight_color%"/>
4229 <image resource="q_btn_arrow_right"/>
4230 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004231 </button>
4232
Ethan Yonker64e0a652018-07-25 09:52:17 -05004233 <action>
4234 <touch key="home"/>
4235 <action function="page">main</action>
4236 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004237
Ethan Yonker64e0a652018-07-25 09:52:17 -05004238 <action>
4239 <touch key="back"/>
4240 <action function="page">main3</action>
4241 </action>
4242 </page>
4243
4244 <page name="advanced2">
4245 <template name="page"/>
4246
4247 <template name="statusbar"/>
4248
4249 <text style="text_m">
4250 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4251 <text>{@advanced_hdr=Advanced}</text>
4252 </text>
4253
4254 <listbox style="advanced_listbox">
4255 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
epicX98053c32021-01-04 13:01:31 +05304256 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
4257 <condition var1="tw_is_encrypted" var2="0"/>
4258 <action function="page">changeTwrpFolder</action>
4259 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04004260 <listitem name="{@decrypt_users=Decrypt Users}">
4261 <conditions>
4262 <condition var1="tw_is_fbe" var2="1"/>
4263 <condition var1="tw_all_users_decrypted" var2="0"/>
4264 </conditions>
4265 <actions>
4266 <action function="set">tw_crypto_user_id=</action>
4267 <action function="page">decrypt_users</action>
4268 </actions>
4269 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004270 <listitem name="{@reload_theme_btn=Reload Theme}">
4271 <action function="reload"/>
4272 </listitem>
4273 <listitem name="{@part_sd_btn=Partition SD Card}">
4274 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4275 <actions>
4276 <action function="set">partitionlisterror=0</action>
4277 <action function="page">partsdcardsel</action>
4278 </actions>
4279 </listitem>
4280 <listitem name="{@dumlock_btn=HTC Dumlock}">
4281 <condition var1="tw_show_dumlock" var2="1"/>
4282 <action function="page">htcdumlock</action>
4283 </listitem>
4284 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4285 <condition var1="tw_has_injecttwrp" var2="1"/>
4286 <actions>
4287 <action function="set">tw_back=advanced</action>
4288 <action function="set">tw_action=reinjecttwrp</action>
4289 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4290 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4291 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4292 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4293 <action function="page">confirm_action</action>
4294 </actions>
4295 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004296 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4297 <conditions>
4298 <condition var1="tw_has_boot_slots" var2="1"/>
4299 <condition var1="tw_has_repack_tools" var2="1"/>
4300 </conditions>
4301 <actions>
4302 <action function="set">tw_repack_kernel=0</action>
4303 <action function="page">repackselect</action>
4304 </actions>
4305 </listitem>
4306 <listitem name="{@install_kernel=Install Kernel}">
4307 <conditions>
4308 <condition var1="tw_has_boot_slots" var2="1"/>
4309 <condition var1="tw_has_repack_tools" var2="1"/>
4310 </conditions>
4311 <actions>
4312 <action function="set">tw_repack_kernel=1</action>
4313 <action function="page">repackselect</action>
4314 </actions>
4315 </listitem>
4316 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4317 <conditions>
4318 <condition var1="tw_has_boot_slots" var2="1"/>
4319 <condition var1="tw_has_repack_tools" var2="1"/>
4320 </conditions>
4321 <actions>
4322 <action function="set">tw_back=advanced</action>
4323 <action function="set">tw_action=fixabrecoverybootloop</action>
4324 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4325 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4326 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4327 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4328 <action function="page">confirm_action</action>
4329 </actions>
4330 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004331 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4332 <condition var1="tw_app_install_status" var2="1"/>
4333 <actions>
4334 <action function="set">tw_back=advanced2</action>
4335 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4336 <action function="page">installapp</action>
4337 </actions>
4338 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004339 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4340 <condition var1="tw_app_installed_in_system" var2="1"/>
4341 <actions>
4342 <action function="set">tw_back=advanced</action>
4343 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4344 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4345 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4346 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4347 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4348 <action function="page">confirm_action</action>
4349 </actions>
4350 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004351 </listbox>
4352
4353 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004354 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004355 <highlight color="%highlight_color%"/>
4356 <image resource="q_btn_arrow_left"/>
4357 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004358 </button>
4359
4360 <action>
4361 <touch key="home"/>
4362 <action function="page">main</action>
4363 </action>
4364
4365 <action>
4366 <touch key="back"/>
4367 <action function="page">main3</action>
4368 </action>
4369 </page>
4370
Ethan Yonker483e9f42016-01-11 22:21:18 -06004371 <page name="partsdcardsel">
4372 <template name="page"/>
4373
4374 <template name="statusbar"/>
4375
4376 <text style="text_m">
4377 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4378 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4379 </text>
4380
4381 <partitionlist style="partitionlist_headerless_rb">
4382 <data name="tw_storage_path"/>
4383 <listtype name="storage"/>
4384 </partitionlist>
4385
4386 <text style="text_m_fail">
4387 <condition var1="partitionlisterror" var2="1"/>
4388 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4389 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4390 </text>
4391
4392 <button>
4393 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4394 <highlight color="%highlight_color%"/>
4395 <image resource="q_btn_refresh"/>
4396 <action function="refreshsizes"/>
4397 </button>
4398
4399 <button>
4400 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4401 <highlight color="%highlight_color%"/>
4402 <image resource="q_btn_accept"/>
4403 <actions>
4404 <action function="getpartitiondetails">tw_storage_path</action>
4405 <action function="page">partsdcardcheck</action>
4406 </actions>
4407 </button>
4408
4409 <action>
4410 <touch key="home"/>
4411 <action function="page">main</action>
4412 </action>
4413
4414 <action>
4415 <touch key="back"/>
4416 <action function="page">advanced</action>
4417 </action>
4418 </page>
4419
4420 <page name="partsdcardcheck">
4421 <action>
4422 <condition var1="tw_partition_removable" op="=" var2="1"/>
4423 <actions>
4424 <action function="set">partitionlisterror=0</action>
4425 <action function="page">partsdcard</action>
4426 </actions>
4427 </action>
4428
4429 <action>
4430 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4431 <actions>
4432 <action function="set">partitionlisterror=1</action>
4433 <action function="page">partsdcardsel</action>
4434 </actions>
4435 </action>
4436 </page>
4437
z31s1g28f0a922015-11-07 18:50:22 +01004438 <page name="partsdcard">
4439 <template name="page"/>
4440
4441 <template name="statusbar"/>
4442
4443 <text style="text_m">
4444 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </text>
4447
4448 <text style="text_m_fail">
4449 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004451 </text>
4452
4453 <text style="text_m_fail">
4454 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004455 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004456 </text>
4457
4458 <text style="text_m_accent">
4459 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004460 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004461 </text>
4462
4463 <text style="text_m">
4464 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4465 <text>%tw_sdext_size%</text>
4466 </text>
4467
4468 <button style="main_button_quarter_width">
4469 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004470 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004471 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004472 </button>
4473
4474 <button style="main_button_quarter_width">
4475 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004477 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004478 </button>
4479
4480 <button>
4481 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4482 <highlight color="%highlight_color%"/>
4483 <image resource="q_btn_arrow_right"/>
4484 <action function="page">partsdcard2</action>
4485 </button>
4486
4487 <action>
4488 <touch key="home"/>
4489 <action function="page">main</action>
4490 </action>
4491
4492 <action>
4493 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004494 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </action>
4496 </page>
4497
4498 <page name="partsdcard2">
4499 <template name="page"/>
4500
4501 <template name="statusbar"/>
4502
4503 <text style="text_m">
4504 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </text>
4507
4508 <text style="text_m_fail">
4509 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004510 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004511 </text>
4512
4513 <text style="text_m_fail">
4514 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004515 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004516 </text>
4517
4518 <text style="text_m_accent">
4519 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004520 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004521 </text>
4522
4523 <text style="text_m">
4524 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4525 <text>%tw_swap_size%</text>
4526 </text>
4527
4528 <button style="main_button_quarter_width">
4529 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004530 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004531 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004532 </button>
4533
4534 <button style="main_button_quarter_width">
4535 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004537 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </button>
4539
4540 <button>
4541 <placement x="%col1_x_left%" y="%row11_y%"/>
4542 <highlight color="%highlight_color%"/>
4543 <image resource="q_btn_arrow_left"/>
4544 <action function="page">partsdcard</action>
4545 </button>
4546
4547 <button>
4548 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4549 <highlight color="%highlight_color%"/>
4550 <image resource="q_btn_arrow_right"/>
4551 <action function="page">partsdcard3</action>
4552 </button>
4553
4554 <action>
4555 <touch key="home"/>
4556 <action function="page">main</action>
4557 </action>
4558
4559 <action>
4560 <touch key="back"/>
4561 <action function="page">advanced</action>
4562 </action>
4563 </page>
4564
4565 <page name="partsdcard3">
4566 <template name="page"/>
4567
4568 <template name="statusbar"/>
4569
4570 <text style="text_m">
4571 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004572 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004573 </text>
4574
4575 <text style="text_m_fail">
4576 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004577 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004578 </text>
4579
4580 <text style="text_m_fail">
4581 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004582 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004583 </text>
4584
4585 <text style="text_m_accent">
4586 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004587 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004588 </text>
4589
4590 <text style="text_m">
4591 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4592 <text>%tw_sdpart_file_system%</text>
4593 </text>
4594
4595 <button style="main_button_quarter_width">
4596 <placement x="%indent%" y="%row6_y%"/>
4597 <text>EXT3</text>
4598 <action function="set">tw_sdpart_file_system=ext3</action>
4599 </button>
4600
4601 <button style="main_button_quarter_width">
4602 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4603 <text>EXT4</text>
4604 <action function="set">tw_sdpart_file_system=ext4</action>
4605 </button>
4606
4607 <button>
4608 <placement x="%col1_x_left%" y="%row11_y%"/>
4609 <highlight color="%highlight_color%"/>
4610 <image resource="q_btn_arrow_left"/>
4611 <action function="page">partsdcard2</action>
4612 </button>
4613
4614 <button>
4615 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4616 <highlight color="%highlight_color%"/>
4617 <image resource="q_btn_arrow_right"/>
4618 <action function="page">partsdcard_confirm</action>
4619 </button>
4620
4621 <action>
4622 <touch key="home"/>
4623 <action function="page">main</action>
4624 </action>
4625
4626 <action>
4627 <touch key="back"/>
4628 <action function="page">advanced</action>
4629 </action>
4630 </page>
4631
4632 <page name="partsdcard_confirm">
4633 <template name="page"/>
4634
4635 <template name="statusbar"/>
4636
4637 <text style="text_m">
4638 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 </text>
4641
4642 <text style="text_m_fail">
4643 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004644 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004645 </text>
4646
4647 <text style="text_m_fail">
4648 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 </text>
4651
4652 <text style="text_m_accent">
4653 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004654 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004655 </text>
4656
4657 <text style="text_m_accent">
4658 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004659 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004660 </text>
4661
4662 <text style="text_m_accent">
4663 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004664 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004665 </text>
4666
4667 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 <action function="page">partsdcardaction</action>
4670 <actions>
4671 <action function="set">tw_back=partsdcard</action>
4672 <action function="set">tw_action=partitionsd</action>
4673 <action function="set">tw_has_action2=1</action>
4674 <action function="set">tw_action2=set</action>
4675 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4677 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4678 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004679 <action function="page">action_page</action>
4680 </actions>
4681 </slider>
4682
4683 <action>
4684 <touch key="home"/>
4685 <action function="page">main</action>
4686 </action>
4687
4688 <action>
4689 <touch key="back"/>
4690 <action function="page">advanced</action>
4691 </action>
4692 </page>
4693
4694 <page name="htcdumlock">
4695 <template name="page"/>
4696
4697 <template name="statusbar"/>
4698
4699 <text style="text_m">
4700 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
4704 <button style="main_button_full_width">
4705 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004706 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 <actions>
4708 <action function="set">tw_back=htcdumlock</action>
4709 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004710 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4711 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4712 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4713 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004714 <action function="page">confirm_action</action>
4715 </actions>
4716 </button>
4717
4718 <button style="main_button_full_width">
4719 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004720 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004721 <actions>
4722 <action function="set">tw_back=htcdumlock</action>
4723 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004724 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4725 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4726 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4727 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004728 <action function="page">confirm_action</action>
4729 </actions>
4730 </button>
4731
4732 <button style="main_button_full_width">
4733 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004734 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004735 <actions>
4736 <action function="set">tw_back=htcdumlock</action>
4737 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004738 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4739 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4740 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</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 <action>
4747 <touch key="home"/>
4748 <action function="page">main</action>
4749 </action>
4750
4751 <action>
4752 <touch key="back"/>
4753 <action function="page">advanced</action>
4754 </action>
4755 </page>
4756
Ethan Yonker53796e72019-01-11 22:49:52 -06004757 <page name="repackselect">
4758 <template name="page"/>
4759
4760 <template name="statusbar"/>
4761
4762 <text style="text_m">
4763 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4764 <text>{@repack_image_hdr=Select Image}</text>
4765 </text>
4766
4767 <fileselector>
4768 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4769 <text>%tw_zip_location%</text>
4770 <filter extn=".img" folders="1" files="1"/>
4771 <path name="tw_zip_location" default="/sdcard"/>
4772 <data name="tw_filename"/>
4773 <selection name="tw_file"/>
4774 </fileselector>
4775
4776 <button>
4777 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4778 <highlight color="%highlight_color%"/>
4779 <image resource="q_btn_storage"/>
4780 <actions>
4781 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4782 <action function="set">tw_back=install</action>
4783 <action function="page">select_storage</action>
4784 </actions>
4785 </button>
4786
4787 <action>
4788 <conditions>
4789 <condition var1="tw_filename" op="modified"/>
4790 </conditions>
4791 <action function="page">repackconfirm</action>
4792 </action>
4793
4794 <action>
4795 <touch key="back"/>
4796 <action function="page">advanced</action>
4797 </action>
4798
4799 <action>
4800 <touch key="home"/>
4801 <action function="page">main</action>
4802 </action>
4803 </page>
4804
4805 <page name="repackconfirm">
4806 <template name="page"/>
4807
4808 <template name="statusbar"/>
4809
4810 <text style="text_m">
4811 <condition var1="tw_repack_kernel" var2="1"/>
4812 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4813 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4814 </text>
4815
4816 <text style="text_m">
4817 <condition var1="tw_repack_kernel" var2="0"/>
4818 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4819 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4820 </text>
4821
4822 <text style="text_m_accent">
4823 <placement x="%indent%" y="%row2_y%"/>
4824 <text>{@folder=Folder:}</text>
4825 </text>
4826
4827 <text style="text_m">
4828 <placement x="%indent%" y="%row3_y%"/>
4829 <text>%tw_zip_location%</text>
4830 </text>
4831
4832 <text style="text_m_accent">
4833 <placement x="%indent%" y="%row4_y%"/>
4834 <text>{@file=File:}</text>
4835 </text>
4836
4837 <text style="text_m">
4838 <placement x="%indent%" y="%row5_y%"/>
4839 <text>%tw_file%</text>
4840 </text>
4841
4842 <checkbox>
4843 <placement x="%indent%" y="%row7_y%"/>
4844 <text>{@repack_backup_first=Back up existing image first}</text>
4845 <data variable="tw_repack_backup_first"/>
4846 </checkbox>
4847
4848 <slider>
4849 <text>{@swipe_to_install=Swipe to Install}</text>
4850 <actions>
4851 <action function="set">tw_back=advanced</action>
4852 <action function="set">tw_action=repackimage</action>
4853 <action function="set">tw_action_param=/boot</action>
4854 <action function="set">tw_action_text1={@installing=Installing...}</action>
4855 <action function="set">tw_action_text2=</action>
4856 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4857 <action function="page">action_page</action>
4858 </actions>
4859 </slider>
4860
4861 <action>
4862 <touch key="back"/>
4863 <action function="page">repackselect</action>
4864 </action>
4865
4866 <action>
4867 <touch key="home"/>
4868 <action function="page">main</action>
4869 </action>
4870 </page>
4871
z31s1g28f0a922015-11-07 18:50:22 +01004872 <page name="lock">
4873 <background color="%semi_transparent%"/>
4874
4875 <image>
4876 <image resource="unlock_icon"/>
4877 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4878 </image>
4879
4880 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004881 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004882 <action function="overlay"/>
4883 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004884
4885 <action>
4886 <touch key="power"/>
4887 <action function="togglebacklight"/>
4888 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004889 </page>
4890
4891 <page name="filemanagerlist">
4892 <template name="page"/>
4893
4894 <template name="statusbar"/>
4895
4896 <text style="text_m">
4897 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004898 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004899 </text>
4900
4901 <fileselector>
4902 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4903 <text>%tw_file_location1%</text>
4904 <filter folders="1" files="1"/>
4905 <path name="tw_file_location1" default="/"/>
4906 <data name="tw_filename1"/>
4907 <selection name="tw_selection1"/>
4908 </fileselector>
4909
4910 <button>
4911 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4912 <highlight color="%highlight_color%"/>
4913 <image resource="q_btn_folder"/>
4914 <actions>
4915 <action function="set">tw_filename1=tw_file_location1</action>
4916 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004917 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004918 <action function="page">filemanageroptions</action>
4919 </actions>
4920 </button>
4921
4922 <action>
4923 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004924 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004925 <action function="set">tw_fm_isfolder=0</action>
4926 </actions>
4927 </action>
4928
4929 <action>
4930 <touch key="home"/>
4931 <action function="page">main</action>
4932 </action>
4933
4934 <action>
4935 <touch key="back"/>
4936 <action function="page">main3</action>
4937 </action>
4938
4939 <action>
4940 <condition var1="tw_filename1" op="modified"/>
4941 <action function="page">filemanageroptions</action>
4942 </action>
4943 </page>
4944
4945 <page name="filemanageroptions">
4946 <template name="page"/>
4947
4948 <template name="statusbar"/>
4949
4950 <text style="text_m">
4951 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004952 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004953 </text>
4954
4955 <button style="main_button">
4956 <condition var1="tw_fm_isfolder" var2="0"/>
4957 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004959 <actions>
4960 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004961 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004962 <action function="page">choosedestinationfolder</action>
4963 </actions>
4964 </button>
4965
4966 <button style="main_button">
4967 <condition var1="tw_fm_isfolder" var2="1"/>
4968 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004969 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004970 <actions>
4971 <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 -05004972 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004973 <action function="page">choosedestinationfolder</action>
4974 </actions>
4975 </button>
4976
4977 <button style="main_button">
4978 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004979 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004980 <actions>
4981 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004982 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004983 <action function="page">choosedestinationfolder</action>
4984 </actions>
4985 </button>
4986
4987 <button style="main_button">
4988 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004989 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004990 <actions>
4991 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004992 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004993 <action function="set">tw_fm_text2=</action>
4994 <action function="set">tw_fm_text3=</action>
4995 <action function="set">tw_include_text3=0</action>
4996 <action function="set">tw_back=filemanageroptions</action>
4997 <action function="page">filemanagerconfirm</action>
4998 </actions>
4999 </button>
5000
5001 <button style="main_button">
5002 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005003 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005004 <actions>
5005 <action function="set">tw_filemanager_rename=0000</action>
5006 <action function="set">tw_fm_text2=</action>
5007 <action function="set">tw_fm_text3=</action>
5008 <action function="set">tw_include_text3=0</action>
5009 <action function="set">tw_back=filemanageroptions</action>
5010 <action function="page">filemanagerchmod</action>
5011 </actions>
5012 </button>
5013
5014 <button style="main_button">
5015 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005016 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005017 <actions>
5018 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005019 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005020 <action function="set">tw_fm_text2=</action>
5021 <action function="set">tw_fm_text3=</action>
5022 <action function="set">tw_include_text3=0</action>
5023 <action function="set">tw_back=filemanageroptions</action>
5024 <action function="page">filemanagerconfirm</action>
5025 </actions>
5026 </button>
5027
5028 <button style="main_button">
5029 <condition var1="tw_fm_isfolder" var2="0"/>
5030 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005031 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005032 <actions>
5033 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005034 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005035 <action function="set">tw_filemanager_command=mv</action>
5036 <action function="page">filemanagerrenamefile</action>
5037 </actions>
5038 </button>
5039
5040 <button style="main_button">
5041 <condition var1="tw_fm_isfolder" var2="1"/>
5042 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005043 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005044 <actions>
5045 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005046 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005047 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5048 <action function="page">filemanagerrenamefolder</action>
5049 </actions>
5050 </button>
5051
5052 <action>
5053 <touch key="home"/>
5054 <action function="page">main</action>
5055 </action>
5056
5057 <action>
5058 <touch key="back"/>
5059 <action function="page">filemanagerlist</action>
5060 </action>
5061 </page>
5062
5063 <page name="choosedestinationfolder">
5064 <template name="page"/>
5065
5066 <template name="statusbar"/>
5067
5068 <text style="text_m">
5069 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005070 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005071 </text>
5072
5073 <fileselector>
5074 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5075 <text>%tw_file_location2%</text>
5076 <filter folders="1" files="0"/>
5077 <path name="tw_file_location2" default="/"/>
5078 <data name="tw_filename2"/>
5079 <selection name="tw_selection2"/>
5080 </fileselector>
5081
5082 <button>
5083 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5084 <highlight color="%highlight_color%"/>
5085 <image resource="q_btn_folder"/>
5086 <actions>
5087 <action function="set">tw_fm_text2=to</action>
5088 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5089 <action function="set">tw_include_text3=1</action>
5090 <action function="set">tw_back=filemanageroptions</action>
5091 <action function="page">filemanagerconfirm</action>
5092 </actions>
5093 </button>
5094
5095 <action>
5096 <touch key="home"/>
5097 <action function="page">main</action>
5098 </action>
5099
5100 <action>
5101 <touch key="back"/>
5102 <action function="page">filemanageroptions</action>
5103 </action>
5104 </page>
5105
5106 <page name="filemanagerrenamefile">
5107 <template name="page"/>
5108
5109 <template name="statusbar"/>
5110
5111 <text style="text_m">
5112 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005113 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005114 </text>
5115
5116 <text style="text_m_accent">
5117 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005118 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005119 </text>
5120
5121 <input>
5122 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5123 <text>%tw_filemanager_rename%</text>
5124 <data name="tw_filemanager_rename"/>
5125 <restrict minlen="1" maxlen="128"/>
5126 <actions>
5127 <action function="set">tw_fm_text2=to</action>
5128 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5129 <action function="set">tw_include_text3=1</action>
5130 <action function="set">tw_back=filemanageroptions</action>
5131 <action function="page">filemanagerconfirm</action>
5132 </actions>
5133 </input>
5134
5135 <fill color="%accent_color%">
5136 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5137 </fill>
5138
5139 <button style="main_button_half_height">
5140 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005141 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005142 <action function="page">filemanageroptions</action>
5143 </button>
5144
5145 <template name="keyboardtemplate"/>
5146
5147 <action>
5148 <touch key="home"/>
5149 <action function="page">main</action>
5150 </action>
5151
5152 <action>
5153 <touch key="back"/>
5154 <action function="page">filemanageroptions</action>
5155 </action>
5156 </page>
5157
5158 <page name="filemanagerrenamefolder">
5159 <template name="page"/>
5160
5161 <template name="statusbar"/>
5162
5163 <text style="text_m">
5164 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005165 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005166 </text>
5167
5168 <text style="text_m_accent">
5169 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005170 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005171 </text>
5172
5173 <input>
5174 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5175 <text>%tw_filemanager_rename%</text>
5176 <data name="tw_filemanager_rename"/>
5177 <restrict minlen="1" maxlen="128"/>
5178 <actions>
5179 <action function="set">tw_fm_text2=to</action>
5180 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5181 <action function="set">tw_include_text3=1</action>
5182 <action function="set">tw_back=filemanageroptions</action>
5183 <action function="page">filemanagerconfirm</action>
5184 </actions>
5185 </input>
5186
5187 <fill color="%accent_color%">
5188 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5189 </fill>
5190
5191 <button style="main_button_half_height">
5192 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005193 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005194 <action function="page">filemanageroptions</action>
5195 </button>
5196
5197 <template name="keyboardtemplate"/>
5198
5199 <action>
5200 <touch key="home"/>
5201 <action function="page">main</action>
5202 </action>
5203
5204 <action>
5205 <touch key="back"/>
5206 <action function="page">filemanageroptions</action>
5207 </action>
5208 </page>
5209
5210 <page name="filemanagerchmod">
5211 <template name="page"/>
5212
5213 <template name="statusbar"/>
5214
5215 <text style="text_m">
5216 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005217 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005218 </text>
5219
5220 <text style="text_m_accent">
5221 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005222 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005223 </text>
5224
5225 <input>
5226 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5227 <text>%tw_filemanager_rename%</text>
5228 <data name="tw_filemanager_rename"/>
5229 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5230 <actions>
5231 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5232 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5233 <action function="set">tw_back=filemanageroptions</action>
5234 <action function="page">filemanagerconfirm</action>
5235 </actions>
5236 </input>
5237
5238 <fill color="%accent_color%">
5239 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5240 </fill>
5241
5242 <button style="main_button_half_height">
5243 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005244 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005245 <action function="page">filemanageroptions</action>
5246 </button>
5247
5248 <template name="keyboardtemplate"/>
5249
5250 <action>
5251 <touch key="home"/>
5252 <action function="page">main</action>
5253 </action>
5254
5255 <action>
5256 <touch key="back"/>
5257 <action function="page">filemanageroptions</action>
5258 </action>
5259 </page>
5260
5261 <page name="filemanagerconfirm">
5262 <template name="page"/>
5263
5264 <template name="statusbar"/>
5265
5266 <text style="text_m">
5267 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005268 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005269 </text>
5270
5271 <text style="text_m_accent">
5272 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5273 <text>%tw_fm_text1%</text>
5274 </text>
5275
5276 <text style="text_m">
5277 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5278 <text>%tw_filename1%</text>
5279 </text>
5280
5281 <text style="text_m_accent">
5282 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5283 <text>%tw_fm_text2%</text>
5284 </text>
5285
5286 <text style="text_m">
5287 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5288 <text>%tw_fm_text3%</text>
5289 </text>
5290
5291 <text style="text_m">
5292 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005293 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005294 </text>
5295
5296 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005297 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005298 <action function="page">filemanageraction</action>
5299 </slider>
5300
5301 <action>
5302 <touch key="back"/>
5303 <action function="page">%tw_back%</action>
5304 </action>
5305
5306 <action>
5307 <touch key="home"/>
5308 <action function="page">main</action>
5309 </action>
5310 </page>
5311
5312 <page name="filemanageraction">
5313 <template name="page"/>
5314
5315 <template name="statusbar"/>
5316
5317 <text style="text_m">
5318 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005319 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005320 </text>
5321
5322 <template name="console"/>
5323
5324 <template name="progress_bar"/>
5325
5326 <action>
5327 <conditions>
5328 <condition var1="tw_operation_state" var2="1"/>
5329 <condition var1="tw_operation_status" var2="0"/>
5330 </conditions>
5331 <actions>
5332 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005333 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005334 <action function="page">action_complete</action>
5335 </actions>
5336 </action>
5337
5338 <action>
5339 <conditions>
5340 <condition var1="tw_operation_state" var2="1"/>
5341 <condition var1="tw_operation_status" op="!=" var2="0"/>
5342 </conditions>
5343 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005344 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005345 <action function="page">action_complete</action>
5346 </actions>
5347 </action>
5348
5349 <action>
5350 <condition var1="tw_include_text3" var2="0"/>
5351 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5352 </action>
5353
5354 <action>
5355 <condition var1="tw_include_text3" var2="1"/>
5356 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5357 </action>
5358 </page>
5359
5360 <page name="decrypt">
5361 <template name="page"/>
5362
5363 <template name="statusbar"/>
5364
5365 <action>
5366 <condition var1="tw_crypto_pwtype" var2="2"/>
5367 <action function="page">decrypt_pattern</action>
5368 </action>
5369
5370 <text style="text_m">
5371 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005372 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005373 </text>
5374
5375 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005376 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005377 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005378 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005379 </text>
5380
Noah Jacobson5a79f672019-04-28 00:10:07 -04005381 <text style="text_m_accent">
5382 <condition var1="tw_is_fbe" var2="1"/>
5383 <placement x="%col1_x_left%" y="%row1_y%"/>
5384 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5385 </text>
5386
z31s1g28f0a922015-11-07 18:50:22 +01005387 <input>
5388 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5389 <text>%tw_crypto_display%</text>
5390 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5391 <restrict minlen="1" maxlen="254"/>
5392 <action function="page">trydecrypt</action>
5393 </input>
5394
5395 <fill color="%accent_color%">
5396 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5397 </fill>
5398
5399 <fill color="%text_fail_color%">
5400 <condition var1="tw_password_fail" var2="1"/>
5401 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5402 </fill>
5403
5404 <text style="text_m_fail">
5405 <condition var1="tw_password_fail" var2="1"/>
5406 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005407 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005408 </text>
5409
5410 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005411 <placement x="%col1_x_left%" y="%row4_y%"/>
5412 <text>{@sel_lang_btn=Select Language}</text>
5413 <action function="page">settings_language</action>
5414 </button>
5415
5416 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005417 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005418 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005419 <actions>
5420 <action function="set">tw_page_done=1</action>
5421 <action function="page">main</action>
5422 </actions>
5423 </button>
5424
5425 <template name="keyboardtemplate"/>
5426 </page>
5427
5428 <page name="decrypt_pattern">
5429 <template name="page"/>
5430
5431 <template name="statusbar"/>
5432
Aleksa Saraib25a1832015-12-31 17:36:00 +01005433 <action>
5434 <action function="set">tw_gui_pattern_grid_size=3</action>
5435 </action>
5436
z31s1g28f0a922015-11-07 18:50:22 +01005437 <text style="text_m">
5438 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005439 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005440 </text>
5441
5442 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005443 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005444 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005445 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005446 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005447 </text>
5448
Noah Jacobson5a79f672019-04-28 00:10:07 -04005449 <text style="text_m_accent">
5450 <condition var1="tw_is_fbe" var2="1"/>
5451 <condition var1="tw_password_fail" op="!=" var2="1"/>
5452 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5453 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5454 </text>
5455
Aleksa Saraib25a1832015-12-31 17:36:00 +01005456 <text style="text_m_fail">
5457 <condition var1="tw_password_fail" var2="1"/>
5458 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005459 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005460 </text>
5461
z31s1g28f0a922015-11-07 18:50:22 +01005462 <text style="text_m">
5463 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005464 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005465 </text>
5466
5467 <patternpassword>
5468 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005469 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5470 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5471 <data name="tw_crypto_password"/>
5472 <action function="page">trydecrypt</action>
5473 </patternpassword>
5474
5475 <fill color="#000000">
5476 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5477 </fill>
5478
5479 <button>
5480 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5481 <image resource="back"/>
5482 <condition var1="tw_busy" var2="0"/>
5483 <actions>
5484 <action function="set">tw_page_done=1</action>
5485 <action function="page">main</action>
5486 </actions>
5487 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005488
5489 <button>
5490 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5491 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5492 <image resource="grid_less"/>
5493 <action function="set">tw_gui_pattern_grid_size=3</action>
5494 </button>
5495
5496 <button>
5497 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5498 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5499 <image resource="grid_less"/>
5500 <action function="set">tw_gui_pattern_grid_size=3</action>
5501 </button>
5502
5503 <button>
5504 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5505 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5506 <image resource="grid_less"/>
5507 <action function="set">tw_gui_pattern_grid_size=4</action>
5508 </button>
5509
5510 <button>
5511 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5512 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5513 <image resource="grid_less"/>
5514 <action function="set">tw_gui_pattern_grid_size=5</action>
5515 </button>
5516
5517 <button>
5518 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5519 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5520 <image resource="grid_more"/>
5521 <action function="set">tw_gui_pattern_grid_size=4</action>
5522 </button>
5523
5524 <button>
5525 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5526 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5527 <image resource="grid_more"/>
5528 <action function="set">tw_gui_pattern_grid_size=5</action>
5529 </button>
5530
5531 <button>
5532 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5533 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5534 <image resource="grid_more"/>
5535 <action function="set">tw_gui_pattern_grid_size=6</action>
5536 </button>
5537
5538 <button>
5539 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5540 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5541 <image resource="grid_more"/>
5542 <action function="set">tw_gui_pattern_grid_size=6</action>
5543 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005544 </page>
5545
5546 <page name="trydecrypt">
5547 <template name="page"/>
5548
5549 <template name="statusbar"/>
5550
5551 <text style="text_m">
5552 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005553 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005554 </text>
5555
5556 <template name="console"/>
5557
5558 <template name="progress_bar"/>
5559
5560 <action>
5561 <action function="decrypt"/>
5562 </action>
5563
5564 <action>
5565 <conditions>
5566 <condition var1="tw_operation_state" var2="1"/>
5567 <condition var1="tw_operation_status" op="!=" var2="0"/>
5568 </conditions>
5569 <actions>
5570 <action function="set">tw_password_fail=1</action>
5571 <action function="page">decrypt</action>
5572 </actions>
5573 </action>
5574
5575 <action>
5576 <conditions>
5577 <condition var1="tw_operation_state" var2="1"/>
5578 <condition var1="tw_operation_status" op="=" var2="0"/>
5579 </conditions>
5580 <actions>
5581 <action function="set">tw_page_done=1</action>
5582 <action function="page">main</action>
5583 </actions>
5584 </action>
5585 </page>
5586
z31s1g28f0a922015-11-07 18:50:22 +01005587 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005588 <terminal>
5589 <condition var1="tw_hide_kb" var2="0"/>
5590 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5591 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005592
z31s1g56189522016-01-13 19:12:40 +01005593 <terminal>
5594 <condition var1="tw_hide_kb" var2="1"/>
5595 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5596 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005597
z31s1g56189522016-01-13 19:12:40 +01005598 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005599
5600 <template name="keyboardtemplate"/>
5601
z31s1g608d7ff2016-01-18 19:47:25 +01005602 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005603 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005604 </fill>
z31s1g56189522016-01-13 19:12:40 +01005605
z31s1g608d7ff2016-01-18 19:47:25 +01005606 <button>
z31s1g56189522016-01-13 19:12:40 +01005607 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5608 <image resource="back" />
5609 <condition var1="tw_busy" var2="0" />
5610 <actions>
5611 <action function="set">tw_hide_kb=0</action>
5612 <action function="key">back</action>
5613 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005614 </button>
z31s1g56189522016-01-13 19:12:40 +01005615
z31s1g608d7ff2016-01-18 19:47:25 +01005616 <button>
z31s1g56189522016-01-13 19:12:40 +01005617 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5618 <image resource="home" />
5619 <condition var1="tw_busy" var2="0" />
5620 <actions>
5621 <action function="set">tw_hide_kb=0</action>
5622 <action function="key">home</action>
5623 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005624 </button>
z31s1g56189522016-01-13 19:12:40 +01005625
z31s1g608d7ff2016-01-18 19:47:25 +01005626 <button>
z31s1g56189522016-01-13 19:12:40 +01005627 <condition var1="tw_hide_kb" var2="0"/>
5628 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5629 <image resource="kb_hide" />
5630 <condition var1="tw_busy" var2="0" />
5631 <actions>
5632 <action function="set">tw_hide_kb=1</action>
5633 <action function="page">terminalcommand</action>
5634 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005635 </button>
z31s1g56189522016-01-13 19:12:40 +01005636
z31s1g608d7ff2016-01-18 19:47:25 +01005637 <button>
z31s1g56189522016-01-13 19:12:40 +01005638 <condition var1="tw_hide_kb" var2="1"/>
5639 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5640 <image resource="kb_show" />
5641 <condition var1="tw_busy" var2="0" />
5642 <actions>
5643 <action function="set">tw_hide_kb=0</action>
5644 <action function="page">terminalcommand</action>
5645 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005646 </button>
z31s1g56189522016-01-13 19:12:40 +01005647
z31s1g28f0a922015-11-07 18:50:22 +01005648 <action>
5649 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005650 <actions>
5651 <action function="set">tw_hide_kb=0</action>
5652 <action function="page">main</action>
5653 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005654 </action>
5655
5656 <action>
5657 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005658 <actions>
5659 <action function="set">tw_hide_kb=0</action>
5660 <action function="page">advanced</action>
5661 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005662 </action>
z31s1g56189522016-01-13 19:12:40 +01005663
z31s1g608d7ff2016-01-18 19:47:25 +01005664 <action>
z31s1g56189522016-01-13 19:12:40 +01005665 <touch key="power+voldown" />
5666 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005667 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005668 </page>
5669
5670 <page name="sideload">
5671 <template name="page"/>
5672
5673 <template name="statusbar"/>
5674
5675 <text style="text_m">
5676 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005677 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005678 </text>
5679
5680 <text style="text_m_accent">
5681 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005682 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005683 </text>
5684
5685 <checkbox>
5686 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005687 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005688 <data variable="tw_wipe_dalvik"/>
5689 </checkbox>
5690
5691 <checkbox>
5692 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005693 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005694 <data variable="tw_wipe_cache"/>
5695 </checkbox>
5696
5697 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005698 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005699 <actions>
5700 <action function="set">tw_back=install_type</action>
5701 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005702 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5703 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5704 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005705 <action function="set">tw_has_cancel=1</action>
5706 <action function="set">tw_show_reboot=1</action>
5707 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5708 <action function="page">action_page</action>
5709 </actions>
5710 </slider>
5711
5712 <action>
5713 <touch key="home"/>
5714 <action function="page">main</action>
5715 </action>
5716
5717 <action>
5718 <touch key="back"/>
5719 <action function="page">install_type</action>
5720 </action>
5721 </page>
5722
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005723 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005724 <template name="page"/>
5725
5726 <template name="statusbar"/>
5727
5728 <text style="text_m">
5729 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005730 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005731 </text>
5732
5733 <text style="text_m_accent">
5734 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005735 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005736 </text>
5737
z31s1g28f0a922015-11-07 18:50:22 +01005738 <text style="text_m_fail">
5739 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005740 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005741 </text>
5742
5743 <text style="text_m_fail">
5744 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005745 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005746 </text>
5747
5748 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005749 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005750 <actions>
5751 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005752 <action function="set">tw_action=fixcontexts</action>
5753 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5754 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005755 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005756 <action function="set">tw_show_reboot=1</action>
5757 <action function="page">action_page</action>
5758 </actions>
5759 </slider>
5760
5761 <action>
5762 <touch key="home"/>
5763 <action function="page">main</action>
5764 </action>
5765
5766 <action>
5767 <touch key="back"/>
5768 <action function="page">advanced</action>
5769 </action>
5770 </page>
5771
z31s1g28f0a922015-11-07 18:50:22 +01005772 <page name="slideout">
5773 <fill color="%background_color%">
5774 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5775 </fill>
5776
5777 <console>
5778 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5779 </console>
5780
5781 <fill color="%fileselector_linecolor%">
5782 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5783 </fill>
5784
5785 <fill color="%fileselector_linecolor%">
5786 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5787 </fill>
5788
5789 <button>
5790 <fill color="%transparent%"/>
5791 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5792 <action function="overlay"/>
5793 </button>
5794
5795 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005796 <touch key="power"/>
5797 <action function="togglebacklight"/>
5798 </action>
5799
5800 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005801 <touch key="power+voldown"/>
5802 <action function="screenshot"/>
5803 </action>
5804 </page>
5805
5806 <page name="select_storage">
5807 <template name="page"/>
5808
5809 <template name="statusbar"/>
5810
5811 <text style="text_m">
5812 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5813 <text>%tw_storagetext%</text>
5814 </text>
5815
5816 <partitionlist style="partitionlist_headerless_rb">
5817 <data name="tw_storage_path"/>
5818 <listtype name="storage"/>
5819 </partitionlist>
5820
5821 <button>
5822 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5823 <highlight color="%highlight_color%"/>
5824 <image resource="q_btn_refresh"/>
5825 <actions>
5826 <action function="refreshsizes"/>
5827 <action function="page">select_storage</action>
5828 </actions>
5829 </button>
5830
5831 <button>
5832 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5833 <highlight color="%highlight_color%"/>
5834 <image resource="q_btn_accept"/>
5835 <actions>
5836 <action function="set">tw_clear_destination=%tw_back%</action>
5837 <action function="page">clear_vars</action>
5838 </actions>
5839 </button>
5840
5841 <action>
5842 <touch key="power+voldown"/>
5843 <action function="screenshot"/>
5844 </action>
5845 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005846
5847 <page name="decrypt_users">
5848 <template name="page"/>
5849
5850 <text style="text_l">
5851 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5852 <text>{@decrypt_users=Decrypt Users}</text>
5853 </text>
5854
5855 <text style="text_m_accent">
5856 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5857 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5858 </text>
5859
5860 <listbox>
5861 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5862 <text>{@select_user=Select User}</text>
5863 <icon selected="radio_true" unselected="radio_false" />
5864 <data name="tw_crypto_user_id" />
5865 </listbox>
5866
5867 <button style="main_button_half_height">
5868 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5869 <text>{@decrypt_users=Decrypt Users}</text>
5870 <action function="set">tw_crypto_password=</action>
5871 <action function="set">tw_password_fail=0</action>
5872 <action function="page">decrypt</action>
5873 </button>
5874
5875 <action>
5876 <touch key="home"/>
5877 <action function="page">main</action>
5878 </action>
5879
5880 <action>
5881 <touch key="back"/>
5882 <action function="page">advanced</action>
5883 </action>
5884 </page>
epicX98053c32021-01-04 13:01:31 +05305885
5886 <page name="changeTwrpFolder">
5887 <template name="page"/>
5888
5889 <template name="statusbar"/>
5890
5891 <text style="text_m">
5892 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5893 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5894 </text>
5895
5896 <text style="text_m_accent">
5897 <placement x="%col1_x_left%" y="%row1_y%"/>
5898 <text>{@name=Name:}</text>
5899 </text>
5900
5901 <input>
5902 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5903 <text>%tw_custom_folder%</text>
5904 <data name="tw_custom_folder"/>
5905 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5906 <actions>
5907 <action function="set">tw_back=changeTwrpFolder</action>
5908 <action function="set">tw_action=applycustomtwrpfolder</action>
5909 <action function="set">tw_action_param=%tw_custom_folder%</action>
5910 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5911 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5912 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5913 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5914 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5915 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5916 <action function="set">tw_existpage=changeTwrpFolder</action>
5917 <action function="set">tw_notexistpage=confirm_action</action>
5918 <action function="page">filecheck</action>
5919 </actions>
5920 </input>
5921
5922 <fill color="%accent_color%">
5923 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5924 </fill>
5925
5926 <fill color="%text_fail_color%">
5927 <condition var1="tw_fileexists" var2="1"/>
5928 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5929 </fill>
5930
5931 <text style="text_m_fail">
5932 <condition var1="tw_fileexists" var2="1"/>
5933 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5934 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5935 </text>
5936
5937 <button style="main_button_half_width_low">
5938 <placement x="%col1_x_left%" y="%row4_y%"/>
5939 <text>{@cancel_btn=Cancel}</text>
5940 <action function="page">advanced2</action>
5941 </button>
5942
5943 <button style="main_button_half_height">
5944 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5945 <placement x="%col1_x_right%" y="%row4_y%"/>
5946 <text>{@restore_defaults_btn=Restore Defaults}</text>
5947 <actions>
5948 <action function="set">tw_back=changeTwrpFolder</action>
5949 <action function="set">tw_action=applycustomtwrpfolder</action>
5950 <action function="set">tw_action_param=TWRP</action>
5951 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5952 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5953 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5954 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5955 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5956 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5957 <action function="set">tw_existpage=changeTwrpFolder</action>
5958 <action function="set">tw_notexistpage=confirm_action</action>
5959 <action function="page">filecheck</action>
5960 </actions>
5961 </button>
5962
5963 <template name="keyboardtemplate"/>
5964
5965 <action>
5966 <touch key="home"/>
5967 <actions>
5968 <action function="page">main</action>
5969 </actions>
5970 </action>
5971
5972 <action>
5973 <touch key="back"/>
5974 <actions>
5975 <action function="page">advanced2</action>
5976 </actions>
5977 </action>
5978 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005979 </pages>
5980</recovery>