blob: 4ff783a1e059597057562918b0340f399691d550 [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%"/>
epicX98053c32021-01-04 13:01:31 +05304229 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
4230 <condition var1="tw_is_encrypted" var2="0"/>
4231 <action function="page">changeTwrpFolder</action>
4232 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04004233 <listitem name="{@decrypt_users=Decrypt Users}">
4234 <conditions>
4235 <condition var1="tw_is_fbe" var2="1"/>
4236 <condition var1="tw_all_users_decrypted" var2="0"/>
4237 </conditions>
4238 <actions>
4239 <action function="set">tw_crypto_user_id=</action>
4240 <action function="page">decrypt_users</action>
4241 </actions>
4242 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004243 <listitem name="{@reload_theme_btn=Reload Theme}">
4244 <action function="reload"/>
4245 </listitem>
4246 <listitem name="{@part_sd_btn=Partition SD Card}">
4247 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4248 <actions>
4249 <action function="set">partitionlisterror=0</action>
4250 <action function="page">partsdcardsel</action>
4251 </actions>
4252 </listitem>
4253 <listitem name="{@dumlock_btn=HTC Dumlock}">
4254 <condition var1="tw_show_dumlock" var2="1"/>
4255 <action function="page">htcdumlock</action>
4256 </listitem>
4257 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4258 <condition var1="tw_has_injecttwrp" var2="1"/>
4259 <actions>
4260 <action function="set">tw_back=advanced</action>
4261 <action function="set">tw_action=reinjecttwrp</action>
4262 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4263 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4264 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4265 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4266 <action function="page">confirm_action</action>
4267 </actions>
4268 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004269 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4270 <conditions>
4271 <condition var1="tw_has_boot_slots" var2="1"/>
4272 <condition var1="tw_has_repack_tools" var2="1"/>
4273 </conditions>
4274 <actions>
4275 <action function="set">tw_repack_kernel=0</action>
4276 <action function="page">repackselect</action>
4277 </actions>
4278 </listitem>
4279 <listitem name="{@install_kernel=Install Kernel}">
4280 <conditions>
4281 <condition var1="tw_has_boot_slots" var2="1"/>
4282 <condition var1="tw_has_repack_tools" var2="1"/>
4283 </conditions>
4284 <actions>
4285 <action function="set">tw_repack_kernel=1</action>
4286 <action function="page">repackselect</action>
4287 </actions>
4288 </listitem>
4289 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4290 <conditions>
4291 <condition var1="tw_has_boot_slots" var2="1"/>
4292 <condition var1="tw_has_repack_tools" var2="1"/>
4293 </conditions>
4294 <actions>
4295 <action function="set">tw_back=advanced</action>
4296 <action function="set">tw_action=fixabrecoverybootloop</action>
4297 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4298 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4299 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4300 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4301 <action function="page">confirm_action</action>
4302 </actions>
4303 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004304 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4305 <condition var1="tw_app_install_status" var2="1"/>
4306 <actions>
4307 <action function="set">tw_back=advanced2</action>
4308 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4309 <action function="page">installapp</action>
4310 </actions>
4311 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004312 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4313 <condition var1="tw_app_installed_in_system" var2="1"/>
4314 <actions>
4315 <action function="set">tw_back=advanced</action>
4316 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4317 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4318 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4319 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4320 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4321 <action function="page">confirm_action</action>
4322 </actions>
4323 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004324 </listbox>
4325
4326 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004327 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004328 <highlight color="%highlight_color%"/>
4329 <image resource="q_btn_arrow_left"/>
4330 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004331 </button>
4332
4333 <action>
4334 <touch key="home"/>
4335 <action function="page">main</action>
4336 </action>
4337
4338 <action>
4339 <touch key="back"/>
4340 <action function="page">main3</action>
4341 </action>
4342 </page>
4343
Ethan Yonker483e9f42016-01-11 22:21:18 -06004344 <page name="partsdcardsel">
4345 <template name="page"/>
4346
4347 <template name="statusbar"/>
4348
4349 <text style="text_m">
4350 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4351 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4352 </text>
4353
4354 <partitionlist style="partitionlist_headerless_rb">
4355 <data name="tw_storage_path"/>
4356 <listtype name="storage"/>
4357 </partitionlist>
4358
4359 <text style="text_m_fail">
4360 <condition var1="partitionlisterror" var2="1"/>
4361 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4362 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4363 </text>
4364
4365 <button>
4366 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4367 <highlight color="%highlight_color%"/>
4368 <image resource="q_btn_refresh"/>
4369 <action function="refreshsizes"/>
4370 </button>
4371
4372 <button>
4373 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4374 <highlight color="%highlight_color%"/>
4375 <image resource="q_btn_accept"/>
4376 <actions>
4377 <action function="getpartitiondetails">tw_storage_path</action>
4378 <action function="page">partsdcardcheck</action>
4379 </actions>
4380 </button>
4381
4382 <action>
4383 <touch key="home"/>
4384 <action function="page">main</action>
4385 </action>
4386
4387 <action>
4388 <touch key="back"/>
4389 <action function="page">advanced</action>
4390 </action>
4391 </page>
4392
4393 <page name="partsdcardcheck">
4394 <action>
4395 <condition var1="tw_partition_removable" op="=" var2="1"/>
4396 <actions>
4397 <action function="set">partitionlisterror=0</action>
4398 <action function="page">partsdcard</action>
4399 </actions>
4400 </action>
4401
4402 <action>
4403 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4404 <actions>
4405 <action function="set">partitionlisterror=1</action>
4406 <action function="page">partsdcardsel</action>
4407 </actions>
4408 </action>
4409 </page>
4410
z31s1g28f0a922015-11-07 18:50:22 +01004411 <page name="partsdcard">
4412 <template name="page"/>
4413
4414 <template name="statusbar"/>
4415
4416 <text style="text_m">
4417 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004418 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004419 </text>
4420
4421 <text style="text_m_fail">
4422 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 </text>
4425
4426 <text style="text_m_fail">
4427 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 </text>
4430
4431 <text style="text_m_accent">
4432 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </text>
4435
4436 <text style="text_m">
4437 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4438 <text>%tw_sdext_size%</text>
4439 </text>
4440
4441 <button style="main_button_quarter_width">
4442 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004443 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004444 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004445 </button>
4446
4447 <button style="main_button_quarter_width">
4448 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004450 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004451 </button>
4452
4453 <button>
4454 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4455 <highlight color="%highlight_color%"/>
4456 <image resource="q_btn_arrow_right"/>
4457 <action function="page">partsdcard2</action>
4458 </button>
4459
4460 <action>
4461 <touch key="home"/>
4462 <action function="page">main</action>
4463 </action>
4464
4465 <action>
4466 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004467 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004468 </action>
4469 </page>
4470
4471 <page name="partsdcard2">
4472 <template name="page"/>
4473
4474 <template name="statusbar"/>
4475
4476 <text style="text_m">
4477 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004478 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004479 </text>
4480
4481 <text style="text_m_fail">
4482 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <text style="text_m_fail">
4487 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m_accent">
4492 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004493 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004494 </text>
4495
4496 <text style="text_m">
4497 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4498 <text>%tw_swap_size%</text>
4499 </text>
4500
4501 <button style="main_button_quarter_width">
4502 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004503 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004504 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004505 </button>
4506
4507 <button style="main_button_quarter_width">
4508 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004510 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004511 </button>
4512
4513 <button>
4514 <placement x="%col1_x_left%" y="%row11_y%"/>
4515 <highlight color="%highlight_color%"/>
4516 <image resource="q_btn_arrow_left"/>
4517 <action function="page">partsdcard</action>
4518 </button>
4519
4520 <button>
4521 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4522 <highlight color="%highlight_color%"/>
4523 <image resource="q_btn_arrow_right"/>
4524 <action function="page">partsdcard3</action>
4525 </button>
4526
4527 <action>
4528 <touch key="home"/>
4529 <action function="page">main</action>
4530 </action>
4531
4532 <action>
4533 <touch key="back"/>
4534 <action function="page">advanced</action>
4535 </action>
4536 </page>
4537
4538 <page name="partsdcard3">
4539 <template name="page"/>
4540
4541 <template name="statusbar"/>
4542
4543 <text style="text_m">
4544 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004545 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004546 </text>
4547
4548 <text style="text_m_fail">
4549 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m_fail">
4554 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
4558 <text style="text_m_accent">
4559 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004561 </text>
4562
4563 <text style="text_m">
4564 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4565 <text>%tw_sdpart_file_system%</text>
4566 </text>
4567
4568 <button style="main_button_quarter_width">
4569 <placement x="%indent%" y="%row6_y%"/>
4570 <text>EXT3</text>
4571 <action function="set">tw_sdpart_file_system=ext3</action>
4572 </button>
4573
4574 <button style="main_button_quarter_width">
4575 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4576 <text>EXT4</text>
4577 <action function="set">tw_sdpart_file_system=ext4</action>
4578 </button>
4579
4580 <button>
4581 <placement x="%col1_x_left%" y="%row11_y%"/>
4582 <highlight color="%highlight_color%"/>
4583 <image resource="q_btn_arrow_left"/>
4584 <action function="page">partsdcard2</action>
4585 </button>
4586
4587 <button>
4588 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4589 <highlight color="%highlight_color%"/>
4590 <image resource="q_btn_arrow_right"/>
4591 <action function="page">partsdcard_confirm</action>
4592 </button>
4593
4594 <action>
4595 <touch key="home"/>
4596 <action function="page">main</action>
4597 </action>
4598
4599 <action>
4600 <touch key="back"/>
4601 <action function="page">advanced</action>
4602 </action>
4603 </page>
4604
4605 <page name="partsdcard_confirm">
4606 <template name="page"/>
4607
4608 <template name="statusbar"/>
4609
4610 <text style="text_m">
4611 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004612 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004613 </text>
4614
4615 <text style="text_m_fail">
4616 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </text>
4619
4620 <text style="text_m_fail">
4621 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <text style="text_m_accent">
4626 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 </text>
4629
4630 <text style="text_m_accent">
4631 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004633 </text>
4634
4635 <text style="text_m_accent">
4636 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 </text>
4639
4640 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 <action function="page">partsdcardaction</action>
4643 <actions>
4644 <action function="set">tw_back=partsdcard</action>
4645 <action function="set">tw_action=partitionsd</action>
4646 <action function="set">tw_has_action2=1</action>
4647 <action function="set">tw_action2=set</action>
4648 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4650 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4651 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <action function="page">action_page</action>
4653 </actions>
4654 </slider>
4655
4656 <action>
4657 <touch key="home"/>
4658 <action function="page">main</action>
4659 </action>
4660
4661 <action>
4662 <touch key="back"/>
4663 <action function="page">advanced</action>
4664 </action>
4665 </page>
4666
4667 <page name="htcdumlock">
4668 <template name="page"/>
4669
4670 <template name="statusbar"/>
4671
4672 <text style="text_m">
4673 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004674 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004675 </text>
4676
4677 <button style="main_button_full_width">
4678 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <actions>
4681 <action function="set">tw_back=htcdumlock</action>
4682 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004683 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4684 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4685 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4686 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <action function="page">confirm_action</action>
4688 </actions>
4689 </button>
4690
4691 <button style="main_button_full_width">
4692 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004693 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004694 <actions>
4695 <action function="set">tw_back=htcdumlock</action>
4696 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004697 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4698 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4699 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4700 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004701 <action function="page">confirm_action</action>
4702 </actions>
4703 </button>
4704
4705 <button style="main_button_full_width">
4706 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 <actions>
4709 <action function="set">tw_back=htcdumlock</action>
4710 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004711 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4712 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4713 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4714 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004715 <action function="page">confirm_action</action>
4716 </actions>
4717 </button>
4718
4719 <action>
4720 <touch key="home"/>
4721 <action function="page">main</action>
4722 </action>
4723
4724 <action>
4725 <touch key="back"/>
4726 <action function="page">advanced</action>
4727 </action>
4728 </page>
4729
Ethan Yonker53796e72019-01-11 22:49:52 -06004730 <page name="repackselect">
4731 <template name="page"/>
4732
4733 <template name="statusbar"/>
4734
4735 <text style="text_m">
4736 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4737 <text>{@repack_image_hdr=Select Image}</text>
4738 </text>
4739
4740 <fileselector>
4741 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4742 <text>%tw_zip_location%</text>
4743 <filter extn=".img" folders="1" files="1"/>
4744 <path name="tw_zip_location" default="/sdcard"/>
4745 <data name="tw_filename"/>
4746 <selection name="tw_file"/>
4747 </fileselector>
4748
4749 <button>
4750 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4751 <highlight color="%highlight_color%"/>
4752 <image resource="q_btn_storage"/>
4753 <actions>
4754 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4755 <action function="set">tw_back=install</action>
4756 <action function="page">select_storage</action>
4757 </actions>
4758 </button>
4759
4760 <action>
4761 <conditions>
4762 <condition var1="tw_filename" op="modified"/>
4763 </conditions>
4764 <action function="page">repackconfirm</action>
4765 </action>
4766
4767 <action>
4768 <touch key="back"/>
4769 <action function="page">advanced</action>
4770 </action>
4771
4772 <action>
4773 <touch key="home"/>
4774 <action function="page">main</action>
4775 </action>
4776 </page>
4777
4778 <page name="repackconfirm">
4779 <template name="page"/>
4780
4781 <template name="statusbar"/>
4782
4783 <text style="text_m">
4784 <condition var1="tw_repack_kernel" var2="1"/>
4785 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4786 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4787 </text>
4788
4789 <text style="text_m">
4790 <condition var1="tw_repack_kernel" var2="0"/>
4791 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4792 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4793 </text>
4794
4795 <text style="text_m_accent">
4796 <placement x="%indent%" y="%row2_y%"/>
4797 <text>{@folder=Folder:}</text>
4798 </text>
4799
4800 <text style="text_m">
4801 <placement x="%indent%" y="%row3_y%"/>
4802 <text>%tw_zip_location%</text>
4803 </text>
4804
4805 <text style="text_m_accent">
4806 <placement x="%indent%" y="%row4_y%"/>
4807 <text>{@file=File:}</text>
4808 </text>
4809
4810 <text style="text_m">
4811 <placement x="%indent%" y="%row5_y%"/>
4812 <text>%tw_file%</text>
4813 </text>
4814
4815 <checkbox>
4816 <placement x="%indent%" y="%row7_y%"/>
4817 <text>{@repack_backup_first=Back up existing image first}</text>
4818 <data variable="tw_repack_backup_first"/>
4819 </checkbox>
4820
4821 <slider>
4822 <text>{@swipe_to_install=Swipe to Install}</text>
4823 <actions>
4824 <action function="set">tw_back=advanced</action>
4825 <action function="set">tw_action=repackimage</action>
4826 <action function="set">tw_action_param=/boot</action>
4827 <action function="set">tw_action_text1={@installing=Installing...}</action>
4828 <action function="set">tw_action_text2=</action>
4829 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4830 <action function="page">action_page</action>
4831 </actions>
4832 </slider>
4833
4834 <action>
4835 <touch key="back"/>
4836 <action function="page">repackselect</action>
4837 </action>
4838
4839 <action>
4840 <touch key="home"/>
4841 <action function="page">main</action>
4842 </action>
4843 </page>
4844
z31s1g28f0a922015-11-07 18:50:22 +01004845 <page name="lock">
4846 <background color="%semi_transparent%"/>
4847
4848 <image>
4849 <image resource="unlock_icon"/>
4850 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4851 </image>
4852
4853 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004854 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004855 <action function="overlay"/>
4856 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004857
4858 <action>
4859 <touch key="power"/>
4860 <action function="togglebacklight"/>
4861 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004862 </page>
4863
4864 <page name="filemanagerlist">
4865 <template name="page"/>
4866
4867 <template name="statusbar"/>
4868
4869 <text style="text_m">
4870 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004871 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004872 </text>
4873
4874 <fileselector>
4875 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4876 <text>%tw_file_location1%</text>
4877 <filter folders="1" files="1"/>
4878 <path name="tw_file_location1" default="/"/>
4879 <data name="tw_filename1"/>
4880 <selection name="tw_selection1"/>
4881 </fileselector>
4882
4883 <button>
4884 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4885 <highlight color="%highlight_color%"/>
4886 <image resource="q_btn_folder"/>
4887 <actions>
4888 <action function="set">tw_filename1=tw_file_location1</action>
4889 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004890 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004891 <action function="page">filemanageroptions</action>
4892 </actions>
4893 </button>
4894
4895 <action>
4896 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004897 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004898 <action function="set">tw_fm_isfolder=0</action>
4899 </actions>
4900 </action>
4901
4902 <action>
4903 <touch key="home"/>
4904 <action function="page">main</action>
4905 </action>
4906
4907 <action>
4908 <touch key="back"/>
4909 <action function="page">main3</action>
4910 </action>
4911
4912 <action>
4913 <condition var1="tw_filename1" op="modified"/>
4914 <action function="page">filemanageroptions</action>
4915 </action>
4916 </page>
4917
4918 <page name="filemanageroptions">
4919 <template name="page"/>
4920
4921 <template name="statusbar"/>
4922
4923 <text style="text_m">
4924 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004925 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004926 </text>
4927
4928 <button style="main_button">
4929 <condition var1="tw_fm_isfolder" var2="0"/>
4930 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004931 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004932 <actions>
4933 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004934 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004935 <action function="page">choosedestinationfolder</action>
4936 </actions>
4937 </button>
4938
4939 <button style="main_button">
4940 <condition var1="tw_fm_isfolder" var2="1"/>
4941 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004942 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004943 <actions>
4944 <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 -05004945 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004946 <action function="page">choosedestinationfolder</action>
4947 </actions>
4948 </button>
4949
4950 <button style="main_button">
4951 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004952 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004953 <actions>
4954 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004955 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004956 <action function="page">choosedestinationfolder</action>
4957 </actions>
4958 </button>
4959
4960 <button style="main_button">
4961 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004962 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004963 <actions>
4964 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004965 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004966 <action function="set">tw_fm_text2=</action>
4967 <action function="set">tw_fm_text3=</action>
4968 <action function="set">tw_include_text3=0</action>
4969 <action function="set">tw_back=filemanageroptions</action>
4970 <action function="page">filemanagerconfirm</action>
4971 </actions>
4972 </button>
4973
4974 <button style="main_button">
4975 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004976 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004977 <actions>
4978 <action function="set">tw_filemanager_rename=0000</action>
4979 <action function="set">tw_fm_text2=</action>
4980 <action function="set">tw_fm_text3=</action>
4981 <action function="set">tw_include_text3=0</action>
4982 <action function="set">tw_back=filemanageroptions</action>
4983 <action function="page">filemanagerchmod</action>
4984 </actions>
4985 </button>
4986
4987 <button style="main_button">
4988 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004989 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004990 <actions>
4991 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004992 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004993 <action function="set">tw_fm_text2=</action>
4994 <action function="set">tw_fm_text3=</action>
4995 <action function="set">tw_include_text3=0</action>
4996 <action function="set">tw_back=filemanageroptions</action>
4997 <action function="page">filemanagerconfirm</action>
4998 </actions>
4999 </button>
5000
5001 <button style="main_button">
5002 <condition var1="tw_fm_isfolder" var2="0"/>
5003 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005004 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005005 <actions>
5006 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005007 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005008 <action function="set">tw_filemanager_command=mv</action>
5009 <action function="page">filemanagerrenamefile</action>
5010 </actions>
5011 </button>
5012
5013 <button style="main_button">
5014 <condition var1="tw_fm_isfolder" var2="1"/>
5015 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005016 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005017 <actions>
5018 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005019 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005020 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5021 <action function="page">filemanagerrenamefolder</action>
5022 </actions>
5023 </button>
5024
5025 <action>
5026 <touch key="home"/>
5027 <action function="page">main</action>
5028 </action>
5029
5030 <action>
5031 <touch key="back"/>
5032 <action function="page">filemanagerlist</action>
5033 </action>
5034 </page>
5035
5036 <page name="choosedestinationfolder">
5037 <template name="page"/>
5038
5039 <template name="statusbar"/>
5040
5041 <text style="text_m">
5042 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005043 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005044 </text>
5045
5046 <fileselector>
5047 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5048 <text>%tw_file_location2%</text>
5049 <filter folders="1" files="0"/>
5050 <path name="tw_file_location2" default="/"/>
5051 <data name="tw_filename2"/>
5052 <selection name="tw_selection2"/>
5053 </fileselector>
5054
5055 <button>
5056 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5057 <highlight color="%highlight_color%"/>
5058 <image resource="q_btn_folder"/>
5059 <actions>
5060 <action function="set">tw_fm_text2=to</action>
5061 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5062 <action function="set">tw_include_text3=1</action>
5063 <action function="set">tw_back=filemanageroptions</action>
5064 <action function="page">filemanagerconfirm</action>
5065 </actions>
5066 </button>
5067
5068 <action>
5069 <touch key="home"/>
5070 <action function="page">main</action>
5071 </action>
5072
5073 <action>
5074 <touch key="back"/>
5075 <action function="page">filemanageroptions</action>
5076 </action>
5077 </page>
5078
5079 <page name="filemanagerrenamefile">
5080 <template name="page"/>
5081
5082 <template name="statusbar"/>
5083
5084 <text style="text_m">
5085 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005086 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005087 </text>
5088
5089 <text style="text_m_accent">
5090 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005091 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </text>
5093
5094 <input>
5095 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5096 <text>%tw_filemanager_rename%</text>
5097 <data name="tw_filemanager_rename"/>
5098 <restrict minlen="1" maxlen="128"/>
5099 <actions>
5100 <action function="set">tw_fm_text2=to</action>
5101 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5102 <action function="set">tw_include_text3=1</action>
5103 <action function="set">tw_back=filemanageroptions</action>
5104 <action function="page">filemanagerconfirm</action>
5105 </actions>
5106 </input>
5107
5108 <fill color="%accent_color%">
5109 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5110 </fill>
5111
5112 <button style="main_button_half_height">
5113 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005114 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005115 <action function="page">filemanageroptions</action>
5116 </button>
5117
5118 <template name="keyboardtemplate"/>
5119
5120 <action>
5121 <touch key="home"/>
5122 <action function="page">main</action>
5123 </action>
5124
5125 <action>
5126 <touch key="back"/>
5127 <action function="page">filemanageroptions</action>
5128 </action>
5129 </page>
5130
5131 <page name="filemanagerrenamefolder">
5132 <template name="page"/>
5133
5134 <template name="statusbar"/>
5135
5136 <text style="text_m">
5137 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005138 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005139 </text>
5140
5141 <text style="text_m_accent">
5142 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005143 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005144 </text>
5145
5146 <input>
5147 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5148 <text>%tw_filemanager_rename%</text>
5149 <data name="tw_filemanager_rename"/>
5150 <restrict minlen="1" maxlen="128"/>
5151 <actions>
5152 <action function="set">tw_fm_text2=to</action>
5153 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5154 <action function="set">tw_include_text3=1</action>
5155 <action function="set">tw_back=filemanageroptions</action>
5156 <action function="page">filemanagerconfirm</action>
5157 </actions>
5158 </input>
5159
5160 <fill color="%accent_color%">
5161 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5162 </fill>
5163
5164 <button style="main_button_half_height">
5165 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005166 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005167 <action function="page">filemanageroptions</action>
5168 </button>
5169
5170 <template name="keyboardtemplate"/>
5171
5172 <action>
5173 <touch key="home"/>
5174 <action function="page">main</action>
5175 </action>
5176
5177 <action>
5178 <touch key="back"/>
5179 <action function="page">filemanageroptions</action>
5180 </action>
5181 </page>
5182
5183 <page name="filemanagerchmod">
5184 <template name="page"/>
5185
5186 <template name="statusbar"/>
5187
5188 <text style="text_m">
5189 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005190 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005191 </text>
5192
5193 <text style="text_m_accent">
5194 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005195 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005196 </text>
5197
5198 <input>
5199 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5200 <text>%tw_filemanager_rename%</text>
5201 <data name="tw_filemanager_rename"/>
5202 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5203 <actions>
5204 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5205 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5206 <action function="set">tw_back=filemanageroptions</action>
5207 <action function="page">filemanagerconfirm</action>
5208 </actions>
5209 </input>
5210
5211 <fill color="%accent_color%">
5212 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5213 </fill>
5214
5215 <button style="main_button_half_height">
5216 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005217 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005218 <action function="page">filemanageroptions</action>
5219 </button>
5220
5221 <template name="keyboardtemplate"/>
5222
5223 <action>
5224 <touch key="home"/>
5225 <action function="page">main</action>
5226 </action>
5227
5228 <action>
5229 <touch key="back"/>
5230 <action function="page">filemanageroptions</action>
5231 </action>
5232 </page>
5233
5234 <page name="filemanagerconfirm">
5235 <template name="page"/>
5236
5237 <template name="statusbar"/>
5238
5239 <text style="text_m">
5240 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005241 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005242 </text>
5243
5244 <text style="text_m_accent">
5245 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5246 <text>%tw_fm_text1%</text>
5247 </text>
5248
5249 <text style="text_m">
5250 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5251 <text>%tw_filename1%</text>
5252 </text>
5253
5254 <text style="text_m_accent">
5255 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5256 <text>%tw_fm_text2%</text>
5257 </text>
5258
5259 <text style="text_m">
5260 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5261 <text>%tw_fm_text3%</text>
5262 </text>
5263
5264 <text style="text_m">
5265 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005266 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005267 </text>
5268
5269 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005270 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005271 <action function="page">filemanageraction</action>
5272 </slider>
5273
5274 <action>
5275 <touch key="back"/>
5276 <action function="page">%tw_back%</action>
5277 </action>
5278
5279 <action>
5280 <touch key="home"/>
5281 <action function="page">main</action>
5282 </action>
5283 </page>
5284
5285 <page name="filemanageraction">
5286 <template name="page"/>
5287
5288 <template name="statusbar"/>
5289
5290 <text style="text_m">
5291 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005292 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005293 </text>
5294
5295 <template name="console"/>
5296
5297 <template name="progress_bar"/>
5298
5299 <action>
5300 <conditions>
5301 <condition var1="tw_operation_state" var2="1"/>
5302 <condition var1="tw_operation_status" var2="0"/>
5303 </conditions>
5304 <actions>
5305 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005306 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005307 <action function="page">action_complete</action>
5308 </actions>
5309 </action>
5310
5311 <action>
5312 <conditions>
5313 <condition var1="tw_operation_state" var2="1"/>
5314 <condition var1="tw_operation_status" op="!=" var2="0"/>
5315 </conditions>
5316 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005317 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005318 <action function="page">action_complete</action>
5319 </actions>
5320 </action>
5321
5322 <action>
5323 <condition var1="tw_include_text3" var2="0"/>
5324 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5325 </action>
5326
5327 <action>
5328 <condition var1="tw_include_text3" var2="1"/>
5329 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5330 </action>
5331 </page>
5332
5333 <page name="decrypt">
5334 <template name="page"/>
5335
5336 <template name="statusbar"/>
5337
5338 <action>
5339 <condition var1="tw_crypto_pwtype" var2="2"/>
5340 <action function="page">decrypt_pattern</action>
5341 </action>
5342
5343 <text style="text_m">
5344 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005345 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005346 </text>
5347
5348 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005349 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005350 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005351 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005352 </text>
5353
Noah Jacobson5a79f672019-04-28 00:10:07 -04005354 <text style="text_m_accent">
5355 <condition var1="tw_is_fbe" var2="1"/>
5356 <placement x="%col1_x_left%" y="%row1_y%"/>
5357 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5358 </text>
5359
z31s1g28f0a922015-11-07 18:50:22 +01005360 <input>
5361 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5362 <text>%tw_crypto_display%</text>
5363 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5364 <restrict minlen="1" maxlen="254"/>
5365 <action function="page">trydecrypt</action>
5366 </input>
5367
5368 <fill color="%accent_color%">
5369 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5370 </fill>
5371
5372 <fill color="%text_fail_color%">
5373 <condition var1="tw_password_fail" var2="1"/>
5374 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5375 </fill>
5376
5377 <text style="text_m_fail">
5378 <condition var1="tw_password_fail" var2="1"/>
5379 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005380 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005381 </text>
5382
5383 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005384 <placement x="%col1_x_left%" y="%row4_y%"/>
5385 <text>{@sel_lang_btn=Select Language}</text>
5386 <action function="page">settings_language</action>
5387 </button>
5388
5389 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005390 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005391 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005392 <actions>
5393 <action function="set">tw_page_done=1</action>
5394 <action function="page">main</action>
5395 </actions>
5396 </button>
5397
5398 <template name="keyboardtemplate"/>
5399 </page>
5400
5401 <page name="decrypt_pattern">
5402 <template name="page"/>
5403
5404 <template name="statusbar"/>
5405
Aleksa Saraib25a1832015-12-31 17:36:00 +01005406 <action>
5407 <action function="set">tw_gui_pattern_grid_size=3</action>
5408 </action>
5409
z31s1g28f0a922015-11-07 18:50:22 +01005410 <text style="text_m">
5411 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005412 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005413 </text>
5414
5415 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005416 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005417 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005418 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005419 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005420 </text>
5421
Noah Jacobson5a79f672019-04-28 00:10:07 -04005422 <text style="text_m_accent">
5423 <condition var1="tw_is_fbe" var2="1"/>
5424 <condition var1="tw_password_fail" op="!=" var2="1"/>
5425 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5426 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5427 </text>
5428
Aleksa Saraib25a1832015-12-31 17:36:00 +01005429 <text style="text_m_fail">
5430 <condition var1="tw_password_fail" var2="1"/>
5431 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005432 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005433 </text>
5434
z31s1g28f0a922015-11-07 18:50:22 +01005435 <text style="text_m">
5436 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005437 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005438 </text>
5439
5440 <patternpassword>
5441 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005442 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5443 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5444 <data name="tw_crypto_password"/>
5445 <action function="page">trydecrypt</action>
5446 </patternpassword>
5447
5448 <fill color="#000000">
5449 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5450 </fill>
5451
5452 <button>
5453 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5454 <image resource="back"/>
5455 <condition var1="tw_busy" var2="0"/>
5456 <actions>
5457 <action function="set">tw_page_done=1</action>
5458 <action function="page">main</action>
5459 </actions>
5460 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005461
5462 <button>
5463 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5464 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5465 <image resource="grid_less"/>
5466 <action function="set">tw_gui_pattern_grid_size=3</action>
5467 </button>
5468
5469 <button>
5470 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5471 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5472 <image resource="grid_less"/>
5473 <action function="set">tw_gui_pattern_grid_size=3</action>
5474 </button>
5475
5476 <button>
5477 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5478 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5479 <image resource="grid_less"/>
5480 <action function="set">tw_gui_pattern_grid_size=4</action>
5481 </button>
5482
5483 <button>
5484 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5485 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5486 <image resource="grid_less"/>
5487 <action function="set">tw_gui_pattern_grid_size=5</action>
5488 </button>
5489
5490 <button>
5491 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5492 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5493 <image resource="grid_more"/>
5494 <action function="set">tw_gui_pattern_grid_size=4</action>
5495 </button>
5496
5497 <button>
5498 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5499 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5500 <image resource="grid_more"/>
5501 <action function="set">tw_gui_pattern_grid_size=5</action>
5502 </button>
5503
5504 <button>
5505 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5506 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5507 <image resource="grid_more"/>
5508 <action function="set">tw_gui_pattern_grid_size=6</action>
5509 </button>
5510
5511 <button>
5512 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5513 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5514 <image resource="grid_more"/>
5515 <action function="set">tw_gui_pattern_grid_size=6</action>
5516 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005517 </page>
5518
5519 <page name="trydecrypt">
5520 <template name="page"/>
5521
5522 <template name="statusbar"/>
5523
5524 <text style="text_m">
5525 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005526 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005527 </text>
5528
5529 <template name="console"/>
5530
5531 <template name="progress_bar"/>
5532
5533 <action>
5534 <action function="decrypt"/>
5535 </action>
5536
5537 <action>
5538 <conditions>
5539 <condition var1="tw_operation_state" var2="1"/>
5540 <condition var1="tw_operation_status" op="!=" var2="0"/>
5541 </conditions>
5542 <actions>
5543 <action function="set">tw_password_fail=1</action>
5544 <action function="page">decrypt</action>
5545 </actions>
5546 </action>
5547
5548 <action>
5549 <conditions>
5550 <condition var1="tw_operation_state" var2="1"/>
5551 <condition var1="tw_operation_status" op="=" var2="0"/>
5552 </conditions>
5553 <actions>
5554 <action function="set">tw_page_done=1</action>
5555 <action function="page">main</action>
5556 </actions>
5557 </action>
5558 </page>
5559
z31s1g28f0a922015-11-07 18:50:22 +01005560 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005561 <terminal>
5562 <condition var1="tw_hide_kb" var2="0"/>
5563 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5564 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005565
z31s1g56189522016-01-13 19:12:40 +01005566 <terminal>
5567 <condition var1="tw_hide_kb" var2="1"/>
5568 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5569 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005570
z31s1g56189522016-01-13 19:12:40 +01005571 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005572
5573 <template name="keyboardtemplate"/>
5574
z31s1g608d7ff2016-01-18 19:47:25 +01005575 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005576 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005577 </fill>
z31s1g56189522016-01-13 19:12:40 +01005578
z31s1g608d7ff2016-01-18 19:47:25 +01005579 <button>
z31s1g56189522016-01-13 19:12:40 +01005580 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5581 <image resource="back" />
5582 <condition var1="tw_busy" var2="0" />
5583 <actions>
5584 <action function="set">tw_hide_kb=0</action>
5585 <action function="key">back</action>
5586 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005587 </button>
z31s1g56189522016-01-13 19:12:40 +01005588
z31s1g608d7ff2016-01-18 19:47:25 +01005589 <button>
z31s1g56189522016-01-13 19:12:40 +01005590 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5591 <image resource="home" />
5592 <condition var1="tw_busy" var2="0" />
5593 <actions>
5594 <action function="set">tw_hide_kb=0</action>
5595 <action function="key">home</action>
5596 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005597 </button>
z31s1g56189522016-01-13 19:12:40 +01005598
z31s1g608d7ff2016-01-18 19:47:25 +01005599 <button>
z31s1g56189522016-01-13 19:12:40 +01005600 <condition var1="tw_hide_kb" var2="0"/>
5601 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5602 <image resource="kb_hide" />
5603 <condition var1="tw_busy" var2="0" />
5604 <actions>
5605 <action function="set">tw_hide_kb=1</action>
5606 <action function="page">terminalcommand</action>
5607 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005608 </button>
z31s1g56189522016-01-13 19:12:40 +01005609
z31s1g608d7ff2016-01-18 19:47:25 +01005610 <button>
z31s1g56189522016-01-13 19:12:40 +01005611 <condition var1="tw_hide_kb" var2="1"/>
5612 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5613 <image resource="kb_show" />
5614 <condition var1="tw_busy" var2="0" />
5615 <actions>
5616 <action function="set">tw_hide_kb=0</action>
5617 <action function="page">terminalcommand</action>
5618 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005619 </button>
z31s1g56189522016-01-13 19:12:40 +01005620
z31s1g28f0a922015-11-07 18:50:22 +01005621 <action>
5622 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005623 <actions>
5624 <action function="set">tw_hide_kb=0</action>
5625 <action function="page">main</action>
5626 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005627 </action>
5628
5629 <action>
5630 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005631 <actions>
5632 <action function="set">tw_hide_kb=0</action>
5633 <action function="page">advanced</action>
5634 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005635 </action>
z31s1g56189522016-01-13 19:12:40 +01005636
z31s1g608d7ff2016-01-18 19:47:25 +01005637 <action>
z31s1g56189522016-01-13 19:12:40 +01005638 <touch key="power+voldown" />
5639 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005640 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005641 </page>
5642
5643 <page name="sideload">
5644 <template name="page"/>
5645
5646 <template name="statusbar"/>
5647
5648 <text style="text_m">
5649 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005650 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005651 </text>
5652
5653 <text style="text_m_accent">
5654 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005655 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005656 </text>
5657
5658 <checkbox>
5659 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005660 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005661 <data variable="tw_wipe_dalvik"/>
5662 </checkbox>
5663
5664 <checkbox>
5665 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005666 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005667 <data variable="tw_wipe_cache"/>
5668 </checkbox>
5669
5670 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005671 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005672 <actions>
5673 <action function="set">tw_back=install_type</action>
5674 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005675 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5676 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5677 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005678 <action function="set">tw_has_cancel=1</action>
5679 <action function="set">tw_show_reboot=1</action>
5680 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5681 <action function="page">action_page</action>
5682 </actions>
5683 </slider>
5684
5685 <action>
5686 <touch key="home"/>
5687 <action function="page">main</action>
5688 </action>
5689
5690 <action>
5691 <touch key="back"/>
5692 <action function="page">install_type</action>
5693 </action>
5694 </page>
5695
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005696 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005697 <template name="page"/>
5698
5699 <template name="statusbar"/>
5700
5701 <text style="text_m">
5702 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005703 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005704 </text>
5705
5706 <text style="text_m_accent">
5707 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005708 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005709 </text>
5710
z31s1g28f0a922015-11-07 18:50:22 +01005711 <text style="text_m_fail">
5712 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005713 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005714 </text>
5715
5716 <text style="text_m_fail">
5717 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005718 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005719 </text>
5720
5721 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005722 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005723 <actions>
5724 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005725 <action function="set">tw_action=fixcontexts</action>
5726 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5727 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005728 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005729 <action function="set">tw_show_reboot=1</action>
5730 <action function="page">action_page</action>
5731 </actions>
5732 </slider>
5733
5734 <action>
5735 <touch key="home"/>
5736 <action function="page">main</action>
5737 </action>
5738
5739 <action>
5740 <touch key="back"/>
5741 <action function="page">advanced</action>
5742 </action>
5743 </page>
5744
z31s1g28f0a922015-11-07 18:50:22 +01005745 <page name="slideout">
5746 <fill color="%background_color%">
5747 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5748 </fill>
5749
5750 <console>
5751 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5752 </console>
5753
5754 <fill color="%fileselector_linecolor%">
5755 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5756 </fill>
5757
5758 <fill color="%fileselector_linecolor%">
5759 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5760 </fill>
5761
5762 <button>
5763 <fill color="%transparent%"/>
5764 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5765 <action function="overlay"/>
5766 </button>
5767
5768 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005769 <touch key="power"/>
5770 <action function="togglebacklight"/>
5771 </action>
5772
5773 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005774 <touch key="power+voldown"/>
5775 <action function="screenshot"/>
5776 </action>
5777 </page>
5778
5779 <page name="select_storage">
5780 <template name="page"/>
5781
5782 <template name="statusbar"/>
5783
5784 <text style="text_m">
5785 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5786 <text>%tw_storagetext%</text>
5787 </text>
5788
5789 <partitionlist style="partitionlist_headerless_rb">
5790 <data name="tw_storage_path"/>
5791 <listtype name="storage"/>
5792 </partitionlist>
5793
5794 <button>
5795 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5796 <highlight color="%highlight_color%"/>
5797 <image resource="q_btn_refresh"/>
5798 <actions>
5799 <action function="refreshsizes"/>
5800 <action function="page">select_storage</action>
5801 </actions>
5802 </button>
5803
5804 <button>
5805 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5806 <highlight color="%highlight_color%"/>
5807 <image resource="q_btn_accept"/>
5808 <actions>
5809 <action function="set">tw_clear_destination=%tw_back%</action>
5810 <action function="page">clear_vars</action>
5811 </actions>
5812 </button>
5813
5814 <action>
5815 <touch key="power+voldown"/>
5816 <action function="screenshot"/>
5817 </action>
5818 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005819
5820 <page name="decrypt_users">
5821 <template name="page"/>
5822
5823 <text style="text_l">
5824 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5825 <text>{@decrypt_users=Decrypt Users}</text>
5826 </text>
5827
5828 <text style="text_m_accent">
5829 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5830 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5831 </text>
5832
5833 <listbox>
5834 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5835 <text>{@select_user=Select User}</text>
5836 <icon selected="radio_true" unselected="radio_false" />
5837 <data name="tw_crypto_user_id" />
5838 </listbox>
5839
5840 <button style="main_button_half_height">
5841 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5842 <text>{@decrypt_users=Decrypt Users}</text>
5843 <action function="set">tw_crypto_password=</action>
5844 <action function="set">tw_password_fail=0</action>
5845 <action function="page">decrypt</action>
5846 </button>
5847
5848 <action>
5849 <touch key="home"/>
5850 <action function="page">main</action>
5851 </action>
5852
5853 <action>
5854 <touch key="back"/>
5855 <action function="page">advanced</action>
5856 </action>
5857 </page>
epicX98053c32021-01-04 13:01:31 +05305858
5859 <page name="changeTwrpFolder">
5860 <template name="page"/>
5861
5862 <template name="statusbar"/>
5863
5864 <text style="text_m">
5865 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5866 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5867 </text>
5868
5869 <text style="text_m_accent">
5870 <placement x="%col1_x_left%" y="%row1_y%"/>
5871 <text>{@name=Name:}</text>
5872 </text>
5873
5874 <input>
5875 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5876 <text>%tw_custom_folder%</text>
5877 <data name="tw_custom_folder"/>
5878 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5879 <actions>
5880 <action function="set">tw_back=changeTwrpFolder</action>
5881 <action function="set">tw_action=applycustomtwrpfolder</action>
5882 <action function="set">tw_action_param=%tw_custom_folder%</action>
5883 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5884 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5885 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5886 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5887 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5888 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5889 <action function="set">tw_existpage=changeTwrpFolder</action>
5890 <action function="set">tw_notexistpage=confirm_action</action>
5891 <action function="page">filecheck</action>
5892 </actions>
5893 </input>
5894
5895 <fill color="%accent_color%">
5896 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5897 </fill>
5898
5899 <fill color="%text_fail_color%">
5900 <condition var1="tw_fileexists" var2="1"/>
5901 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5902 </fill>
5903
5904 <text style="text_m_fail">
5905 <condition var1="tw_fileexists" var2="1"/>
5906 <placement x="%col1_x_left%" y="%row3_input_y%"/>
5907 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5908 </text>
5909
5910 <button style="main_button_half_width_low">
5911 <placement x="%col1_x_left%" y="%row4_y%"/>
5912 <text>{@cancel_btn=Cancel}</text>
5913 <action function="page">advanced2</action>
5914 </button>
5915
5916 <button style="main_button_half_height">
5917 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5918 <placement x="%col1_x_right%" y="%row4_y%"/>
5919 <text>{@restore_defaults_btn=Restore Defaults}</text>
5920 <actions>
5921 <action function="set">tw_back=changeTwrpFolder</action>
5922 <action function="set">tw_action=applycustomtwrpfolder</action>
5923 <action function="set">tw_action_param=TWRP</action>
5924 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5925 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5926 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5927 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5928 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5929 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5930 <action function="set">tw_existpage=changeTwrpFolder</action>
5931 <action function="set">tw_notexistpage=confirm_action</action>
5932 <action function="page">filecheck</action>
5933 </actions>
5934 </button>
5935
5936 <template name="keyboardtemplate"/>
5937
5938 <action>
5939 <touch key="home"/>
5940 <actions>
5941 <action function="page">main</action>
5942 </actions>
5943 </action>
5944
5945 <action>
5946 <touch key="back"/>
5947 <actions>
5948 <action function="page">advanced2</action>
5949 </actions>
5950 </action>
5951 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005952 </pages>
5953</recovery>