blob: bb5951168b7cf2d38bdc2f433f3b10229610f86c [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
epicX40b7f7a2021-03-20 21:58:17 +0530179 <style name="options_listbox">
180 <highlight color="%fileselector_highlight_color%"/>
181 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
182 <separator color="%background_color%" height="%fileselector_separatorheight%"/>
183 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
184 <background color="%background_color%"/>
185 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
186 </style>
187
z31s1g28f0a922015-11-07 18:50:22 +0100188 <style name="slider">
189 <placement x="%center_x%" y="%slider_y%"/>
190 <font resource="font_l" color="%text_color%"/>
191 <resource base="slider" used="slider_used" touch="slider_touch"/>
192 </style>
193
194 <style name="slidervalue">
195 <resource handle="handle"/>
196 <font resource="font_m" color="%text_color%"/>
197 <colors line="%fileselector_linecolor%"/>
198 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
199 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100200
201 <style name="patternpassword">
202 <size name="tw_gui_pattern_grid_size" default="3"/>
203 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100204 </styles>
205
206 <pages>
207 <page name="main">
208 <action>
209 <actions>
210 <action function="set">tw_clear_destination=main2</action>
211 <action function="page">clear_vars</action>
212 </actions>
213 </action>
214 </page>
215
216 <page name="main2">
217 <template name="page"/>
218
219 <button style="main_button">
220 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500221 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100222 <action function="page">install_type</action>
223 </button>
224
225 <button style="main_button">
226 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">wipe_type1</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <actions>
235 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500236 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100237 </actions>
238 </button>
239
240 <button style="main_button">
241 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500242 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100243 <action function="page">restore</action>
244 </button>
245
246 <button style="main_button">
247 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500248 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100249 <action function="page">reboot</action>
250 </button>
251
252 <button>
253 <placement x="%btn4_col4_x%" y="%row11_y%"/>
254 <highlight color="%highlight_color%"/>
255 <image resource="q_btn_arrow_right"/>
256 <action function="page">main3</action>
257 </button>
258 </page>
259
Matt Mower32676622017-01-18 18:56:13 -0600260 <page name="copylog">
261 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400262
Matt Mower32676622017-01-18 18:56:13 -0600263 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400264 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600265 <text>{@include_kernel_log=Include Kernel Log}</text>
266 <data variable="tw_include_kernel_log" value="1"/>
267 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400268
269 <slider>
270 <text>{@swipe_confirm= Confirm}</text>
271 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600272 <action function="set">tw_back=main3</action>
273 <action function="set">tw_action=copylog</action>
274 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
275 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400276 <action function="page">action_page</action>
277 </actions>
278 </slider>
279
280 <action>
281 <touch key="back"/>
282 <action function="page">main2</action>
283 </action>
284
285 <action>
286 <touch key="home"/>
287 <action function="page">main</action>
288 </action>
Matt Mower32676622017-01-18 18:56:13 -0600289 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400290
z31s1g28f0a922015-11-07 18:50:22 +0100291 <page name="main3">
292 <template name="page"/>
293
294 <button style="main_button">
295 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500296 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100297 <action function="page">mount</action>
298 </button>
299
300 <button style="main_button">
301 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500302 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100303 <action function="page">settings</action>
304 </button>
305
306 <button style="main_button">
307 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500308 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100309 <action function="page">filemanagerlist</action>
310 </button>
311
312 <button style="main_button">
313 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500314 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400315 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100316 </button>
317
318 <button style="main_button">
319 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500320 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100321 <action function="page">advanced</action>
322 </button>
323
324 <button>
325 <placement x="%col1_x_left%" y="%row11_y%"/>
326 <highlight color="%highlight_color%"/>
327 <image resource="q_btn_arrow_left"/>
328 <action function="page">main2</action>
329 </button>
330
331 <action>
332 <touch key="back"/>
333 <action function="page">main2</action>
334 </action>
335
336 <action>
337 <touch key="home"/>
338 <action function="page">main</action>
339 </action>
340 </page>
341
342 <page name="install_type">
343 <template name="page"/>
344
345 <template name="statusbar"/>
346
347 <text style="text_m">
348 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500349 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100350 </text>
351
352 <button style="main_button_full_width">
353 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500354 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100355 <actions>
356 <action function="queueclear"/>
357 <action function="set">tw_selectimage=0</action>
358 <action function="page">install</action>
359 </actions>
360 </button>
361
362 <button style="main_button_full_width">
363 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500364 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100365 <actions>
366 <action function="queueclear"/>
367 <action function="set">tw_selectimage=1</action>
368 <action function="page">install</action>
369 </actions>
370 </button>
371
372 <button style="main_button_full_width">
373 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500374 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100375 <action function="page">sideload</action>
376 </button>
377
378 <action>
379 <touch key="home"/>
380 <action function="page">main</action>
381 </action>
382
383 <action>
384 <touch key="back"/>
385 <action function="page">main</action>
386 </action>
387 </page>
388
389 <page name="install">
390 <template name="page"/>
391
392 <template name="statusbar"/>
393
394 <text style="text_m">
395 <condition var1="tw_selectimage" var2="0"/>
396 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <condition var1="tw_selectimage" var2="1"/>
402 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <fileselector>
407 <condition var1="tw_selectimage" var2="0"/>
408 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
409 <text>%tw_zip_location%</text>
mauronofrio0ff59842019-10-26 19:47:55 +0200410 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonald15430b62021-01-23 18:52:28 +0100411 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100412 <path name="tw_zip_location" default="/sdcard"/>
413 <data name="tw_filename"/>
414 <selection name="tw_file"/>
415 </fileselector>
416
417 <fileselector>
418 <condition var1="tw_selectimage" var2="1"/>
419 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
420 <text>%tw_zip_location%</text>
421 <filter extn=".img" folders="1" files="1"/>
422 <path name="tw_zip_location" default="/sdcard"/>
423 <data name="tw_filename"/>
424 <selection name="tw_file"/>
425 </fileselector>
426
427 <button>
428 <placement x="%btn4_col4_x%" y="%row11_y%"/>
429 <highlight color="%highlight_color%"/>
430 <image resource="q_btn_storage"/>
431 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100433 <action function="set">tw_back=install</action>
434 <action function="page">select_storage</action>
435 </actions>
436 </button>
437
438 <action>
439 <conditions>
440 <condition var1="tw_selectimage" var2="0"/>
441 <condition var1="tw_filename" op="modified"/>
442 </conditions>
443 <actions>
444 <action function="queuezip"/>
445 <action function="page">flash_queue</action>
446 </actions>
447 </action>
448
449 <action>
450 <conditions>
451 <condition var1="tw_selectimage" var2="1"/>
452 <condition var1="tw_filename" op="modified"/>
453 </conditions>
epicXb7337372021-02-24 23:12:08 +0530454 <actions>
455 <action function="set">tw_is_slot_part=0</action>
456 <action function="page">flashimage_type</action>
457 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100458 </action>
459
460 <action>
461 <touch key="back"/>
462 <action function="page">install_type</action>
463 </action>
464
465 <action>
466 <touch key="home"/>
467 <action function="page">main</action>
468 </action>
469 </page>
470
471 <page name="flash_queue">
472 <template name="page"/>
473
474 <template name="statusbar"/>
475
476 <text style="text_m">
477 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500478 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100479 </text>
480
481 <text style="text_m_accent">
482 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500483 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100484 </text>
485
486 <text style="text_m">
487 <placement x="%indent%" y="%row2_y%"/>
488 <text>%tw_file%</text>
489 </text>
490
491 <text style="text_m_accent">
492 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500493 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100494 </text>
495
496 <text style="text_m">
497 <placement x="%indent%" y="%row5_y%"/>
498 <text>%tw_zip_location%</text>
499 </text>
500
501 <text style="text_m">
502 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500503 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </text>
505
506 <button>
507 <placement x="%col1_x_left%" y="%row11_y%"/>
508 <highlight color="%highlight_color%"/>
509 <image resource="q_btn_arrow_left"/>
510 <actions>
511 <action function="queueclear"/>
512 <action function="page">install</action>
513 </actions>
514 </button>
515
516 <button>
517 <placement x="%btn4_col2_x%" y="%row11_y%"/>
518 <highlight color="%highlight_color%"/>
519 <image resource="q_btn_addzip"/>
520 <action function="page">install</action>
521 </button>
522
523 <button>
524 <placement x="%btn4_col3_x%" y="%row11_y%"/>
525 <highlight color="%highlight_color%"/>
526 <image resource="q_btn_accept"/>
527 <action function="page">flash_confirm</action>
528 </button>
529
530 <button>
531 <placement x="%btn4_col4_x%" y="%row11_y%"/>
532 <highlight color="%highlight_color%"/>
533 <image resource="q_btn_arrow_right"/>
534 <action function="page">flash_options</action>
535 </button>
536
537 <action>
538 <touch key="back"/>
539 <actions>
540 <action function="queueclear"/>
541 <action function="page">install</action>
542 </actions>
543 </action>
544
545 <action>
546 <touch key="home"/>
547 <action function="page">main</action>
548 </action>
549 </page>
550
551 <page name="flash_options">
552 <template name="page"/>
553
554 <template name="statusbar"/>
555
556 <text style="text_m">
557 <condition var1="tw_selectimage" var2="0"/>
558 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500559 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100560 </text>
561
epicX40b7f7a2021-03-20 21:58:17 +0530562 <listbox style="options_listbox">
563 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%listbox_options_height%"/>
564 <icon selected="checkbox_true" unselected="checkbox_false"/>
565 <listitem name="{@zip_sig_chk=Zip signature verification}">
566 <data variable="tw_signed_zip_verify"/>
567 </listitem>
568 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
569 <data variable="tw_skip_digest_check_zip"/>
570 </listitem>
571 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
572 <data variable="tw_install_reboot"/>
573 </listitem>
574 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
575 <condition var1="tw_has_injecttwrp" var2="1"/>
576 <data variable="tw_inject_after_zip"/>
577 </listitem>
578 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500579
z31s1g28f0a922015-11-07 18:50:22 +0100580 <button>
581 <placement x="%col1_x_left%" y="%row11_y%"/>
582 <highlight color="%highlight_color%"/>
583 <image resource="q_btn_arrow_left"/>
584 <action function="page">flash_queue</action>
585 </button>
586
587 <button>
588 <placement x="%btn4_col4_x%" y="%row11_y%"/>
589 <highlight color="%highlight_color%"/>
590 <image resource="q_btn_accept_transp"/>
591 <action function="page">flash_confirm</action>
592 </button>
593
594 <action>
595 <touch key="back"/>
596 <action function="page">flash_queue</action>
597 </action>
598
599 <action>
600 <touch key="home"/>
601 <action function="page">main</action>
602 </action>
603 </page>
604
605 <page name="flash_confirm">
606 <template name="page"/>
607
608 <template name="statusbar"/>
609
610 <text style="text_m">
611 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500612 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100613 </text>
614
615 <text style="text_m_accent">
616 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <text style="text_m">
621 <placement x="%indent%" y="%row2_y%"/>
622 <text>%tw_file%</text>
623 </text>
624
625 <button>
626 <fill color="%transparent%"/>
627 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
628 <action function="page">flash_queue</action>
629 </button>
630
631 <text style="text_m_accent">
632 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100634 </text>
635
636 <text style="text_m">
637 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <button>
642 <fill color="%transparent%"/>
643 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
644 <action function="page">flash_queue</action>
645 </button>
646
647 <listbox style="listbox_options">
648 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500649 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100650 <data variable="tw_signed_zip_verify"/>
651 </listitem>
652 </listbox>
653
654 <text style="text_m_accent">
655 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500656 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100657 </text>
658
659 <text style="text_m">
660 <condition var1="tw_has_injecttwrp" var2="1"/>
661 <condition var1="tw_inject_after_zip" var2="1"/>
662 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500663 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100664 </text>
665
666 <button>
667 <fill color="%transparent%"/>
668 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
669 <action function="page">flash_options</action>
670 </button>
671
672 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100674 <action function="flash">flash_zip</action>
675 </slider>
676
677 <action>
678 <touch key="back"/>
679 <actions>
680 <action function="cancelzip"/>
681 <action function="page">install</action>
682 </actions>
683 </action>
684
685 <action>
686 <touch key="home"/>
687 <action function="page">main</action>
688 </action>
689 </page>
690
691 <page name="flash_zip">
692 <template name="page"/>
693
694 <template name="statusbar"/>
695
696 <text style="text_m">
697 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600698 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100699 </text>
700
701 <template name="console"/>
702
703 <template name="progress_bar"/>
704
705 <action>
706 <condition var1="tw_operation_state" var2="1"/>
707 <action function="page">flash_done</action>
708 </action>
709 </page>
710
711 <page name="flash_done">
712 <template name="page"/>
713
714 <template name="statusbar"/>
715
716 <text style="text_m_fail">
717 <condition var1="tw_operation_status" op="!=" var2="0"/>
718 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500719 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100720 </text>
721
722 <text style="text_m">
723 <condition var1="tw_operation_status" var2="0"/>
724 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500725 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100726 </text>
727
728 <template name="console"/>
729
730 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500731 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100732 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500733 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100734 <actions>
735 <action function="set">tw_back=flash_done</action>
736 <action function="set">tw_action=wipe</action>
737 <action function="set">tw_action_param=/cache</action>
738 <action function="set">tw_has_action2=1</action>
739 <action function="set">tw_action2=wipe</action>
740 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500741 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
742 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
743 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500744 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
745 <action function="page">confirm_action</action>
746 </actions>
747 </button>
748
749 <button style="main_button_half_height">
750 <condition var1="tw_ab_device" var2="1"/>
751 <placement x="%indent%" y="%row21a_y%"/>
752 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
753 <actions>
754 <action function="set">tw_back=flash_done</action>
755 <action function="set">tw_action=wipe</action>
756 <action function="set">tw_action_param=dalvik</action>
757 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
758 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
759 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
760 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100761 <action function="page">confirm_action</action>
762 </actions>
763 </button>
764
765 <button style="main_button_half_height">
Chaosmaster90df3de2020-02-07 20:33:43 +0100766 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100767 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500768 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100769 <actions>
770 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500771 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100772 </actions>
773 </button>
774
Chaosmaster90df3de2020-02-07 20:33:43 +0100775 <button style="main_button_half_height">
776 <condition var1="tw_ab_device" var2="1"/>
777 <placement x="%col1_x_right%" y="%row13_y%"/>
778 <text>{@reboot_btn=Reboot}</text>
779 <actions>
780 <action function="set">tw_back=main2</action>
781 <action function="page">reboot</action>
782 </actions>
783 </button>
784
z31s1g28f0a922015-11-07 18:50:22 +0100785 <action>
786 <touch key="back"/>
787 <actions>
788 <action function="set">tw_clear_destination=install_type</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </action>
792
793 <action>
794 <touch key="home"/>
795 <actions>
796 <action function="set">tw_clear_destination=main2</action>
797 <action function="page">clear_vars</action>
798 </actions>
799 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500800
801 <action>
802 <conditions>
803 <condition var1="tw_install_reboot" var2="1"/>
804 <condition var1="tw_operation_status" var2="0"/>
805 <condition var1="tw_reboot_system" var2="1"/>
806 </conditions>
807 <actions>
808 <action function="set">tw_sleep=%tw_sleep_total%</action>
809 <action function="page">flash_sleep_and_reboot</action>
810 </actions>
811 </action>
812 </page>
813
814 <page name="flash_sleep_and_reboot">
815 <template name="page"/>
816
817 <template name="statusbar"/>
818
819 <text style="text_m">
820 <placement x="%col1_x_left%" y="%row1_header_y%"/>
821 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
822 </text>
823
824 <template name="console"/>
825
826 <template name="progress_bar"/>
827
828 <button style="main_button_half_height">
829 <condition var1="tw_sleep" op="&gt;" var2="0"/>
830 <placement x="%col1_x_right%" y="%row13_y%"/>
831 <text>{@cancel_btn=Cancel}</text>
832 <actions>
833 <action function="set">tw_install_reboot=0</action>
834 <action function="page">flash_done</action>
835 </actions>
836 </button>
837
838 <action>
839 <conditions>
840 <condition var1="tw_sleep" var2="tw_sleep_total"/>
841 <condition var1="tw_install_reboot" var2="1"/>
842 </conditions>
843 <action function="sleepcounter">%tw_sleep_total%</action>
844 </action>
845
846 <action>
847 <conditions>
848 <condition var1="tw_sleep" var2="0"/>
849 <condition var1="tw_install_reboot" var2="1"/>
850 </conditions>
851 <actions>
852 <action function="sleep">50000</action>
853 <action function="set">tw_back=main2</action>
854 <action function="page">reboot_system_routine</action>
855 </actions>
856 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100857 </page>
858
859 <page name="flashimage_type">
860 <template name="page"/>
861
862 <template name="statusbar"/>
863
864 <text style="text_m">
865 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600866 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100867 </text>
868
869 <partitionlist style="partitionlist_headerless_rb">
870 <data name="tw_flash_partition"/>
871 <listtype name="flashimg"/>
872 </partitionlist>
873
epicXb7337372021-02-24 23:12:08 +0530874 <button style="checkbox">
875 <conditions>
876 <condition var1="tw_is_slot_part" op="=" var2="1"/>
877 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
878 <condition var1="tw_has_boot_slots" var2="1"/>
879 </conditions>
880 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
881 <text>{@flash_ab_both_slots=Flash to both slots}</text>
882 <image resource="checkbox_false"/>
883 <action function="set">tw_flash_both_slots=1</action>
884 </button>
885
886 <button style="checkbox">
887 <conditions>
888 <condition var1="tw_is_slot_part" op="=" var2="1"/>
889 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
890 <condition var1="tw_has_boot_slots" var2="1"/>
891 </conditions>
892 <placement x="%col2_x_left%" y="%row11_y%" textplacement="6"/>
893 <text>{@flash_ab_both_slots=Flash to both slots}</text>
894 <image resource="checkbox_true"/>
895 <action function="set">tw_flash_both_slots=0</action>
896 </button>
897
z31s1g28f0a922015-11-07 18:50:22 +0100898 <button>
899 <placement x="%col1_x_left%" y="%row11_y%"/>
900 <highlight color="%highlight_color%"/>
901 <image resource="q_btn_arrow_left"/>
902 <action function="page">install</action>
903 </button>
904
905 <button>
906 <placement x="%btn4_col4_x%" y="%row11_y%"/>
907 <highlight color="%highlight_color%"/>
908 <image resource="q_btn_accept_transp"/>
909 <action function="page">flashimage_confirm</action>
910 </button>
911
912 <action>
913 <touch key="back"/>
914 <action function="page">install</action>
915 </action>
916
917 <action>
918 <touch key="home"/>
919 <action function="page">main</action>
920 </action>
921 </page>
922
923 <page name="flashimage_confirm">
924 <template name="page"/>
925
926 <template name="statusbar"/>
927
928 <text style="text_m">
929 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500930 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100931 </text>
932
933 <text style="text_m_accent">
934 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500935 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100936 </text>
937
938 <text style="text_m">
939 <placement x="%indent%" y="%row2_y%"/>
940 <text>%tw_file%</text>
941 </text>
942
943 <button>
944 <fill color="%transparent%"/>
945 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
946 <action function="page">install</action>
947 </button>
948
949 <text style="text_m_accent">
950 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500951 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100952 </text>
953
954 <text style="text_m">
955 <placement x="%indent%" y="%row5_y%"/>
956 <text>%tw_flash_partition%</text>
957 </text>
958
959 <button>
960 <fill color="%transparent%"/>
961 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
962 <action function="page">flashimage_type</action>
963 </button>
964
965 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500966 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100967 <actions>
968 <action function="set">tw_back=flashimage_confirm</action>
969 <action function="set">tw_action=flashimage</action>
970 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500971 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100972 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500973 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100974 <action function="page">action_page</action>
975 </actions>
976 <action function="flashimage"/>
977 </slider>
978
979 <action>
980 <touch key="back"/>
981 <actions>
982 <action function="set">tw_clear_destination=install</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </action>
986
987 <action>
988 <touch key="home"/>
989 <actions>
990 <action function="set">tw_clear_destination=main2</action>
991 <action function="page">clear_vars</action>
992 </actions>
993 </action>
994 </page>
995
996 <page name="clear_vars">
997 <action>
998 <action function="set">tw_operation_state=0</action>
999 <action function="set">tw_text1=</action>
1000 <action function="set">tw_text2=</action>
1001 <action function="set">tw_text3=</action>
1002 <action function="set">tw_text4=</action>
1003 <action function="set">tw_action_text1=</action>
1004 <action function="set">tw_action_text2=</action>
1005 <action function="set">tw_action_param=</action>
1006 <action function="set">tw_has_action2=0</action>
1007 <action function="set">tw_action2=</action>
1008 <action function="set">tw_action2_param=</action>
1009 <action function="set">tw_has_cancel=0</action>
1010 <action function="set">tw_cancel_action=</action>
1011 <action function="set">tw_cancel_param=</action>
1012 <action function="set">tw_show_exclamation=0</action>
1013 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001014 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001015 <action function="set">tw_multiuser_warning_accepted=</action>
1016 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +01001017 <action function="page">%tw_clear_destination%</action>
1018 </action>
1019 </page>
1020
Matt Mower908dd252016-05-25 02:26:50 -05001021 <page name="reboot_system_routine">
1022 <action>
1023 <action function="set">tw_back=main2</action>
1024 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05001025 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -05001026 <action function="set">tw_has_action2=0</action>
1027 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
1028 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
1029 <action function="set">tw_text3=</action>
1030 <action function="set">tw_text4=</action>
1031 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
1032 <action function="set">tw_action_text2=</action>
1033 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
1034 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1035 <action function="page">rebootcheck</action>
1036 </action>
1037 </page>
1038
z31s1g28f0a922015-11-07 18:50:22 +01001039 <page name="confirm_action">
1040 <template name="page"/>
1041
1042 <template name="statusbar"/>
1043
1044 <text style="text_m">
1045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <text style="text_m_accent">
1050 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1051 <text>%tw_text1%</text>
1052 </text>
1053
1054 <text style="text_m_accent">
1055 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1056 <text>%tw_text2%</text>
1057 </text>
1058
1059 <text style="text_m">
1060 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1061 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1062 <text>%tw_text3%</text>
1063 </text>
1064
1065 <text style="text_m">
1066 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1067 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1068 <text>%tw_text4%</text>
1069 </text>
1070
1071 <text style="text_m_fail">
1072 <condition var1="tw_action" var2="changefilesystem"/>
1073 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1074 <text>%tw_text3%</text>
1075 </text>
1076
1077 <text style="text_m_fail">
1078 <condition var1="tw_action" var2="changefilesystem"/>
1079 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1080 <text>%tw_text4%</text>
1081 </text>
1082
1083 <text style="text_m">
1084 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 </text>
1087
1088 <slider>
1089 <text>%tw_slider_text%</text>
1090 <action function="page">action_page</action>
1091 </slider>
1092
1093 <action>
1094 <touch key="back"/>
1095 <actions>
1096 <action function="set">tw_clear_destination=%tw_back%</action>
1097 <action function="page">clear_vars</action>
1098 </actions>
1099 </action>
1100
1101 <action>
1102 <touch key="home"/>
1103 <action function="page">main</action>
1104 </action>
1105 </page>
1106
1107 <page name="action_page">
1108 <template name="page"/>
1109
1110 <template name="statusbar"/>
1111
1112 <text style="text_m">
1113 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1114 <text>%tw_action_text1% %tw_action_text2%</text>
1115 </text>
1116
1117 <template name="console"/>
1118
1119 <template name="progress_bar"/>
1120
1121 <button style="main_button_half_height">
1122 <condition var1="tw_has_cancel" var2="1"/>
1123 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1126 </button>
1127
1128 <action>
1129 <condition var1="tw_operation_state" var2="1"/>
1130 <actions>
1131 <action function="page">action_complete</action>
1132 </actions>
1133 </action>
1134
1135 <action>
1136 <condition var1="tw_has_action2" var2="0"/>
1137 <actions>
1138 <action function="%tw_action%">%tw_action_param%</action>
1139 </actions>
1140 </action>
1141
1142 <action>
1143 <condition var1="tw_has_action2" var2="1"/>
1144 <actions>
1145 <action function="%tw_action%">%tw_action_param%</action>
1146 <action function="%tw_action2%">%tw_action2_param%</action>
1147 </actions>
1148 </action>
1149 </page>
1150
1151 <page name="singleaction_page">
1152 <template name="page"/>
1153
1154 <template name="statusbar"/>
1155
1156 <text style="text_m">
1157 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1158 <text>%tw_action_text1% %tw_action_text2%</text>
1159 </text>
1160
1161 <template name="console"/>
1162
1163 <template name="progress_bar"/>
1164
1165 <action>
1166 <condition var1="tw_operation_state" var2="1"/>
1167 <actions>
1168 <action function="set">tw_page_done=1</action>
1169 </actions>
1170 </action>
1171
1172 <action>
1173 <condition var1="tw_has_action2" var2="0"/>
1174 <actions>
1175 <action function="%tw_action%">%tw_action_param%</action>
1176 </actions>
1177 </action>
1178
1179 <action>
1180 <condition var1="tw_has_action2" var2="1"/>
1181 <actions>
1182 <action function="%tw_action%">%tw_action_param%</action>
1183 <action function="%tw_action2%">%tw_action2_param%</action>
1184 </actions>
1185 </action>
1186 </page>
1187
1188 <page name="action_complete">
1189 <template name="page"/>
1190
1191 <template name="statusbar"/>
1192
1193 <text style="text_m_fail">
1194 <condition var1="tw_operation_status" op="!=" var2="0"/>
1195 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <text style="text_m">
1200 <condition var1="tw_operation_status" var2="0"/>
1201 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <template name="console"/>
1206
1207 <button style="main_button_half_height">
1208 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 <actions>
1211 <action function="set">tw_clear_destination=%tw_back%</action>
1212 <action function="page">clear_vars</action>
1213 </actions>
1214 </button>
1215
1216 <button style="main_button_half_height">
1217 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 <actions>
1220 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001221 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001222 </actions>
1223 </button>
1224
1225 <action>
1226 <touch key="home"/>
1227 <actions>
1228 <action function="set">tw_clear_destination=main2</action>
1229 <action function="page">clear_vars</action>
1230 </actions>
1231 </action>
1232
1233 <action>
1234 <touch key="back"/>
1235 <actions>
1236 <action function="set">tw_clear_destination=%tw_back%</action>
1237 <action function="page">clear_vars</action>
1238 </actions>
1239 </action>
1240 </page>
1241
1242 <page name="filecheck">
1243 <action>
1244 <action function="fileexists">%tw_filecheck%</action>
1245 </action>
1246
1247 <action>
1248 <conditions>
1249 <condition var1="tw_operation_state" var2="1"/>
1250 <condition var1="tw_operation_status" var2="0"/>
1251 </conditions>
1252 <actions>
1253 <action function="set">tw_fileexists=1</action>
1254 <action function="page">%tw_existpage%</action>
1255 </actions>
1256 </action>
1257
1258 <action>
1259 <conditions>
1260 <condition var1="tw_operation_state" var2="1"/>
1261 <condition var1="tw_operation_status" var2="1"/>
1262 </conditions>
1263 <actions>
1264 <action function="set">tw_fileexists=0</action>
1265 <action function="page">%tw_notexistpage%</action>
1266 </actions>
1267 </action>
1268 </page>
1269
1270 <page name="rebootcheck">
1271 <action>
1272 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001273 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </action>
1275
1276 <action>
1277 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1278 <action function="page">confirm_action</action>
1279 </action>
1280 </page>
1281
1282 <page name="wipe_type1">
1283 <template name="page"/>
1284
1285 <template name="statusbar"/>
1286
1287 <text style="text_m">
1288 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001289 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001290 </text>
1291
1292 <button style="main_button_full_width">
1293 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 <action function="page">wipe</action>
1296 </button>
1297
1298 <button style="main_button_full_width">
1299 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 <actions>
1302 <action function="set">partitionlisterror=0</action>
1303 <action function="page">advancedwipe</action>
1304 </actions>
1305 </button>
1306
1307 <button>
1308 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1309 <highlight color="%highlight_color%"/>
1310 <image resource="q_btn_arrow_right"/>
1311 <action function="page">wipe_type2</action>
1312 </button>
1313
1314 <action>
1315 <touch key="home"/>
1316 <action function="page">main</action>
1317 </action>
1318
1319 <action>
1320 <touch key="back"/>
1321 <action function="page">main</action>
1322 </action>
1323 </page>
1324
1325 <page name="wipe_type2">
1326 <template name="page"/>
1327
1328 <template name="statusbar"/>
1329
1330 <text style="text_m">
1331 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <button style="main_button_full_width">
1336 <condition var1="tw_has_data_media" var2="1"/>
1337 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <action function="page">formatdata</action>
1340 </button>
1341
1342 <button style="main_button_full_width">
1343 <conditions>
1344 <condition var1="tw_is_encrypted" var2="1"/>
1345 <condition var1="tw_has_data_media" var2="0"/>
1346 </conditions>
1347 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <actions>
1350 <action function="set">tw_back=wipe</action>
1351 <action function="set">tw_action=wipe</action>
1352 <action function="set">tw_action_param=DATAMEDIA</action>
1353 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001354 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001355 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1357 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1358 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001359 <action function="page">confirm_action</action>
1360 </actions>
1361 </button>
1362
1363 <button style="main_button_full_width">
1364 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001366 <action function="set">partitionlisterror=0</action>
1367 <action function="page">partitionoptions_select</action>
1368 </actions>
1369 </button>
1370
1371 <button>
1372 <placement x="%col1_x_left%" y="%row11_y%"/>
1373 <highlight color="%highlight_color%"/>
1374 <image resource="q_btn_arrow_left"/>
1375 <action function="page">wipe_type1</action>
1376 </button>
1377
1378 <action>
1379 <touch key="home"/>
1380 <action function="page">main</action>
1381 </action>
1382
1383 <action>
1384 <touch key="back"/>
1385 <action function="page">main</action>
1386 </action>
1387 </page>
1388
1389 <page name="wipe">
1390 <template name="page"/>
1391
1392 <template name="statusbar"/>
1393
1394 <text style="text_m">
1395 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m_accent">
1400 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001405 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001406 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1407 </text>
1408
1409 <text style="text_m_accent">
1410 <condition var1="tw_has_data_media" var2="1"/>
1411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001412 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001413 </text>
1414
1415 <text style="text_m_accent">
1416 <conditions>
1417 <condition var1="tw_has_android_secure" var2="1"/>
1418 <condition var1="fileexists" var2="/and-sec"/>
1419 </conditions>
1420 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001421 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001422 </text>
1423
1424 <text style="text_m_accent">
1425 <condition var1="tw_has_sdext_partition" var2="1"/>
1426 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m">
1431 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m">
1436 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m">
1441 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 <actions>
1448 <action function="set">tw_back=wipe</action>
1449 <action function="set">tw_action=wipe</action>
1450 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001451 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1452 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001453 <action function="page">action_page</action>
1454 </actions>
1455 </slider>
1456
1457 <action>
1458 <touch key="back"/>
1459 <action function="page">wipe_type1</action>
1460 </action>
1461
1462 <action>
1463 <touch key="home"/>
1464 <action function="page">main</action>
1465 </action>
1466 </page>
1467
1468 <page name="advancedwipe">
1469 <action>
1470 <action function="set">tw_wipe_list=</action>
1471 </action>
1472
1473 <template name="page"/>
1474
1475 <template name="statusbar"/>
1476
1477 <text style="text_m">
1478 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001479 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001480 </text>
1481
1482 <partitionlist style="partitionlist_headerless_cb">
1483 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1484 <data name="tw_wipe_list"/>
1485 <listtype name="wipe"/>
1486 </partitionlist>
1487
1488 <fill color="%accent_color%">
1489 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1490 </fill>
1491
1492 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001493 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001494 <actions>
1495 <action function="set">tw_back=advancedwipe</action>
1496 <action function="set">tw_action=wipe</action>
1497 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1499 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1500 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001501 <action function="page">action_page</action>
1502 </actions>
1503 </slider>
1504
1505 <action>
1506 <touch key="home"/>
1507 <action function="page">main</action>
1508 </action>
1509
1510 <action>
1511 <touch key="back"/>
1512 <action function="page">wipe_type1</action>
1513 </action>
1514 </page>
1515
1516 <page name="formatdata">
1517 <template name="page"/>
1518
1519 <template name="statusbar"/>
1520
1521 <text style="text_m">
1522 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001523 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001524 </text>
1525
1526 <text style="text_m_fail">
1527 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001529 </text>
1530
1531 <text style="text_m_fail">
1532 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001533 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001534 </text>
1535
1536 <text style="text_m">
1537 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001539 </text>
1540
1541 <input>
1542 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1543 <text>%tw_confirm_formatdata%</text>
1544 <data name="tw_confirm_formatdata"/>
1545 <restrict minlen="3" maxlen="3" allow="yes"/>
1546 <action function="page">formatdata_confirm</action>
1547 </input>
1548
1549 <fill color="%accent_color%">
1550 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1551 </fill>
1552
1553 <template name="keyboardtemplate"/>
1554
1555 <action>
1556 <touch key="home"/>
1557 <action function="page">main</action>
1558 </action>
1559
1560 <action>
1561 <touch key="back"/>
1562 <action function="page">wipe_type2</action>
1563 </action>
1564 </page>
1565
1566 <page name="formatdata_confirm">
1567 <action>
1568 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1569 <actions>
1570 <action function="set">tw_back=formatdata</action>
1571 <action function="set">tw_action=wipe</action>
1572 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1574 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001575 <action function="page">action_page</action>
1576 </actions>
1577 </action>
1578
1579 <action>
1580 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1581 <action function="page">formatdata</action>
1582 </action>
1583 </page>
1584
1585 <page name="checkpartitionlist">
1586 <action>
1587 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1588 <actions>
1589 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001590 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001591 <action function="page">partitionoptions</action>
1592 </actions>
1593 </action>
1594
1595 <action>
1596 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1597 <actions>
1598 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001599 <action function="page">partitionoptions_select</action>
1600 </actions>
1601 </action>
1602 </page>
1603
1604 <page name="partitionoptions_select">
1605 <action>
1606 <action function="set">tw_wipe_list=</action>
1607 </action>
1608
1609 <template name="page"/>
1610
1611 <template name="statusbar"/>
1612
1613 <text style="text_m">
1614 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001616 </text>
1617
1618 <partitionlist style="partitionlist_headerless_cb">
1619 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1620 <data name="tw_wipe_list"/>
1621 <listtype name="wipe"/>
1622 </partitionlist>
1623
1624 <fill color="%accent_color%">
1625 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1626 </fill>
1627
z31s1g28f0a922015-11-07 18:50:22 +01001628 <text style="text_m_fail">
1629 <condition var1="partitionlisterror" var2="1"/>
1630 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <button>
1635 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1636 <highlight color="%highlight_color%"/>
1637 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001638 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001639 <action function="page">checkpartitionlist</action>
1640 </actions>
1641 </button>
1642
1643 <action>
1644 <touch key="home"/>
1645 <action function="page">main</action>
1646 </action>
1647
1648 <action>
1649 <touch key="back"/>
1650 <action function="page">wipe_type2</action>
1651 </action>
1652 </page>
1653
1654 <page name="partitionoptions">
1655
1656 <template name="page"/>
1657
1658 <template name="statusbar"/>
1659
1660 <text style="text_m">
1661 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m_accent">
1666 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001667 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001668 </text>
1669
1670 <text style="text_m_accent">
1671 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001672 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001673 </text>
1674
1675 <text style="text_m">
1676 <condition var1="tw_partition_is_present" var2="1"/>
1677 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <text style="text_m">
1682 <condition var1="tw_partition_is_present" var2="0"/>
1683 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 </text>
1686
1687 <text style="text_m">
1688 <condition var1="tw_partition_removable" var2="1"/>
1689 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <text style="text_m">
1694 <condition var1="tw_partition_removable" var2="0"/>
1695 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </text>
1698
1699 <text style="text_m">
1700 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 </text>
1703
1704 <text style="text_m">
1705 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <text style="text_m">
1710 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </text>
1713
1714 <text style="text_m">
1715 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </text>
1718
1719 <button style="main_button">
1720 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1721 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001722 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001723 <actions>
1724 <action function="set">tw_back=partitionoptions</action>
1725 <action function="set">tw_action=resize</action>
1726 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1727 <action function="set">tw_has_action2=1</action>
1728 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001729 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001730 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001732 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1733 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1734 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001735 <action function="page">confirm_action</action>
1736 </actions>
1737 </button>
1738
1739 <button style="main_button">
1740 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1741 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 <actions>
1744 <action function="set">tw_back=partitionoptions</action>
1745 <action function="set">tw_action=repair</action>
1746 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1747 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001749 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001750 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1751 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1752 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <action function="page">confirm_action</action>
1754 </actions>
1755 </button>
1756
1757 <button>
1758 <placement x="%col1_x_left%" y="%row11_y%"/>
1759 <highlight color="%highlight_color%"/>
1760 <image resource="q_btn_arrow_left"/>
1761 <action function="page">partitionoptions_select</action>
1762 </button>
1763
1764 <button style="main_button">
1765 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <action function="page">selectfilesystem</action>
1768 </button>
1769
1770 <action>
1771 <touch key="home"/>
1772 <action function="page">main</action>
1773 </action>
1774
1775 <action>
1776 <touch key="back"/>
1777 <action function="page">partitionoptions_select</action>
1778 </action>
1779 </page>
1780
1781 <page name="refreshfilesystem">
1782 <action>
1783 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1784 <actions>
1785 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001786 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001787 <action function="page">selectfilesystem</action>
1788 </actions>
1789 </action>
1790
1791 <action>
1792 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1793 <actions>
1794 <action function="set">partitionlisterror=1</action>
1795 <action function="set">tw_wipe_list=</action>
1796 <action function="page">advancedwipe</action>
1797 </actions>
1798 </action>
1799 </page>
1800
1801 <page name="selectfilesystem">
1802 <template name="page"/>
1803
1804 <template name="statusbar"/>
1805
1806 <text style="text_m">
1807 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001809 </text>
1810
1811 <button style="main_button">
1812 <condition var1="tw_partition_ext" op="=" var2="1"/>
1813 <placement x="%col1_x_left%" y="%row1_y%"/>
1814 <text>EXT2</text>
1815 <actions>
1816 <action function="set">tw_back=refreshfilesystem</action>
1817 <action function="set">tw_action=changefilesystem</action>
1818 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1819 <action function="set">tw_action_new_file_system=ext2</action>
1820 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1822 <action function="set">tw_text2=EXT2</action>
1823 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1824 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1825 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1826 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1827 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001828 <action function="page">confirm_action</action>
1829 </actions>
1830 </button>
1831
1832 <button style="main_button">
1833 <condition var1="tw_partition_ext" op="=" var2="1"/>
1834 <placement x="%col1_x_left%" y="%row6_y%"/>
1835 <text>EXT3</text>
1836 <actions>
1837 <action function="set">tw_back=refreshfilesystem</action>
1838 <action function="set">tw_action=changefilesystem</action>
1839 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1840 <action function="set">tw_action_new_file_system=ext3</action>
1841 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001842 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1843 <action function="set">tw_text2=EXT3</action>
1844 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1845 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1846 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1847 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1848 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001849 <action function="page">confirm_action</action>
1850 </actions>
1851 </button>
1852
1853 <button style="main_button">
1854 <condition var1="tw_partition_ext" op="=" var2="1"/>
1855 <placement x="%col1_x_left%" y="%row11_y%"/>
1856 <text>EXT4</text>
1857 <actions>
1858 <action function="set">tw_back=refreshfilesystem</action>
1859 <action function="set">tw_action=changefilesystem</action>
1860 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1861 <action function="set">tw_action_new_file_system=ext4</action>
1862 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001863 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1864 <action function="set">tw_text2=EXT4</action>
1865 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1866 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1867 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1868 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1869 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001870 <action function="page">confirm_action</action>
1871 </actions>
1872 </button>
1873
1874 <button style="main_button">
1875 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1876 <placement x="%col1_x_right%" y="%row1_y%"/>
1877 <text>FAT</text>
1878 <actions>
1879 <action function="set">tw_back=refreshfilesystem</action>
1880 <action function="set">tw_action=changefilesystem</action>
1881 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1882 <action function="set">tw_action_new_file_system=vfat</action>
1883 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001884 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1885 <action function="set">tw_text2=FAT</action>
1886 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1887 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1888 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1889 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1890 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001891 <action function="page">confirm_action</action>
1892 </actions>
1893 </button>
1894
1895 <button style="main_button">
1896 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1897 <placement x="%col1_x_right%" y="%row6_y%"/>
1898 <text>exFAT</text>
1899 <actions>
1900 <action function="set">tw_back=refreshfilesystem</action>
1901 <action function="set">tw_action=changefilesystem</action>
1902 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1903 <action function="set">tw_action_new_file_system=exfat</action>
1904 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1906 <action function="set">tw_text2=exFAT</action>
1907 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1908 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1909 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1910 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1911 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001912 <action function="page">confirm_action</action>
1913 </actions>
1914 </button>
1915
1916 <button style="main_button">
1917 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1918 <placement x="%col1_x_right%" y="%row11_y%"/>
1919 <text>F2FS</text>
1920 <actions>
1921 <action function="set">tw_back=refreshfilesystem</action>
1922 <action function="set">tw_action=changefilesystem</action>
1923 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1924 <action function="set">tw_action_new_file_system=f2fs</action>
1925 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1927 <action function="set">tw_text2=F2FS</action>
1928 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1929 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1930 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1931 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1932 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001933 <action function="page">confirm_action</action>
1934 </actions>
1935 </button>
1936
1937 <action>
1938 <touch key="home"/>
1939 <action function="page">main</action>
1940 </action>
1941
1942 <action>
1943 <touch key="back"/>
1944 <action function="page">partitionoptions</action>
1945 </action>
1946 </page>
1947
bigbiffce8f83c2015-12-12 18:30:21 -05001948 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001949 <template name="page"/>
1950
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001951 <action>
1952 <conditions>
1953 <condition var1="tw_is_fbe" var2="1"/>
1954 <condition var1="tw_all_users_decrypted" var2="0"/>
1955 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1956 </conditions>
1957 <actions>
1958 <action function="set">tw_multiuser_warning_destination=backup</action>
1959 <action function="page">multiuser_warning</action>
1960 </actions>
1961 </action>
1962
z31s1g28f0a922015-11-07 18:50:22 +01001963 <template name="statusbar"/>
1964
1965 <text style="text_m">
1966 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001967 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001968 </text>
1969
1970 <partitionlist style="partitionlist_headerless_rb">
1971 <data name="tw_storage_path"/>
1972 <listtype name="storage"/>
1973 </partitionlist>
1974
1975 <button>
1976 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1977 <highlight color="%highlight_color%"/>
1978 <image resource="q_btn_refresh"/>
1979 <actions>
1980 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001981 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001982 </actions>
1983 </button>
1984
1985 <button>
1986 <condition var1="tw_back" var2="backup_confirm"/>
1987 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1988 <highlight color="%highlight_color%"/>
1989 <image resource="q_btn_accept"/>
1990 <action function="page">backup_confirm</action>
1991 </button>
1992
1993 <button>
1994 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1995 <highlight color="%highlight_color%"/>
1996 <image resource="q_btn_arrow_right"/>
1997 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001998 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001999 <action function="page">backup_selectpartitions</action>
2000 </actions>
2001 </button>
2002
2003 <action>
2004 <touch key="home"/>
2005 <action function="page">main</action>
2006 </action>
2007
2008 <action>
2009 <touch key="back"/>
2010 <action function="page">%tw_back%</action>
2011 </action>
2012
2013 <action>
2014 <touch key="power+voldown"/>
2015 <action function="screenshot"/>
2016 </action>
2017 </page>
2018
2019 <page name="backup_selectpartitions">
2020 <template name="page"/>
2021
2022 <template name="statusbar"/>
2023
2024 <text style="text_m">
2025 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002026 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002027 </text>
2028
2029 <partitionlist style="partitionlist_headerless_cb">
2030 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2031 <data name="tw_backup_list"/>
2032 <listtype name="backup"/>
2033 </partitionlist>
2034
2035 <fill color="%accent_color%">
2036 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2037 </fill>
2038
2039 <button>
2040 <placement x="%col1_x_left%" y="%row11_y%"/>
2041 <highlight color="%highlight_color%"/>
2042 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002043 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002044 </button>
2045
2046 <button>
2047 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2048 <highlight color="%highlight_color%"/>
2049 <image resource="q_btn_refresh"/>
2050 <action function="page">backup_selectpartitions</action>
2051 </button>
2052
2053 <button>
2054 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2055 <highlight color="%highlight_color%"/>
2056 <image resource="q_btn_accept"/>
2057 <action function="page">backup_confirm</action>
2058 </button>
2059
2060 <button>
2061 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2062 <highlight color="%highlight_color%"/>
2063 <image resource="q_btn_arrow_right"/>
2064 <actions>
2065 <action function="set">tw_back=backup_selectpartitions</action>
2066 <action function="page">backup_options</action>
2067 </actions>
2068 </button>
2069
2070 <action>
2071 <touch key="home"/>
2072 <action function="page">main</action>
2073 </action>
2074
2075 <action>
2076 <touch key="back"/>
2077 <action function="page">%tw_back%</action>
2078 </action>
2079
2080 <action>
2081 <touch key="power+voldown"/>
2082 <action function="screenshot"/>
2083 </action>
2084 </page>
2085
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002086 <page name="multiuser_warning">
2087 <template name="page"/>
2088
2089 <text style="text_m">
2090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2091 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2092 </text>
2093
2094 <text style="text_m_fail">
2095 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2096 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2097 </text>
2098
2099 <text style="text_m_fail">
2100 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2101 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2102 </text>
2103
2104 <button style="main_button_full_width">
2105 <placement x="%col1_x_left%" y="%row6_y%"/>
2106 <text>{@decrypt_users=Decrypt Users}</text>
2107 <action function="page">decrypt_users</action>
2108 </button>
2109
2110 <slider>
2111 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2112 <actions>
2113 <action function="set">tw_multiuser_warning_accepted=1</action>
2114 <action function="page">%tw_multiuser_warning_destination%</action>
2115 </actions>
2116 </slider>
2117
2118 <action>
2119 <touch key="home"/>
2120 <action function="page">main</action>
2121 </action>
2122
2123 <action>
2124 <touch key="back"/>
2125 <action function="page">main</action>
2126 </action>
2127 </page>
2128
z31s1g28f0a922015-11-07 18:50:22 +01002129 <page name="backup_options">
2130 <template name="page"/>
2131
2132 <template name="statusbar"/>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002136 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002137 </text>
2138
2139 <listbox style="scrolllist">
2140 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002142 <data variable="tw_use_compression"/>
2143 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002144 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2145 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002147 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002148 <data variable="tw_disable_free_space"/>
2149 </listitem>
2150 </listbox>
2151
2152 <button>
2153 <placement x="%col1_x_left%" y="%row11_y%"/>
2154 <highlight color="%highlight_color%"/>
2155 <image resource="q_btn_arrow_left"/>
2156 <action function="page">backup_selectpartitions</action>
2157 </button>
2158
2159 <button>
2160 <conditions>
2161 <condition var1="tw_include_encrypted_backup" var2="1"/>
2162 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002163 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002164 </conditions>
2165 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2166 <highlight color="%highlight_color%"/>
2167 <image resource="q_btn_encryption_dis"/>
2168 <actions>
2169 <action function="set">tw_password_not_match=0</action>
2170 <action function="set">tw_back=backup_options</action>
2171 <action function="page">backupencryption</action>
2172 </actions>
2173 </button>
2174
2175 <button>
2176 <conditions>
2177 <condition var1="tw_include_encrypted_backup" var2="1"/>
2178 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002179 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002180 </conditions>
2181 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2182 <highlight color="%highlight_color%"/>
2183 <image resource="q_btn_encryption_en"/>
2184 <actions>
2185 <action function="set">tw_password_not_match=0</action>
2186 <action function="set">tw_back=backup_options</action>
2187 <action function="page">backupencryption</action>
2188 </actions>
2189 </button>
2190
2191 <button>
2192 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2193 <highlight color="%highlight_color%"/>
2194 <image resource="q_btn_accept_transp"/>
2195 <actions>
2196 <action function="set">tw_back=backup_options</action>
2197 <action function="page">backup_confirm</action>
2198 </actions>
2199 </button>
2200
2201 <action>
2202 <touch key="home"/>
2203 <action function="page">main</action>
2204 </action>
2205
2206 <action>
2207 <touch key="back"/>
2208 <action function="page">%tw_back%</action>
2209 </action>
2210
2211 <action>
2212 <touch key="power+voldown"/>
2213 <action function="screenshot"/>
2214 </action>
2215 </page>
2216
2217 <page name="backup_confirm">
2218 <template name="page"/>
2219
2220 <template name="statusbar"/>
2221
2222 <text style="text_m">
2223 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002224 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002225 </text>
2226
2227 <text style="text_m_accent">
2228 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <placement x="%col1_x_left%" y="%row2_y%"/>
2234 <text>%tw_backup_name%</text>
2235 </text>
2236
2237 <fill color="%accent_color%">
2238 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2239 </fill>
2240
2241 <button>
2242 <fill color="%transparent%"/>
2243 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2244 <actions>
2245 <action function="set">tw_back=backup_confirm</action>
2246 <action function="set">tw_fileexists=0</action>
2247 <action function="page">backup_name1</action>
2248 </actions>
2249 </button>
2250
2251 <fill color="%background_color%">
2252 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2253 </fill>
2254
2255 <text style="text_m_accent">
2256 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002257 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </text>
2259
2260 <partitionlist style="partitionlist_summary">
2261 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2262 <data name="tw_backup_list"/>
2263 <listtype name="backup"/>
2264 </partitionlist>
2265
2266 <button>
2267 <fill color="%transparent%"/>
2268 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2269 <actions>
2270 <action function="set">tw_back=backup_confirm</action>
2271 <action function="page">backup_selectpartitions</action>
2272 </actions>
2273 </button>
2274
2275 <text style="text_m_accent">
2276 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </text>
2279
2280 <text style="text_m">
2281 <placement x="%col1_x_right%" y="%row2_y%"/>
2282 <text>%tw_storage_display_name%</text>
2283 </text>
2284
2285 <button>
2286 <fill color="%transparent%"/>
2287 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2288 <actions>
2289 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002290 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </actions>
2292 </button>
2293
2294 <text style="text_m_accent">
2295 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002297 </text>
2298
2299 <text style="text_m">
2300 <conditions>
2301 <condition var1="tw_include_encrypted_backup" var2="1"/>
2302 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002303 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002304 </conditions>
2305 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m">
2310 <conditions>
2311 <condition var1="tw_include_encrypted_backup" var2="1"/>
2312 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002313 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002314 </conditions>
2315 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002316 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002317 </text>
2318
2319 <button>
2320 <fill color="%transparent%"/>
2321 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2322 <actions>
2323 <action function="set">tw_back=backup_confirm</action>
2324 <action function="page">backupencryption</action>
2325 </actions>
2326 </button>
2327
2328 <listbox style="listbox_options">
2329 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002330 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002331 <data variable="tw_use_compression"/>
2332 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002333 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2334 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002336 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002337 <data variable="tw_disable_free_space"/>
2338 </listitem>
2339 </listbox>
2340
2341 <text style="text_m_accent">
2342 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002343 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002344 </text>
2345
2346 <button>
2347 <fill color="%transparent%"/>
2348 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2349 <actions>
2350 <action function="set">tw_back=backup_confirm</action>
2351 <action function="page">backup_options</action>
2352 </actions>
2353 </button>
2354
2355 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 <action function="page">backup_run</action>
2358 </slider>
2359
2360 <action>
2361 <touch key="home"/>
2362 <action function="page">main</action>
2363 </action>
2364
2365 <action>
2366 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002367 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002368 </action>
2369 </page>
2370
2371 <page name="backup_name1">
2372 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002373 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002374 <action function="generatebackupname"/>
2375 </action>
2376
2377 <action>
2378 <action function="page">backup_name2</action>
2379 </action>
2380 </page>
2381
2382 <page name="backup_name2">
2383 <template name="page"/>
2384
2385 <template name="statusbar"/>
2386
2387 <text style="text_m">
2388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002389 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002390 </text>
2391
2392 <text style="text_m_accent">
2393 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 </text>
2396
2397 <input>
2398 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2399 <text>%tw_backup_name%</text>
2400 <data name="tw_backup_name"/>
2401 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2402 <actions>
2403 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2404 <action function="set">tw_existpage=backup_name2</action>
2405 <action function="set">tw_notexistpage=backup_confirm</action>
2406 <action function="page">filecheck</action>
2407 </actions>
2408 </input>
2409
2410 <fill color="%accent_color%">
2411 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2412 </fill>
2413
2414 <fill color="%text_fail_color%">
2415 <condition var1="tw_fileexists" var2="1"/>
2416 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2417 </fill>
2418
2419 <text style="text_m_fail">
2420 <condition var1="tw_fileexists" var2="1"/>
2421 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <button style="main_button_half_height">
2426 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002429 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002430 <action function="page">backup_confirm</action>
2431 </actions>
2432 </button>
2433
2434 <button style="main_button_half_height">
2435 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002436 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002437 <action function="appenddatetobackupname"/>
2438 </button>
2439
2440 <template name="keyboardtemplate"/>
2441
2442 <action>
2443 <touch key="home"/>
2444 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002446 <action function="page">main</action>
2447 </actions>
2448 </action>
2449
2450 <action>
2451 <touch key="back"/>
2452 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002453 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002454 <action function="page">backup_confirm</action>
2455 </actions>
2456 </action>
2457 </page>
2458
2459 <page name="backupencryption">
2460 <template name="page"/>
2461
2462 <template name="statusbar"/>
2463
2464 <text style="text_m">
2465 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 </text>
2468
2469 <text style="text_m_accent">
2470 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002471 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002472 </text>
2473
2474 <input>
2475 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2476 <text>%tw_backup_encrypt_display%</text>
2477 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2478 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2479 <action function="page">backupencryption2</action>
2480 </input>
2481
2482 <fill color="%accent_color%">
2483 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2484 </fill>
2485
2486 <fill color="%text_fail_color%">
2487 <condition var1="tw_password_not_match" var2="1"/>
2488 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2489 </fill>
2490
2491 <text style="text_m_fail">
2492 <condition var1="tw_password_not_match" var2="1"/>
2493 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002494 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002495 </text>
2496
2497 <button style="main_button_half_height">
2498 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 <actions>
2501 <action function="set">tw_encrypt_backup=0</action>
2502 <action function="set">tw_backup_password=</action>
2503 <action function="set">tw_backup_password2=</action>
2504 <action function="set">tw_backup_encrypt_display=</action>
2505 <action function="set">tw_backup_encrypt_display2=</action>
2506 <action function="page">%tw_back%</action>
2507 </actions>
2508 </button>
2509
2510 <template name="keyboardtemplate"/>
2511
2512 <action>
2513 <touch key="home"/>
2514 <action function="page">main</action>
2515 </action>
2516
2517 <action>
2518 <touch key="back"/>
2519 <action function="page">%tw_back%</action>
2520 </action>
2521 </page>
2522
2523 <page name="backupencryption2">
2524 <template name="page"/>
2525
2526 <template name="statusbar"/>
2527
2528 <text style="text_m">
2529 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002530 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002531 </text>
2532
2533 <text style="text_m_accent">
2534 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002535 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002536 </text>
2537
2538 <input>
2539 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2540 <text>%tw_backup_encrypt_display2%</text>
2541 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2542 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2543 <action function="page">checkbackuppassword</action>
2544 </input>
2545
2546 <fill color="%accent_color%">
2547 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2548 </fill>
2549
2550 <button style="main_button_half_height">
2551 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <actions>
2554 <action function="set">tw_encrypt_backup=0</action>
2555 <action function="set">tw_backup_password=</action>
2556 <action function="set">tw_backup_password2=</action>
2557 <action function="set">tw_backup_encrypt_display=</action>
2558 <action function="set">tw_backup_encrypt_display2=</action>
2559 <action function="page">%tw_back%</action>
2560 </actions>
2561 </button>
2562
2563 <template name="keyboardtemplate"/>
2564
2565 <action>
2566 <touch key="home"/>
2567 <action function="page">main</action>
2568 </action>
2569
2570 <action>
2571 <touch key="back"/>
2572 <action function="page">%tw_back%</action>
2573 </action>
2574 </page>
2575
2576 <page name="checkbackuppassword">
2577 <action>
2578 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2579 <actions>
2580 <action function="set">tw_encrypt_backup=1</action>
2581 <action function="page">%tw_back%</action>
2582 </actions>
2583 </action>
2584
2585 <action>
2586 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2587 <actions>
2588 <action function="set">tw_encrypt_backup=0</action>
2589 <action function="set">tw_password_not_match=1</action>
2590 <action function="set">tw_backup_password=</action>
2591 <action function="set">tw_backup_password2=</action>
2592 <action function="set">tw_backup_encrypt_display=</action>
2593 <action function="set">tw_backup_encrypt_display2=</action>
2594 <action function="page">backupencryption</action>
2595 </actions>
2596 </action>
2597 </page>
2598
2599 <page name="backup_run">
2600 <template name="page"/>
2601
2602 <template name="statusbar"/>
2603
2604 <text style="text_m">
2605 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2606 <text>%tw_operation% %tw_partition%</text>
2607 </text>
2608
2609 <template name="console"/>
2610
2611 <template name="progress_bar"/>
2612
2613 <text style="text_m">
2614 <placement x="%indent%" y="%row13a_y%"/>
2615 <text>%tw_file_progress%</text>
2616 </text>
2617
2618 <text style="text_m">
2619 <placement x="%indent%" y="%row14a_y%"/>
2620 <text>%tw_size_progress%</text>
2621 </text>
2622
2623 <button style="main_button_half_height">
2624 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="cancelbackup"/>
2627 </button>
2628
2629 <action>
2630 <action function="nandroid">backup</action>
2631 </action>
2632
2633 <action>
2634 <condition var1="tw_operation_state" var2="1"/>
2635 <condition var1="tw_cancel_backup" var2="0"/>
2636 <actions>
2637 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <action function="set">tw_show_reboot=1</action>
2640 <action function="page">action_complete</action>
2641 </actions>
2642 </action>
2643
2644 <action>
2645 <condition var1="tw_operation_state" var2="1"/>
2646 <condition var1="tw_cancel_backup" var2="1"/>
2647 <actions>
2648 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002649 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002650 <action function="set">tw_show_reboot=1</action>
2651 <action function="page">action_complete</action>
2652 </actions>
2653 </action>
2654 </page>
2655
2656 <page name="restore">
2657 <template name="page"/>
2658
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002659 <action>
2660 <conditions>
2661 <condition var1="tw_is_fbe" var2="1"/>
2662 <condition var1="tw_all_users_decrypted" var2="0"/>
2663 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2664 </conditions>
2665 <actions>
2666 <action function="set">tw_multiuser_warning_destination=restore</action>
2667 <action function="page">multiuser_warning</action>
2668 </actions>
2669 </action>
2670
z31s1g28f0a922015-11-07 18:50:22 +01002671 <template name="statusbar"/>
2672
2673 <text style="text_m">
2674 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 </text>
2677
2678 <fileselector>
2679 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2680 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002681 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002682 <path name="tw_backups_folder"/>
2683 <data name="tw_restore" default=""/>
2684 <selection name="tw_restore_name"/>
2685 </fileselector>
2686
2687 <button>
2688 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2689 <highlight color="%highlight_color%"/>
2690 <image resource="q_btn_storage"/>
2691 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <action function="set">tw_back=restore</action>
2694 <action function="page">select_storage</action>
2695 </actions>
2696 </button>
2697
2698 <action>
2699 <condition var1="tw_restore" op="modified"/>
2700 <actions>
2701 <action function="readBackup"/>
2702 <action function="set">tw_back=restore</action>
2703 <action function="page">restore_read</action>
2704 </actions>
2705 </action>
2706
2707 <action>
2708 <touch key="home"/>
2709 <action function="page">main</action>
2710 </action>
2711
2712 <action>
2713 <touch key="back"/>
2714 <action function="page">main</action>
2715 </action>
2716 </page>
2717
2718 <page name="restore_read">
2719 <action>
2720 <condition var1="tw_restore_encrypted" var2="1"/>
2721 <actions>
2722 <action function="set">tw_password_fail=0</action>
2723 <action function="page">restore_decrypt</action>
2724 </actions>
2725 </action>
2726
2727 <action>
2728 <condition var1="tw_restore_encrypted" var2="0"/>
2729 <actions>
2730 <action function="page">restore_select</action>
2731 </actions>
2732 </action>
2733 </page>
2734
2735 <page name="restore_decrypt">
2736 <template name="page"/>
2737
2738 <template name="statusbar"/>
2739
2740 <text style="text_m">
2741 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002742 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002743 </text>
2744
2745 <text style="text_m_accent">
2746 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002747 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002748 </text>
2749
2750 <input>
2751 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2752 <text>%tw_restore_display%</text>
2753 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2754 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2755 <action function="page">try_restore_decrypt</action>
2756 </input>
2757
2758 <fill color="%accent_color%">
2759 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2760 </fill>
2761
2762 <fill color="%text_fail_color%">
2763 <condition var1="tw_password_fail" var2="1"/>
2764 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2765 </fill>
2766
2767 <text style="text_m_fail">
2768 <condition var1="tw_password_fail" var2="1"/>
2769 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 </text>
2772
2773 <button style="main_button_half_height">
2774 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002775 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002776 <actions>
2777 <action function="set">tw_page_done=1</action>
2778 <action function="page">restore</action>
2779 </actions>
2780 </button>
2781
2782 <button style="main_button_half_height">
2783 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 <actions>
2786 <action function="set">tw_back=restore</action>
2787 <action function="set">tw_action=cmd</action>
2788 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2790 <action function="set">tw_text2=%tw_restore_name%</action>
2791 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2792 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2793 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2794 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002795 <action function="page">confirm_action</action>
2796 </actions>
2797 </button>
2798
2799 <template name="keyboardtemplate"/>
2800
2801 <action>
2802 <touch key="home"/>
2803 <action function="page">main</action>
2804 </action>
2805
2806 <action>
2807 <touch key="back"/>
2808 <action function="page">restore</action>
2809 </action>
2810 </page>
2811
2812 <page name="try_restore_decrypt">
2813 <template name="page"/>
2814
2815 <template name="statusbar"/>
2816
2817 <text style="text_m">
2818 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </text>
2821
2822 <template name="console"/>
2823
2824 <template name="progress_bar"/>
2825
2826 <action>
2827 <action function="decrypt_backup"/>
2828 </action>
2829
2830 <action>
2831 <conditions>
2832 <condition var1="tw_operation_state" var2="1"/>
2833 <condition var1="tw_operation_status" op="!=" var2="0"/>
2834 </conditions>
2835 <actions>
2836 <action function="set">tw_password_fail=1</action>
2837 <action function="page">restore_decrypt</action>
2838 </actions>
2839 </action>
2840
2841 <action>
2842 <conditions>
2843 <condition var1="tw_operation_state" var2="1"/>
2844 <condition var1="tw_operation_status" op="=" var2="0"/>
2845 </conditions>
2846 <actions>
2847 <action function="set">tw_page_done=1</action>
2848 <action function="page">restore_select</action>
2849 </actions>
2850 </action>
2851 </page>
2852
2853 <page name="restore_select">
2854 <template name="page"/>
2855
2856 <template name="statusbar"/>
2857
2858 <text style="text_m">
2859 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002860 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002861 </text>
2862
2863 <partitionlist style="partitionlist_headerless_cb">
2864 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2865 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2866 <listtype name="restore"/>
2867 </partitionlist>
2868
2869 <fill color="%accent_color%">
2870 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2871 </fill>
2872
2873 <button>
2874 <placement x="%col1_x_left%" y="%row11_y%"/>
2875 <highlight color="%highlight_color%"/>
2876 <image resource="q_btn_arrow_left"/>
2877 <action function="page">restore</action>
2878 </button>
2879
2880 <button>
2881 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2882 <highlight color="%highlight_color%"/>
2883 <image resource="q_btn_delete"/>
2884 <actions>
2885 <action function="set">tw_back=restore</action>
2886 <action function="set">tw_action=cmd</action>
2887 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002888 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002889 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002890 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2891 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2892 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2893 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002894 <action function="page">confirm_action</action>
2895 </actions>
2896 </button>
2897
2898 <button>
2899 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2900 <highlight color="%highlight_color%"/>
2901 <image resource="q_btn_accept"/>
2902 <action function="page">restore_confirm</action>
2903 </button>
2904
2905 <button>
2906 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2907 <highlight color="%highlight_color%"/>
2908 <image resource="q_btn_arrow_right"/>
2909 <actions>
2910 <action function="set">tw_back=restore_select</action>
2911 <action function="page">restore_options</action>
2912 </actions>
2913 </button>
2914
2915 <action>
2916 <touch key="home"/>
2917 <action function="page">main</action>
2918 </action>
2919
2920 <action>
2921 <touch key="back"/>
2922 <action function="page">%tw_back%</action>
2923 </action>
2924 </page>
2925
2926 <page name="restore_options">
2927 <template name="page"/>
2928
2929 <template name="statusbar"/>
2930
2931 <text style="text_m">
2932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002933 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002934 </text>
2935
2936 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002937 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002938 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002939 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2940 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002941 </listitem>
2942 </listbox>
2943
2944 <button>
2945 <placement x="%col1_x_left%" y="%row11_y%"/>
2946 <highlight color="%highlight_color%"/>
2947 <image resource="q_btn_arrow_left"/>
2948 <action function="page">restore_select</action>
2949 </button>
2950
2951 <button>
2952 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2953 <highlight color="%highlight_color%"/>
2954 <image resource="q_btn_accept_transp"/>
2955 <actions>
2956 <action function="set">tw_back=restore_options</action>
2957 <action function="page">restore_confirm</action>
2958 </actions>
2959 </button>
2960
2961 <action>
2962 <touch key="home"/>
2963 <action function="page">main</action>
2964 </action>
2965
2966 <action>
2967 <touch key="back"/>
2968 <action function="page">%tw_back%</action>
2969 </action>
2970
2971 <action>
2972 <touch key="power+voldown"/>
2973 <action function="screenshot"/>
2974 </action>
2975 </page>
2976
2977 <page name="renamebackup">
2978 <template name="page"/>
2979
2980 <template name="statusbar"/>
2981
2982 <text style="text_m">
2983 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <text style="text_m_accent">
2988 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <input>
2993 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2994 <text>%tw_backup_rename%</text>
2995 <data name="tw_backup_rename"/>
2996 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2997 <actions>
2998 <action function="set">tw_back=restore</action>
2999 <action function="set">tw_action=cmd</action>
3000 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
3002 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
3003 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
3004 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
3005 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003006 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
3007 <action function="set">tw_existpage=renamebackup</action>
3008 <action function="set">tw_notexistpage=confirm_action</action>
3009 <action function="page">filecheck</action>
3010 </actions>
3011 </input>
3012
3013 <fill color="%accent_color%">
3014 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3015 </fill>
3016
3017 <fill color="%text_fail_color%">
3018 <condition var1="tw_fileexists" var2="1"/>
3019 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3020 </fill>
3021
3022 <text style="text_m_fail">
3023 <condition var1="tw_fileexists" var2="1"/>
3024 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003025 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003026 </text>
3027
3028 <button style="main_button_half_height">
3029 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003031 <action function="page">restore_confirm</action>
3032 </button>
3033
3034 <template name="keyboardtemplate"/>
3035
3036 <action>
3037 <touch key="home"/>
3038 <action function="page">main</action>
3039 </action>
3040
3041 <action>
3042 <touch key="back"/>
3043 <action function="page">restore_confirm</action>
3044 </action>
3045 </page>
3046
3047 <page name="restore_confirm">
3048 <template name="page"/>
3049
3050 <template name="statusbar"/>
3051
3052 <text style="text_m">
3053 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003055 </text>
3056
3057 <text style="text_m_accent">
3058 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 </text>
3061
3062 <text style="text_m">
3063 <placement x="%indent%" y="%row2_y%"/>
3064 <text>%tw_restore_name%</text>
3065 </text>
3066
3067 <fill color="%accent_color%">
3068 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3069 </fill>
3070
3071 <button>
3072 <fill color="%transparent%"/>
3073 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3074 <actions>
3075 <action function="set">tw_back=restore_confirm</action>
3076 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3077 <action function="set">tw_fileexists=0</action>
3078 <action function="page">renamebackup</action>
3079 </actions>
3080 </button>
3081
3082 <text style="text_m_accent">
3083 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 </text>
3086
3087 <partitionlist style="partitionlist_summary">
3088 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3089 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3090 <listtype name="restore"/>
3091 </partitionlist>
3092
3093 <button>
3094 <fill color="%transparent%"/>
3095 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3096 <actions>
3097 <action function="set">tw_back=restore_confirm</action>
3098 <action function="page">restore_select</action>
3099 </actions>
3100 </button>
3101
3102 <listbox style="listbox_options">
3103 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003104 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3105 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003106 </listitem>
3107 </listbox>
3108
3109 <text style="text_m_accent">
3110 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 </text>
3113
3114 <button>
3115 <fill color="%transparent%"/>
3116 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3117 <actions>
3118 <action function="set">tw_back=restore_confirm</action>
3119 <action function="page">restore_options</action>
3120 </actions>
3121 </button>
3122
3123 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003124 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003125 <action function="page">restore_run</action>
3126 </slider>
3127
3128 <action>
3129 <touch key="home"/>
3130 <action function="page">main</action>
3131 </action>
3132
3133 <action>
3134 <touch key="back"/>
3135 <action function="page">restore_options</action>
3136 </action>
3137 </page>
3138
3139 <page name="restore_run">
3140 <template name="page"/>
3141
3142 <template name="statusbar"/>
3143
3144 <text style="text_m">
3145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3146 <text>%tw_operation% %tw_partition%</text>
3147 </text>
3148
3149 <template name="console"/>
3150
3151 <template name="progress_bar"/>
3152
3153 <text style="text_m">
3154 <placement x="%indent%" y="%row14a_y%"/>
3155 <text>%tw_size_progress%</text>
3156 </text>
3157
3158 <action>
3159 <condition var1="tw_operation_state" var2="1"/>
3160 <actions>
3161 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003162 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <action function="set">tw_show_reboot=1</action>
3164 <action function="page">action_complete</action>
3165 </actions>
3166 </action>
3167
3168 <action>
3169 <action function="nandroid">restore</action>
3170 </action>
3171 </page>
3172
3173 <page name="mount">
3174 <template name="page"/>
3175
3176 <template name="statusbar"/>
3177
3178 <text style="text_m">
3179 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 </text>
3182
3183 <partitionlist style="partitionlist_headerless_cb">
3184 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3185 <listtype name="mount"/>
3186 </partitionlist>
3187
3188 <fill color="%accent_color%">
3189 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3190 </fill>
3191
3192 <button style="checkbox">
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_false"/>
3197 <action function="mountsystemtoggle">1</action>
3198 </button>
3199
3200 <button style="checkbox">
3201 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3202 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <image resource="checkbox_true"/>
3205 <actions>
3206 <action function="set">tw_lifetime_writes=2</action>
3207 <action function="page">system_readonly_check</action>
3208 </actions>
3209 </button>
3210
3211 <button style="checkbox">
3212 <conditions>
3213 <condition var1="tw_has_mtp" var2="1"/>
3214 <condition var1="tw_mtp_enabled" var2="0"/>
3215 </conditions>
3216 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3217 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003219 <action function="startmtp"/>
3220 </button>
3221
3222 <button style="checkbox">
3223 <conditions>
3224 <condition var1="tw_has_mtp" var2="1"/>
3225 <condition var1="tw_mtp_enabled" var2="1"/>
3226 </conditions>
3227 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3228 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <action function="stopmtp"/>
3231 </button>
3232
3233 <button>
3234 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3235 <highlight color="%highlight_color%"/>
3236 <image resource="q_btn_storage"/>
3237 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003239 <action function="set">tw_back=mount</action>
3240 <action function="page">select_storage</action>
3241 </actions>
3242 </button>
3243
3244 <button>
3245 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3246 <highlight color="%highlight_color%"/>
3247 <image resource="q_btn_arrow_right"/>
3248 <action function="page">mount_options</action>
3249 </button>
3250
3251 <action>
3252 <touch key="home"/>
3253 <action function="page">main</action>
3254 </action>
3255
3256 <action>
3257 <touch key="back"/>
3258 <action function="page">main</action>
3259 </action>
3260 </page>
3261
3262 <page name="mount_options">
3263 <template name="page"/>
3264
3265 <template name="statusbar"/>
3266
3267 <text style="text_m">
3268 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 </text>
3271
3272 <button style="main_button_full_width">
3273 <condition var1="tw_has_usb_storage" var2="1"/>
3274 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 <action function="page">usb_mount</action>
3277 </button>
3278
3279 <button style="main_button_full_width">
3280 <conditions>
3281 <condition var1="tw_is_encrypted" var2="1"/>
3282 <condition var1="tw_is_decrypted" var2="0"/>
3283 </conditions>
3284 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003286 <action function="set">tw_crypto_user_id=0</action>
3287 <action function="set">tw_crypto_password=</action>
3288 <action function="set">tw_password_fail=0</action>
3289 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003290 <action function="page">decrypt</action>
3291 </button>
3292
3293 <button>
3294 <placement x="%col1_x_left%" y="%row11_y%"/>
3295 <highlight color="%highlight_color%"/>
3296 <image resource="q_btn_arrow_left"/>
3297 <action function="page">mount</action>
3298 </button>
3299
3300 <action>
3301 <touch key="home"/>
3302 <action function="page">main</action>
3303 </action>
3304
3305 <action>
3306 <touch key="back"/>
3307 <action function="page">mount</action>
3308 </action>
3309 </page>
3310
3311 <page name="usb_mount">
3312 <template name="page"/>
3313
3314 <template name="statusbar"/>
3315
3316 <text style="text_m">
3317 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003318 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 </text>
3320
3321 <text style="text_m_accent">
3322 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <text style="text_m_fail">
3327 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </text>
3330
3331 <text style="text_m_fail">
3332 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 </text>
3335
3336 <button style="main_button">
3337 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <action function="page">usb_umount</action>
3340 </button>
3341
3342 <action>
3343 <action function="mount">usb</action>
3344 <action function="set">tw_busy=1</action>
3345 </action>
3346 </page>
3347
3348 <page name="usb_umount">
3349 <action>
3350 <action function="unmount">usb</action>
3351 </action>
3352
3353 <action>
3354 <action function="page">mount_options</action>
3355 <action function="set">tw_busy=0</action>
3356 </action>
3357 </page>
3358
3359 <page name="system_readonly_check">
3360 <action>
3361 <action function="checkpartitionlifetimewrites">/system</action>
3362 </action>
3363
3364 <action>
3365 <condition var1="tw_lifetime_writes" var2="1"/>
3366 <actions>
3367 <action function="mountsystemtoggle">0</action>
3368 <action function="page">mount</action>
3369 </actions>
3370 </action>
3371
3372 <action>
3373 <condition var1="tw_lifetime_writes" var2="0"/>
3374 <actions>
3375 <action function="set">tw_back=mount</action>
3376 <action function="page">system_readonly</action>
3377 </actions>
3378 </action>
3379 </page>
3380
3381 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003382 <action>
3383 <action function="checkforapp"></action>
3384 <action function="page">reboot2</action>
3385 </action>
3386 </page>
3387
3388 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003389 <template name="page"/>
3390
3391 <template name="statusbar"/>
3392
3393 <text style="text_m">
3394 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003395 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 </text>
3397
3398 <button style="main_button">
3399 <condition var1="tw_reboot_system" var2="1"/>
3400 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003401 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003402 <actions>
3403 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003404 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003405 </actions>
3406 </button>
3407
3408 <button style="main_button">
3409 <condition var1="tw_reboot_poweroff" var2="1"/>
3410 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003411 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003412 <actions>
3413 <action function="set">tw_back=reboot</action>
3414 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003415 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003416 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003417 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003418 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3419 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3420 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3421 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3422 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003423 <action function="page">rebootcheck</action>
3424 </actions>
3425 </button>
3426
3427 <button style="main_button">
3428 <condition var1="tw_reboot_recovery" var2="1"/>
3429 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003430 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003431 <actions>
3432 <action function="set">tw_back=reboot</action>
3433 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003434 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003435 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003436 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3438 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3439 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3440 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3441 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003442 <action function="page">rebootcheck</action>
3443 </actions>
3444 </button>
3445
3446 <button style="main_button">
3447 <condition var1="tw_reboot_bootloader" var2="1"/>
3448 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <actions>
3451 <action function="set">tw_back=reboot</action>
3452 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003453 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003454 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3457 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3458 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3459 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3460 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <action function="page">rebootcheck</action>
3462 </actions>
3463 </button>
3464
3465 <button style="main_button">
3466 <condition var1="tw_download_mode" var2="1"/>
3467 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <actions>
3470 <action function="set">tw_back=reboot</action>
3471 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003472 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003473 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003474 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3476 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3477 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3478 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3479 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <action function="page">rebootcheck</action>
3481 </actions>
3482 </button>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003483
mauronofrioe9a49ef2018-10-03 13:38:16 +02003484 <button style="main_button">
3485 <condition var1="tw_edl_mode" var2="1"/>
3486 <placement x="%col1_x_right%" y="%row11_y%"/>
3487 <text>{@rb_edl_btn=Edl}</text>
3488 <actions>
3489 <action function="set">tw_back=reboot</action>
3490 <action function="set">tw_action=reboot</action>
3491 <action function="set">tw_action_param=edl</action>
3492 <action function="set">tw_reboot_param=edl</action>
3493 <action function="set">tw_has_action2=0</action>
3494 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3495 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3496 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3497 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3498 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3499 <action function="page">rebootcheck</action>
3500 </actions>
3501 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003502
3503 <action>
3504 <touch key="home"/>
3505 <action function="page">main</action>
3506 </action>
3507
3508 <action>
3509 <touch key="back"/>
3510 <action function="page">main</action>
3511 </action>
3512 </page>
3513
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003514 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003515 <template name="page"/>
3516
3517 <template name="statusbar"/>
3518
3519 <text style="text_m">
3520 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003521 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003522 </text>
3523
3524 <text style="text_m_accent">
3525 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3526 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3527 </text>
3528
3529 <text style="text_m">
3530 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3531 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3532 </text>
3533
3534 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003535 <condition var1="tw_mount_system_ro" var2="0"/>
3536 <placement x="%indent%" y="%row5_y%"/>
3537 <text>{@reboot_install_app_system=Install as a System App}</text>
3538 <data variable="tw_app_install_system"/>
3539 </checkbox>
3540
3541 <button style="main_button_half_height">
3542 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003543 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003544 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003545 </button>
3546
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003547 <slider>
3548 <text>{@swipe_confirm= Confirm}</text>
3549 <actions>
3550 <action function="set">tw_action=installapp</action>
3551 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3552 <action function="set">tw_action_text2=</action>
3553 <action function="set">tw_complete_text1={@successful=Successful}</action>
3554 <action function="page">action_page</action>
3555 </actions>
3556 </slider>
3557
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003558 <action>
3559 <touch key="home"/>
3560 <actions>
3561 <action function="set">tw_app_install_status=0</action>
3562 <action function="page">main</action>
3563 </actions>
3564 </action>
3565
3566 <action>
3567 <touch key="back"/>
3568 <actions>
3569 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003570 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003571 </actions>
3572 </action>
3573 </page>
3574
z31s1g28f0a922015-11-07 18:50:22 +01003575 <page name="system_readonly">
3576 <template name="page"/>
3577
3578 <template name="statusbar"/>
3579
3580 <text style="text_m">
3581 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m_accent">
3586 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 </text>
3589
3590 <text style="text_m">
3591 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003592 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003593 </text>
3594
3595 <text style="text_m">
3596 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003597 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003598 </text>
3599
3600 <text style="text_m">
3601 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003602 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003603 </text>
3604
3605 <text style="text_m">
3606 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 </text>
3609
3610 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003611 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003612 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003613 </text>
3614
3615 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003616 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 </text>
3619
z31s1g608d7ff2016-01-18 19:47:25 +01003620 <button style="main_button_half_height">
3621 <placement x="%col1_x_right%" y="%row8a_y%"/>
3622 <text>{@sel_lang_btn=Select Language}</text>
3623 <action function="page">settings_language</action>
3624 </button>
3625
z31s1g28f0a922015-11-07 18:50:22 +01003626 <checkbox>
3627 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003628 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003629 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003630 <data variable="tw_never_show_system_ro_page"/>
3631 </checkbox>
3632
3633 <button style="main_button_half_height">
3634 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <actions>
3637 <action function="mountsystemtoggle">1</action>
3638 <action function="set">tw_page_done=1</action>
3639 <action function="page">%tw_back%</action>
3640 </actions>
3641 </button>
3642
3643 <button style="main_button_half_height">
3644 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <actions>
3647 <action function="mountsystemtoggle">0</action>
3648 <action function="set">tw_page_done=1</action>
3649 <action function="page">%tw_back%</action>
3650 </actions>
3651 </button>
3652 </page>
3653
3654 <page name="settings">
3655 <template name="page"/>
3656
3657 <template name="statusbar"/>
3658
3659 <text style="text_m">
3660 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 </text>
3663
3664 <button style="main_button">
3665 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003666 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003667 <action function="page">settings_general</action>
3668 </button>
3669
3670 <button style="main_button">
3671 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003672 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003673 <action function="page">settings_timezone</action>
3674 </button>
3675
3676 <button style="main_button">
3677 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003678 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003679 <action function="page">settings_screen</action>
3680 </button>
3681
3682 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003683 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003684 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 <action function="page">settings_vibration</action>
3687 </button>
3688
3689 <button style="main_button">
3690 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003692 <action function="page">settings_language</action>
3693 </button>
3694
3695 <button>
3696 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3697 <highlight color="%highlight_color%"/>
3698 <image resource="q_btn_reset"/>
3699 <action function="restoredefaultsettings"/>
3700 </button>
3701
3702 <action>
3703 <touch key="home"/>
3704 <action function="page">main</action>
3705 </action>
3706
3707 <action>
3708 <touch key="back"/>
3709 <action function="page">main3</action>
3710 </action>
3711 </page>
3712
3713 <page name="settings_general">
3714 <template name="page"/>
3715
3716 <template name="statusbar"/>
3717
3718 <text style="text_m">
3719 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003720 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003721 </text>
3722
3723 <listbox style="scrolllist">
3724 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003725 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003726 <data variable="tw_signed_zip_verify"/>
3727 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003728 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3729 <data variable="tw_install_reboot"/>
3730 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003732 <data variable="tw_rm_rf"/>
3733 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003734 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3735 <data variable="tw_disable_free_space"/>
3736 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003737 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3738 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003740 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3741 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </listitem>
epicX40b7f7a2021-03-20 21:58:17 +05303743 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3744 <data variable="tw_skip_digest_check_zip"/>
3745 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003747 <data variable="tw_military_time"/>
3748 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003750 <data variable="tw_simulate_actions"/>
3751 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003753 <data variable="tw_simulate_fail"/>
3754 <condition var1="tw_simulate_actions" var2="1"/>
3755 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003756 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3757 <condition var1="tw_no_sha2" var2="0"/>
3758 <data variable="tw_use_sha2"/>
3759 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003760 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3761 <data variable="tw_unmount_system"/>
3762 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003763 </listbox>
3764
3765 <action>
3766 <touch key="home"/>
3767 <action function="page">main</action>
3768 </action>
3769
3770 <action>
3771 <touch key="back"/>
3772 <action function="page">settings</action>
3773 </action>
3774 </page>
3775
3776 <page name="settings_timezone">
3777 <template name="page"/>
3778
3779 <template name="statusbar"/>
3780
3781 <text style="text_m">
3782 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 </text>
3785
3786 <text color="%text_color%">
3787 <font resource="font_m"/>
3788 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3789 <text>%tw_time%</text>
3790 </text>
3791
3792 <listbox style="listbox_headerless">
3793 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3794 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003795 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3796 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3797 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3798 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3799 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3800 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3801 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3802 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3803 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3804 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3805 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3806 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3807 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3808 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3809 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3810 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3811 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3812 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3813 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3814 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3815 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3816 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3817 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3818 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003819 </listbox>
3820
3821 <button>
3822 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3823 <highlight color="%highlight_color%"/>
3824 <image resource="q_btn_arrow_right"/>
3825 <actions>
3826 <action function="setguitimezone"/>
3827 <action function="page">settings_timezone2</action>
3828 </actions>
3829 </button>
3830
3831 <action>
3832 <condition var1="tw_time_zone_guisel" op="modified"/>
3833 <action function="setguitimezone"/>
3834 </action>
3835
3836 <action>
3837 <touch key="home"/>
3838 <actions>
3839 <action function="page">main</action>
3840 <action function="setguitimezone"/>
3841 </actions>
3842 </action>
3843
3844 <action>
3845 <touch key="back"/>
3846 <actions>
3847 <action function="page">settings</action>
3848 <action function="setguitimezone"/>
3849 </actions>
3850 </action>
3851
3852 <action>
3853 <touch key="power+voldown"/>
3854 <action function="screenshot"/>
3855 </action>
3856 </page>
3857
3858 <page name="settings_timezone2">
3859 <template name="page"/>
3860
3861 <template name="statusbar"/>
3862
3863 <text style="text_m">
3864 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <text color="%text_color%">
3869 <font resource="font_m"/>
3870 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3871 <text>%tw_time%</text>
3872 </text>
3873
3874 <checkbox>
3875 <placement x="%col1_x_left%" y="%row1_y%"/>
3876 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 <data variable="tw_time_zone_guidst"/>
3879 <image checked="checkbox_true" unchecked="checkbox_false"/>
3880 </checkbox>
3881
3882 <text style="text_m_accent">
3883 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003884 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003885 </text>
3886
3887 <button style="main_button_quarter_width">
3888 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003889 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <actions>
3891 <action function="set">tw_time_zone_guioffset=0</action>
3892 <action function="setguitimezone"/>
3893 </actions>
3894 </button>
3895
3896 <button style="main_button_quarter_width">
3897 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003898 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003899 <actions>
3900 <action function="set">tw_time_zone_guioffset=15</action>
3901 <action function="setguitimezone"/>
3902 </actions>
3903 </button>
3904
3905 <button style="main_button_quarter_width">
3906 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 <actions>
3909 <action function="set">tw_time_zone_guioffset=30</action>
3910 <action function="setguitimezone"/>
3911 </actions>
3912 </button>
3913
3914 <button style="main_button_quarter_width">
3915 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003916 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003917 <actions>
3918 <action function="set">tw_time_zone_guioffset=45</action>
3919 <action function="setguitimezone"/>
3920 </actions>
3921 </button>
3922
3923 <button>
3924 <placement x="%col1_x_left%" y="%row11_y%"/>
3925 <highlight color="%highlight_color%"/>
3926 <image resource="q_btn_arrow_left"/>
3927 <actions>
3928 <action function="setguitimezone"/>
3929 <action function="page">settings_timezone</action>
3930 </actions>
3931 </button>
3932
3933 <text style="text_m_accent">
3934 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 </text>
3937
3938 <text style="text_m">
3939 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3940 <text>%tw_time_zone%</text>
3941 </text>
3942
3943 <action>
3944 <condition var1="tw_time_zone_guidst" op="modified"/>
3945 <action function="setguitimezone"/>
3946 </action>
3947
3948 <action>
3949 <touch key="home"/>
3950 <actions>
3951 <action function="setguitimezone"/>
3952 <action function="page">main</action>
3953 </actions>
3954 </action>
3955
3956 <action>
3957 <touch key="back"/>
3958 <actions>
3959 <action function="setguitimezone"/>
3960 <action function="page">settings_timezone</action>
3961 </actions>
3962 </action>
3963 </page>
3964
3965 <page name="settings_screen">
3966 <template name="page"/>
3967
3968 <template name="statusbar"/>
3969
3970 <text style="text_m">
3971 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003972 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003973 </text>
3974
3975 <button style="checkbox">
3976 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3977 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3978 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003979 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003980 <image resource="checkbox_false"/>
3981 <action function="set">tw_screen_timeout_secs=60</action>
3982 </button>
3983
3984 <button style="checkbox">
3985 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3986 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3987 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003988 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003989 <image resource="checkbox_true"/>
3990 <action function="set">tw_screen_timeout_secs=0</action>
3991 </button>
3992
3993 <slidervalue>
3994 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3995 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003997 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3998 </slidervalue>
3999
4000 <text style="text_m_fail">
4001 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
4002 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004003 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004004 </text>
4005
4006 <button>
4007 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4008 <highlight color="%highlight_color%"/>
4009 <image resource="q_btn_arrow_right"/>
4010 <action function="page">settings_screen2</action>
4011 </button>
4012
4013 <action>
4014 <touch key="home"/>
4015 <action function="page">main</action>
4016 </action>
4017
4018 <action>
4019 <touch key="back"/>
4020 <action function="page">settings</action>
4021 </action>
4022 </page>
4023
4024 <page name="settings_screen2">
4025 <template name="page"/>
4026
4027 <template name="statusbar"/>
4028
4029 <text style="text_m">
4030 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004031 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004032 </text>
4033
4034 <slidervalue>
4035 <condition var1="tw_has_brightnesss_file" var2="1"/>
4036 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 <data variable="tw_brightness_pct" min="10" max="100"/>
4039 <actions>
4040 <action function="set">tw_brightness=%tw_brightness_max%</action>
4041 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4042 <action function="compute">tw_brightness/100</action>
4043 <action function="setbrightness">%tw_brightness%</action>
4044 </actions>
4045 </slidervalue>
4046
4047 <text style="text_m_fail">
4048 <condition var1="tw_has_brightnesss_file" var2="0"/>
4049 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 </text>
4052
4053 <button>
4054 <placement x="%col1_x_left%" y="%row11_y%"/>
4055 <highlight color="%highlight_color%"/>
4056 <image resource="q_btn_arrow_left"/>
4057 <action function="page">settings_screen</action>
4058 </button>
4059
4060 <action>
4061 <touch key="home"/>
4062 <action function="page">main</action>
4063 </action>
4064
4065 <action>
4066 <touch key="back"/>
4067 <action function="page">settings</action>
4068 </action>
4069 </page>
4070
4071 <page name="settings_vibration">
4072 <template name="page"/>
4073
4074 <template name="statusbar"/>
4075
4076 <text style="text_m">
4077 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 </text>
4080
4081 <slidervalue>
4082 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004083 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004084 <data variable="tw_button_vibrate" min="0" max="300"/>
4085 </slidervalue>
4086
4087 <button>
4088 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4089 <highlight color="%highlight_color%"/>
4090 <image resource="q_btn_arrow_right"/>
4091 <action function="page">settings_vibration2</action>
4092 </button>
4093
4094 <action>
4095 <touch key="home"/>
4096 <action function="page">main</action>
4097 </action>
4098
4099 <action>
4100 <touch key="back"/>
4101 <action function="page">settings</action>
4102 </action>
4103 </page>
4104
4105 <page name="settings_vibration2">
4106 <template name="page"/>
4107
4108 <template name="statusbar"/>
4109
4110 <text style="text_m">
4111 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004113 </text>
4114
4115 <slidervalue>
4116 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004117 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004118 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4119 </slidervalue>
4120
4121 <button>
4122 <placement x="%col1_x_left%" y="%row11_y%"/>
4123 <highlight color="%highlight_color%"/>
4124 <image resource="q_btn_arrow_left"/>
4125 <action function="page">settings_vibration</action>
4126 </button>
4127
4128 <button>
4129 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4130 <highlight color="%highlight_color%"/>
4131 <image resource="q_btn_arrow_right"/>
4132 <action function="page">settings_vibration3</action>
4133 </button>
4134
4135 <action>
4136 <touch key="home"/>
4137 <action function="page">main</action>
4138 </action>
4139
4140 <action>
4141 <touch key="back"/>
4142 <action function="page">settings</action>
4143 </action>
4144 </page>
4145
4146 <page name="settings_vibration3">
4147 <template name="page"/>
4148
4149 <template name="statusbar"/>
4150
4151 <text style="text_m">
4152 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 </text>
4155
4156 <slidervalue>
4157 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004159 <data variable="tw_action_vibrate" min="0" max="500"/>
4160 </slidervalue>
4161
4162 <button>
4163 <placement x="%col1_x_left%" y="%row11_y%"/>
4164 <highlight color="%highlight_color%"/>
4165 <image resource="q_btn_arrow_left"/>
4166 <action function="page">settings_vibration2</action>
4167 </button>
4168
4169 <action>
4170 <touch key="home"/>
4171 <action function="page">main</action>
4172 </action>
4173
4174 <action>
4175 <touch key="back"/>
4176 <action function="page">settings</action>
4177 </action>
4178 </page>
4179
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <page name="settings_language">
4181 <template name="page"/>
4182
4183 <template name="statusbar"/>
4184
4185 <text style="text_m">
4186 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4187 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4188 </text>
4189
z31s1g608d7ff2016-01-18 19:47:25 +01004190 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4192 <icon selected="radio_true" unselected="radio_false" />
4193 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004194 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195
4196 <button>
4197 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4198 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004199 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <action function="setlanguage"></action>
4201 </button>
4202
z31s1g608d7ff2016-01-18 19:47:25 +01004203 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <touch key="home" />
4205 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004206 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207
z31s1g608d7ff2016-01-18 19:47:25 +01004208 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <touch key="back" />
4210 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004211 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004212 </page>
4213
z31s1g28f0a922015-11-07 18:50:22 +01004214 <page name="advanced">
4215 <template name="page"/>
4216
4217 <template name="statusbar"/>
4218
4219 <text style="text_m">
4220 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004222 </text>
4223
4224 <button style="main_button">
4225 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004226 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004227 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004228 </button>
4229
4230 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004231 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004232 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004233 <text>{@fix_context_btn=Fix Contexts}</text>
4234 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004235 </button>
4236
Ethan Yonker64e0a652018-07-25 09:52:17 -05004237 <button>
4238 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4239 <highlight color="%highlight_color%"/>
4240 <image resource="q_btn_arrow_right"/>
4241 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004242 </button>
4243
Ethan Yonker64e0a652018-07-25 09:52:17 -05004244 <action>
4245 <touch key="home"/>
4246 <action function="page">main</action>
4247 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004248
Ethan Yonker64e0a652018-07-25 09:52:17 -05004249 <action>
4250 <touch key="back"/>
4251 <action function="page">main3</action>
4252 </action>
4253 </page>
4254
4255 <page name="advanced2">
4256 <template name="page"/>
4257
4258 <template name="statusbar"/>
4259
4260 <text style="text_m">
4261 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4262 <text>{@advanced_hdr=Advanced}</text>
4263 </text>
4264
4265 <listbox style="advanced_listbox">
4266 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
epicX98053c32021-01-04 13:01:31 +05304267 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
4268 <condition var1="tw_is_encrypted" var2="0"/>
4269 <action function="page">changeTwrpFolder</action>
4270 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04004271 <listitem name="{@decrypt_users=Decrypt Users}">
4272 <conditions>
4273 <condition var1="tw_is_fbe" var2="1"/>
4274 <condition var1="tw_all_users_decrypted" var2="0"/>
4275 </conditions>
4276 <actions>
4277 <action function="set">tw_crypto_user_id=</action>
4278 <action function="page">decrypt_users</action>
4279 </actions>
4280 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004281 <listitem name="{@reload_theme_btn=Reload Theme}">
4282 <action function="reload"/>
4283 </listitem>
4284 <listitem name="{@part_sd_btn=Partition SD Card}">
4285 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4286 <actions>
4287 <action function="set">partitionlisterror=0</action>
4288 <action function="page">partsdcardsel</action>
4289 </actions>
4290 </listitem>
4291 <listitem name="{@dumlock_btn=HTC Dumlock}">
4292 <condition var1="tw_show_dumlock" var2="1"/>
4293 <action function="page">htcdumlock</action>
4294 </listitem>
4295 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4296 <condition var1="tw_has_injecttwrp" var2="1"/>
4297 <actions>
4298 <action function="set">tw_back=advanced</action>
4299 <action function="set">tw_action=reinjecttwrp</action>
4300 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4301 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4302 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4303 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4304 <action function="page">confirm_action</action>
4305 </actions>
4306 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004307 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4308 <conditions>
4309 <condition var1="tw_has_boot_slots" var2="1"/>
4310 <condition var1="tw_has_repack_tools" var2="1"/>
4311 </conditions>
4312 <actions>
4313 <action function="set">tw_repack_kernel=0</action>
4314 <action function="page">repackselect</action>
4315 </actions>
4316 </listitem>
4317 <listitem name="{@install_kernel=Install Kernel}">
4318 <conditions>
4319 <condition var1="tw_has_boot_slots" var2="1"/>
4320 <condition var1="tw_has_repack_tools" var2="1"/>
4321 </conditions>
4322 <actions>
4323 <action function="set">tw_repack_kernel=1</action>
4324 <action function="page">repackselect</action>
4325 </actions>
4326 </listitem>
4327 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4328 <conditions>
4329 <condition var1="tw_has_boot_slots" var2="1"/>
4330 <condition var1="tw_has_repack_tools" var2="1"/>
4331 </conditions>
4332 <actions>
4333 <action function="set">tw_back=advanced</action>
4334 <action function="set">tw_action=fixabrecoverybootloop</action>
4335 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4336 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4337 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4338 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4339 <action function="page">confirm_action</action>
4340 </actions>
4341 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004342 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4343 <condition var1="tw_app_install_status" var2="1"/>
4344 <actions>
4345 <action function="set">tw_back=advanced2</action>
4346 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4347 <action function="page">installapp</action>
4348 </actions>
4349 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004350 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4351 <condition var1="tw_app_installed_in_system" var2="1"/>
4352 <actions>
4353 <action function="set">tw_back=advanced</action>
4354 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4355 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4356 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4357 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4358 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4359 <action function="page">confirm_action</action>
4360 </actions>
4361 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004362 </listbox>
4363
4364 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004365 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004366 <highlight color="%highlight_color%"/>
4367 <image resource="q_btn_arrow_left"/>
4368 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004369 </button>
4370
4371 <action>
4372 <touch key="home"/>
4373 <action function="page">main</action>
4374 </action>
4375
4376 <action>
4377 <touch key="back"/>
4378 <action function="page">main3</action>
4379 </action>
4380 </page>
4381
Ethan Yonker483e9f42016-01-11 22:21:18 -06004382 <page name="partsdcardsel">
4383 <template name="page"/>
4384
4385 <template name="statusbar"/>
4386
4387 <text style="text_m">
4388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4389 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4390 </text>
4391
4392 <partitionlist style="partitionlist_headerless_rb">
4393 <data name="tw_storage_path"/>
4394 <listtype name="storage"/>
4395 </partitionlist>
4396
4397 <text style="text_m_fail">
4398 <condition var1="partitionlisterror" var2="1"/>
4399 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4400 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4401 </text>
4402
4403 <button>
4404 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4405 <highlight color="%highlight_color%"/>
4406 <image resource="q_btn_refresh"/>
4407 <action function="refreshsizes"/>
4408 </button>
4409
4410 <button>
4411 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4412 <highlight color="%highlight_color%"/>
4413 <image resource="q_btn_accept"/>
4414 <actions>
4415 <action function="getpartitiondetails">tw_storage_path</action>
4416 <action function="page">partsdcardcheck</action>
4417 </actions>
4418 </button>
4419
4420 <action>
4421 <touch key="home"/>
4422 <action function="page">main</action>
4423 </action>
4424
4425 <action>
4426 <touch key="back"/>
4427 <action function="page">advanced</action>
4428 </action>
4429 </page>
4430
4431 <page name="partsdcardcheck">
4432 <action>
4433 <condition var1="tw_partition_removable" op="=" var2="1"/>
4434 <actions>
4435 <action function="set">partitionlisterror=0</action>
4436 <action function="page">partsdcard</action>
4437 </actions>
4438 </action>
4439
4440 <action>
4441 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4442 <actions>
4443 <action function="set">partitionlisterror=1</action>
4444 <action function="page">partsdcardsel</action>
4445 </actions>
4446 </action>
4447 </page>
4448
z31s1g28f0a922015-11-07 18:50:22 +01004449 <page name="partsdcard">
4450 <template name="page"/>
4451
4452 <template name="statusbar"/>
4453
4454 <text style="text_m">
4455 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m_fail">
4460 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m_fail">
4465 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <text style="text_m_accent">
4470 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004471 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004472 </text>
4473
4474 <text style="text_m">
4475 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4476 <text>%tw_sdext_size%</text>
4477 </text>
4478
4479 <button style="main_button_quarter_width">
4480 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004482 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004483 </button>
4484
4485 <button style="main_button_quarter_width">
4486 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004488 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </button>
4490
4491 <button>
4492 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4493 <highlight color="%highlight_color%"/>
4494 <image resource="q_btn_arrow_right"/>
4495 <action function="page">partsdcard2</action>
4496 </button>
4497
4498 <action>
4499 <touch key="home"/>
4500 <action function="page">main</action>
4501 </action>
4502
4503 <action>
4504 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004505 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </action>
4507 </page>
4508
4509 <page name="partsdcard2">
4510 <template name="page"/>
4511
4512 <template name="statusbar"/>
4513
4514 <text style="text_m">
4515 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <text style="text_m_fail">
4520 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 </text>
4523
4524 <text style="text_m_fail">
4525 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 </text>
4528
4529 <text style="text_m_accent">
4530 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004531 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004532 </text>
4533
4534 <text style="text_m">
4535 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4536 <text>%tw_swap_size%</text>
4537 </text>
4538
4539 <button style="main_button_quarter_width">
4540 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004541 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004542 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </button>
4544
4545 <button style="main_button_quarter_width">
4546 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004548 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </button>
4550
4551 <button>
4552 <placement x="%col1_x_left%" y="%row11_y%"/>
4553 <highlight color="%highlight_color%"/>
4554 <image resource="q_btn_arrow_left"/>
4555 <action function="page">partsdcard</action>
4556 </button>
4557
4558 <button>
4559 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4560 <highlight color="%highlight_color%"/>
4561 <image resource="q_btn_arrow_right"/>
4562 <action function="page">partsdcard3</action>
4563 </button>
4564
4565 <action>
4566 <touch key="home"/>
4567 <action function="page">main</action>
4568 </action>
4569
4570 <action>
4571 <touch key="back"/>
4572 <action function="page">advanced</action>
4573 </action>
4574 </page>
4575
4576 <page name="partsdcard3">
4577 <template name="page"/>
4578
4579 <template name="statusbar"/>
4580
4581 <text style="text_m">
4582 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004583 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004584 </text>
4585
4586 <text style="text_m_fail">
4587 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004588 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004589 </text>
4590
4591 <text style="text_m_fail">
4592 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </text>
4595
4596 <text style="text_m_accent">
4597 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 </text>
4600
4601 <text style="text_m">
4602 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4603 <text>%tw_sdpart_file_system%</text>
4604 </text>
4605
4606 <button style="main_button_quarter_width">
4607 <placement x="%indent%" y="%row6_y%"/>
4608 <text>EXT3</text>
4609 <action function="set">tw_sdpart_file_system=ext3</action>
4610 </button>
4611
4612 <button style="main_button_quarter_width">
4613 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4614 <text>EXT4</text>
4615 <action function="set">tw_sdpart_file_system=ext4</action>
4616 </button>
4617
4618 <button>
4619 <placement x="%col1_x_left%" y="%row11_y%"/>
4620 <highlight color="%highlight_color%"/>
4621 <image resource="q_btn_arrow_left"/>
4622 <action function="page">partsdcard2</action>
4623 </button>
4624
4625 <button>
4626 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4627 <highlight color="%highlight_color%"/>
4628 <image resource="q_btn_arrow_right"/>
4629 <action function="page">partsdcard_confirm</action>
4630 </button>
4631
4632 <action>
4633 <touch key="home"/>
4634 <action function="page">main</action>
4635 </action>
4636
4637 <action>
4638 <touch key="back"/>
4639 <action function="page">advanced</action>
4640 </action>
4641 </page>
4642
4643 <page name="partsdcard_confirm">
4644 <template name="page"/>
4645
4646 <template name="statusbar"/>
4647
4648 <text style="text_m">
4649 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </text>
4652
4653 <text style="text_m_fail">
4654 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004655 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004656 </text>
4657
4658 <text style="text_m_fail">
4659 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004660 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </text>
4662
4663 <text style="text_m_accent">
4664 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004665 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004666 </text>
4667
4668 <text style="text_m_accent">
4669 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <text style="text_m_accent">
4674 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 </text>
4677
4678 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <action function="page">partsdcardaction</action>
4681 <actions>
4682 <action function="set">tw_back=partsdcard</action>
4683 <action function="set">tw_action=partitionsd</action>
4684 <action function="set">tw_has_action2=1</action>
4685 <action function="set">tw_action2=set</action>
4686 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004687 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4688 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4689 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004690 <action function="page">action_page</action>
4691 </actions>
4692 </slider>
4693
4694 <action>
4695 <touch key="home"/>
4696 <action function="page">main</action>
4697 </action>
4698
4699 <action>
4700 <touch key="back"/>
4701 <action function="page">advanced</action>
4702 </action>
4703 </page>
4704
4705 <page name="htcdumlock">
4706 <template name="page"/>
4707
4708 <template name="statusbar"/>
4709
4710 <text style="text_m">
4711 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004713 </text>
4714
4715 <button style="main_button_full_width">
4716 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004717 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004718 <actions>
4719 <action function="set">tw_back=htcdumlock</action>
4720 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004721 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4722 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4723 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4724 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004725 <action function="page">confirm_action</action>
4726 </actions>
4727 </button>
4728
4729 <button style="main_button_full_width">
4730 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004731 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004732 <actions>
4733 <action function="set">tw_back=htcdumlock</action>
4734 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004735 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4736 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4737 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4738 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004739 <action function="page">confirm_action</action>
4740 </actions>
4741 </button>
4742
4743 <button style="main_button_full_width">
4744 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004745 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004746 <actions>
4747 <action function="set">tw_back=htcdumlock</action>
4748 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004749 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4750 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4751 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4752 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004753 <action function="page">confirm_action</action>
4754 </actions>
4755 </button>
4756
4757 <action>
4758 <touch key="home"/>
4759 <action function="page">main</action>
4760 </action>
4761
4762 <action>
4763 <touch key="back"/>
4764 <action function="page">advanced</action>
4765 </action>
4766 </page>
4767
Ethan Yonker53796e72019-01-11 22:49:52 -06004768 <page name="repackselect">
4769 <template name="page"/>
4770
4771 <template name="statusbar"/>
4772
4773 <text style="text_m">
4774 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4775 <text>{@repack_image_hdr=Select Image}</text>
4776 </text>
4777
4778 <fileselector>
4779 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4780 <text>%tw_zip_location%</text>
4781 <filter extn=".img" folders="1" files="1"/>
4782 <path name="tw_zip_location" default="/sdcard"/>
4783 <data name="tw_filename"/>
4784 <selection name="tw_file"/>
4785 </fileselector>
4786
4787 <button>
4788 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4789 <highlight color="%highlight_color%"/>
4790 <image resource="q_btn_storage"/>
4791 <actions>
4792 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4793 <action function="set">tw_back=install</action>
4794 <action function="page">select_storage</action>
4795 </actions>
4796 </button>
4797
4798 <action>
4799 <conditions>
4800 <condition var1="tw_filename" op="modified"/>
4801 </conditions>
4802 <action function="page">repackconfirm</action>
4803 </action>
4804
4805 <action>
4806 <touch key="back"/>
4807 <action function="page">advanced</action>
4808 </action>
4809
4810 <action>
4811 <touch key="home"/>
4812 <action function="page">main</action>
4813 </action>
4814 </page>
4815
4816 <page name="repackconfirm">
4817 <template name="page"/>
4818
4819 <template name="statusbar"/>
4820
4821 <text style="text_m">
4822 <condition var1="tw_repack_kernel" var2="1"/>
4823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4824 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4825 </text>
4826
4827 <text style="text_m">
4828 <condition var1="tw_repack_kernel" var2="0"/>
4829 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4830 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4831 </text>
4832
4833 <text style="text_m_accent">
4834 <placement x="%indent%" y="%row2_y%"/>
4835 <text>{@folder=Folder:}</text>
4836 </text>
4837
4838 <text style="text_m">
4839 <placement x="%indent%" y="%row3_y%"/>
4840 <text>%tw_zip_location%</text>
4841 </text>
4842
4843 <text style="text_m_accent">
4844 <placement x="%indent%" y="%row4_y%"/>
4845 <text>{@file=File:}</text>
4846 </text>
4847
4848 <text style="text_m">
4849 <placement x="%indent%" y="%row5_y%"/>
4850 <text>%tw_file%</text>
4851 </text>
4852
4853 <checkbox>
4854 <placement x="%indent%" y="%row7_y%"/>
4855 <text>{@repack_backup_first=Back up existing image first}</text>
4856 <data variable="tw_repack_backup_first"/>
4857 </checkbox>
4858
4859 <slider>
4860 <text>{@swipe_to_install=Swipe to Install}</text>
4861 <actions>
4862 <action function="set">tw_back=advanced</action>
4863 <action function="set">tw_action=repackimage</action>
4864 <action function="set">tw_action_param=/boot</action>
4865 <action function="set">tw_action_text1={@installing=Installing...}</action>
4866 <action function="set">tw_action_text2=</action>
4867 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4868 <action function="page">action_page</action>
4869 </actions>
4870 </slider>
4871
4872 <action>
4873 <touch key="back"/>
4874 <action function="page">repackselect</action>
4875 </action>
4876
4877 <action>
4878 <touch key="home"/>
4879 <action function="page">main</action>
4880 </action>
4881 </page>
4882
z31s1g28f0a922015-11-07 18:50:22 +01004883 <page name="lock">
4884 <background color="%semi_transparent%"/>
4885
4886 <image>
4887 <image resource="unlock_icon"/>
4888 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4889 </image>
4890
4891 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004893 <action function="overlay"/>
4894 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004895
4896 <action>
4897 <touch key="power"/>
4898 <action function="togglebacklight"/>
4899 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004900 </page>
4901
4902 <page name="filemanagerlist">
4903 <template name="page"/>
4904
4905 <template name="statusbar"/>
4906
4907 <text style="text_m">
4908 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004909 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004910 </text>
4911
4912 <fileselector>
4913 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4914 <text>%tw_file_location1%</text>
4915 <filter folders="1" files="1"/>
4916 <path name="tw_file_location1" default="/"/>
4917 <data name="tw_filename1"/>
4918 <selection name="tw_selection1"/>
4919 </fileselector>
4920
4921 <button>
4922 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4923 <highlight color="%highlight_color%"/>
4924 <image resource="q_btn_folder"/>
4925 <actions>
4926 <action function="set">tw_filename1=tw_file_location1</action>
4927 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004928 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004929 <action function="page">filemanageroptions</action>
4930 </actions>
4931 </button>
4932
4933 <action>
4934 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004935 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004936 <action function="set">tw_fm_isfolder=0</action>
4937 </actions>
4938 </action>
4939
4940 <action>
4941 <touch key="home"/>
4942 <action function="page">main</action>
4943 </action>
4944
4945 <action>
4946 <touch key="back"/>
4947 <action function="page">main3</action>
4948 </action>
4949
4950 <action>
4951 <condition var1="tw_filename1" op="modified"/>
4952 <action function="page">filemanageroptions</action>
4953 </action>
4954 </page>
4955
4956 <page name="filemanageroptions">
4957 <template name="page"/>
4958
4959 <template name="statusbar"/>
4960
4961 <text style="text_m">
4962 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004963 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004964 </text>
4965
4966 <button style="main_button">
4967 <condition var1="tw_fm_isfolder" var2="0"/>
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=cp</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 <condition var1="tw_fm_isfolder" var2="1"/>
4979 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004980 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004981 <actions>
4982 <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 -05004983 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004984 <action function="page">choosedestinationfolder</action>
4985 </actions>
4986 </button>
4987
4988 <button style="main_button">
4989 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004990 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004991 <actions>
4992 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004993 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004994 <action function="page">choosedestinationfolder</action>
4995 </actions>
4996 </button>
4997
4998 <button style="main_button">
4999 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005000 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005001 <actions>
5002 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005003 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005004 <action function="set">tw_fm_text2=</action>
5005 <action function="set">tw_fm_text3=</action>
5006 <action function="set">tw_include_text3=0</action>
5007 <action function="set">tw_back=filemanageroptions</action>
5008 <action function="page">filemanagerconfirm</action>
5009 </actions>
5010 </button>
5011
5012 <button style="main_button">
5013 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005014 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005015 <actions>
5016 <action function="set">tw_filemanager_rename=0000</action>
5017 <action function="set">tw_fm_text2=</action>
5018 <action function="set">tw_fm_text3=</action>
5019 <action function="set">tw_include_text3=0</action>
5020 <action function="set">tw_back=filemanageroptions</action>
5021 <action function="page">filemanagerchmod</action>
5022 </actions>
5023 </button>
5024
5025 <button style="main_button">
5026 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005027 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005028 <actions>
5029 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005030 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005031 <action function="set">tw_fm_text2=</action>
5032 <action function="set">tw_fm_text3=</action>
5033 <action function="set">tw_include_text3=0</action>
5034 <action function="set">tw_back=filemanageroptions</action>
5035 <action function="page">filemanagerconfirm</action>
5036 </actions>
5037 </button>
5038
5039 <button style="main_button">
5040 <condition var1="tw_fm_isfolder" var2="0"/>
5041 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005042 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005043 <actions>
5044 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005045 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005046 <action function="set">tw_filemanager_command=mv</action>
5047 <action function="page">filemanagerrenamefile</action>
5048 </actions>
5049 </button>
5050
5051 <button style="main_button">
5052 <condition var1="tw_fm_isfolder" var2="1"/>
5053 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005054 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005055 <actions>
5056 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005057 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005058 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5059 <action function="page">filemanagerrenamefolder</action>
5060 </actions>
5061 </button>
5062
5063 <action>
5064 <touch key="home"/>
5065 <action function="page">main</action>
5066 </action>
5067
5068 <action>
5069 <touch key="back"/>
5070 <action function="page">filemanagerlist</action>
5071 </action>
5072 </page>
5073
5074 <page name="choosedestinationfolder">
5075 <template name="page"/>
5076
5077 <template name="statusbar"/>
5078
5079 <text style="text_m">
5080 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005081 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005082 </text>
5083
5084 <fileselector>
5085 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5086 <text>%tw_file_location2%</text>
5087 <filter folders="1" files="0"/>
5088 <path name="tw_file_location2" default="/"/>
5089 <data name="tw_filename2"/>
5090 <selection name="tw_selection2"/>
5091 </fileselector>
5092
5093 <button>
5094 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5095 <highlight color="%highlight_color%"/>
5096 <image resource="q_btn_folder"/>
5097 <actions>
5098 <action function="set">tw_fm_text2=to</action>
5099 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5100 <action function="set">tw_include_text3=1</action>
5101 <action function="set">tw_back=filemanageroptions</action>
5102 <action function="page">filemanagerconfirm</action>
5103 </actions>
5104 </button>
5105
5106 <action>
5107 <touch key="home"/>
5108 <action function="page">main</action>
5109 </action>
5110
5111 <action>
5112 <touch key="back"/>
5113 <action function="page">filemanageroptions</action>
5114 </action>
5115 </page>
5116
5117 <page name="filemanagerrenamefile">
5118 <template name="page"/>
5119
5120 <template name="statusbar"/>
5121
5122 <text style="text_m">
5123 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005124 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005125 </text>
5126
5127 <text style="text_m_accent">
5128 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005129 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005130 </text>
5131
5132 <input>
5133 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5134 <text>%tw_filemanager_rename%</text>
5135 <data name="tw_filemanager_rename"/>
5136 <restrict minlen="1" maxlen="128"/>
5137 <actions>
5138 <action function="set">tw_fm_text2=to</action>
5139 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5140 <action function="set">tw_include_text3=1</action>
5141 <action function="set">tw_back=filemanageroptions</action>
5142 <action function="page">filemanagerconfirm</action>
5143 </actions>
5144 </input>
5145
5146 <fill color="%accent_color%">
5147 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5148 </fill>
5149
5150 <button style="main_button_half_height">
5151 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005152 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005153 <action function="page">filemanageroptions</action>
5154 </button>
5155
5156 <template name="keyboardtemplate"/>
5157
5158 <action>
5159 <touch key="home"/>
5160 <action function="page">main</action>
5161 </action>
5162
5163 <action>
5164 <touch key="back"/>
5165 <action function="page">filemanageroptions</action>
5166 </action>
5167 </page>
5168
5169 <page name="filemanagerrenamefolder">
5170 <template name="page"/>
5171
5172 <template name="statusbar"/>
5173
5174 <text style="text_m">
5175 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005176 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005177 </text>
5178
5179 <text style="text_m_accent">
5180 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005181 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005182 </text>
5183
5184 <input>
5185 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5186 <text>%tw_filemanager_rename%</text>
5187 <data name="tw_filemanager_rename"/>
5188 <restrict minlen="1" maxlen="128"/>
5189 <actions>
5190 <action function="set">tw_fm_text2=to</action>
5191 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5192 <action function="set">tw_include_text3=1</action>
5193 <action function="set">tw_back=filemanageroptions</action>
5194 <action function="page">filemanagerconfirm</action>
5195 </actions>
5196 </input>
5197
5198 <fill color="%accent_color%">
5199 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5200 </fill>
5201
5202 <button style="main_button_half_height">
5203 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005204 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005205 <action function="page">filemanageroptions</action>
5206 </button>
5207
5208 <template name="keyboardtemplate"/>
5209
5210 <action>
5211 <touch key="home"/>
5212 <action function="page">main</action>
5213 </action>
5214
5215 <action>
5216 <touch key="back"/>
5217 <action function="page">filemanageroptions</action>
5218 </action>
5219 </page>
5220
5221 <page name="filemanagerchmod">
5222 <template name="page"/>
5223
5224 <template name="statusbar"/>
5225
5226 <text style="text_m">
5227 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005228 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005229 </text>
5230
5231 <text style="text_m_accent">
5232 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005234 </text>
5235
5236 <input>
5237 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5238 <text>%tw_filemanager_rename%</text>
5239 <data name="tw_filemanager_rename"/>
5240 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5241 <actions>
5242 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5243 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5244 <action function="set">tw_back=filemanageroptions</action>
5245 <action function="page">filemanagerconfirm</action>
5246 </actions>
5247 </input>
5248
5249 <fill color="%accent_color%">
5250 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5251 </fill>
5252
5253 <button style="main_button_half_height">
5254 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005255 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005256 <action function="page">filemanageroptions</action>
5257 </button>
5258
5259 <template name="keyboardtemplate"/>
5260
5261 <action>
5262 <touch key="home"/>
5263 <action function="page">main</action>
5264 </action>
5265
5266 <action>
5267 <touch key="back"/>
5268 <action function="page">filemanageroptions</action>
5269 </action>
5270 </page>
5271
5272 <page name="filemanagerconfirm">
5273 <template name="page"/>
5274
5275 <template name="statusbar"/>
5276
5277 <text style="text_m">
5278 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005279 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005280 </text>
5281
5282 <text style="text_m_accent">
5283 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5284 <text>%tw_fm_text1%</text>
5285 </text>
5286
5287 <text style="text_m">
5288 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5289 <text>%tw_filename1%</text>
5290 </text>
5291
5292 <text style="text_m_accent">
5293 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5294 <text>%tw_fm_text2%</text>
5295 </text>
5296
5297 <text style="text_m">
5298 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5299 <text>%tw_fm_text3%</text>
5300 </text>
5301
5302 <text style="text_m">
5303 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005304 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005305 </text>
5306
5307 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005308 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005309 <action function="page">filemanageraction</action>
5310 </slider>
5311
5312 <action>
5313 <touch key="back"/>
5314 <action function="page">%tw_back%</action>
5315 </action>
5316
5317 <action>
5318 <touch key="home"/>
5319 <action function="page">main</action>
5320 </action>
5321 </page>
5322
5323 <page name="filemanageraction">
5324 <template name="page"/>
5325
5326 <template name="statusbar"/>
5327
5328 <text style="text_m">
5329 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005330 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005331 </text>
5332
5333 <template name="console"/>
5334
5335 <template name="progress_bar"/>
5336
5337 <action>
5338 <conditions>
5339 <condition var1="tw_operation_state" var2="1"/>
5340 <condition var1="tw_operation_status" var2="0"/>
5341 </conditions>
5342 <actions>
5343 <action function="set">tw_back=filemanagerlist</action>
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 <conditions>
5351 <condition var1="tw_operation_state" var2="1"/>
5352 <condition var1="tw_operation_status" op="!=" var2="0"/>
5353 </conditions>
5354 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005355 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005356 <action function="page">action_complete</action>
5357 </actions>
5358 </action>
5359
5360 <action>
5361 <condition var1="tw_include_text3" var2="0"/>
5362 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5363 </action>
5364
5365 <action>
5366 <condition var1="tw_include_text3" var2="1"/>
5367 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5368 </action>
5369 </page>
5370
5371 <page name="decrypt">
5372 <template name="page"/>
5373
5374 <template name="statusbar"/>
5375
5376 <action>
5377 <condition var1="tw_crypto_pwtype" var2="2"/>
5378 <action function="page">decrypt_pattern</action>
5379 </action>
5380
5381 <text style="text_m">
5382 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005383 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005384 </text>
5385
5386 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005387 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005388 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005389 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005390 </text>
5391
Noah Jacobson5a79f672019-04-28 00:10:07 -04005392 <text style="text_m_accent">
5393 <condition var1="tw_is_fbe" var2="1"/>
5394 <placement x="%col1_x_left%" y="%row1_y%"/>
5395 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5396 </text>
5397
z31s1g28f0a922015-11-07 18:50:22 +01005398 <input>
5399 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5400 <text>%tw_crypto_display%</text>
5401 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5402 <restrict minlen="1" maxlen="254"/>
5403 <action function="page">trydecrypt</action>
5404 </input>
5405
5406 <fill color="%accent_color%">
5407 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5408 </fill>
5409
5410 <fill color="%text_fail_color%">
5411 <condition var1="tw_password_fail" var2="1"/>
5412 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5413 </fill>
5414
5415 <text style="text_m_fail">
5416 <condition var1="tw_password_fail" var2="1"/>
5417 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005418 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005419 </text>
5420
5421 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005422 <placement x="%col1_x_left%" y="%row4_y%"/>
5423 <text>{@sel_lang_btn=Select Language}</text>
5424 <action function="page">settings_language</action>
5425 </button>
5426
5427 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005428 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005429 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005430 <actions>
5431 <action function="set">tw_page_done=1</action>
5432 <action function="page">main</action>
5433 </actions>
5434 </button>
5435
5436 <template name="keyboardtemplate"/>
5437 </page>
5438
5439 <page name="decrypt_pattern">
5440 <template name="page"/>
5441
5442 <template name="statusbar"/>
5443
Aleksa Saraib25a1832015-12-31 17:36:00 +01005444 <action>
5445 <action function="set">tw_gui_pattern_grid_size=3</action>
5446 </action>
5447
z31s1g28f0a922015-11-07 18:50:22 +01005448 <text style="text_m">
5449 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005450 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005451 </text>
5452
5453 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005454 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005455 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005456 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005457 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005458 </text>
5459
Noah Jacobson5a79f672019-04-28 00:10:07 -04005460 <text style="text_m_accent">
5461 <condition var1="tw_is_fbe" var2="1"/>
5462 <condition var1="tw_password_fail" op="!=" var2="1"/>
5463 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5464 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5465 </text>
5466
Aleksa Saraib25a1832015-12-31 17:36:00 +01005467 <text style="text_m_fail">
5468 <condition var1="tw_password_fail" var2="1"/>
5469 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005470 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005471 </text>
5472
z31s1g28f0a922015-11-07 18:50:22 +01005473 <text style="text_m">
5474 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005475 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005476 </text>
5477
5478 <patternpassword>
5479 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005480 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5481 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5482 <data name="tw_crypto_password"/>
5483 <action function="page">trydecrypt</action>
5484 </patternpassword>
5485
5486 <fill color="#000000">
5487 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5488 </fill>
5489
5490 <button>
5491 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5492 <image resource="back"/>
5493 <condition var1="tw_busy" var2="0"/>
5494 <actions>
5495 <action function="set">tw_page_done=1</action>
5496 <action function="page">main</action>
5497 </actions>
5498 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005499
5500 <button>
5501 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5502 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5503 <image resource="grid_less"/>
5504 <action function="set">tw_gui_pattern_grid_size=3</action>
5505 </button>
5506
5507 <button>
5508 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5509 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5510 <image resource="grid_less"/>
5511 <action function="set">tw_gui_pattern_grid_size=3</action>
5512 </button>
5513
5514 <button>
5515 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5516 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5517 <image resource="grid_less"/>
5518 <action function="set">tw_gui_pattern_grid_size=4</action>
5519 </button>
5520
5521 <button>
5522 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5523 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5524 <image resource="grid_less"/>
5525 <action function="set">tw_gui_pattern_grid_size=5</action>
5526 </button>
5527
5528 <button>
5529 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5530 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5531 <image resource="grid_more"/>
5532 <action function="set">tw_gui_pattern_grid_size=4</action>
5533 </button>
5534
5535 <button>
5536 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5537 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5538 <image resource="grid_more"/>
5539 <action function="set">tw_gui_pattern_grid_size=5</action>
5540 </button>
5541
5542 <button>
5543 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5544 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5545 <image resource="grid_more"/>
5546 <action function="set">tw_gui_pattern_grid_size=6</action>
5547 </button>
5548
5549 <button>
5550 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5551 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5552 <image resource="grid_more"/>
5553 <action function="set">tw_gui_pattern_grid_size=6</action>
5554 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005555 </page>
5556
5557 <page name="trydecrypt">
5558 <template name="page"/>
5559
5560 <template name="statusbar"/>
5561
5562 <text style="text_m">
5563 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005564 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005565 </text>
5566
5567 <template name="console"/>
5568
5569 <template name="progress_bar"/>
5570
5571 <action>
5572 <action function="decrypt"/>
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_password_fail=1</action>
5582 <action function="page">decrypt</action>
5583 </actions>
5584 </action>
5585
5586 <action>
5587 <conditions>
5588 <condition var1="tw_operation_state" var2="1"/>
5589 <condition var1="tw_operation_status" op="=" var2="0"/>
5590 </conditions>
5591 <actions>
5592 <action function="set">tw_page_done=1</action>
5593 <action function="page">main</action>
5594 </actions>
5595 </action>
5596 </page>
5597
z31s1g28f0a922015-11-07 18:50:22 +01005598 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005599 <terminal>
5600 <condition var1="tw_hide_kb" var2="0"/>
5601 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5602 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005603
z31s1g56189522016-01-13 19:12:40 +01005604 <terminal>
5605 <condition var1="tw_hide_kb" var2="1"/>
5606 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5607 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005608
z31s1g56189522016-01-13 19:12:40 +01005609 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005610
5611 <template name="keyboardtemplate"/>
5612
z31s1g608d7ff2016-01-18 19:47:25 +01005613 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005614 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005615 </fill>
z31s1g56189522016-01-13 19:12:40 +01005616
z31s1g608d7ff2016-01-18 19:47:25 +01005617 <button>
z31s1g56189522016-01-13 19:12:40 +01005618 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5619 <image resource="back" />
5620 <condition var1="tw_busy" var2="0" />
5621 <actions>
5622 <action function="set">tw_hide_kb=0</action>
5623 <action function="key">back</action>
5624 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005625 </button>
z31s1g56189522016-01-13 19:12:40 +01005626
z31s1g608d7ff2016-01-18 19:47:25 +01005627 <button>
z31s1g56189522016-01-13 19:12:40 +01005628 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5629 <image resource="home" />
5630 <condition var1="tw_busy" var2="0" />
5631 <actions>
5632 <action function="set">tw_hide_kb=0</action>
5633 <action function="key">home</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="0"/>
5639 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5640 <image resource="kb_hide" />
5641 <condition var1="tw_busy" var2="0" />
5642 <actions>
5643 <action function="set">tw_hide_kb=1</action>
5644 <action function="page">terminalcommand</action>
5645 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005646 </button>
z31s1g56189522016-01-13 19:12:40 +01005647
z31s1g608d7ff2016-01-18 19:47:25 +01005648 <button>
z31s1g56189522016-01-13 19:12:40 +01005649 <condition var1="tw_hide_kb" var2="1"/>
5650 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5651 <image resource="kb_show" />
5652 <condition var1="tw_busy" var2="0" />
5653 <actions>
5654 <action function="set">tw_hide_kb=0</action>
5655 <action function="page">terminalcommand</action>
5656 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005657 </button>
z31s1g56189522016-01-13 19:12:40 +01005658
z31s1g28f0a922015-11-07 18:50:22 +01005659 <action>
5660 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005661 <actions>
5662 <action function="set">tw_hide_kb=0</action>
5663 <action function="page">main</action>
5664 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005665 </action>
5666
5667 <action>
5668 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005669 <actions>
5670 <action function="set">tw_hide_kb=0</action>
5671 <action function="page">advanced</action>
5672 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005673 </action>
z31s1g56189522016-01-13 19:12:40 +01005674
z31s1g608d7ff2016-01-18 19:47:25 +01005675 <action>
z31s1g56189522016-01-13 19:12:40 +01005676 <touch key="power+voldown" />
5677 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005678 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005679 </page>
5680
5681 <page name="sideload">
5682 <template name="page"/>
5683
5684 <template name="statusbar"/>
5685
5686 <text style="text_m">
5687 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005688 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005689 </text>
5690
5691 <text style="text_m_accent">
5692 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005693 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005694 </text>
5695
5696 <checkbox>
5697 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005698 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005699 <data variable="tw_wipe_dalvik"/>
5700 </checkbox>
5701
5702 <checkbox>
5703 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005704 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005705 <data variable="tw_wipe_cache"/>
5706 </checkbox>
5707
5708 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005709 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005710 <actions>
5711 <action function="set">tw_back=install_type</action>
5712 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005713 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5714 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5715 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005716 <action function="set">tw_has_cancel=1</action>
5717 <action function="set">tw_show_reboot=1</action>
5718 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5719 <action function="page">action_page</action>
5720 </actions>
5721 </slider>
5722
5723 <action>
5724 <touch key="home"/>
5725 <action function="page">main</action>
5726 </action>
5727
5728 <action>
5729 <touch key="back"/>
5730 <action function="page">install_type</action>
5731 </action>
5732 </page>
5733
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005734 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005735 <template name="page"/>
5736
5737 <template name="statusbar"/>
5738
5739 <text style="text_m">
5740 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005741 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005742 </text>
5743
5744 <text style="text_m_accent">
5745 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005746 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005747 </text>
5748
z31s1g28f0a922015-11-07 18:50:22 +01005749 <text style="text_m_fail">
5750 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005751 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005752 </text>
5753
5754 <text style="text_m_fail">
5755 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005756 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005757 </text>
5758
5759 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005760 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005761 <actions>
5762 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005763 <action function="set">tw_action=fixcontexts</action>
5764 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5765 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005766 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005767 <action function="set">tw_show_reboot=1</action>
5768 <action function="page">action_page</action>
5769 </actions>
5770 </slider>
5771
5772 <action>
5773 <touch key="home"/>
5774 <action function="page">main</action>
5775 </action>
5776
5777 <action>
5778 <touch key="back"/>
5779 <action function="page">advanced</action>
5780 </action>
5781 </page>
5782
z31s1g28f0a922015-11-07 18:50:22 +01005783 <page name="slideout">
5784 <fill color="%background_color%">
5785 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5786 </fill>
5787
5788 <console>
5789 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5790 </console>
5791
5792 <fill color="%fileselector_linecolor%">
5793 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5794 </fill>
5795
5796 <fill color="%fileselector_linecolor%">
5797 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5798 </fill>
5799
5800 <button>
5801 <fill color="%transparent%"/>
5802 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5803 <action function="overlay"/>
5804 </button>
5805
5806 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005807 <touch key="power"/>
5808 <action function="togglebacklight"/>
5809 </action>
5810
5811 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005812 <touch key="power+voldown"/>
5813 <action function="screenshot"/>
5814 </action>
5815 </page>
5816
5817 <page name="select_storage">
5818 <template name="page"/>
5819
5820 <template name="statusbar"/>
5821
5822 <text style="text_m">
5823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5824 <text>%tw_storagetext%</text>
5825 </text>
5826
5827 <partitionlist style="partitionlist_headerless_rb">
5828 <data name="tw_storage_path"/>
5829 <listtype name="storage"/>
5830 </partitionlist>
5831
5832 <button>
5833 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5834 <highlight color="%highlight_color%"/>
5835 <image resource="q_btn_refresh"/>
5836 <actions>
5837 <action function="refreshsizes"/>
5838 <action function="page">select_storage</action>
5839 </actions>
5840 </button>
5841
5842 <button>
5843 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5844 <highlight color="%highlight_color%"/>
5845 <image resource="q_btn_accept"/>
5846 <actions>
5847 <action function="set">tw_clear_destination=%tw_back%</action>
5848 <action function="page">clear_vars</action>
5849 </actions>
5850 </button>
5851
5852 <action>
5853 <touch key="power+voldown"/>
5854 <action function="screenshot"/>
5855 </action>
5856 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005857
5858 <page name="decrypt_users">
5859 <template name="page"/>
5860
5861 <text style="text_l">
5862 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5863 <text>{@decrypt_users=Decrypt Users}</text>
5864 </text>
5865
5866 <text style="text_m_accent">
5867 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5868 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5869 </text>
5870
5871 <listbox>
5872 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5873 <text>{@select_user=Select User}</text>
5874 <icon selected="radio_true" unselected="radio_false" />
5875 <data name="tw_crypto_user_id" />
5876 </listbox>
5877
5878 <button style="main_button_half_height">
5879 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5880 <text>{@decrypt_users=Decrypt Users}</text>
5881 <action function="set">tw_crypto_password=</action>
5882 <action function="set">tw_password_fail=0</action>
5883 <action function="page">decrypt</action>
5884 </button>
5885
5886 <action>
5887 <touch key="home"/>
5888 <action function="page">main</action>
5889 </action>
5890
5891 <action>
5892 <touch key="back"/>
5893 <action function="page">advanced</action>
5894 </action>
5895 </page>
epicX98053c32021-01-04 13:01:31 +05305896
5897 <page name="changeTwrpFolder">
5898 <template name="page"/>
5899
5900 <template name="statusbar"/>
5901
5902 <text style="text_m">
5903 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5904 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5905 </text>
5906
5907 <text style="text_m_accent">
5908 <placement x="%col1_x_left%" y="%row1_y%"/>
5909 <text>{@name=Name:}</text>
5910 </text>
5911
5912 <input>
5913 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5914 <text>%tw_custom_folder%</text>
5915 <data name="tw_custom_folder"/>
5916 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5917 <actions>
5918 <action function="set">tw_back=changeTwrpFolder</action>
5919 <action function="set">tw_action=applycustomtwrpfolder</action>
5920 <action function="set">tw_action_param=%tw_custom_folder%</action>
5921 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5922 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5923 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5924 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5925 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5926 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5927 <action function="set">tw_existpage=changeTwrpFolder</action>
5928 <action function="set">tw_notexistpage=confirm_action</action>
5929 <action function="page">filecheck</action>
5930 </actions>
5931 </input>
5932
5933 <fill color="%accent_color%">
5934 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5935 </fill>
5936
5937 <fill color="%text_fail_color%">
5938 <condition var1="tw_fileexists" var2="1"/>
5939 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5940 </fill>
5941
5942 <text style="text_m_fail">
5943 <condition var1="tw_fileexists" var2="1"/>
5944 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5945 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5946 </text>
5947
5948 <button style="main_button_half_width_low">
5949 <placement x="%col1_x_left%" y="%row4_y%"/>
5950 <text>{@cancel_btn=Cancel}</text>
5951 <action function="page">advanced2</action>
5952 </button>
5953
5954 <button style="main_button_half_height">
5955 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5956 <placement x="%col1_x_right%" y="%row4_y%"/>
5957 <text>{@restore_defaults_btn=Restore Defaults}</text>
5958 <actions>
5959 <action function="set">tw_back=changeTwrpFolder</action>
5960 <action function="set">tw_action=applycustomtwrpfolder</action>
5961 <action function="set">tw_action_param=TWRP</action>
5962 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5963 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5964 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5965 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5966 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5967 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5968 <action function="set">tw_existpage=changeTwrpFolder</action>
5969 <action function="set">tw_notexistpage=confirm_action</action>
5970 <action function="page">filecheck</action>
5971 </actions>
5972 </button>
5973
5974 <template name="keyboardtemplate"/>
5975
5976 <action>
5977 <touch key="home"/>
5978 <actions>
5979 <action function="page">main</action>
5980 </actions>
5981 </action>
5982
5983 <action>
5984 <touch key="back"/>
5985 <actions>
5986 <action function="page">advanced2</action>
5987 </actions>
5988 </action>
5989 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005990 </pages>
5991</recovery>