blob: 5a7c22508affca737fe1b18733b89ed5e7296358 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_full_width">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_l" color="%text_button_color%"/>
44 <image resource="main_button_full_width"/>
45 </style>
46
47 <style name="main_button_quarter_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_l" color="%text_button_color%"/>
50 <image resource="main_button_quarter_width"/>
51 </style>
52
53 <style name="main_button_half_height">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="main_button_half_height"/>
57 </style>
58
59 <style name="main_button_half_height_full_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="main_button_half_height_full_width"/>
63 </style>
64
65 <style name="button_third_width">
66 <highlight color="%highlight_color%"/>
67 <font resource="font_m" color="%text_button_color%"/>
68 <image resource="tab_3"/>
69 </style>
70
Aleksa Saraib25a1832015-12-31 17:36:00 +010071 <style name="button_navbar">
72 <font resource="font_m" color="%text_button_color%"/>
73 </style>
74
z31s1g28f0a922015-11-07 18:50:22 +010075 <style name="console">
76 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
77 <font resource="fixed"/>
78 </style>
79
z31s1g56189522016-01-13 19:12:40 +010080 <style name="terminal">
81 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
82 <background color="%background_color%"/>
83 <font resource="fixed" spacing="2" color="%text_color%"/>
84 </style>
85
z31s1g28f0a922015-11-07 18:50:22 +010086 <style name="fileselector">
87 <highlight color="%fileselector_highlight_color%"/>
88 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
89 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
90 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
91 <sort name="tw_gui_sort_order"/>
92 <icon folder="folder" file="file"/>
93 <background color="%background_color%"/>
94 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
95 </style>
96
97 <style name="listbox">
98 <highlight color="%fileselector_highlight_color%"/>
99 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
100 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
101 <icon selected="radio_true" unselected="radio_false"/>
102 <background color="%background_color%"/>
103 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
104 </style>
105
106 <style name="listbox_headerless">
107 <highlight color="%fileselector_highlight_color%"/>
108 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
109 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
110 <icon selected="radio_true" unselected="radio_false"/>
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
113 </style>
114
115 <style name="listbox_options">
116 <background color="%background_color%"/>
117 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
118 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
119 </style>
120
121 <style name="scrolllist">
122 <highlight color="%fileselector_highlight_color%"/>
123 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
124 <icon selected="checkbox_true" unselected="checkbox_false"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300127 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100128 </style>
129
130 <style name="partitionlist">
131 <highlight color="%fileselector_highlight_color%"/>
132 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
133 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
134 <icon selected="checkbox_true" unselected="checkbox_false"/>
135 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
136 <background color="%background_color%"/>
137 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
138 </style>
139
140 <style name="partitionlist_summary">
141 <highlight color="%fileselector_highlight_color%"/>
142 <background color="%background_color%"/>
143 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
144 <icon selected="checkbox_true_small" unselected="checkbox_false_small"/>
145 </style>
146
147 <style name="partitionlist_headerless_rb">
148 <highlight color="%fileselector_highlight_color%"/>
149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
150 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
151 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
152 <icon selected="radio_true" unselected="radio_false"/>
153 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
154 <background color="%background_color%"/>
155 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
156 </style>
157
158 <style name="partitionlist_headerless_cb">
159 <highlight color="%fileselector_highlight_color%"/>
160 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
161 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%fileselector_linecolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
162 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
163 <icon selected="checkbox_true" unselected="checkbox_false"/>
164 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
165 <background color="%background_color%"/>
166 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
167 </style>
168
Ethan Yonker64e0a652018-07-25 09:52:17 -0500169 <style name="advanced_listbox">
170 <highlight color="%fileselector_highlight_color%"/>
171 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
172 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
173 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
174 <icon selected="handle" unselected="handle"/>
175 <background color="%background_color%"/>
176 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
177 </style>
178
z31s1g28f0a922015-11-07 18:50:22 +0100179 <style name="slider">
180 <placement x="%center_x%" y="%slider_y%"/>
181 <font resource="font_l" color="%text_color%"/>
182 <resource base="slider" used="slider_used" touch="slider_touch"/>
183 </style>
184
185 <style name="slidervalue">
186 <resource handle="handle"/>
187 <font resource="font_m" color="%text_color%"/>
188 <colors line="%fileselector_linecolor%"/>
189 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
190 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100191
192 <style name="patternpassword">
193 <size name="tw_gui_pattern_grid_size" default="3"/>
194 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100195 </styles>
196
197 <pages>
198 <page name="main">
199 <action>
200 <actions>
201 <action function="set">tw_clear_destination=main2</action>
202 <action function="page">clear_vars</action>
203 </actions>
204 </action>
205 </page>
206
207 <page name="main2">
208 <template name="page"/>
209
210 <button style="main_button">
211 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500212 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100213 <action function="page">install_type</action>
214 </button>
215
216 <button style="main_button">
217 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500218 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100219 <action function="page">wipe_type1</action>
220 </button>
221
222 <button style="main_button">
223 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500224 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100225 <actions>
226 <action function="set">tw_back=main</action>
bigbiffce8f83c2015-12-12 18:30:21 -0500227 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +0100228 </actions>
229 </button>
230
231 <button style="main_button">
232 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">restore</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">reboot</action>
241 </button>
242
243 <button>
244 <placement x="%btn4_col4_x%" y="%row11_y%"/>
245 <highlight color="%highlight_color%"/>
246 <image resource="q_btn_arrow_right"/>
247 <action function="page">main3</action>
248 </button>
249 </page>
250
Matt Mower32676622017-01-18 18:56:13 -0600251 <page name="copylog">
252 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400253
Matt Mower32676622017-01-18 18:56:13 -0600254 <checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400255 <placement x="%indent%" y="%row1_y%"/>
Matt Mower32676622017-01-18 18:56:13 -0600256 <text>{@include_kernel_log=Include Kernel Log}</text>
257 <data variable="tw_include_kernel_log" value="1"/>
258 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400259
260 <slider>
261 <text>{@swipe_confirm= Confirm}</text>
262 <actions>
Matt Mower32676622017-01-18 18:56:13 -0600263 <action function="set">tw_back=main3</action>
264 <action function="set">tw_action=copylog</action>
265 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
266 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400267 <action function="page">action_page</action>
268 </actions>
269 </slider>
270
271 <action>
272 <touch key="back"/>
273 <action function="page">main2</action>
274 </action>
275
276 <action>
277 <touch key="home"/>
278 <action function="page">main</action>
279 </action>
Matt Mower32676622017-01-18 18:56:13 -0600280 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400281
z31s1g28f0a922015-11-07 18:50:22 +0100282 <page name="main3">
283 <template name="page"/>
284
285 <button style="main_button">
286 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500287 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100288 <action function="page">mount</action>
289 </button>
290
291 <button style="main_button">
292 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500293 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100294 <action function="page">settings</action>
295 </button>
296
297 <button style="main_button">
298 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500299 <text>{@files_btn=Files}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100300 <action function="page">filemanagerlist</action>
301 </button>
302
303 <button style="main_button">
304 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500305 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -0400306 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +0100307 </button>
308
309 <button style="main_button">
310 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500311 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100312 <action function="page">advanced</action>
313 </button>
314
315 <button>
316 <placement x="%col1_x_left%" y="%row11_y%"/>
317 <highlight color="%highlight_color%"/>
318 <image resource="q_btn_arrow_left"/>
319 <action function="page">main2</action>
320 </button>
321
322 <action>
323 <touch key="back"/>
324 <action function="page">main2</action>
325 </action>
326
327 <action>
328 <touch key="home"/>
329 <action function="page">main</action>
330 </action>
331 </page>
332
333 <page name="install_type">
334 <template name="page"/>
335
336 <template name="statusbar"/>
337
338 <text style="text_m">
339 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500340 <text>{@install_hdr=Install} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100341 </text>
342
343 <button style="main_button_full_width">
344 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500345 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100346 <actions>
347 <action function="queueclear"/>
348 <action function="set">tw_selectimage=0</action>
349 <action function="page">install</action>
350 </actions>
351 </button>
352
353 <button style="main_button_full_width">
354 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 <actions>
357 <action function="queueclear"/>
358 <action function="set">tw_selectimage=1</action>
359 <action function="page">install</action>
360 </actions>
361 </button>
362
363 <button style="main_button_full_width">
364 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 <action function="page">sideload</action>
367 </button>
368
369 <action>
370 <touch key="home"/>
371 <action function="page">main</action>
372 </action>
373
374 <action>
375 <touch key="back"/>
376 <action function="page">main</action>
377 </action>
378 </page>
379
380 <page name="install">
381 <template name="page"/>
382
383 <template name="statusbar"/>
384
385 <text style="text_m">
386 <condition var1="tw_selectimage" var2="0"/>
387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500388 <text>{@install_zip_hdr=Install Zip} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100389 </text>
390
391 <text style="text_m">
392 <condition var1="tw_selectimage" var2="1"/>
393 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500394 <text>{@install_image_hdr=Install Image} &gt; {@install_select_file_hdr=Select File}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100395 </text>
396
397 <fileselector>
398 <condition var1="tw_selectimage" var2="0"/>
399 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
400 <text>%tw_zip_location%</text>
mauronofrio0ff59842019-10-26 19:47:55 +0200401 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonald15430b62021-01-23 18:52:28 +0100402 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100403 <path name="tw_zip_location" default="/sdcard"/>
404 <data name="tw_filename"/>
405 <selection name="tw_file"/>
406 </fileselector>
407
408 <fileselector>
409 <condition var1="tw_selectimage" var2="1"/>
410 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
411 <text>%tw_zip_location%</text>
412 <filter extn=".img" folders="1" files="1"/>
413 <path name="tw_zip_location" default="/sdcard"/>
414 <data name="tw_filename"/>
415 <selection name="tw_file"/>
416 </fileselector>
417
418 <button>
419 <placement x="%btn4_col4_x%" y="%row11_y%"/>
420 <highlight color="%highlight_color%"/>
421 <image resource="q_btn_storage"/>
422 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500423 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100424 <action function="set">tw_back=install</action>
425 <action function="page">select_storage</action>
426 </actions>
427 </button>
428
429 <action>
430 <conditions>
431 <condition var1="tw_selectimage" var2="0"/>
432 <condition var1="tw_filename" op="modified"/>
433 </conditions>
434 <actions>
435 <action function="queuezip"/>
436 <action function="page">flash_queue</action>
437 </actions>
438 </action>
439
440 <action>
441 <conditions>
442 <condition var1="tw_selectimage" var2="1"/>
443 <condition var1="tw_filename" op="modified"/>
444 </conditions>
445 <action function="page">flashimage_type</action>
446 </action>
447
448 <action>
449 <touch key="back"/>
450 <action function="page">install_type</action>
451 </action>
452
453 <action>
454 <touch key="home"/>
455 <action function="page">main</action>
456 </action>
457 </page>
458
459 <page name="flash_queue">
460 <template name="page"/>
461
462 <template name="statusbar"/>
463
464 <text style="text_m">
465 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500466 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100467 </text>
468
469 <text style="text_m_accent">
470 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500471 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100472 </text>
473
474 <text style="text_m">
475 <placement x="%indent%" y="%row2_y%"/>
476 <text>%tw_file%</text>
477 </text>
478
479 <text style="text_m_accent">
480 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500481 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100482 </text>
483
484 <text style="text_m">
485 <placement x="%indent%" y="%row5_y%"/>
486 <text>%tw_zip_location%</text>
487 </text>
488
489 <text style="text_m">
490 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500491 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100492 </text>
493
494 <button>
495 <placement x="%col1_x_left%" y="%row11_y%"/>
496 <highlight color="%highlight_color%"/>
497 <image resource="q_btn_arrow_left"/>
498 <actions>
499 <action function="queueclear"/>
500 <action function="page">install</action>
501 </actions>
502 </button>
503
504 <button>
505 <placement x="%btn4_col2_x%" y="%row11_y%"/>
506 <highlight color="%highlight_color%"/>
507 <image resource="q_btn_addzip"/>
508 <action function="page">install</action>
509 </button>
510
511 <button>
512 <placement x="%btn4_col3_x%" y="%row11_y%"/>
513 <highlight color="%highlight_color%"/>
514 <image resource="q_btn_accept"/>
515 <action function="page">flash_confirm</action>
516 </button>
517
518 <button>
519 <placement x="%btn4_col4_x%" y="%row11_y%"/>
520 <highlight color="%highlight_color%"/>
521 <image resource="q_btn_arrow_right"/>
522 <action function="page">flash_options</action>
523 </button>
524
525 <action>
526 <touch key="back"/>
527 <actions>
528 <action function="queueclear"/>
529 <action function="page">install</action>
530 </actions>
531 </action>
532
533 <action>
534 <touch key="home"/>
535 <action function="page">main</action>
536 </action>
537 </page>
538
539 <page name="flash_options">
540 <template name="page"/>
541
542 <template name="statusbar"/>
543
544 <text style="text_m">
545 <condition var1="tw_selectimage" var2="0"/>
546 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500547 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100548 </text>
549
550 <checkbox>
551 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500552 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <data variable="tw_signed_zip_verify"/>
554 </checkbox>
555
556 <checkbox>
557 <condition var1="tw_has_injecttwrp" var2="1"/>
558 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500559 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100560 <data variable="tw_inject_after_zip"/>
561 </checkbox>
562
bigbiffa869fc72016-03-01 19:40:36 -0500563 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600564 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500565 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600566 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500567 </checkbox>
568
z31s1g28f0a922015-11-07 18:50:22 +0100569 <button>
570 <placement x="%col1_x_left%" y="%row11_y%"/>
571 <highlight color="%highlight_color%"/>
572 <image resource="q_btn_arrow_left"/>
573 <action function="page">flash_queue</action>
574 </button>
575
576 <button>
577 <placement x="%btn4_col4_x%" y="%row11_y%"/>
578 <highlight color="%highlight_color%"/>
579 <image resource="q_btn_accept_transp"/>
580 <action function="page">flash_confirm</action>
581 </button>
582
583 <action>
584 <touch key="back"/>
585 <action function="page">flash_queue</action>
586 </action>
587
588 <action>
589 <touch key="home"/>
590 <action function="page">main</action>
591 </action>
592 </page>
593
594 <page name="flash_confirm">
595 <template name="page"/>
596
597 <template name="statusbar"/>
598
599 <text style="text_m">
600 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500601 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100602 </text>
603
604 <text style="text_m_accent">
605 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500606 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100607 </text>
608
609 <text style="text_m">
610 <placement x="%indent%" y="%row2_y%"/>
611 <text>%tw_file%</text>
612 </text>
613
614 <button>
615 <fill color="%transparent%"/>
616 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
617 <action function="page">flash_queue</action>
618 </button>
619
620 <text style="text_m_accent">
621 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500622 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100623 </text>
624
625 <text style="text_m">
626 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 </text>
629
630 <button>
631 <fill color="%transparent%"/>
632 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
633 <action function="page">flash_queue</action>
634 </button>
635
636 <listbox style="listbox_options">
637 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100639 <data variable="tw_signed_zip_verify"/>
640 </listitem>
641 </listbox>
642
643 <text style="text_m_accent">
644 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500645 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100646 </text>
647
648 <text style="text_m">
649 <condition var1="tw_has_injecttwrp" var2="1"/>
650 <condition var1="tw_inject_after_zip" var2="1"/>
651 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500652 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100653 </text>
654
655 <button>
656 <fill color="%transparent%"/>
657 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
658 <action function="page">flash_options</action>
659 </button>
660
661 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500662 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100663 <action function="flash">flash_zip</action>
664 </slider>
665
666 <action>
667 <touch key="back"/>
668 <actions>
669 <action function="cancelzip"/>
670 <action function="page">install</action>
671 </actions>
672 </action>
673
674 <action>
675 <touch key="home"/>
676 <action function="page">main</action>
677 </action>
678 </page>
679
680 <page name="flash_zip">
681 <template name="page"/>
682
683 <template name="statusbar"/>
684
685 <text style="text_m">
686 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600687 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100688 </text>
689
690 <template name="console"/>
691
692 <template name="progress_bar"/>
693
694 <action>
695 <condition var1="tw_operation_state" var2="1"/>
696 <action function="page">flash_done</action>
697 </action>
698 </page>
699
700 <page name="flash_done">
701 <template name="page"/>
702
703 <template name="statusbar"/>
704
705 <text style="text_m_fail">
706 <condition var1="tw_operation_status" op="!=" var2="0"/>
707 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500708 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100709 </text>
710
711 <text style="text_m">
712 <condition var1="tw_operation_status" var2="0"/>
713 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500714 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100715 </text>
716
717 <template name="console"/>
718
719 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500720 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100721 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500722 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100723 <actions>
724 <action function="set">tw_back=flash_done</action>
725 <action function="set">tw_action=wipe</action>
726 <action function="set">tw_action_param=/cache</action>
727 <action function="set">tw_has_action2=1</action>
728 <action function="set">tw_action2=wipe</action>
729 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500730 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
731 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
732 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500733 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
734 <action function="page">confirm_action</action>
735 </actions>
736 </button>
737
738 <button style="main_button_half_height">
739 <condition var1="tw_ab_device" var2="1"/>
740 <placement x="%indent%" y="%row21a_y%"/>
741 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
742 <actions>
743 <action function="set">tw_back=flash_done</action>
744 <action function="set">tw_action=wipe</action>
745 <action function="set">tw_action_param=dalvik</action>
746 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
747 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
748 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
749 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100750 <action function="page">confirm_action</action>
751 </actions>
752 </button>
753
754 <button style="main_button_half_height">
Chaosmaster90df3de2020-02-07 20:33:43 +0100755 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100756 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500757 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100758 <actions>
759 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500760 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100761 </actions>
762 </button>
763
Chaosmaster90df3de2020-02-07 20:33:43 +0100764 <button style="main_button_half_height">
765 <condition var1="tw_ab_device" var2="1"/>
766 <placement x="%col1_x_right%" y="%row13_y%"/>
767 <text>{@reboot_btn=Reboot}</text>
768 <actions>
769 <action function="set">tw_back=main2</action>
770 <action function="page">reboot</action>
771 </actions>
772 </button>
773
z31s1g28f0a922015-11-07 18:50:22 +0100774 <action>
775 <touch key="back"/>
776 <actions>
777 <action function="set">tw_clear_destination=install_type</action>
778 <action function="page">clear_vars</action>
779 </actions>
780 </action>
781
782 <action>
783 <touch key="home"/>
784 <actions>
785 <action function="set">tw_clear_destination=main2</action>
786 <action function="page">clear_vars</action>
787 </actions>
788 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500789
790 <action>
791 <conditions>
792 <condition var1="tw_install_reboot" var2="1"/>
793 <condition var1="tw_operation_status" var2="0"/>
794 <condition var1="tw_reboot_system" var2="1"/>
795 </conditions>
796 <actions>
797 <action function="set">tw_sleep=%tw_sleep_total%</action>
798 <action function="page">flash_sleep_and_reboot</action>
799 </actions>
800 </action>
801 </page>
802
803 <page name="flash_sleep_and_reboot">
804 <template name="page"/>
805
806 <template name="statusbar"/>
807
808 <text style="text_m">
809 <placement x="%col1_x_left%" y="%row1_header_y%"/>
810 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
811 </text>
812
813 <template name="console"/>
814
815 <template name="progress_bar"/>
816
817 <button style="main_button_half_height">
818 <condition var1="tw_sleep" op="&gt;" var2="0"/>
819 <placement x="%col1_x_right%" y="%row13_y%"/>
820 <text>{@cancel_btn=Cancel}</text>
821 <actions>
822 <action function="set">tw_install_reboot=0</action>
823 <action function="page">flash_done</action>
824 </actions>
825 </button>
826
827 <action>
828 <conditions>
829 <condition var1="tw_sleep" var2="tw_sleep_total"/>
830 <condition var1="tw_install_reboot" var2="1"/>
831 </conditions>
832 <action function="sleepcounter">%tw_sleep_total%</action>
833 </action>
834
835 <action>
836 <conditions>
837 <condition var1="tw_sleep" var2="0"/>
838 <condition var1="tw_install_reboot" var2="1"/>
839 </conditions>
840 <actions>
841 <action function="sleep">50000</action>
842 <action function="set">tw_back=main2</action>
843 <action function="page">reboot_system_routine</action>
844 </actions>
845 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100846 </page>
847
848 <page name="flashimage_type">
849 <template name="page"/>
850
851 <template name="statusbar"/>
852
853 <text style="text_m">
854 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600855 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100856 </text>
857
858 <partitionlist style="partitionlist_headerless_rb">
859 <data name="tw_flash_partition"/>
860 <listtype name="flashimg"/>
861 </partitionlist>
862
863 <button>
864 <placement x="%col1_x_left%" y="%row11_y%"/>
865 <highlight color="%highlight_color%"/>
866 <image resource="q_btn_arrow_left"/>
867 <action function="page">install</action>
868 </button>
869
870 <button>
871 <placement x="%btn4_col4_x%" y="%row11_y%"/>
872 <highlight color="%highlight_color%"/>
873 <image resource="q_btn_accept_transp"/>
874 <action function="page">flashimage_confirm</action>
875 </button>
876
877 <action>
878 <touch key="back"/>
879 <action function="page">install</action>
880 </action>
881
882 <action>
883 <touch key="home"/>
884 <action function="page">main</action>
885 </action>
886 </page>
887
888 <page name="flashimage_confirm">
889 <template name="page"/>
890
891 <template name="statusbar"/>
892
893 <text style="text_m">
894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500895 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100896 </text>
897
898 <text style="text_m_accent">
899 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500900 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100901 </text>
902
903 <text style="text_m">
904 <placement x="%indent%" y="%row2_y%"/>
905 <text>%tw_file%</text>
906 </text>
907
908 <button>
909 <fill color="%transparent%"/>
910 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
911 <action function="page">install</action>
912 </button>
913
914 <text style="text_m_accent">
915 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500916 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100917 </text>
918
919 <text style="text_m">
920 <placement x="%indent%" y="%row5_y%"/>
921 <text>%tw_flash_partition%</text>
922 </text>
923
924 <button>
925 <fill color="%transparent%"/>
926 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
927 <action function="page">flashimage_type</action>
928 </button>
929
930 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500931 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100932 <actions>
933 <action function="set">tw_back=flashimage_confirm</action>
934 <action function="set">tw_action=flashimage</action>
935 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500936 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100937 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500938 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100939 <action function="page">action_page</action>
940 </actions>
941 <action function="flashimage"/>
942 </slider>
943
944 <action>
945 <touch key="back"/>
946 <actions>
947 <action function="set">tw_clear_destination=install</action>
948 <action function="page">clear_vars</action>
949 </actions>
950 </action>
951
952 <action>
953 <touch key="home"/>
954 <actions>
955 <action function="set">tw_clear_destination=main2</action>
956 <action function="page">clear_vars</action>
957 </actions>
958 </action>
959 </page>
960
961 <page name="clear_vars">
962 <action>
963 <action function="set">tw_operation_state=0</action>
964 <action function="set">tw_text1=</action>
965 <action function="set">tw_text2=</action>
966 <action function="set">tw_text3=</action>
967 <action function="set">tw_text4=</action>
968 <action function="set">tw_action_text1=</action>
969 <action function="set">tw_action_text2=</action>
970 <action function="set">tw_action_param=</action>
971 <action function="set">tw_has_action2=0</action>
972 <action function="set">tw_action2=</action>
973 <action function="set">tw_action2_param=</action>
974 <action function="set">tw_has_cancel=0</action>
975 <action function="set">tw_cancel_action=</action>
976 <action function="set">tw_cancel_param=</action>
977 <action function="set">tw_show_exclamation=0</action>
978 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400979 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400980 <action function="set">tw_multiuser_warning_accepted=</action>
981 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100982 <action function="page">%tw_clear_destination%</action>
983 </action>
984 </page>
985
Matt Mower908dd252016-05-25 02:26:50 -0500986 <page name="reboot_system_routine">
987 <action>
988 <action function="set">tw_back=main2</action>
989 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500990 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500991 <action function="set">tw_has_action2=0</action>
992 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
993 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
994 <action function="set">tw_text3=</action>
995 <action function="set">tw_text4=</action>
996 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
997 <action function="set">tw_action_text2=</action>
998 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
999 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
1000 <action function="page">rebootcheck</action>
1001 </action>
1002 </page>
1003
z31s1g28f0a922015-11-07 18:50:22 +01001004 <page name="confirm_action">
1005 <template name="page"/>
1006
1007 <template name="statusbar"/>
1008
1009 <text style="text_m">
1010 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001011 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001012 </text>
1013
1014 <text style="text_m_accent">
1015 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1016 <text>%tw_text1%</text>
1017 </text>
1018
1019 <text style="text_m_accent">
1020 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1021 <text>%tw_text2%</text>
1022 </text>
1023
1024 <text style="text_m">
1025 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1026 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1027 <text>%tw_text3%</text>
1028 </text>
1029
1030 <text style="text_m">
1031 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1032 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1033 <text>%tw_text4%</text>
1034 </text>
1035
1036 <text style="text_m_fail">
1037 <condition var1="tw_action" var2="changefilesystem"/>
1038 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1039 <text>%tw_text3%</text>
1040 </text>
1041
1042 <text style="text_m_fail">
1043 <condition var1="tw_action" var2="changefilesystem"/>
1044 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1045 <text>%tw_text4%</text>
1046 </text>
1047
1048 <text style="text_m">
1049 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 </text>
1052
1053 <slider>
1054 <text>%tw_slider_text%</text>
1055 <action function="page">action_page</action>
1056 </slider>
1057
1058 <action>
1059 <touch key="back"/>
1060 <actions>
1061 <action function="set">tw_clear_destination=%tw_back%</action>
1062 <action function="page">clear_vars</action>
1063 </actions>
1064 </action>
1065
1066 <action>
1067 <touch key="home"/>
1068 <action function="page">main</action>
1069 </action>
1070 </page>
1071
1072 <page name="action_page">
1073 <template name="page"/>
1074
1075 <template name="statusbar"/>
1076
1077 <text style="text_m">
1078 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1079 <text>%tw_action_text1% %tw_action_text2%</text>
1080 </text>
1081
1082 <template name="console"/>
1083
1084 <template name="progress_bar"/>
1085
1086 <button style="main_button_half_height">
1087 <condition var1="tw_has_cancel" var2="1"/>
1088 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001090 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1091 </button>
1092
1093 <action>
1094 <condition var1="tw_operation_state" var2="1"/>
1095 <actions>
1096 <action function="page">action_complete</action>
1097 </actions>
1098 </action>
1099
1100 <action>
1101 <condition var1="tw_has_action2" var2="0"/>
1102 <actions>
1103 <action function="%tw_action%">%tw_action_param%</action>
1104 </actions>
1105 </action>
1106
1107 <action>
1108 <condition var1="tw_has_action2" var2="1"/>
1109 <actions>
1110 <action function="%tw_action%">%tw_action_param%</action>
1111 <action function="%tw_action2%">%tw_action2_param%</action>
1112 </actions>
1113 </action>
1114 </page>
1115
1116 <page name="singleaction_page">
1117 <template name="page"/>
1118
1119 <template name="statusbar"/>
1120
1121 <text style="text_m">
1122 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1123 <text>%tw_action_text1% %tw_action_text2%</text>
1124 </text>
1125
1126 <template name="console"/>
1127
1128 <template name="progress_bar"/>
1129
1130 <action>
1131 <condition var1="tw_operation_state" var2="1"/>
1132 <actions>
1133 <action function="set">tw_page_done=1</action>
1134 </actions>
1135 </action>
1136
1137 <action>
1138 <condition var1="tw_has_action2" var2="0"/>
1139 <actions>
1140 <action function="%tw_action%">%tw_action_param%</action>
1141 </actions>
1142 </action>
1143
1144 <action>
1145 <condition var1="tw_has_action2" var2="1"/>
1146 <actions>
1147 <action function="%tw_action%">%tw_action_param%</action>
1148 <action function="%tw_action2%">%tw_action2_param%</action>
1149 </actions>
1150 </action>
1151 </page>
1152
1153 <page name="action_complete">
1154 <template name="page"/>
1155
1156 <template name="statusbar"/>
1157
1158 <text style="text_m_fail">
1159 <condition var1="tw_operation_status" op="!=" var2="0"/>
1160 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 </text>
1163
1164 <text style="text_m">
1165 <condition var1="tw_operation_status" var2="0"/>
1166 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001167 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001168 </text>
1169
1170 <template name="console"/>
1171
1172 <button style="main_button_half_height">
1173 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 <actions>
1176 <action function="set">tw_clear_destination=%tw_back%</action>
1177 <action function="page">clear_vars</action>
1178 </actions>
1179 </button>
1180
1181 <button style="main_button_half_height">
1182 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001183 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001184 <actions>
1185 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001186 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </actions>
1188 </button>
1189
1190 <action>
1191 <touch key="home"/>
1192 <actions>
1193 <action function="set">tw_clear_destination=main2</action>
1194 <action function="page">clear_vars</action>
1195 </actions>
1196 </action>
1197
1198 <action>
1199 <touch key="back"/>
1200 <actions>
1201 <action function="set">tw_clear_destination=%tw_back%</action>
1202 <action function="page">clear_vars</action>
1203 </actions>
1204 </action>
1205 </page>
1206
1207 <page name="filecheck">
1208 <action>
1209 <action function="fileexists">%tw_filecheck%</action>
1210 </action>
1211
1212 <action>
1213 <conditions>
1214 <condition var1="tw_operation_state" var2="1"/>
1215 <condition var1="tw_operation_status" var2="0"/>
1216 </conditions>
1217 <actions>
1218 <action function="set">tw_fileexists=1</action>
1219 <action function="page">%tw_existpage%</action>
1220 </actions>
1221 </action>
1222
1223 <action>
1224 <conditions>
1225 <condition var1="tw_operation_state" var2="1"/>
1226 <condition var1="tw_operation_status" var2="1"/>
1227 </conditions>
1228 <actions>
1229 <action function="set">tw_fileexists=0</action>
1230 <action function="page">%tw_notexistpage%</action>
1231 </actions>
1232 </action>
1233 </page>
1234
1235 <page name="rebootcheck">
1236 <action>
1237 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001238 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001239 </action>
1240
1241 <action>
1242 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1243 <action function="page">confirm_action</action>
1244 </action>
1245 </page>
1246
1247 <page name="wipe_type1">
1248 <template name="page"/>
1249
1250 <template name="statusbar"/>
1251
1252 <text style="text_m">
1253 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001254 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001255 </text>
1256
1257 <button style="main_button_full_width">
1258 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001259 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001260 <action function="page">wipe</action>
1261 </button>
1262
1263 <button style="main_button_full_width">
1264 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001265 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001266 <actions>
1267 <action function="set">partitionlisterror=0</action>
1268 <action function="page">advancedwipe</action>
1269 </actions>
1270 </button>
1271
1272 <button>
1273 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1274 <highlight color="%highlight_color%"/>
1275 <image resource="q_btn_arrow_right"/>
1276 <action function="page">wipe_type2</action>
1277 </button>
1278
1279 <action>
1280 <touch key="home"/>
1281 <action function="page">main</action>
1282 </action>
1283
1284 <action>
1285 <touch key="back"/>
1286 <action function="page">main</action>
1287 </action>
1288 </page>
1289
1290 <page name="wipe_type2">
1291 <template name="page"/>
1292
1293 <template name="statusbar"/>
1294
1295 <text style="text_m">
1296 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001297 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001298 </text>
1299
1300 <button style="main_button_full_width">
1301 <condition var1="tw_has_data_media" var2="1"/>
1302 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001303 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">formatdata</action>
1305 </button>
1306
1307 <button style="main_button_full_width">
1308 <conditions>
1309 <condition var1="tw_is_encrypted" var2="1"/>
1310 <condition var1="tw_has_data_media" var2="0"/>
1311 </conditions>
1312 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001313 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001314 <actions>
1315 <action function="set">tw_back=wipe</action>
1316 <action function="set">tw_action=wipe</action>
1317 <action function="set">tw_action_param=DATAMEDIA</action>
1318 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001320 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1322 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1323 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001324 <action function="page">confirm_action</action>
1325 </actions>
1326 </button>
1327
1328 <button style="main_button_full_width">
1329 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001330 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <action function="set">partitionlisterror=0</action>
1332 <action function="page">partitionoptions_select</action>
1333 </actions>
1334 </button>
1335
1336 <button>
1337 <placement x="%col1_x_left%" y="%row11_y%"/>
1338 <highlight color="%highlight_color%"/>
1339 <image resource="q_btn_arrow_left"/>
1340 <action function="page">wipe_type1</action>
1341 </button>
1342
1343 <action>
1344 <touch key="home"/>
1345 <action function="page">main</action>
1346 </action>
1347
1348 <action>
1349 <touch key="back"/>
1350 <action function="page">main</action>
1351 </action>
1352 </page>
1353
1354 <page name="wipe">
1355 <template name="page"/>
1356
1357 <template name="statusbar"/>
1358
1359 <text style="text_m">
1360 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001361 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001362 </text>
1363
1364 <text style="text_m_accent">
1365 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001367 </text>
1368
1369 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001370 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001371 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1372 </text>
1373
1374 <text style="text_m_accent">
1375 <condition var1="tw_has_data_media" var2="1"/>
1376 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m_accent">
1381 <conditions>
1382 <condition var1="tw_has_android_secure" var2="1"/>
1383 <condition var1="fileexists" var2="/and-sec"/>
1384 </conditions>
1385 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001386 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001387 </text>
1388
1389 <text style="text_m_accent">
1390 <condition var1="tw_has_sdext_partition" var2="1"/>
1391 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <text style="text_m">
1396 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001397 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001398 </text>
1399
1400 <text style="text_m">
1401 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001402 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001403 </text>
1404
1405 <text style="text_m">
1406 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001408 </text>
1409
1410 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <actions>
1413 <action function="set">tw_back=wipe</action>
1414 <action function="set">tw_action=wipe</action>
1415 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001416 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1417 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001418 <action function="page">action_page</action>
1419 </actions>
1420 </slider>
1421
1422 <action>
1423 <touch key="back"/>
1424 <action function="page">wipe_type1</action>
1425 </action>
1426
1427 <action>
1428 <touch key="home"/>
1429 <action function="page">main</action>
1430 </action>
1431 </page>
1432
1433 <page name="advancedwipe">
1434 <action>
1435 <action function="set">tw_wipe_list=</action>
1436 </action>
1437
1438 <template name="page"/>
1439
1440 <template name="statusbar"/>
1441
1442 <text style="text_m">
1443 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001444 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001445 </text>
1446
1447 <partitionlist style="partitionlist_headerless_cb">
1448 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1449 <data name="tw_wipe_list"/>
1450 <listtype name="wipe"/>
1451 </partitionlist>
1452
1453 <fill color="%accent_color%">
1454 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1455 </fill>
1456
1457 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 <actions>
1460 <action function="set">tw_back=advancedwipe</action>
1461 <action function="set">tw_action=wipe</action>
1462 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1464 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1465 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001466 <action function="page">action_page</action>
1467 </actions>
1468 </slider>
1469
1470 <action>
1471 <touch key="home"/>
1472 <action function="page">main</action>
1473 </action>
1474
1475 <action>
1476 <touch key="back"/>
1477 <action function="page">wipe_type1</action>
1478 </action>
1479 </page>
1480
1481 <page name="formatdata">
1482 <template name="page"/>
1483
1484 <template name="statusbar"/>
1485
1486 <text style="text_m">
1487 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001488 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001489 </text>
1490
1491 <text style="text_m_fail">
1492 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001493 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001494 </text>
1495
1496 <text style="text_m_fail">
1497 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001498 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001499 </text>
1500
1501 <text style="text_m">
1502 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001503 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001504 </text>
1505
1506 <input>
1507 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1508 <text>%tw_confirm_formatdata%</text>
1509 <data name="tw_confirm_formatdata"/>
1510 <restrict minlen="3" maxlen="3" allow="yes"/>
1511 <action function="page">formatdata_confirm</action>
1512 </input>
1513
1514 <fill color="%accent_color%">
1515 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1516 </fill>
1517
1518 <template name="keyboardtemplate"/>
1519
1520 <action>
1521 <touch key="home"/>
1522 <action function="page">main</action>
1523 </action>
1524
1525 <action>
1526 <touch key="back"/>
1527 <action function="page">wipe_type2</action>
1528 </action>
1529 </page>
1530
1531 <page name="formatdata_confirm">
1532 <action>
1533 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1534 <actions>
1535 <action function="set">tw_back=formatdata</action>
1536 <action function="set">tw_action=wipe</action>
1537 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001538 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1539 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001540 <action function="page">action_page</action>
1541 </actions>
1542 </action>
1543
1544 <action>
1545 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1546 <action function="page">formatdata</action>
1547 </action>
1548 </page>
1549
1550 <page name="checkpartitionlist">
1551 <action>
1552 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1553 <actions>
1554 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001555 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">partitionoptions</action>
1557 </actions>
1558 </action>
1559
1560 <action>
1561 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1562 <actions>
1563 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001564 <action function="page">partitionoptions_select</action>
1565 </actions>
1566 </action>
1567 </page>
1568
1569 <page name="partitionoptions_select">
1570 <action>
1571 <action function="set">tw_wipe_list=</action>
1572 </action>
1573
1574 <template name="page"/>
1575
1576 <template name="statusbar"/>
1577
1578 <text style="text_m">
1579 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001580 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001581 </text>
1582
1583 <partitionlist style="partitionlist_headerless_cb">
1584 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1585 <data name="tw_wipe_list"/>
1586 <listtype name="wipe"/>
1587 </partitionlist>
1588
1589 <fill color="%accent_color%">
1590 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1591 </fill>
1592
z31s1g28f0a922015-11-07 18:50:22 +01001593 <text style="text_m_fail">
1594 <condition var1="partitionlisterror" var2="1"/>
1595 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001597 </text>
1598
1599 <button>
1600 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1601 <highlight color="%highlight_color%"/>
1602 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001603 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001604 <action function="page">checkpartitionlist</action>
1605 </actions>
1606 </button>
1607
1608 <action>
1609 <touch key="home"/>
1610 <action function="page">main</action>
1611 </action>
1612
1613 <action>
1614 <touch key="back"/>
1615 <action function="page">wipe_type2</action>
1616 </action>
1617 </page>
1618
1619 <page name="partitionoptions">
1620
1621 <template name="page"/>
1622
1623 <template name="statusbar"/>
1624
1625 <text style="text_m">
1626 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001627 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001628 </text>
1629
1630 <text style="text_m_accent">
1631 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001632 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001633 </text>
1634
1635 <text style="text_m_accent">
1636 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001637 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001638 </text>
1639
1640 <text style="text_m">
1641 <condition var1="tw_partition_is_present" var2="1"/>
1642 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001643 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001644 </text>
1645
1646 <text style="text_m">
1647 <condition var1="tw_partition_is_present" var2="0"/>
1648 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001649 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001650 </text>
1651
1652 <text style="text_m">
1653 <condition var1="tw_partition_removable" var2="1"/>
1654 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001655 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001656 </text>
1657
1658 <text style="text_m">
1659 <condition var1="tw_partition_removable" var2="0"/>
1660 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 </text>
1663
1664 <text style="text_m">
1665 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001666 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001667 </text>
1668
1669 <text style="text_m">
1670 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001671 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001672 </text>
1673
1674 <text style="text_m">
1675 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <text style="text_m">
1680 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001681 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </text>
1683
1684 <button style="main_button">
1685 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1686 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001688 <actions>
1689 <action function="set">tw_back=partitionoptions</action>
1690 <action function="set">tw_action=resize</action>
1691 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1692 <action function="set">tw_has_action2=1</action>
1693 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001694 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001695 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001696 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1698 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1699 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001700 <action function="page">confirm_action</action>
1701 </actions>
1702 </button>
1703
1704 <button style="main_button">
1705 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1706 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001707 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001708 <actions>
1709 <action function="set">tw_back=partitionoptions</action>
1710 <action function="set">tw_action=repair</action>
1711 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1712 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001713 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001714 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1716 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1717 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001718 <action function="page">confirm_action</action>
1719 </actions>
1720 </button>
1721
1722 <button>
1723 <placement x="%col1_x_left%" y="%row11_y%"/>
1724 <highlight color="%highlight_color%"/>
1725 <image resource="q_btn_arrow_left"/>
1726 <action function="page">partitionoptions_select</action>
1727 </button>
1728
1729 <button style="main_button">
1730 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001731 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001732 <action function="page">selectfilesystem</action>
1733 </button>
1734
1735 <action>
1736 <touch key="home"/>
1737 <action function="page">main</action>
1738 </action>
1739
1740 <action>
1741 <touch key="back"/>
1742 <action function="page">partitionoptions_select</action>
1743 </action>
1744 </page>
1745
1746 <page name="refreshfilesystem">
1747 <action>
1748 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1749 <actions>
1750 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001751 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001752 <action function="page">selectfilesystem</action>
1753 </actions>
1754 </action>
1755
1756 <action>
1757 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1758 <actions>
1759 <action function="set">partitionlisterror=1</action>
1760 <action function="set">tw_wipe_list=</action>
1761 <action function="page">advancedwipe</action>
1762 </actions>
1763 </action>
1764 </page>
1765
1766 <page name="selectfilesystem">
1767 <template name="page"/>
1768
1769 <template name="statusbar"/>
1770
1771 <text style="text_m">
1772 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001773 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001774 </text>
1775
1776 <button style="main_button">
1777 <condition var1="tw_partition_ext" op="=" var2="1"/>
1778 <placement x="%col1_x_left%" y="%row1_y%"/>
1779 <text>EXT2</text>
1780 <actions>
1781 <action function="set">tw_back=refreshfilesystem</action>
1782 <action function="set">tw_action=changefilesystem</action>
1783 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1784 <action function="set">tw_action_new_file_system=ext2</action>
1785 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1787 <action function="set">tw_text2=EXT2</action>
1788 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1789 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1790 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1791 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1792 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001793 <action function="page">confirm_action</action>
1794 </actions>
1795 </button>
1796
1797 <button style="main_button">
1798 <condition var1="tw_partition_ext" op="=" var2="1"/>
1799 <placement x="%col1_x_left%" y="%row6_y%"/>
1800 <text>EXT3</text>
1801 <actions>
1802 <action function="set">tw_back=refreshfilesystem</action>
1803 <action function="set">tw_action=changefilesystem</action>
1804 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1805 <action function="set">tw_action_new_file_system=ext3</action>
1806 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1808 <action function="set">tw_text2=EXT3</action>
1809 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1810 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1811 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1812 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1813 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001814 <action function="page">confirm_action</action>
1815 </actions>
1816 </button>
1817
1818 <button style="main_button">
1819 <condition var1="tw_partition_ext" op="=" var2="1"/>
1820 <placement x="%col1_x_left%" y="%row11_y%"/>
1821 <text>EXT4</text>
1822 <actions>
1823 <action function="set">tw_back=refreshfilesystem</action>
1824 <action function="set">tw_action=changefilesystem</action>
1825 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1826 <action function="set">tw_action_new_file_system=ext4</action>
1827 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001828 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1829 <action function="set">tw_text2=EXT4</action>
1830 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1831 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1832 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1833 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1834 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001835 <action function="page">confirm_action</action>
1836 </actions>
1837 </button>
1838
1839 <button style="main_button">
1840 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1841 <placement x="%col1_x_right%" y="%row1_y%"/>
1842 <text>FAT</text>
1843 <actions>
1844 <action function="set">tw_back=refreshfilesystem</action>
1845 <action function="set">tw_action=changefilesystem</action>
1846 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1847 <action function="set">tw_action_new_file_system=vfat</action>
1848 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1850 <action function="set">tw_text2=FAT</action>
1851 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1852 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1853 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1854 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1855 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001856 <action function="page">confirm_action</action>
1857 </actions>
1858 </button>
1859
1860 <button style="main_button">
1861 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1862 <placement x="%col1_x_right%" y="%row6_y%"/>
1863 <text>exFAT</text>
1864 <actions>
1865 <action function="set">tw_back=refreshfilesystem</action>
1866 <action function="set">tw_action=changefilesystem</action>
1867 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1868 <action function="set">tw_action_new_file_system=exfat</action>
1869 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1871 <action function="set">tw_text2=exFAT</action>
1872 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1873 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1874 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1875 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1876 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001877 <action function="page">confirm_action</action>
1878 </actions>
1879 </button>
1880
1881 <button style="main_button">
1882 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1883 <placement x="%col1_x_right%" y="%row11_y%"/>
1884 <text>F2FS</text>
1885 <actions>
1886 <action function="set">tw_back=refreshfilesystem</action>
1887 <action function="set">tw_action=changefilesystem</action>
1888 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1889 <action function="set">tw_action_new_file_system=f2fs</action>
1890 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1892 <action function="set">tw_text2=F2FS</action>
1893 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1894 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1895 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1896 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1897 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001898 <action function="page">confirm_action</action>
1899 </actions>
1900 </button>
1901
1902 <action>
1903 <touch key="home"/>
1904 <action function="page">main</action>
1905 </action>
1906
1907 <action>
1908 <touch key="back"/>
1909 <action function="page">partitionoptions</action>
1910 </action>
1911 </page>
1912
bigbiffce8f83c2015-12-12 18:30:21 -05001913 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001914 <template name="page"/>
1915
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001916 <action>
1917 <conditions>
1918 <condition var1="tw_is_fbe" var2="1"/>
1919 <condition var1="tw_all_users_decrypted" var2="0"/>
1920 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1921 </conditions>
1922 <actions>
1923 <action function="set">tw_multiuser_warning_destination=backup</action>
1924 <action function="page">multiuser_warning</action>
1925 </actions>
1926 </action>
1927
z31s1g28f0a922015-11-07 18:50:22 +01001928 <template name="statusbar"/>
1929
1930 <text style="text_m">
1931 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001932 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001933 </text>
1934
1935 <partitionlist style="partitionlist_headerless_rb">
1936 <data name="tw_storage_path"/>
1937 <listtype name="storage"/>
1938 </partitionlist>
1939
1940 <button>
1941 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1942 <highlight color="%highlight_color%"/>
1943 <image resource="q_btn_refresh"/>
1944 <actions>
1945 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001946 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001947 </actions>
1948 </button>
1949
1950 <button>
1951 <condition var1="tw_back" var2="backup_confirm"/>
1952 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1953 <highlight color="%highlight_color%"/>
1954 <image resource="q_btn_accept"/>
1955 <action function="page">backup_confirm</action>
1956 </button>
1957
1958 <button>
1959 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1960 <highlight color="%highlight_color%"/>
1961 <image resource="q_btn_arrow_right"/>
1962 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001963 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001964 <action function="page">backup_selectpartitions</action>
1965 </actions>
1966 </button>
1967
1968 <action>
1969 <touch key="home"/>
1970 <action function="page">main</action>
1971 </action>
1972
1973 <action>
1974 <touch key="back"/>
1975 <action function="page">%tw_back%</action>
1976 </action>
1977
1978 <action>
1979 <touch key="power+voldown"/>
1980 <action function="screenshot"/>
1981 </action>
1982 </page>
1983
1984 <page name="backup_selectpartitions">
1985 <template name="page"/>
1986
1987 <template name="statusbar"/>
1988
1989 <text style="text_m">
1990 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001992 </text>
1993
1994 <partitionlist style="partitionlist_headerless_cb">
1995 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1996 <data name="tw_backup_list"/>
1997 <listtype name="backup"/>
1998 </partitionlist>
1999
2000 <fill color="%accent_color%">
2001 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2002 </fill>
2003
2004 <button>
2005 <placement x="%col1_x_left%" y="%row11_y%"/>
2006 <highlight color="%highlight_color%"/>
2007 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002008 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002009 </button>
2010
2011 <button>
2012 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2013 <highlight color="%highlight_color%"/>
2014 <image resource="q_btn_refresh"/>
2015 <action function="page">backup_selectpartitions</action>
2016 </button>
2017
2018 <button>
2019 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2020 <highlight color="%highlight_color%"/>
2021 <image resource="q_btn_accept"/>
2022 <action function="page">backup_confirm</action>
2023 </button>
2024
2025 <button>
2026 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2027 <highlight color="%highlight_color%"/>
2028 <image resource="q_btn_arrow_right"/>
2029 <actions>
2030 <action function="set">tw_back=backup_selectpartitions</action>
2031 <action function="page">backup_options</action>
2032 </actions>
2033 </button>
2034
2035 <action>
2036 <touch key="home"/>
2037 <action function="page">main</action>
2038 </action>
2039
2040 <action>
2041 <touch key="back"/>
2042 <action function="page">%tw_back%</action>
2043 </action>
2044
2045 <action>
2046 <touch key="power+voldown"/>
2047 <action function="screenshot"/>
2048 </action>
2049 </page>
2050
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002051 <page name="multiuser_warning">
2052 <template name="page"/>
2053
2054 <text style="text_m">
2055 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2056 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2057 </text>
2058
2059 <text style="text_m_fail">
2060 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2061 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2062 </text>
2063
2064 <text style="text_m_fail">
2065 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2066 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2067 </text>
2068
2069 <button style="main_button_full_width">
2070 <placement x="%col1_x_left%" y="%row6_y%"/>
2071 <text>{@decrypt_users=Decrypt Users}</text>
2072 <action function="page">decrypt_users</action>
2073 </button>
2074
2075 <slider>
2076 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2077 <actions>
2078 <action function="set">tw_multiuser_warning_accepted=1</action>
2079 <action function="page">%tw_multiuser_warning_destination%</action>
2080 </actions>
2081 </slider>
2082
2083 <action>
2084 <touch key="home"/>
2085 <action function="page">main</action>
2086 </action>
2087
2088 <action>
2089 <touch key="back"/>
2090 <action function="page">main</action>
2091 </action>
2092 </page>
2093
z31s1g28f0a922015-11-07 18:50:22 +01002094 <page name="backup_options">
2095 <template name="page"/>
2096
2097 <template name="statusbar"/>
2098
2099 <text style="text_m">
2100 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002101 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002102 </text>
2103
2104 <listbox style="scrolllist">
2105 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002107 <data variable="tw_use_compression"/>
2108 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002109 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2110 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002111 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002112 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002113 <data variable="tw_disable_free_space"/>
2114 </listitem>
2115 </listbox>
2116
2117 <button>
2118 <placement x="%col1_x_left%" y="%row11_y%"/>
2119 <highlight color="%highlight_color%"/>
2120 <image resource="q_btn_arrow_left"/>
2121 <action function="page">backup_selectpartitions</action>
2122 </button>
2123
2124 <button>
2125 <conditions>
2126 <condition var1="tw_include_encrypted_backup" var2="1"/>
2127 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002128 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002129 </conditions>
2130 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2131 <highlight color="%highlight_color%"/>
2132 <image resource="q_btn_encryption_dis"/>
2133 <actions>
2134 <action function="set">tw_password_not_match=0</action>
2135 <action function="set">tw_back=backup_options</action>
2136 <action function="page">backupencryption</action>
2137 </actions>
2138 </button>
2139
2140 <button>
2141 <conditions>
2142 <condition var1="tw_include_encrypted_backup" var2="1"/>
2143 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002144 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002145 </conditions>
2146 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2147 <highlight color="%highlight_color%"/>
2148 <image resource="q_btn_encryption_en"/>
2149 <actions>
2150 <action function="set">tw_password_not_match=0</action>
2151 <action function="set">tw_back=backup_options</action>
2152 <action function="page">backupencryption</action>
2153 </actions>
2154 </button>
2155
2156 <button>
2157 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2158 <highlight color="%highlight_color%"/>
2159 <image resource="q_btn_accept_transp"/>
2160 <actions>
2161 <action function="set">tw_back=backup_options</action>
2162 <action function="page">backup_confirm</action>
2163 </actions>
2164 </button>
2165
2166 <action>
2167 <touch key="home"/>
2168 <action function="page">main</action>
2169 </action>
2170
2171 <action>
2172 <touch key="back"/>
2173 <action function="page">%tw_back%</action>
2174 </action>
2175
2176 <action>
2177 <touch key="power+voldown"/>
2178 <action function="screenshot"/>
2179 </action>
2180 </page>
2181
2182 <page name="backup_confirm">
2183 <template name="page"/>
2184
2185 <template name="statusbar"/>
2186
2187 <text style="text_m">
2188 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002189 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 </text>
2191
2192 <text style="text_m_accent">
2193 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002194 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002195 </text>
2196
2197 <text style="text_m">
2198 <placement x="%col1_x_left%" y="%row2_y%"/>
2199 <text>%tw_backup_name%</text>
2200 </text>
2201
2202 <fill color="%accent_color%">
2203 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2204 </fill>
2205
2206 <button>
2207 <fill color="%transparent%"/>
2208 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2209 <actions>
2210 <action function="set">tw_back=backup_confirm</action>
2211 <action function="set">tw_fileexists=0</action>
2212 <action function="page">backup_name1</action>
2213 </actions>
2214 </button>
2215
2216 <fill color="%background_color%">
2217 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2218 </fill>
2219
2220 <text style="text_m_accent">
2221 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002222 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002223 </text>
2224
2225 <partitionlist style="partitionlist_summary">
2226 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2227 <data name="tw_backup_list"/>
2228 <listtype name="backup"/>
2229 </partitionlist>
2230
2231 <button>
2232 <fill color="%transparent%"/>
2233 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2234 <actions>
2235 <action function="set">tw_back=backup_confirm</action>
2236 <action function="page">backup_selectpartitions</action>
2237 </actions>
2238 </button>
2239
2240 <text style="text_m_accent">
2241 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 </text>
2244
2245 <text style="text_m">
2246 <placement x="%col1_x_right%" y="%row2_y%"/>
2247 <text>%tw_storage_display_name%</text>
2248 </text>
2249
2250 <button>
2251 <fill color="%transparent%"/>
2252 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2253 <actions>
2254 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002255 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002256 </actions>
2257 </button>
2258
2259 <text style="text_m_accent">
2260 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002261 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002262 </text>
2263
2264 <text style="text_m">
2265 <conditions>
2266 <condition var1="tw_include_encrypted_backup" var2="1"/>
2267 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002268 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002269 </conditions>
2270 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002271 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002272 </text>
2273
2274 <text style="text_m">
2275 <conditions>
2276 <condition var1="tw_include_encrypted_backup" var2="1"/>
2277 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002278 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </conditions>
2280 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 </text>
2283
2284 <button>
2285 <fill color="%transparent%"/>
2286 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2287 <actions>
2288 <action function="set">tw_back=backup_confirm</action>
2289 <action function="page">backupencryption</action>
2290 </actions>
2291 </button>
2292
2293 <listbox style="listbox_options">
2294 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002296 <data variable="tw_use_compression"/>
2297 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002298 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2299 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002300 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002301 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002302 <data variable="tw_disable_free_space"/>
2303 </listitem>
2304 </listbox>
2305
2306 <text style="text_m_accent">
2307 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002308 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002309 </text>
2310
2311 <button>
2312 <fill color="%transparent%"/>
2313 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2314 <actions>
2315 <action function="set">tw_back=backup_confirm</action>
2316 <action function="page">backup_options</action>
2317 </actions>
2318 </button>
2319
2320 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 <action function="page">backup_run</action>
2323 </slider>
2324
2325 <action>
2326 <touch key="home"/>
2327 <action function="page">main</action>
2328 </action>
2329
2330 <action>
2331 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002332 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002333 </action>
2334 </page>
2335
2336 <page name="backup_name1">
2337 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002338 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002339 <action function="generatebackupname"/>
2340 </action>
2341
2342 <action>
2343 <action function="page">backup_name2</action>
2344 </action>
2345 </page>
2346
2347 <page name="backup_name2">
2348 <template name="page"/>
2349
2350 <template name="statusbar"/>
2351
2352 <text style="text_m">
2353 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002354 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002355 </text>
2356
2357 <text style="text_m_accent">
2358 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </text>
2361
2362 <input>
2363 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2364 <text>%tw_backup_name%</text>
2365 <data name="tw_backup_name"/>
2366 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2367 <actions>
2368 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2369 <action function="set">tw_existpage=backup_name2</action>
2370 <action function="set">tw_notexistpage=backup_confirm</action>
2371 <action function="page">filecheck</action>
2372 </actions>
2373 </input>
2374
2375 <fill color="%accent_color%">
2376 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2377 </fill>
2378
2379 <fill color="%text_fail_color%">
2380 <condition var1="tw_fileexists" var2="1"/>
2381 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2382 </fill>
2383
2384 <text style="text_m_fail">
2385 <condition var1="tw_fileexists" var2="1"/>
2386 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002387 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002388 </text>
2389
2390 <button style="main_button_half_height">
2391 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002395 <action function="page">backup_confirm</action>
2396 </actions>
2397 </button>
2398
2399 <button style="main_button_half_height">
2400 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002401 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002402 <action function="appenddatetobackupname"/>
2403 </button>
2404
2405 <template name="keyboardtemplate"/>
2406
2407 <action>
2408 <touch key="home"/>
2409 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002410 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002411 <action function="page">main</action>
2412 </actions>
2413 </action>
2414
2415 <action>
2416 <touch key="back"/>
2417 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002418 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002419 <action function="page">backup_confirm</action>
2420 </actions>
2421 </action>
2422 </page>
2423
2424 <page name="backupencryption">
2425 <template name="page"/>
2426
2427 <template name="statusbar"/>
2428
2429 <text style="text_m">
2430 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002431 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002432 </text>
2433
2434 <text style="text_m_accent">
2435 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002436 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002437 </text>
2438
2439 <input>
2440 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2441 <text>%tw_backup_encrypt_display%</text>
2442 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2443 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2444 <action function="page">backupencryption2</action>
2445 </input>
2446
2447 <fill color="%accent_color%">
2448 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2449 </fill>
2450
2451 <fill color="%text_fail_color%">
2452 <condition var1="tw_password_not_match" var2="1"/>
2453 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2454 </fill>
2455
2456 <text style="text_m_fail">
2457 <condition var1="tw_password_not_match" var2="1"/>
2458 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002459 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002460 </text>
2461
2462 <button style="main_button_half_height">
2463 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002465 <actions>
2466 <action function="set">tw_encrypt_backup=0</action>
2467 <action function="set">tw_backup_password=</action>
2468 <action function="set">tw_backup_password2=</action>
2469 <action function="set">tw_backup_encrypt_display=</action>
2470 <action function="set">tw_backup_encrypt_display2=</action>
2471 <action function="page">%tw_back%</action>
2472 </actions>
2473 </button>
2474
2475 <template name="keyboardtemplate"/>
2476
2477 <action>
2478 <touch key="home"/>
2479 <action function="page">main</action>
2480 </action>
2481
2482 <action>
2483 <touch key="back"/>
2484 <action function="page">%tw_back%</action>
2485 </action>
2486 </page>
2487
2488 <page name="backupencryption2">
2489 <template name="page"/>
2490
2491 <template name="statusbar"/>
2492
2493 <text style="text_m">
2494 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002495 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002496 </text>
2497
2498 <text style="text_m_accent">
2499 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002500 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002501 </text>
2502
2503 <input>
2504 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2505 <text>%tw_backup_encrypt_display2%</text>
2506 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2507 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2508 <action function="page">checkbackuppassword</action>
2509 </input>
2510
2511 <fill color="%accent_color%">
2512 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2513 </fill>
2514
2515 <button style="main_button_half_height">
2516 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002517 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002518 <actions>
2519 <action function="set">tw_encrypt_backup=0</action>
2520 <action function="set">tw_backup_password=</action>
2521 <action function="set">tw_backup_password2=</action>
2522 <action function="set">tw_backup_encrypt_display=</action>
2523 <action function="set">tw_backup_encrypt_display2=</action>
2524 <action function="page">%tw_back%</action>
2525 </actions>
2526 </button>
2527
2528 <template name="keyboardtemplate"/>
2529
2530 <action>
2531 <touch key="home"/>
2532 <action function="page">main</action>
2533 </action>
2534
2535 <action>
2536 <touch key="back"/>
2537 <action function="page">%tw_back%</action>
2538 </action>
2539 </page>
2540
2541 <page name="checkbackuppassword">
2542 <action>
2543 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2544 <actions>
2545 <action function="set">tw_encrypt_backup=1</action>
2546 <action function="page">%tw_back%</action>
2547 </actions>
2548 </action>
2549
2550 <action>
2551 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2552 <actions>
2553 <action function="set">tw_encrypt_backup=0</action>
2554 <action function="set">tw_password_not_match=1</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">backupencryption</action>
2560 </actions>
2561 </action>
2562 </page>
2563
2564 <page name="backup_run">
2565 <template name="page"/>
2566
2567 <template name="statusbar"/>
2568
2569 <text style="text_m">
2570 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2571 <text>%tw_operation% %tw_partition%</text>
2572 </text>
2573
2574 <template name="console"/>
2575
2576 <template name="progress_bar"/>
2577
2578 <text style="text_m">
2579 <placement x="%indent%" y="%row13a_y%"/>
2580 <text>%tw_file_progress%</text>
2581 </text>
2582
2583 <text style="text_m">
2584 <placement x="%indent%" y="%row14a_y%"/>
2585 <text>%tw_size_progress%</text>
2586 </text>
2587
2588 <button style="main_button_half_height">
2589 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002590 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002591 <action function="cancelbackup"/>
2592 </button>
2593
2594 <action>
2595 <action function="nandroid">backup</action>
2596 </action>
2597
2598 <action>
2599 <condition var1="tw_operation_state" var2="1"/>
2600 <condition var1="tw_cancel_backup" var2="0"/>
2601 <actions>
2602 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002603 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002604 <action function="set">tw_show_reboot=1</action>
2605 <action function="page">action_complete</action>
2606 </actions>
2607 </action>
2608
2609 <action>
2610 <condition var1="tw_operation_state" var2="1"/>
2611 <condition var1="tw_cancel_backup" var2="1"/>
2612 <actions>
2613 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002615 <action function="set">tw_show_reboot=1</action>
2616 <action function="page">action_complete</action>
2617 </actions>
2618 </action>
2619 </page>
2620
2621 <page name="restore">
2622 <template name="page"/>
2623
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002624 <action>
2625 <conditions>
2626 <condition var1="tw_is_fbe" var2="1"/>
2627 <condition var1="tw_all_users_decrypted" var2="0"/>
2628 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2629 </conditions>
2630 <actions>
2631 <action function="set">tw_multiuser_warning_destination=restore</action>
2632 <action function="page">multiuser_warning</action>
2633 </actions>
2634 </action>
2635
z31s1g28f0a922015-11-07 18:50:22 +01002636 <template name="statusbar"/>
2637
2638 <text style="text_m">
2639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 </text>
2642
2643 <fileselector>
2644 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2645 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002646 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002647 <path name="tw_backups_folder"/>
2648 <data name="tw_restore" default=""/>
2649 <selection name="tw_restore_name"/>
2650 </fileselector>
2651
2652 <button>
2653 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2654 <highlight color="%highlight_color%"/>
2655 <image resource="q_btn_storage"/>
2656 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002657 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002658 <action function="set">tw_back=restore</action>
2659 <action function="page">select_storage</action>
2660 </actions>
2661 </button>
2662
2663 <action>
2664 <condition var1="tw_restore" op="modified"/>
2665 <actions>
2666 <action function="readBackup"/>
2667 <action function="set">tw_back=restore</action>
2668 <action function="page">restore_read</action>
2669 </actions>
2670 </action>
2671
2672 <action>
2673 <touch key="home"/>
2674 <action function="page">main</action>
2675 </action>
2676
2677 <action>
2678 <touch key="back"/>
2679 <action function="page">main</action>
2680 </action>
2681 </page>
2682
2683 <page name="restore_read">
2684 <action>
2685 <condition var1="tw_restore_encrypted" var2="1"/>
2686 <actions>
2687 <action function="set">tw_password_fail=0</action>
2688 <action function="page">restore_decrypt</action>
2689 </actions>
2690 </action>
2691
2692 <action>
2693 <condition var1="tw_restore_encrypted" var2="0"/>
2694 <actions>
2695 <action function="page">restore_select</action>
2696 </actions>
2697 </action>
2698 </page>
2699
2700 <page name="restore_decrypt">
2701 <template name="page"/>
2702
2703 <template name="statusbar"/>
2704
2705 <text style="text_m">
2706 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002707 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002708 </text>
2709
2710 <text style="text_m_accent">
2711 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002712 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002713 </text>
2714
2715 <input>
2716 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2717 <text>%tw_restore_display%</text>
2718 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2719 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2720 <action function="page">try_restore_decrypt</action>
2721 </input>
2722
2723 <fill color="%accent_color%">
2724 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2725 </fill>
2726
2727 <fill color="%text_fail_color%">
2728 <condition var1="tw_password_fail" var2="1"/>
2729 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2730 </fill>
2731
2732 <text style="text_m_fail">
2733 <condition var1="tw_password_fail" var2="1"/>
2734 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002735 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002736 </text>
2737
2738 <button style="main_button_half_height">
2739 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002740 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002741 <actions>
2742 <action function="set">tw_page_done=1</action>
2743 <action function="page">restore</action>
2744 </actions>
2745 </button>
2746
2747 <button style="main_button_half_height">
2748 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002749 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002750 <actions>
2751 <action function="set">tw_back=restore</action>
2752 <action function="set">tw_action=cmd</action>
2753 <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 -05002754 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2755 <action function="set">tw_text2=%tw_restore_name%</action>
2756 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2757 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2758 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2759 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002760 <action function="page">confirm_action</action>
2761 </actions>
2762 </button>
2763
2764 <template name="keyboardtemplate"/>
2765
2766 <action>
2767 <touch key="home"/>
2768 <action function="page">main</action>
2769 </action>
2770
2771 <action>
2772 <touch key="back"/>
2773 <action function="page">restore</action>
2774 </action>
2775 </page>
2776
2777 <page name="try_restore_decrypt">
2778 <template name="page"/>
2779
2780 <template name="statusbar"/>
2781
2782 <text style="text_m">
2783 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002784 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002785 </text>
2786
2787 <template name="console"/>
2788
2789 <template name="progress_bar"/>
2790
2791 <action>
2792 <action function="decrypt_backup"/>
2793 </action>
2794
2795 <action>
2796 <conditions>
2797 <condition var1="tw_operation_state" var2="1"/>
2798 <condition var1="tw_operation_status" op="!=" var2="0"/>
2799 </conditions>
2800 <actions>
2801 <action function="set">tw_password_fail=1</action>
2802 <action function="page">restore_decrypt</action>
2803 </actions>
2804 </action>
2805
2806 <action>
2807 <conditions>
2808 <condition var1="tw_operation_state" var2="1"/>
2809 <condition var1="tw_operation_status" op="=" var2="0"/>
2810 </conditions>
2811 <actions>
2812 <action function="set">tw_page_done=1</action>
2813 <action function="page">restore_select</action>
2814 </actions>
2815 </action>
2816 </page>
2817
2818 <page name="restore_select">
2819 <template name="page"/>
2820
2821 <template name="statusbar"/>
2822
2823 <text style="text_m">
2824 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002825 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002826 </text>
2827
2828 <partitionlist style="partitionlist_headerless_cb">
2829 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2830 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2831 <listtype name="restore"/>
2832 </partitionlist>
2833
2834 <fill color="%accent_color%">
2835 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2836 </fill>
2837
2838 <button>
2839 <placement x="%col1_x_left%" y="%row11_y%"/>
2840 <highlight color="%highlight_color%"/>
2841 <image resource="q_btn_arrow_left"/>
2842 <action function="page">restore</action>
2843 </button>
2844
2845 <button>
2846 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2847 <highlight color="%highlight_color%"/>
2848 <image resource="q_btn_delete"/>
2849 <actions>
2850 <action function="set">tw_back=restore</action>
2851 <action function="set">tw_action=cmd</action>
2852 <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 -05002853 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002855 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2856 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2857 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2858 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002859 <action function="page">confirm_action</action>
2860 </actions>
2861 </button>
2862
2863 <button>
2864 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2865 <highlight color="%highlight_color%"/>
2866 <image resource="q_btn_accept"/>
2867 <action function="page">restore_confirm</action>
2868 </button>
2869
2870 <button>
2871 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2872 <highlight color="%highlight_color%"/>
2873 <image resource="q_btn_arrow_right"/>
2874 <actions>
2875 <action function="set">tw_back=restore_select</action>
2876 <action function="page">restore_options</action>
2877 </actions>
2878 </button>
2879
2880 <action>
2881 <touch key="home"/>
2882 <action function="page">main</action>
2883 </action>
2884
2885 <action>
2886 <touch key="back"/>
2887 <action function="page">%tw_back%</action>
2888 </action>
2889 </page>
2890
2891 <page name="restore_options">
2892 <template name="page"/>
2893
2894 <template name="statusbar"/>
2895
2896 <text style="text_m">
2897 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002898 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002899 </text>
2900
2901 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002902 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002903 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002904 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2905 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002906 </listitem>
2907 </listbox>
2908
2909 <button>
2910 <placement x="%col1_x_left%" y="%row11_y%"/>
2911 <highlight color="%highlight_color%"/>
2912 <image resource="q_btn_arrow_left"/>
2913 <action function="page">restore_select</action>
2914 </button>
2915
2916 <button>
2917 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2918 <highlight color="%highlight_color%"/>
2919 <image resource="q_btn_accept_transp"/>
2920 <actions>
2921 <action function="set">tw_back=restore_options</action>
2922 <action function="page">restore_confirm</action>
2923 </actions>
2924 </button>
2925
2926 <action>
2927 <touch key="home"/>
2928 <action function="page">main</action>
2929 </action>
2930
2931 <action>
2932 <touch key="back"/>
2933 <action function="page">%tw_back%</action>
2934 </action>
2935
2936 <action>
2937 <touch key="power+voldown"/>
2938 <action function="screenshot"/>
2939 </action>
2940 </page>
2941
2942 <page name="renamebackup">
2943 <template name="page"/>
2944
2945 <template name="statusbar"/>
2946
2947 <text style="text_m">
2948 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002950 </text>
2951
2952 <text style="text_m_accent">
2953 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 </text>
2956
2957 <input>
2958 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2959 <text>%tw_backup_rename%</text>
2960 <data name="tw_backup_rename"/>
2961 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2962 <actions>
2963 <action function="set">tw_back=restore</action>
2964 <action function="set">tw_action=cmd</action>
2965 <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 -05002966 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2967 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2968 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2969 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2970 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002971 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2972 <action function="set">tw_existpage=renamebackup</action>
2973 <action function="set">tw_notexistpage=confirm_action</action>
2974 <action function="page">filecheck</action>
2975 </actions>
2976 </input>
2977
2978 <fill color="%accent_color%">
2979 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2980 </fill>
2981
2982 <fill color="%text_fail_color%">
2983 <condition var1="tw_fileexists" var2="1"/>
2984 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2985 </fill>
2986
2987 <text style="text_m_fail">
2988 <condition var1="tw_fileexists" var2="1"/>
2989 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <button style="main_button_half_height">
2994 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <action function="page">restore_confirm</action>
2997 </button>
2998
2999 <template name="keyboardtemplate"/>
3000
3001 <action>
3002 <touch key="home"/>
3003 <action function="page">main</action>
3004 </action>
3005
3006 <action>
3007 <touch key="back"/>
3008 <action function="page">restore_confirm</action>
3009 </action>
3010 </page>
3011
3012 <page name="restore_confirm">
3013 <template name="page"/>
3014
3015 <template name="statusbar"/>
3016
3017 <text style="text_m">
3018 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 </text>
3021
3022 <text style="text_m_accent">
3023 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 </text>
3026
3027 <text style="text_m">
3028 <placement x="%indent%" y="%row2_y%"/>
3029 <text>%tw_restore_name%</text>
3030 </text>
3031
3032 <fill color="%accent_color%">
3033 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3034 </fill>
3035
3036 <button>
3037 <fill color="%transparent%"/>
3038 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3039 <actions>
3040 <action function="set">tw_back=restore_confirm</action>
3041 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3042 <action function="set">tw_fileexists=0</action>
3043 <action function="page">renamebackup</action>
3044 </actions>
3045 </button>
3046
3047 <text style="text_m_accent">
3048 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003049 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003050 </text>
3051
3052 <partitionlist style="partitionlist_summary">
3053 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3054 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3055 <listtype name="restore"/>
3056 </partitionlist>
3057
3058 <button>
3059 <fill color="%transparent%"/>
3060 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3061 <actions>
3062 <action function="set">tw_back=restore_confirm</action>
3063 <action function="page">restore_select</action>
3064 </actions>
3065 </button>
3066
3067 <listbox style="listbox_options">
3068 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003069 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3070 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003071 </listitem>
3072 </listbox>
3073
3074 <text style="text_m_accent">
3075 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003077 </text>
3078
3079 <button>
3080 <fill color="%transparent%"/>
3081 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3082 <actions>
3083 <action function="set">tw_back=restore_confirm</action>
3084 <action function="page">restore_options</action>
3085 </actions>
3086 </button>
3087
3088 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003089 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003090 <action function="page">restore_run</action>
3091 </slider>
3092
3093 <action>
3094 <touch key="home"/>
3095 <action function="page">main</action>
3096 </action>
3097
3098 <action>
3099 <touch key="back"/>
3100 <action function="page">restore_options</action>
3101 </action>
3102 </page>
3103
3104 <page name="restore_run">
3105 <template name="page"/>
3106
3107 <template name="statusbar"/>
3108
3109 <text style="text_m">
3110 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3111 <text>%tw_operation% %tw_partition%</text>
3112 </text>
3113
3114 <template name="console"/>
3115
3116 <template name="progress_bar"/>
3117
3118 <text style="text_m">
3119 <placement x="%indent%" y="%row14a_y%"/>
3120 <text>%tw_size_progress%</text>
3121 </text>
3122
3123 <action>
3124 <condition var1="tw_operation_state" var2="1"/>
3125 <actions>
3126 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003127 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <action function="set">tw_show_reboot=1</action>
3129 <action function="page">action_complete</action>
3130 </actions>
3131 </action>
3132
3133 <action>
3134 <action function="nandroid">restore</action>
3135 </action>
3136 </page>
3137
3138 <page name="mount">
3139 <template name="page"/>
3140
3141 <template name="statusbar"/>
3142
3143 <text style="text_m">
3144 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 </text>
3147
3148 <partitionlist style="partitionlist_headerless_cb">
3149 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3150 <listtype name="mount"/>
3151 </partitionlist>
3152
3153 <fill color="%accent_color%">
3154 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3155 </fill>
3156
3157 <button style="checkbox">
3158 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3159 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <image resource="checkbox_false"/>
3162 <action function="mountsystemtoggle">1</action>
3163 </button>
3164
3165 <button style="checkbox">
3166 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3167 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 <image resource="checkbox_true"/>
3170 <actions>
3171 <action function="set">tw_lifetime_writes=2</action>
3172 <action function="page">system_readonly_check</action>
3173 </actions>
3174 </button>
3175
3176 <button style="checkbox">
3177 <conditions>
3178 <condition var1="tw_has_mtp" var2="1"/>
3179 <condition var1="tw_mtp_enabled" var2="0"/>
3180 </conditions>
3181 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3182 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <action function="startmtp"/>
3185 </button>
3186
3187 <button style="checkbox">
3188 <conditions>
3189 <condition var1="tw_has_mtp" var2="1"/>
3190 <condition var1="tw_mtp_enabled" var2="1"/>
3191 </conditions>
3192 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3193 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="stopmtp"/>
3196 </button>
3197
3198 <button>
3199 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3200 <highlight color="%highlight_color%"/>
3201 <image resource="q_btn_storage"/>
3202 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <action function="set">tw_back=mount</action>
3205 <action function="page">select_storage</action>
3206 </actions>
3207 </button>
3208
3209 <button>
3210 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3211 <highlight color="%highlight_color%"/>
3212 <image resource="q_btn_arrow_right"/>
3213 <action function="page">mount_options</action>
3214 </button>
3215
3216 <action>
3217 <touch key="home"/>
3218 <action function="page">main</action>
3219 </action>
3220
3221 <action>
3222 <touch key="back"/>
3223 <action function="page">main</action>
3224 </action>
3225 </page>
3226
3227 <page name="mount_options">
3228 <template name="page"/>
3229
3230 <template name="statusbar"/>
3231
3232 <text style="text_m">
3233 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 </text>
3236
3237 <button style="main_button_full_width">
3238 <condition var1="tw_has_usb_storage" var2="1"/>
3239 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003240 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003241 <action function="page">usb_mount</action>
3242 </button>
3243
3244 <button style="main_button_full_width">
3245 <conditions>
3246 <condition var1="tw_is_encrypted" var2="1"/>
3247 <condition var1="tw_is_decrypted" var2="0"/>
3248 </conditions>
3249 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003251 <action function="set">tw_crypto_user_id=0</action>
3252 <action function="set">tw_crypto_password=</action>
3253 <action function="set">tw_password_fail=0</action>
3254 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003255 <action function="page">decrypt</action>
3256 </button>
3257
3258 <button>
3259 <placement x="%col1_x_left%" y="%row11_y%"/>
3260 <highlight color="%highlight_color%"/>
3261 <image resource="q_btn_arrow_left"/>
3262 <action function="page">mount</action>
3263 </button>
3264
3265 <action>
3266 <touch key="home"/>
3267 <action function="page">main</action>
3268 </action>
3269
3270 <action>
3271 <touch key="back"/>
3272 <action function="page">mount</action>
3273 </action>
3274 </page>
3275
3276 <page name="usb_mount">
3277 <template name="page"/>
3278
3279 <template name="statusbar"/>
3280
3281 <text style="text_m">
3282 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003283 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 </text>
3285
3286 <text style="text_m_accent">
3287 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m_fail">
3292 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m_fail">
3297 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <button style="main_button">
3302 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 <action function="page">usb_umount</action>
3305 </button>
3306
3307 <action>
3308 <action function="mount">usb</action>
3309 <action function="set">tw_busy=1</action>
3310 </action>
3311 </page>
3312
3313 <page name="usb_umount">
3314 <action>
3315 <action function="unmount">usb</action>
3316 </action>
3317
3318 <action>
3319 <action function="page">mount_options</action>
3320 <action function="set">tw_busy=0</action>
3321 </action>
3322 </page>
3323
3324 <page name="system_readonly_check">
3325 <action>
3326 <action function="checkpartitionlifetimewrites">/system</action>
3327 </action>
3328
3329 <action>
3330 <condition var1="tw_lifetime_writes" var2="1"/>
3331 <actions>
3332 <action function="mountsystemtoggle">0</action>
3333 <action function="page">mount</action>
3334 </actions>
3335 </action>
3336
3337 <action>
3338 <condition var1="tw_lifetime_writes" var2="0"/>
3339 <actions>
3340 <action function="set">tw_back=mount</action>
3341 <action function="page">system_readonly</action>
3342 </actions>
3343 </action>
3344 </page>
3345
3346 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003347 <action>
3348 <action function="checkforapp"></action>
3349 <action function="page">reboot2</action>
3350 </action>
3351 </page>
3352
3353 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003354 <template name="page"/>
3355
3356 <template name="statusbar"/>
3357
3358 <text style="text_m">
3359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003360 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003361 </text>
3362
3363 <button style="main_button">
3364 <condition var1="tw_reboot_system" var2="1"/>
3365 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <actions>
3368 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003369 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003370 </actions>
3371 </button>
3372
3373 <button style="main_button">
3374 <condition var1="tw_reboot_poweroff" var2="1"/>
3375 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003377 <actions>
3378 <action function="set">tw_back=reboot</action>
3379 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003380 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003381 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003382 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003383 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3384 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3385 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3386 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3387 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003388 <action function="page">rebootcheck</action>
3389 </actions>
3390 </button>
3391
3392 <button style="main_button">
3393 <condition var1="tw_reboot_recovery" var2="1"/>
3394 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 <actions>
3397 <action function="set">tw_back=reboot</action>
3398 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003399 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003400 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003401 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003402 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3403 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3404 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3405 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3406 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <action function="page">rebootcheck</action>
3408 </actions>
3409 </button>
3410
3411 <button style="main_button">
3412 <condition var1="tw_reboot_bootloader" var2="1"/>
3413 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003414 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003415 <actions>
3416 <action function="set">tw_back=reboot</action>
3417 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003418 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003419 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003420 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3422 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3423 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3424 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3425 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003426 <action function="page">rebootcheck</action>
3427 </actions>
3428 </button>
3429
3430 <button style="main_button">
3431 <condition var1="tw_download_mode" var2="1"/>
3432 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <actions>
3435 <action function="set">tw_back=reboot</action>
3436 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003437 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003438 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003439 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003440 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3441 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3442 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3443 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3444 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003445 <action function="page">rebootcheck</action>
3446 </actions>
3447 </button>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003448
mauronofrioe9a49ef2018-10-03 13:38:16 +02003449 <button style="main_button">
3450 <condition var1="tw_edl_mode" var2="1"/>
3451 <placement x="%col1_x_right%" y="%row11_y%"/>
3452 <text>{@rb_edl_btn=Edl}</text>
3453 <actions>
3454 <action function="set">tw_back=reboot</action>
3455 <action function="set">tw_action=reboot</action>
3456 <action function="set">tw_action_param=edl</action>
3457 <action function="set">tw_reboot_param=edl</action>
3458 <action function="set">tw_has_action2=0</action>
3459 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3460 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3461 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3462 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3463 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3464 <action function="page">rebootcheck</action>
3465 </actions>
3466 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003467
3468 <action>
3469 <touch key="home"/>
3470 <action function="page">main</action>
3471 </action>
3472
3473 <action>
3474 <touch key="back"/>
3475 <action function="page">main</action>
3476 </action>
3477 </page>
3478
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003479 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003480 <template name="page"/>
3481
3482 <template name="statusbar"/>
3483
3484 <text style="text_m">
3485 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003486 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003487 </text>
3488
3489 <text style="text_m_accent">
3490 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3491 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3492 </text>
3493
3494 <text style="text_m">
3495 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3496 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3497 </text>
3498
3499 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003500 <condition var1="tw_mount_system_ro" var2="0"/>
3501 <placement x="%indent%" y="%row5_y%"/>
3502 <text>{@reboot_install_app_system=Install as a System App}</text>
3503 <data variable="tw_app_install_system"/>
3504 </checkbox>
3505
3506 <button style="main_button_half_height">
3507 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003508 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003509 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003510 </button>
3511
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003512 <slider>
3513 <text>{@swipe_confirm= Confirm}</text>
3514 <actions>
3515 <action function="set">tw_action=installapp</action>
3516 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3517 <action function="set">tw_action_text2=</action>
3518 <action function="set">tw_complete_text1={@successful=Successful}</action>
3519 <action function="page">action_page</action>
3520 </actions>
3521 </slider>
3522
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003523 <action>
3524 <touch key="home"/>
3525 <actions>
3526 <action function="set">tw_app_install_status=0</action>
3527 <action function="page">main</action>
3528 </actions>
3529 </action>
3530
3531 <action>
3532 <touch key="back"/>
3533 <actions>
3534 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003535 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003536 </actions>
3537 </action>
3538 </page>
3539
z31s1g28f0a922015-11-07 18:50:22 +01003540 <page name="system_readonly">
3541 <template name="page"/>
3542
3543 <template name="statusbar"/>
3544
3545 <text style="text_m">
3546 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003547 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003548 </text>
3549
3550 <text style="text_m_accent">
3551 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003553 </text>
3554
3555 <text style="text_m">
3556 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 </text>
3559
3560 <text style="text_m">
3561 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003562 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003563 </text>
3564
3565 <text style="text_m">
3566 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 </text>
3569
3570 <text style="text_m">
3571 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 </text>
3574
3575 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003576 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </text>
3579
3580 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003581 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
z31s1g608d7ff2016-01-18 19:47:25 +01003585 <button style="main_button_half_height">
3586 <placement x="%col1_x_right%" y="%row8a_y%"/>
3587 <text>{@sel_lang_btn=Select Language}</text>
3588 <action function="page">settings_language</action>
3589 </button>
3590
z31s1g28f0a922015-11-07 18:50:22 +01003591 <checkbox>
3592 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003593 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003595 <data variable="tw_never_show_system_ro_page"/>
3596 </checkbox>
3597
3598 <button style="main_button_half_height">
3599 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 <actions>
3602 <action function="mountsystemtoggle">1</action>
3603 <action function="set">tw_page_done=1</action>
3604 <action function="page">%tw_back%</action>
3605 </actions>
3606 </button>
3607
3608 <button style="main_button_half_height">
3609 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003610 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003611 <actions>
3612 <action function="mountsystemtoggle">0</action>
3613 <action function="set">tw_page_done=1</action>
3614 <action function="page">%tw_back%</action>
3615 </actions>
3616 </button>
3617 </page>
3618
3619 <page name="settings">
3620 <template name="page"/>
3621
3622 <template name="statusbar"/>
3623
3624 <text style="text_m">
3625 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003627 </text>
3628
3629 <button style="main_button">
3630 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 <action function="page">settings_general</action>
3633 </button>
3634
3635 <button style="main_button">
3636 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 <action function="page">settings_timezone</action>
3639 </button>
3640
3641 <button style="main_button">
3642 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003644 <action function="page">settings_screen</action>
3645 </button>
3646
3647 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003648 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 <action function="page">settings_vibration</action>
3652 </button>
3653
3654 <button style="main_button">
3655 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003657 <action function="page">settings_language</action>
3658 </button>
3659
3660 <button>
3661 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3662 <highlight color="%highlight_color%"/>
3663 <image resource="q_btn_reset"/>
3664 <action function="restoredefaultsettings"/>
3665 </button>
3666
3667 <action>
3668 <touch key="home"/>
3669 <action function="page">main</action>
3670 </action>
3671
3672 <action>
3673 <touch key="back"/>
3674 <action function="page">main3</action>
3675 </action>
3676 </page>
3677
3678 <page name="settings_general">
3679 <template name="page"/>
3680
3681 <template name="statusbar"/>
3682
3683 <text style="text_m">
3684 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003686 </text>
3687
3688 <listbox style="scrolllist">
3689 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003691 <data variable="tw_signed_zip_verify"/>
3692 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003693 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3694 <data variable="tw_install_reboot"/>
3695 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003697 <data variable="tw_rm_rf"/>
3698 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003699 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3700 <data variable="tw_disable_free_space"/>
3701 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003702 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3703 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003705 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3706 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003709 <data variable="tw_military_time"/>
3710 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003711 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003712 <data variable="tw_simulate_actions"/>
3713 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003714 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003715 <data variable="tw_simulate_fail"/>
3716 <condition var1="tw_simulate_actions" var2="1"/>
3717 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003718 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3719 <condition var1="tw_no_sha2" var2="0"/>
3720 <data variable="tw_use_sha2"/>
3721 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003722 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3723 <data variable="tw_unmount_system"/>
3724 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003725 </listbox>
3726
3727 <action>
3728 <touch key="home"/>
3729 <action function="page">main</action>
3730 </action>
3731
3732 <action>
3733 <touch key="back"/>
3734 <action function="page">settings</action>
3735 </action>
3736 </page>
3737
3738 <page name="settings_timezone">
3739 <template name="page"/>
3740
3741 <template name="statusbar"/>
3742
3743 <text style="text_m">
3744 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 </text>
3747
3748 <text color="%text_color%">
3749 <font resource="font_m"/>
3750 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3751 <text>%tw_time%</text>
3752 </text>
3753
3754 <listbox style="listbox_headerless">
3755 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3756 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3758 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3759 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3760 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3761 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3762 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3763 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3764 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3765 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3766 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3767 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3768 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3769 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3770 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3771 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3772 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3773 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3774 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3775 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3776 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3777 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3778 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3779 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3780 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003781 </listbox>
3782
3783 <button>
3784 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3785 <highlight color="%highlight_color%"/>
3786 <image resource="q_btn_arrow_right"/>
3787 <actions>
3788 <action function="setguitimezone"/>
3789 <action function="page">settings_timezone2</action>
3790 </actions>
3791 </button>
3792
3793 <action>
3794 <condition var1="tw_time_zone_guisel" op="modified"/>
3795 <action function="setguitimezone"/>
3796 </action>
3797
3798 <action>
3799 <touch key="home"/>
3800 <actions>
3801 <action function="page">main</action>
3802 <action function="setguitimezone"/>
3803 </actions>
3804 </action>
3805
3806 <action>
3807 <touch key="back"/>
3808 <actions>
3809 <action function="page">settings</action>
3810 <action function="setguitimezone"/>
3811 </actions>
3812 </action>
3813
3814 <action>
3815 <touch key="power+voldown"/>
3816 <action function="screenshot"/>
3817 </action>
3818 </page>
3819
3820 <page name="settings_timezone2">
3821 <template name="page"/>
3822
3823 <template name="statusbar"/>
3824
3825 <text style="text_m">
3826 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003827 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003828 </text>
3829
3830 <text color="%text_color%">
3831 <font resource="font_m"/>
3832 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3833 <text>%tw_time%</text>
3834 </text>
3835
3836 <checkbox>
3837 <placement x="%col1_x_left%" y="%row1_y%"/>
3838 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003839 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003840 <data variable="tw_time_zone_guidst"/>
3841 <image checked="checkbox_true" unchecked="checkbox_false"/>
3842 </checkbox>
3843
3844 <text style="text_m_accent">
3845 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003846 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003847 </text>
3848
3849 <button style="main_button_quarter_width">
3850 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 <actions>
3853 <action function="set">tw_time_zone_guioffset=0</action>
3854 <action function="setguitimezone"/>
3855 </actions>
3856 </button>
3857
3858 <button style="main_button_quarter_width">
3859 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 <actions>
3862 <action function="set">tw_time_zone_guioffset=15</action>
3863 <action function="setguitimezone"/>
3864 </actions>
3865 </button>
3866
3867 <button style="main_button_quarter_width">
3868 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 <actions>
3871 <action function="set">tw_time_zone_guioffset=30</action>
3872 <action function="setguitimezone"/>
3873 </actions>
3874 </button>
3875
3876 <button style="main_button_quarter_width">
3877 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003878 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003879 <actions>
3880 <action function="set">tw_time_zone_guioffset=45</action>
3881 <action function="setguitimezone"/>
3882 </actions>
3883 </button>
3884
3885 <button>
3886 <placement x="%col1_x_left%" y="%row11_y%"/>
3887 <highlight color="%highlight_color%"/>
3888 <image resource="q_btn_arrow_left"/>
3889 <actions>
3890 <action function="setguitimezone"/>
3891 <action function="page">settings_timezone</action>
3892 </actions>
3893 </button>
3894
3895 <text style="text_m_accent">
3896 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </text>
3899
3900 <text style="text_m">
3901 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3902 <text>%tw_time_zone%</text>
3903 </text>
3904
3905 <action>
3906 <condition var1="tw_time_zone_guidst" op="modified"/>
3907 <action function="setguitimezone"/>
3908 </action>
3909
3910 <action>
3911 <touch key="home"/>
3912 <actions>
3913 <action function="setguitimezone"/>
3914 <action function="page">main</action>
3915 </actions>
3916 </action>
3917
3918 <action>
3919 <touch key="back"/>
3920 <actions>
3921 <action function="setguitimezone"/>
3922 <action function="page">settings_timezone</action>
3923 </actions>
3924 </action>
3925 </page>
3926
3927 <page name="settings_screen">
3928 <template name="page"/>
3929
3930 <template name="statusbar"/>
3931
3932 <text style="text_m">
3933 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003934 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003935 </text>
3936
3937 <button style="checkbox">
3938 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3939 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3940 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <image resource="checkbox_false"/>
3943 <action function="set">tw_screen_timeout_secs=60</action>
3944 </button>
3945
3946 <button style="checkbox">
3947 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3948 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3949 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 <image resource="checkbox_true"/>
3952 <action function="set">tw_screen_timeout_secs=0</action>
3953 </button>
3954
3955 <slidervalue>
3956 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3957 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3960 </slidervalue>
3961
3962 <text style="text_m_fail">
3963 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3964 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 </text>
3967
3968 <button>
3969 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3970 <highlight color="%highlight_color%"/>
3971 <image resource="q_btn_arrow_right"/>
3972 <action function="page">settings_screen2</action>
3973 </button>
3974
3975 <action>
3976 <touch key="home"/>
3977 <action function="page">main</action>
3978 </action>
3979
3980 <action>
3981 <touch key="back"/>
3982 <action function="page">settings</action>
3983 </action>
3984 </page>
3985
3986 <page name="settings_screen2">
3987 <template name="page"/>
3988
3989 <template name="statusbar"/>
3990
3991 <text style="text_m">
3992 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003994 </text>
3995
3996 <slidervalue>
3997 <condition var1="tw_has_brightnesss_file" var2="1"/>
3998 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004000 <data variable="tw_brightness_pct" min="10" max="100"/>
4001 <actions>
4002 <action function="set">tw_brightness=%tw_brightness_max%</action>
4003 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4004 <action function="compute">tw_brightness/100</action>
4005 <action function="setbrightness">%tw_brightness%</action>
4006 </actions>
4007 </slidervalue>
4008
4009 <text style="text_m_fail">
4010 <condition var1="tw_has_brightnesss_file" var2="0"/>
4011 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004012 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004013 </text>
4014
4015 <button>
4016 <placement x="%col1_x_left%" y="%row11_y%"/>
4017 <highlight color="%highlight_color%"/>
4018 <image resource="q_btn_arrow_left"/>
4019 <action function="page">settings_screen</action>
4020 </button>
4021
4022 <action>
4023 <touch key="home"/>
4024 <action function="page">main</action>
4025 </action>
4026
4027 <action>
4028 <touch key="back"/>
4029 <action function="page">settings</action>
4030 </action>
4031 </page>
4032
4033 <page name="settings_vibration">
4034 <template name="page"/>
4035
4036 <template name="statusbar"/>
4037
4038 <text style="text_m">
4039 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004040 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004041 </text>
4042
4043 <slidervalue>
4044 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 <data variable="tw_button_vibrate" min="0" max="300"/>
4047 </slidervalue>
4048
4049 <button>
4050 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4051 <highlight color="%highlight_color%"/>
4052 <image resource="q_btn_arrow_right"/>
4053 <action function="page">settings_vibration2</action>
4054 </button>
4055
4056 <action>
4057 <touch key="home"/>
4058 <action function="page">main</action>
4059 </action>
4060
4061 <action>
4062 <touch key="back"/>
4063 <action function="page">settings</action>
4064 </action>
4065 </page>
4066
4067 <page name="settings_vibration2">
4068 <template name="page"/>
4069
4070 <template name="statusbar"/>
4071
4072 <text style="text_m">
4073 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 </text>
4076
4077 <slidervalue>
4078 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4081 </slidervalue>
4082
4083 <button>
4084 <placement x="%col1_x_left%" y="%row11_y%"/>
4085 <highlight color="%highlight_color%"/>
4086 <image resource="q_btn_arrow_left"/>
4087 <action function="page">settings_vibration</action>
4088 </button>
4089
4090 <button>
4091 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4092 <highlight color="%highlight_color%"/>
4093 <image resource="q_btn_arrow_right"/>
4094 <action function="page">settings_vibration3</action>
4095 </button>
4096
4097 <action>
4098 <touch key="home"/>
4099 <action function="page">main</action>
4100 </action>
4101
4102 <action>
4103 <touch key="back"/>
4104 <action function="page">settings</action>
4105 </action>
4106 </page>
4107
4108 <page name="settings_vibration3">
4109 <template name="page"/>
4110
4111 <template name="statusbar"/>
4112
4113 <text style="text_m">
4114 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 </text>
4117
4118 <slidervalue>
4119 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004121 <data variable="tw_action_vibrate" min="0" max="500"/>
4122 </slidervalue>
4123
4124 <button>
4125 <placement x="%col1_x_left%" y="%row11_y%"/>
4126 <highlight color="%highlight_color%"/>
4127 <image resource="q_btn_arrow_left"/>
4128 <action function="page">settings_vibration2</action>
4129 </button>
4130
4131 <action>
4132 <touch key="home"/>
4133 <action function="page">main</action>
4134 </action>
4135
4136 <action>
4137 <touch key="back"/>
4138 <action function="page">settings</action>
4139 </action>
4140 </page>
4141
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <page name="settings_language">
4143 <template name="page"/>
4144
4145 <template name="statusbar"/>
4146
4147 <text style="text_m">
4148 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4149 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4150 </text>
4151
z31s1g608d7ff2016-01-18 19:47:25 +01004152 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4154 <icon selected="radio_true" unselected="radio_false" />
4155 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004156 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004157
4158 <button>
4159 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4160 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004161 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162 <action function="setlanguage"></action>
4163 </button>
4164
z31s1g608d7ff2016-01-18 19:47:25 +01004165 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004166 <touch key="home" />
4167 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004168 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004169
z31s1g608d7ff2016-01-18 19:47:25 +01004170 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <touch key="back" />
4172 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174 </page>
4175
z31s1g28f0a922015-11-07 18:50:22 +01004176 <page name="advanced">
4177 <template name="page"/>
4178
4179 <template name="statusbar"/>
4180
4181 <text style="text_m">
4182 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004184 </text>
4185
4186 <button style="main_button">
4187 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004189 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004190 </button>
4191
4192 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004193 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004194 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004195 <text>{@fix_context_btn=Fix Contexts}</text>
4196 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004197 </button>
4198
Ethan Yonker64e0a652018-07-25 09:52:17 -05004199 <button>
4200 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4201 <highlight color="%highlight_color%"/>
4202 <image resource="q_btn_arrow_right"/>
4203 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004204 </button>
4205
Ethan Yonker64e0a652018-07-25 09:52:17 -05004206 <action>
4207 <touch key="home"/>
4208 <action function="page">main</action>
4209 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004210
Ethan Yonker64e0a652018-07-25 09:52:17 -05004211 <action>
4212 <touch key="back"/>
4213 <action function="page">main3</action>
4214 </action>
4215 </page>
4216
4217 <page name="advanced2">
4218 <template name="page"/>
4219
4220 <template name="statusbar"/>
4221
4222 <text style="text_m">
4223 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4224 <text>{@advanced_hdr=Advanced}</text>
4225 </text>
4226
4227 <listbox style="advanced_listbox">
4228 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04004229 <listitem name="{@decrypt_users=Decrypt Users}">
4230 <conditions>
4231 <condition var1="tw_is_fbe" var2="1"/>
4232 <condition var1="tw_all_users_decrypted" var2="0"/>
4233 </conditions>
4234 <actions>
4235 <action function="set">tw_crypto_user_id=</action>
4236 <action function="page">decrypt_users</action>
4237 </actions>
4238 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004239 <listitem name="{@reload_theme_btn=Reload Theme}">
4240 <action function="reload"/>
4241 </listitem>
4242 <listitem name="{@part_sd_btn=Partition SD Card}">
4243 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4244 <actions>
4245 <action function="set">partitionlisterror=0</action>
4246 <action function="page">partsdcardsel</action>
4247 </actions>
4248 </listitem>
4249 <listitem name="{@dumlock_btn=HTC Dumlock}">
4250 <condition var1="tw_show_dumlock" var2="1"/>
4251 <action function="page">htcdumlock</action>
4252 </listitem>
4253 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4254 <condition var1="tw_has_injecttwrp" var2="1"/>
4255 <actions>
4256 <action function="set">tw_back=advanced</action>
4257 <action function="set">tw_action=reinjecttwrp</action>
4258 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4259 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4260 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4261 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4262 <action function="page">confirm_action</action>
4263 </actions>
4264 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004265 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4266 <conditions>
4267 <condition var1="tw_has_boot_slots" var2="1"/>
4268 <condition var1="tw_has_repack_tools" var2="1"/>
4269 </conditions>
4270 <actions>
4271 <action function="set">tw_repack_kernel=0</action>
4272 <action function="page">repackselect</action>
4273 </actions>
4274 </listitem>
4275 <listitem name="{@install_kernel=Install Kernel}">
4276 <conditions>
4277 <condition var1="tw_has_boot_slots" var2="1"/>
4278 <condition var1="tw_has_repack_tools" var2="1"/>
4279 </conditions>
4280 <actions>
4281 <action function="set">tw_repack_kernel=1</action>
4282 <action function="page">repackselect</action>
4283 </actions>
4284 </listitem>
4285 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4286 <conditions>
4287 <condition var1="tw_has_boot_slots" var2="1"/>
4288 <condition var1="tw_has_repack_tools" var2="1"/>
4289 </conditions>
4290 <actions>
4291 <action function="set">tw_back=advanced</action>
4292 <action function="set">tw_action=fixabrecoverybootloop</action>
4293 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4294 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4295 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4296 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4297 <action function="page">confirm_action</action>
4298 </actions>
4299 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004300 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4301 <condition var1="tw_app_install_status" var2="1"/>
4302 <actions>
4303 <action function="set">tw_back=advanced2</action>
4304 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4305 <action function="page">installapp</action>
4306 </actions>
4307 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004308 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4309 <condition var1="tw_app_installed_in_system" var2="1"/>
4310 <actions>
4311 <action function="set">tw_back=advanced</action>
4312 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4313 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4314 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4315 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4316 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4317 <action function="page">confirm_action</action>
4318 </actions>
4319 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004320 </listbox>
4321
4322 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004323 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004324 <highlight color="%highlight_color%"/>
4325 <image resource="q_btn_arrow_left"/>
4326 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004327 </button>
4328
4329 <action>
4330 <touch key="home"/>
4331 <action function="page">main</action>
4332 </action>
4333
4334 <action>
4335 <touch key="back"/>
4336 <action function="page">main3</action>
4337 </action>
4338 </page>
4339
Ethan Yonker483e9f42016-01-11 22:21:18 -06004340 <page name="partsdcardsel">
4341 <template name="page"/>
4342
4343 <template name="statusbar"/>
4344
4345 <text style="text_m">
4346 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4347 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4348 </text>
4349
4350 <partitionlist style="partitionlist_headerless_rb">
4351 <data name="tw_storage_path"/>
4352 <listtype name="storage"/>
4353 </partitionlist>
4354
4355 <text style="text_m_fail">
4356 <condition var1="partitionlisterror" var2="1"/>
4357 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4358 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4359 </text>
4360
4361 <button>
4362 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4363 <highlight color="%highlight_color%"/>
4364 <image resource="q_btn_refresh"/>
4365 <action function="refreshsizes"/>
4366 </button>
4367
4368 <button>
4369 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4370 <highlight color="%highlight_color%"/>
4371 <image resource="q_btn_accept"/>
4372 <actions>
4373 <action function="getpartitiondetails">tw_storage_path</action>
4374 <action function="page">partsdcardcheck</action>
4375 </actions>
4376 </button>
4377
4378 <action>
4379 <touch key="home"/>
4380 <action function="page">main</action>
4381 </action>
4382
4383 <action>
4384 <touch key="back"/>
4385 <action function="page">advanced</action>
4386 </action>
4387 </page>
4388
4389 <page name="partsdcardcheck">
4390 <action>
4391 <condition var1="tw_partition_removable" op="=" var2="1"/>
4392 <actions>
4393 <action function="set">partitionlisterror=0</action>
4394 <action function="page">partsdcard</action>
4395 </actions>
4396 </action>
4397
4398 <action>
4399 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4400 <actions>
4401 <action function="set">partitionlisterror=1</action>
4402 <action function="page">partsdcardsel</action>
4403 </actions>
4404 </action>
4405 </page>
4406
z31s1g28f0a922015-11-07 18:50:22 +01004407 <page name="partsdcard">
4408 <template name="page"/>
4409
4410 <template name="statusbar"/>
4411
4412 <text style="text_m">
4413 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004415 </text>
4416
4417 <text style="text_m_fail">
4418 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004420 </text>
4421
4422 <text style="text_m_fail">
4423 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m_accent">
4428 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m">
4433 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4434 <text>%tw_sdext_size%</text>
4435 </text>
4436
4437 <button style="main_button_quarter_width">
4438 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004440 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004441 </button>
4442
4443 <button style="main_button_quarter_width">
4444 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004446 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </button>
4448
4449 <button>
4450 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4451 <highlight color="%highlight_color%"/>
4452 <image resource="q_btn_arrow_right"/>
4453 <action function="page">partsdcard2</action>
4454 </button>
4455
4456 <action>
4457 <touch key="home"/>
4458 <action function="page">main</action>
4459 </action>
4460
4461 <action>
4462 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004463 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004464 </action>
4465 </page>
4466
4467 <page name="partsdcard2">
4468 <template name="page"/>
4469
4470 <template name="statusbar"/>
4471
4472 <text style="text_m">
4473 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004474 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004475 </text>
4476
4477 <text style="text_m_fail">
4478 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </text>
4481
4482 <text style="text_m_fail">
4483 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </text>
4486
4487 <text style="text_m_accent">
4488 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004489 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004490 </text>
4491
4492 <text style="text_m">
4493 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4494 <text>%tw_swap_size%</text>
4495 </text>
4496
4497 <button style="main_button_quarter_width">
4498 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004499 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004500 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004501 </button>
4502
4503 <button style="main_button_quarter_width">
4504 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004506 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </button>
4508
4509 <button>
4510 <placement x="%col1_x_left%" y="%row11_y%"/>
4511 <highlight color="%highlight_color%"/>
4512 <image resource="q_btn_arrow_left"/>
4513 <action function="page">partsdcard</action>
4514 </button>
4515
4516 <button>
4517 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4518 <highlight color="%highlight_color%"/>
4519 <image resource="q_btn_arrow_right"/>
4520 <action function="page">partsdcard3</action>
4521 </button>
4522
4523 <action>
4524 <touch key="home"/>
4525 <action function="page">main</action>
4526 </action>
4527
4528 <action>
4529 <touch key="back"/>
4530 <action function="page">advanced</action>
4531 </action>
4532 </page>
4533
4534 <page name="partsdcard3">
4535 <template name="page"/>
4536
4537 <template name="statusbar"/>
4538
4539 <text style="text_m">
4540 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004541 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004542 </text>
4543
4544 <text style="text_m_fail">
4545 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004547 </text>
4548
4549 <text style="text_m_fail">
4550 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 </text>
4553
4554 <text style="text_m_accent">
4555 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004556 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004557 </text>
4558
4559 <text style="text_m">
4560 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4561 <text>%tw_sdpart_file_system%</text>
4562 </text>
4563
4564 <button style="main_button_quarter_width">
4565 <placement x="%indent%" y="%row6_y%"/>
4566 <text>EXT3</text>
4567 <action function="set">tw_sdpart_file_system=ext3</action>
4568 </button>
4569
4570 <button style="main_button_quarter_width">
4571 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4572 <text>EXT4</text>
4573 <action function="set">tw_sdpart_file_system=ext4</action>
4574 </button>
4575
4576 <button>
4577 <placement x="%col1_x_left%" y="%row11_y%"/>
4578 <highlight color="%highlight_color%"/>
4579 <image resource="q_btn_arrow_left"/>
4580 <action function="page">partsdcard2</action>
4581 </button>
4582
4583 <button>
4584 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4585 <highlight color="%highlight_color%"/>
4586 <image resource="q_btn_arrow_right"/>
4587 <action function="page">partsdcard_confirm</action>
4588 </button>
4589
4590 <action>
4591 <touch key="home"/>
4592 <action function="page">main</action>
4593 </action>
4594
4595 <action>
4596 <touch key="back"/>
4597 <action function="page">advanced</action>
4598 </action>
4599 </page>
4600
4601 <page name="partsdcard_confirm">
4602 <template name="page"/>
4603
4604 <template name="statusbar"/>
4605
4606 <text style="text_m">
4607 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004608 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </text>
4610
4611 <text style="text_m_fail">
4612 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004614 </text>
4615
4616 <text style="text_m_fail">
4617 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004618 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </text>
4620
4621 <text style="text_m_accent">
4622 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <text style="text_m_accent">
4627 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 </text>
4630
4631 <text style="text_m_accent">
4632 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004633 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 </text>
4635
4636 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 <action function="page">partsdcardaction</action>
4639 <actions>
4640 <action function="set">tw_back=partsdcard</action>
4641 <action function="set">tw_action=partitionsd</action>
4642 <action function="set">tw_has_action2=1</action>
4643 <action function="set">tw_action2=set</action>
4644 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4646 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4647 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004648 <action function="page">action_page</action>
4649 </actions>
4650 </slider>
4651
4652 <action>
4653 <touch key="home"/>
4654 <action function="page">main</action>
4655 </action>
4656
4657 <action>
4658 <touch key="back"/>
4659 <action function="page">advanced</action>
4660 </action>
4661 </page>
4662
4663 <page name="htcdumlock">
4664 <template name="page"/>
4665
4666 <template name="statusbar"/>
4667
4668 <text style="text_m">
4669 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004670 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <button style="main_button_full_width">
4674 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 <actions>
4677 <action function="set">tw_back=htcdumlock</action>
4678 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4680 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4681 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4682 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004683 <action function="page">confirm_action</action>
4684 </actions>
4685 </button>
4686
4687 <button style="main_button_full_width">
4688 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004689 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004690 <actions>
4691 <action function="set">tw_back=htcdumlock</action>
4692 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004693 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4694 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4695 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4696 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004697 <action function="page">confirm_action</action>
4698 </actions>
4699 </button>
4700
4701 <button style="main_button_full_width">
4702 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004703 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004704 <actions>
4705 <action function="set">tw_back=htcdumlock</action>
4706 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4708 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4709 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4710 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004711 <action function="page">confirm_action</action>
4712 </actions>
4713 </button>
4714
4715 <action>
4716 <touch key="home"/>
4717 <action function="page">main</action>
4718 </action>
4719
4720 <action>
4721 <touch key="back"/>
4722 <action function="page">advanced</action>
4723 </action>
4724 </page>
4725
Ethan Yonker53796e72019-01-11 22:49:52 -06004726 <page name="repackselect">
4727 <template name="page"/>
4728
4729 <template name="statusbar"/>
4730
4731 <text style="text_m">
4732 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4733 <text>{@repack_image_hdr=Select Image}</text>
4734 </text>
4735
4736 <fileselector>
4737 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4738 <text>%tw_zip_location%</text>
4739 <filter extn=".img" folders="1" files="1"/>
4740 <path name="tw_zip_location" default="/sdcard"/>
4741 <data name="tw_filename"/>
4742 <selection name="tw_file"/>
4743 </fileselector>
4744
4745 <button>
4746 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4747 <highlight color="%highlight_color%"/>
4748 <image resource="q_btn_storage"/>
4749 <actions>
4750 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4751 <action function="set">tw_back=install</action>
4752 <action function="page">select_storage</action>
4753 </actions>
4754 </button>
4755
4756 <action>
4757 <conditions>
4758 <condition var1="tw_filename" op="modified"/>
4759 </conditions>
4760 <action function="page">repackconfirm</action>
4761 </action>
4762
4763 <action>
4764 <touch key="back"/>
4765 <action function="page">advanced</action>
4766 </action>
4767
4768 <action>
4769 <touch key="home"/>
4770 <action function="page">main</action>
4771 </action>
4772 </page>
4773
4774 <page name="repackconfirm">
4775 <template name="page"/>
4776
4777 <template name="statusbar"/>
4778
4779 <text style="text_m">
4780 <condition var1="tw_repack_kernel" var2="1"/>
4781 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4782 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4783 </text>
4784
4785 <text style="text_m">
4786 <condition var1="tw_repack_kernel" var2="0"/>
4787 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4788 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4789 </text>
4790
4791 <text style="text_m_accent">
4792 <placement x="%indent%" y="%row2_y%"/>
4793 <text>{@folder=Folder:}</text>
4794 </text>
4795
4796 <text style="text_m">
4797 <placement x="%indent%" y="%row3_y%"/>
4798 <text>%tw_zip_location%</text>
4799 </text>
4800
4801 <text style="text_m_accent">
4802 <placement x="%indent%" y="%row4_y%"/>
4803 <text>{@file=File:}</text>
4804 </text>
4805
4806 <text style="text_m">
4807 <placement x="%indent%" y="%row5_y%"/>
4808 <text>%tw_file%</text>
4809 </text>
4810
4811 <checkbox>
4812 <placement x="%indent%" y="%row7_y%"/>
4813 <text>{@repack_backup_first=Back up existing image first}</text>
4814 <data variable="tw_repack_backup_first"/>
4815 </checkbox>
4816
4817 <slider>
4818 <text>{@swipe_to_install=Swipe to Install}</text>
4819 <actions>
4820 <action function="set">tw_back=advanced</action>
4821 <action function="set">tw_action=repackimage</action>
4822 <action function="set">tw_action_param=/boot</action>
4823 <action function="set">tw_action_text1={@installing=Installing...}</action>
4824 <action function="set">tw_action_text2=</action>
4825 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4826 <action function="page">action_page</action>
4827 </actions>
4828 </slider>
4829
4830 <action>
4831 <touch key="back"/>
4832 <action function="page">repackselect</action>
4833 </action>
4834
4835 <action>
4836 <touch key="home"/>
4837 <action function="page">main</action>
4838 </action>
4839 </page>
4840
z31s1g28f0a922015-11-07 18:50:22 +01004841 <page name="lock">
4842 <background color="%semi_transparent%"/>
4843
4844 <image>
4845 <image resource="unlock_icon"/>
4846 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4847 </image>
4848
4849 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004850 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004851 <action function="overlay"/>
4852 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004853
4854 <action>
4855 <touch key="power"/>
4856 <action function="togglebacklight"/>
4857 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004858 </page>
4859
4860 <page name="filemanagerlist">
4861 <template name="page"/>
4862
4863 <template name="statusbar"/>
4864
4865 <text style="text_m">
4866 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004867 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004868 </text>
4869
4870 <fileselector>
4871 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4872 <text>%tw_file_location1%</text>
4873 <filter folders="1" files="1"/>
4874 <path name="tw_file_location1" default="/"/>
4875 <data name="tw_filename1"/>
4876 <selection name="tw_selection1"/>
4877 </fileselector>
4878
4879 <button>
4880 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4881 <highlight color="%highlight_color%"/>
4882 <image resource="q_btn_folder"/>
4883 <actions>
4884 <action function="set">tw_filename1=tw_file_location1</action>
4885 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004886 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004887 <action function="page">filemanageroptions</action>
4888 </actions>
4889 </button>
4890
4891 <action>
4892 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004893 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004894 <action function="set">tw_fm_isfolder=0</action>
4895 </actions>
4896 </action>
4897
4898 <action>
4899 <touch key="home"/>
4900 <action function="page">main</action>
4901 </action>
4902
4903 <action>
4904 <touch key="back"/>
4905 <action function="page">main3</action>
4906 </action>
4907
4908 <action>
4909 <condition var1="tw_filename1" op="modified"/>
4910 <action function="page">filemanageroptions</action>
4911 </action>
4912 </page>
4913
4914 <page name="filemanageroptions">
4915 <template name="page"/>
4916
4917 <template name="statusbar"/>
4918
4919 <text style="text_m">
4920 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004921 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004922 </text>
4923
4924 <button style="main_button">
4925 <condition var1="tw_fm_isfolder" var2="0"/>
4926 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004927 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004928 <actions>
4929 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004930 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004931 <action function="page">choosedestinationfolder</action>
4932 </actions>
4933 </button>
4934
4935 <button style="main_button">
4936 <condition var1="tw_fm_isfolder" var2="1"/>
4937 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004938 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004939 <actions>
4940 <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 -05004941 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004942 <action function="page">choosedestinationfolder</action>
4943 </actions>
4944 </button>
4945
4946 <button style="main_button">
4947 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004948 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004949 <actions>
4950 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004951 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004952 <action function="page">choosedestinationfolder</action>
4953 </actions>
4954 </button>
4955
4956 <button style="main_button">
4957 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004958 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004959 <actions>
4960 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004961 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004962 <action function="set">tw_fm_text2=</action>
4963 <action function="set">tw_fm_text3=</action>
4964 <action function="set">tw_include_text3=0</action>
4965 <action function="set">tw_back=filemanageroptions</action>
4966 <action function="page">filemanagerconfirm</action>
4967 </actions>
4968 </button>
4969
4970 <button style="main_button">
4971 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004972 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004973 <actions>
4974 <action function="set">tw_filemanager_rename=0000</action>
4975 <action function="set">tw_fm_text2=</action>
4976 <action function="set">tw_fm_text3=</action>
4977 <action function="set">tw_include_text3=0</action>
4978 <action function="set">tw_back=filemanageroptions</action>
4979 <action function="page">filemanagerchmod</action>
4980 </actions>
4981 </button>
4982
4983 <button style="main_button">
4984 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004985 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004986 <actions>
4987 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004988 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004989 <action function="set">tw_fm_text2=</action>
4990 <action function="set">tw_fm_text3=</action>
4991 <action function="set">tw_include_text3=0</action>
4992 <action function="set">tw_back=filemanageroptions</action>
4993 <action function="page">filemanagerconfirm</action>
4994 </actions>
4995 </button>
4996
4997 <button style="main_button">
4998 <condition var1="tw_fm_isfolder" var2="0"/>
4999 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005000 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005001 <actions>
5002 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005003 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005004 <action function="set">tw_filemanager_command=mv</action>
5005 <action function="page">filemanagerrenamefile</action>
5006 </actions>
5007 </button>
5008
5009 <button style="main_button">
5010 <condition var1="tw_fm_isfolder" var2="1"/>
5011 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005012 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005013 <actions>
5014 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005015 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005016 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5017 <action function="page">filemanagerrenamefolder</action>
5018 </actions>
5019 </button>
5020
5021 <action>
5022 <touch key="home"/>
5023 <action function="page">main</action>
5024 </action>
5025
5026 <action>
5027 <touch key="back"/>
5028 <action function="page">filemanagerlist</action>
5029 </action>
5030 </page>
5031
5032 <page name="choosedestinationfolder">
5033 <template name="page"/>
5034
5035 <template name="statusbar"/>
5036
5037 <text style="text_m">
5038 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005039 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005040 </text>
5041
5042 <fileselector>
5043 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5044 <text>%tw_file_location2%</text>
5045 <filter folders="1" files="0"/>
5046 <path name="tw_file_location2" default="/"/>
5047 <data name="tw_filename2"/>
5048 <selection name="tw_selection2"/>
5049 </fileselector>
5050
5051 <button>
5052 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5053 <highlight color="%highlight_color%"/>
5054 <image resource="q_btn_folder"/>
5055 <actions>
5056 <action function="set">tw_fm_text2=to</action>
5057 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5058 <action function="set">tw_include_text3=1</action>
5059 <action function="set">tw_back=filemanageroptions</action>
5060 <action function="page">filemanagerconfirm</action>
5061 </actions>
5062 </button>
5063
5064 <action>
5065 <touch key="home"/>
5066 <action function="page">main</action>
5067 </action>
5068
5069 <action>
5070 <touch key="back"/>
5071 <action function="page">filemanageroptions</action>
5072 </action>
5073 </page>
5074
5075 <page name="filemanagerrenamefile">
5076 <template name="page"/>
5077
5078 <template name="statusbar"/>
5079
5080 <text style="text_m">
5081 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005082 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005083 </text>
5084
5085 <text style="text_m_accent">
5086 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005087 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005088 </text>
5089
5090 <input>
5091 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5092 <text>%tw_filemanager_rename%</text>
5093 <data name="tw_filemanager_rename"/>
5094 <restrict minlen="1" maxlen="128"/>
5095 <actions>
5096 <action function="set">tw_fm_text2=to</action>
5097 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5098 <action function="set">tw_include_text3=1</action>
5099 <action function="set">tw_back=filemanageroptions</action>
5100 <action function="page">filemanagerconfirm</action>
5101 </actions>
5102 </input>
5103
5104 <fill color="%accent_color%">
5105 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5106 </fill>
5107
5108 <button style="main_button_half_height">
5109 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005110 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005111 <action function="page">filemanageroptions</action>
5112 </button>
5113
5114 <template name="keyboardtemplate"/>
5115
5116 <action>
5117 <touch key="home"/>
5118 <action function="page">main</action>
5119 </action>
5120
5121 <action>
5122 <touch key="back"/>
5123 <action function="page">filemanageroptions</action>
5124 </action>
5125 </page>
5126
5127 <page name="filemanagerrenamefolder">
5128 <template name="page"/>
5129
5130 <template name="statusbar"/>
5131
5132 <text style="text_m">
5133 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005134 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005135 </text>
5136
5137 <text style="text_m_accent">
5138 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005139 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005140 </text>
5141
5142 <input>
5143 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5144 <text>%tw_filemanager_rename%</text>
5145 <data name="tw_filemanager_rename"/>
5146 <restrict minlen="1" maxlen="128"/>
5147 <actions>
5148 <action function="set">tw_fm_text2=to</action>
5149 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5150 <action function="set">tw_include_text3=1</action>
5151 <action function="set">tw_back=filemanageroptions</action>
5152 <action function="page">filemanagerconfirm</action>
5153 </actions>
5154 </input>
5155
5156 <fill color="%accent_color%">
5157 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5158 </fill>
5159
5160 <button style="main_button_half_height">
5161 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005162 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005163 <action function="page">filemanageroptions</action>
5164 </button>
5165
5166 <template name="keyboardtemplate"/>
5167
5168 <action>
5169 <touch key="home"/>
5170 <action function="page">main</action>
5171 </action>
5172
5173 <action>
5174 <touch key="back"/>
5175 <action function="page">filemanageroptions</action>
5176 </action>
5177 </page>
5178
5179 <page name="filemanagerchmod">
5180 <template name="page"/>
5181
5182 <template name="statusbar"/>
5183
5184 <text style="text_m">
5185 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005186 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005187 </text>
5188
5189 <text style="text_m_accent">
5190 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005191 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005192 </text>
5193
5194 <input>
5195 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5196 <text>%tw_filemanager_rename%</text>
5197 <data name="tw_filemanager_rename"/>
5198 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5199 <actions>
5200 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5201 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5202 <action function="set">tw_back=filemanageroptions</action>
5203 <action function="page">filemanagerconfirm</action>
5204 </actions>
5205 </input>
5206
5207 <fill color="%accent_color%">
5208 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5209 </fill>
5210
5211 <button style="main_button_half_height">
5212 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005213 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005214 <action function="page">filemanageroptions</action>
5215 </button>
5216
5217 <template name="keyboardtemplate"/>
5218
5219 <action>
5220 <touch key="home"/>
5221 <action function="page">main</action>
5222 </action>
5223
5224 <action>
5225 <touch key="back"/>
5226 <action function="page">filemanageroptions</action>
5227 </action>
5228 </page>
5229
5230 <page name="filemanagerconfirm">
5231 <template name="page"/>
5232
5233 <template name="statusbar"/>
5234
5235 <text style="text_m">
5236 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005237 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005238 </text>
5239
5240 <text style="text_m_accent">
5241 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5242 <text>%tw_fm_text1%</text>
5243 </text>
5244
5245 <text style="text_m">
5246 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5247 <text>%tw_filename1%</text>
5248 </text>
5249
5250 <text style="text_m_accent">
5251 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5252 <text>%tw_fm_text2%</text>
5253 </text>
5254
5255 <text style="text_m">
5256 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5257 <text>%tw_fm_text3%</text>
5258 </text>
5259
5260 <text style="text_m">
5261 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005262 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005263 </text>
5264
5265 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005266 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005267 <action function="page">filemanageraction</action>
5268 </slider>
5269
5270 <action>
5271 <touch key="back"/>
5272 <action function="page">%tw_back%</action>
5273 </action>
5274
5275 <action>
5276 <touch key="home"/>
5277 <action function="page">main</action>
5278 </action>
5279 </page>
5280
5281 <page name="filemanageraction">
5282 <template name="page"/>
5283
5284 <template name="statusbar"/>
5285
5286 <text style="text_m">
5287 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005288 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005289 </text>
5290
5291 <template name="console"/>
5292
5293 <template name="progress_bar"/>
5294
5295 <action>
5296 <conditions>
5297 <condition var1="tw_operation_state" var2="1"/>
5298 <condition var1="tw_operation_status" var2="0"/>
5299 </conditions>
5300 <actions>
5301 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005302 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005303 <action function="page">action_complete</action>
5304 </actions>
5305 </action>
5306
5307 <action>
5308 <conditions>
5309 <condition var1="tw_operation_state" var2="1"/>
5310 <condition var1="tw_operation_status" op="!=" var2="0"/>
5311 </conditions>
5312 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005313 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005314 <action function="page">action_complete</action>
5315 </actions>
5316 </action>
5317
5318 <action>
5319 <condition var1="tw_include_text3" var2="0"/>
5320 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5321 </action>
5322
5323 <action>
5324 <condition var1="tw_include_text3" var2="1"/>
5325 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5326 </action>
5327 </page>
5328
5329 <page name="decrypt">
5330 <template name="page"/>
5331
5332 <template name="statusbar"/>
5333
5334 <action>
5335 <condition var1="tw_crypto_pwtype" var2="2"/>
5336 <action function="page">decrypt_pattern</action>
5337 </action>
5338
5339 <text style="text_m">
5340 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005341 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005342 </text>
5343
5344 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005345 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005346 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005347 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005348 </text>
5349
Noah Jacobson5a79f672019-04-28 00:10:07 -04005350 <text style="text_m_accent">
5351 <condition var1="tw_is_fbe" var2="1"/>
5352 <placement x="%col1_x_left%" y="%row1_y%"/>
5353 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5354 </text>
5355
z31s1g28f0a922015-11-07 18:50:22 +01005356 <input>
5357 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5358 <text>%tw_crypto_display%</text>
5359 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5360 <restrict minlen="1" maxlen="254"/>
5361 <action function="page">trydecrypt</action>
5362 </input>
5363
5364 <fill color="%accent_color%">
5365 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5366 </fill>
5367
5368 <fill color="%text_fail_color%">
5369 <condition var1="tw_password_fail" var2="1"/>
5370 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5371 </fill>
5372
5373 <text style="text_m_fail">
5374 <condition var1="tw_password_fail" var2="1"/>
5375 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005376 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005377 </text>
5378
5379 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005380 <placement x="%col1_x_left%" y="%row4_y%"/>
5381 <text>{@sel_lang_btn=Select Language}</text>
5382 <action function="page">settings_language</action>
5383 </button>
5384
5385 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005386 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005387 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005388 <actions>
5389 <action function="set">tw_page_done=1</action>
5390 <action function="page">main</action>
5391 </actions>
5392 </button>
5393
5394 <template name="keyboardtemplate"/>
5395 </page>
5396
5397 <page name="decrypt_pattern">
5398 <template name="page"/>
5399
5400 <template name="statusbar"/>
5401
Aleksa Saraib25a1832015-12-31 17:36:00 +01005402 <action>
5403 <action function="set">tw_gui_pattern_grid_size=3</action>
5404 </action>
5405
z31s1g28f0a922015-11-07 18:50:22 +01005406 <text style="text_m">
5407 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005408 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005409 </text>
5410
5411 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005412 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005413 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005414 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005415 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005416 </text>
5417
Noah Jacobson5a79f672019-04-28 00:10:07 -04005418 <text style="text_m_accent">
5419 <condition var1="tw_is_fbe" var2="1"/>
5420 <condition var1="tw_password_fail" op="!=" var2="1"/>
5421 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5422 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5423 </text>
5424
Aleksa Saraib25a1832015-12-31 17:36:00 +01005425 <text style="text_m_fail">
5426 <condition var1="tw_password_fail" var2="1"/>
5427 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005428 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005429 </text>
5430
z31s1g28f0a922015-11-07 18:50:22 +01005431 <text style="text_m">
5432 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005433 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005434 </text>
5435
5436 <patternpassword>
5437 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005438 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5439 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5440 <data name="tw_crypto_password"/>
5441 <action function="page">trydecrypt</action>
5442 </patternpassword>
5443
5444 <fill color="#000000">
5445 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5446 </fill>
5447
5448 <button>
5449 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5450 <image resource="back"/>
5451 <condition var1="tw_busy" var2="0"/>
5452 <actions>
5453 <action function="set">tw_page_done=1</action>
5454 <action function="page">main</action>
5455 </actions>
5456 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005457
5458 <button>
5459 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5460 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5461 <image resource="grid_less"/>
5462 <action function="set">tw_gui_pattern_grid_size=3</action>
5463 </button>
5464
5465 <button>
5466 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5467 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5468 <image resource="grid_less"/>
5469 <action function="set">tw_gui_pattern_grid_size=3</action>
5470 </button>
5471
5472 <button>
5473 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5474 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5475 <image resource="grid_less"/>
5476 <action function="set">tw_gui_pattern_grid_size=4</action>
5477 </button>
5478
5479 <button>
5480 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5481 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5482 <image resource="grid_less"/>
5483 <action function="set">tw_gui_pattern_grid_size=5</action>
5484 </button>
5485
5486 <button>
5487 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5488 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5489 <image resource="grid_more"/>
5490 <action function="set">tw_gui_pattern_grid_size=4</action>
5491 </button>
5492
5493 <button>
5494 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5495 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5496 <image resource="grid_more"/>
5497 <action function="set">tw_gui_pattern_grid_size=5</action>
5498 </button>
5499
5500 <button>
5501 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5502 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5503 <image resource="grid_more"/>
5504 <action function="set">tw_gui_pattern_grid_size=6</action>
5505 </button>
5506
5507 <button>
5508 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5509 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5510 <image resource="grid_more"/>
5511 <action function="set">tw_gui_pattern_grid_size=6</action>
5512 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005513 </page>
5514
5515 <page name="trydecrypt">
5516 <template name="page"/>
5517
5518 <template name="statusbar"/>
5519
5520 <text style="text_m">
5521 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005522 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005523 </text>
5524
5525 <template name="console"/>
5526
5527 <template name="progress_bar"/>
5528
5529 <action>
5530 <action function="decrypt"/>
5531 </action>
5532
5533 <action>
5534 <conditions>
5535 <condition var1="tw_operation_state" var2="1"/>
5536 <condition var1="tw_operation_status" op="!=" var2="0"/>
5537 </conditions>
5538 <actions>
5539 <action function="set">tw_password_fail=1</action>
5540 <action function="page">decrypt</action>
5541 </actions>
5542 </action>
5543
5544 <action>
5545 <conditions>
5546 <condition var1="tw_operation_state" var2="1"/>
5547 <condition var1="tw_operation_status" op="=" var2="0"/>
5548 </conditions>
5549 <actions>
5550 <action function="set">tw_page_done=1</action>
5551 <action function="page">main</action>
5552 </actions>
5553 </action>
5554 </page>
5555
z31s1g28f0a922015-11-07 18:50:22 +01005556 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005557 <terminal>
5558 <condition var1="tw_hide_kb" var2="0"/>
5559 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5560 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005561
z31s1g56189522016-01-13 19:12:40 +01005562 <terminal>
5563 <condition var1="tw_hide_kb" var2="1"/>
5564 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5565 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005566
z31s1g56189522016-01-13 19:12:40 +01005567 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005568
5569 <template name="keyboardtemplate"/>
5570
z31s1g608d7ff2016-01-18 19:47:25 +01005571 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005572 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005573 </fill>
z31s1g56189522016-01-13 19:12:40 +01005574
z31s1g608d7ff2016-01-18 19:47:25 +01005575 <button>
z31s1g56189522016-01-13 19:12:40 +01005576 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5577 <image resource="back" />
5578 <condition var1="tw_busy" var2="0" />
5579 <actions>
5580 <action function="set">tw_hide_kb=0</action>
5581 <action function="key">back</action>
5582 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005583 </button>
z31s1g56189522016-01-13 19:12:40 +01005584
z31s1g608d7ff2016-01-18 19:47:25 +01005585 <button>
z31s1g56189522016-01-13 19:12:40 +01005586 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5587 <image resource="home" />
5588 <condition var1="tw_busy" var2="0" />
5589 <actions>
5590 <action function="set">tw_hide_kb=0</action>
5591 <action function="key">home</action>
5592 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005593 </button>
z31s1g56189522016-01-13 19:12:40 +01005594
z31s1g608d7ff2016-01-18 19:47:25 +01005595 <button>
z31s1g56189522016-01-13 19:12:40 +01005596 <condition var1="tw_hide_kb" var2="0"/>
5597 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5598 <image resource="kb_hide" />
5599 <condition var1="tw_busy" var2="0" />
5600 <actions>
5601 <action function="set">tw_hide_kb=1</action>
5602 <action function="page">terminalcommand</action>
5603 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005604 </button>
z31s1g56189522016-01-13 19:12:40 +01005605
z31s1g608d7ff2016-01-18 19:47:25 +01005606 <button>
z31s1g56189522016-01-13 19:12:40 +01005607 <condition var1="tw_hide_kb" var2="1"/>
5608 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5609 <image resource="kb_show" />
5610 <condition var1="tw_busy" var2="0" />
5611 <actions>
5612 <action function="set">tw_hide_kb=0</action>
5613 <action function="page">terminalcommand</action>
5614 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005615 </button>
z31s1g56189522016-01-13 19:12:40 +01005616
z31s1g28f0a922015-11-07 18:50:22 +01005617 <action>
5618 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005619 <actions>
5620 <action function="set">tw_hide_kb=0</action>
5621 <action function="page">main</action>
5622 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005623 </action>
5624
5625 <action>
5626 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005627 <actions>
5628 <action function="set">tw_hide_kb=0</action>
5629 <action function="page">advanced</action>
5630 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005631 </action>
z31s1g56189522016-01-13 19:12:40 +01005632
z31s1g608d7ff2016-01-18 19:47:25 +01005633 <action>
z31s1g56189522016-01-13 19:12:40 +01005634 <touch key="power+voldown" />
5635 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005636 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005637 </page>
5638
5639 <page name="sideload">
5640 <template name="page"/>
5641
5642 <template name="statusbar"/>
5643
5644 <text style="text_m">
5645 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005646 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005647 </text>
5648
5649 <text style="text_m_accent">
5650 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005651 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005652 </text>
5653
5654 <checkbox>
5655 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005656 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005657 <data variable="tw_wipe_dalvik"/>
5658 </checkbox>
5659
5660 <checkbox>
5661 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005662 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005663 <data variable="tw_wipe_cache"/>
5664 </checkbox>
5665
5666 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005667 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005668 <actions>
5669 <action function="set">tw_back=install_type</action>
5670 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005671 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5672 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5673 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005674 <action function="set">tw_has_cancel=1</action>
5675 <action function="set">tw_show_reboot=1</action>
5676 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5677 <action function="page">action_page</action>
5678 </actions>
5679 </slider>
5680
5681 <action>
5682 <touch key="home"/>
5683 <action function="page">main</action>
5684 </action>
5685
5686 <action>
5687 <touch key="back"/>
5688 <action function="page">install_type</action>
5689 </action>
5690 </page>
5691
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005692 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005693 <template name="page"/>
5694
5695 <template name="statusbar"/>
5696
5697 <text style="text_m">
5698 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005699 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005700 </text>
5701
5702 <text style="text_m_accent">
5703 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005704 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005705 </text>
5706
z31s1g28f0a922015-11-07 18:50:22 +01005707 <text style="text_m_fail">
5708 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005709 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005710 </text>
5711
5712 <text style="text_m_fail">
5713 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005714 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005715 </text>
5716
5717 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005718 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005719 <actions>
5720 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005721 <action function="set">tw_action=fixcontexts</action>
5722 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5723 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005724 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005725 <action function="set">tw_show_reboot=1</action>
5726 <action function="page">action_page</action>
5727 </actions>
5728 </slider>
5729
5730 <action>
5731 <touch key="home"/>
5732 <action function="page">main</action>
5733 </action>
5734
5735 <action>
5736 <touch key="back"/>
5737 <action function="page">advanced</action>
5738 </action>
5739 </page>
5740
z31s1g28f0a922015-11-07 18:50:22 +01005741 <page name="slideout">
5742 <fill color="%background_color%">
5743 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5744 </fill>
5745
5746 <console>
5747 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5748 </console>
5749
5750 <fill color="%fileselector_linecolor%">
5751 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5752 </fill>
5753
5754 <fill color="%fileselector_linecolor%">
5755 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5756 </fill>
5757
5758 <button>
5759 <fill color="%transparent%"/>
5760 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5761 <action function="overlay"/>
5762 </button>
5763
5764 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005765 <touch key="power"/>
5766 <action function="togglebacklight"/>
5767 </action>
5768
5769 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005770 <touch key="power+voldown"/>
5771 <action function="screenshot"/>
5772 </action>
5773 </page>
5774
5775 <page name="select_storage">
5776 <template name="page"/>
5777
5778 <template name="statusbar"/>
5779
5780 <text style="text_m">
5781 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5782 <text>%tw_storagetext%</text>
5783 </text>
5784
5785 <partitionlist style="partitionlist_headerless_rb">
5786 <data name="tw_storage_path"/>
5787 <listtype name="storage"/>
5788 </partitionlist>
5789
5790 <button>
5791 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5792 <highlight color="%highlight_color%"/>
5793 <image resource="q_btn_refresh"/>
5794 <actions>
5795 <action function="refreshsizes"/>
5796 <action function="page">select_storage</action>
5797 </actions>
5798 </button>
5799
5800 <button>
5801 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5802 <highlight color="%highlight_color%"/>
5803 <image resource="q_btn_accept"/>
5804 <actions>
5805 <action function="set">tw_clear_destination=%tw_back%</action>
5806 <action function="page">clear_vars</action>
5807 </actions>
5808 </button>
5809
5810 <action>
5811 <touch key="power+voldown"/>
5812 <action function="screenshot"/>
5813 </action>
5814 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005815
5816 <page name="decrypt_users">
5817 <template name="page"/>
5818
5819 <text style="text_l">
5820 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5821 <text>{@decrypt_users=Decrypt Users}</text>
5822 </text>
5823
5824 <text style="text_m_accent">
5825 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5826 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5827 </text>
5828
5829 <listbox>
5830 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5831 <text>{@select_user=Select User}</text>
5832 <icon selected="radio_true" unselected="radio_false" />
5833 <data name="tw_crypto_user_id" />
5834 </listbox>
5835
5836 <button style="main_button_half_height">
5837 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5838 <text>{@decrypt_users=Decrypt Users}</text>
5839 <action function="set">tw_crypto_password=</action>
5840 <action function="set">tw_password_fail=0</action>
5841 <action function="page">decrypt</action>
5842 </button>
5843
5844 <action>
5845 <touch key="home"/>
5846 <action function="page">main</action>
5847 </action>
5848
5849 <action>
5850 <touch key="back"/>
5851 <action function="page">advanced</action>
5852 </action>
5853 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005854 </pages>
5855</recovery>