blob: d76a1d3fac72f449143b19b2ce4f3070c60436fa [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"/>
z31s1g28f0a922015-11-07 18:50:22 +0100402 <path name="tw_zip_location" default="/sdcard"/>
403 <data name="tw_filename"/>
404 <selection name="tw_file"/>
405 </fileselector>
406
407 <fileselector>
408 <condition var1="tw_selectimage" var2="1"/>
409 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
410 <text>%tw_zip_location%</text>
411 <filter extn=".img" folders="1" files="1"/>
412 <path name="tw_zip_location" default="/sdcard"/>
413 <data name="tw_filename"/>
414 <selection name="tw_file"/>
415 </fileselector>
416
417 <button>
418 <placement x="%btn4_col4_x%" y="%row11_y%"/>
419 <highlight color="%highlight_color%"/>
420 <image resource="q_btn_storage"/>
421 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -0500422 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100423 <action function="set">tw_back=install</action>
424 <action function="page">select_storage</action>
425 </actions>
426 </button>
427
428 <action>
429 <conditions>
430 <condition var1="tw_selectimage" var2="0"/>
431 <condition var1="tw_filename" op="modified"/>
432 </conditions>
433 <actions>
434 <action function="queuezip"/>
435 <action function="page">flash_queue</action>
436 </actions>
437 </action>
438
439 <action>
440 <conditions>
441 <condition var1="tw_selectimage" var2="1"/>
442 <condition var1="tw_filename" op="modified"/>
443 </conditions>
444 <action function="page">flashimage_type</action>
445 </action>
446
447 <action>
448 <touch key="back"/>
449 <action function="page">install_type</action>
450 </action>
451
452 <action>
453 <touch key="home"/>
454 <action function="page">main</action>
455 </action>
456 </page>
457
458 <page name="flash_queue">
459 <template name="page"/>
460
461 <template name="statusbar"/>
462
463 <text style="text_m">
464 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500465 <text>{@install_zip_hdr=Install Zip} &gt; {@queue_hdr=Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100466 </text>
467
468 <text style="text_m_accent">
469 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500470 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100471 </text>
472
473 <text style="text_m">
474 <placement x="%indent%" y="%row2_y%"/>
475 <text>%tw_file%</text>
476 </text>
477
478 <text style="text_m_accent">
479 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <text style="text_m">
484 <placement x="%indent%" y="%row5_y%"/>
485 <text>%tw_zip_location%</text>
486 </text>
487
488 <text style="text_m">
489 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500490 <text>{@zip_back_clear=Press back button to clear the queue.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100491 </text>
492
493 <button>
494 <placement x="%col1_x_left%" y="%row11_y%"/>
495 <highlight color="%highlight_color%"/>
496 <image resource="q_btn_arrow_left"/>
497 <actions>
498 <action function="queueclear"/>
499 <action function="page">install</action>
500 </actions>
501 </button>
502
503 <button>
504 <placement x="%btn4_col2_x%" y="%row11_y%"/>
505 <highlight color="%highlight_color%"/>
506 <image resource="q_btn_addzip"/>
507 <action function="page">install</action>
508 </button>
509
510 <button>
511 <placement x="%btn4_col3_x%" y="%row11_y%"/>
512 <highlight color="%highlight_color%"/>
513 <image resource="q_btn_accept"/>
514 <action function="page">flash_confirm</action>
515 </button>
516
517 <button>
518 <placement x="%btn4_col4_x%" y="%row11_y%"/>
519 <highlight color="%highlight_color%"/>
520 <image resource="q_btn_arrow_right"/>
521 <action function="page">flash_options</action>
522 </button>
523
524 <action>
525 <touch key="back"/>
526 <actions>
527 <action function="queueclear"/>
528 <action function="page">install</action>
529 </actions>
530 </action>
531
532 <action>
533 <touch key="home"/>
534 <action function="page">main</action>
535 </action>
536 </page>
537
538 <page name="flash_options">
539 <template name="page"/>
540
541 <template name="statusbar"/>
542
543 <text style="text_m">
544 <condition var1="tw_selectimage" var2="0"/>
545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@install_zip_hdr=Install Zip} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 </text>
548
549 <checkbox>
550 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500551 <text>{@zip_sig_chk=Zip file signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100552 <data variable="tw_signed_zip_verify"/>
553 </checkbox>
554
555 <checkbox>
556 <condition var1="tw_has_injecttwrp" var2="1"/>
557 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500558 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100559 <data variable="tw_inject_after_zip"/>
560 </checkbox>
561
bigbiffa869fc72016-03-01 19:40:36 -0500562 <checkbox>
Matt Mower32676622017-01-18 18:56:13 -0600563 <placement x="%indent%" y="%row4_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500564 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower32676622017-01-18 18:56:13 -0600565 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500566 </checkbox>
567
z31s1g28f0a922015-11-07 18:50:22 +0100568 <button>
569 <placement x="%col1_x_left%" y="%row11_y%"/>
570 <highlight color="%highlight_color%"/>
571 <image resource="q_btn_arrow_left"/>
572 <action function="page">flash_queue</action>
573 </button>
574
575 <button>
576 <placement x="%btn4_col4_x%" y="%row11_y%"/>
577 <highlight color="%highlight_color%"/>
578 <image resource="q_btn_accept_transp"/>
579 <action function="page">flash_confirm</action>
580 </button>
581
582 <action>
583 <touch key="back"/>
584 <action function="page">flash_queue</action>
585 </action>
586
587 <action>
588 <touch key="home"/>
589 <action function="page">main</action>
590 </action>
591 </page>
592
593 <page name="flash_confirm">
594 <template name="page"/>
595
596 <template name="statusbar"/>
597
598 <text style="text_m">
599 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500600 <text>{@install_zip_hdr=Install Zip} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100601 </text>
602
603 <text style="text_m_accent">
604 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500605 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100606 </text>
607
608 <text style="text_m">
609 <placement x="%indent%" y="%row2_y%"/>
610 <text>%tw_file%</text>
611 </text>
612
613 <button>
614 <fill color="%transparent%"/>
615 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
616 <action function="page">flash_queue</action>
617 </button>
618
619 <text style="text_m_accent">
620 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500621 <text>{@zip_queue=Queue:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100622 </text>
623
624 <text style="text_m">
625 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500626 <text>{@zip_queue_count_s=File %tw_zip_queue_count% of 10:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100627 </text>
628
629 <button>
630 <fill color="%transparent%"/>
631 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
632 <action function="page">flash_queue</action>
633 </button>
634
635 <listbox style="listbox_options">
636 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +0100638 <data variable="tw_signed_zip_verify"/>
639 </listitem>
640 </listbox>
641
642 <text style="text_m_accent">
643 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500644 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100645 </text>
646
647 <text style="text_m">
648 <condition var1="tw_has_injecttwrp" var2="1"/>
649 <condition var1="tw_inject_after_zip" var2="1"/>
650 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500651 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100652 </text>
653
654 <button>
655 <fill color="%transparent%"/>
656 <placement x="0" y="%row6a_y%" w="%screen_width%" h="64"/>
657 <action function="page">flash_options</action>
658 </button>
659
660 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500661 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100662 <action function="flash">flash_zip</action>
663 </slider>
664
665 <action>
666 <touch key="back"/>
667 <actions>
668 <action function="cancelzip"/>
669 <action function="page">install</action>
670 </actions>
671 </action>
672
673 <action>
674 <touch key="home"/>
675 <action function="page">main</action>
676 </action>
677 </page>
678
679 <page name="flash_zip">
680 <template name="page"/>
681
682 <template name="statusbar"/>
683
684 <text style="text_m">
685 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600686 <text>{@installing_zip_xml=Installing Zip: %tw_file%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 </text>
688
689 <template name="console"/>
690
691 <template name="progress_bar"/>
692
693 <action>
694 <condition var1="tw_operation_state" var2="1"/>
695 <action function="page">flash_done</action>
696 </action>
697 </page>
698
699 <page name="flash_done">
700 <template name="page"/>
701
702 <template name="statusbar"/>
703
704 <text style="text_m_fail">
705 <condition var1="tw_operation_status" op="!=" var2="0"/>
706 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500707 <text>{@install_failed=Installation Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100708 </text>
709
710 <text style="text_m">
711 <condition var1="tw_operation_status" var2="0"/>
712 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500713 <text>{@install_successful=Installation Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100714 </text>
715
716 <template name="console"/>
717
718 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500719 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100720 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500721 <text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100722 <actions>
723 <action function="set">tw_back=flash_done</action>
724 <action function="set">tw_action=wipe</action>
725 <action function="set">tw_action_param=/cache</action>
726 <action function="set">tw_has_action2=1</action>
727 <action function="set">tw_action2=wipe</action>
728 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500729 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
730 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
731 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500732 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
733 <action function="page">confirm_action</action>
734 </actions>
735 </button>
736
737 <button style="main_button_half_height">
738 <condition var1="tw_ab_device" var2="1"/>
739 <placement x="%indent%" y="%row21a_y%"/>
740 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
741 <actions>
742 <action function="set">tw_back=flash_done</action>
743 <action function="set">tw_action=wipe</action>
744 <action function="set">tw_action_param=dalvik</action>
745 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
746 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
747 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
748 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100749 <action function="page">confirm_action</action>
750 </actions>
751 </button>
752
753 <button style="main_button_half_height">
Chaosmaster90df3de2020-02-07 20:33:43 +0100754 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100755 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500756 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100757 <actions>
758 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500759 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100760 </actions>
761 </button>
762
Chaosmaster90df3de2020-02-07 20:33:43 +0100763 <button style="main_button_half_height">
764 <condition var1="tw_ab_device" var2="1"/>
765 <placement x="%col1_x_right%" y="%row13_y%"/>
766 <text>{@reboot_btn=Reboot}</text>
767 <actions>
768 <action function="set">tw_back=main2</action>
769 <action function="page">reboot</action>
770 </actions>
771 </button>
772
z31s1g28f0a922015-11-07 18:50:22 +0100773 <action>
774 <touch key="back"/>
775 <actions>
776 <action function="set">tw_clear_destination=install_type</action>
777 <action function="page">clear_vars</action>
778 </actions>
779 </action>
780
781 <action>
782 <touch key="home"/>
783 <actions>
784 <action function="set">tw_clear_destination=main2</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500788
789 <action>
790 <conditions>
791 <condition var1="tw_install_reboot" var2="1"/>
792 <condition var1="tw_operation_status" var2="0"/>
793 <condition var1="tw_reboot_system" var2="1"/>
794 </conditions>
795 <actions>
796 <action function="set">tw_sleep=%tw_sleep_total%</action>
797 <action function="page">flash_sleep_and_reboot</action>
798 </actions>
799 </action>
800 </page>
801
802 <page name="flash_sleep_and_reboot">
803 <template name="page"/>
804
805 <template name="statusbar"/>
806
807 <text style="text_m">
808 <placement x="%col1_x_left%" y="%row1_header_y%"/>
809 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
810 </text>
811
812 <template name="console"/>
813
814 <template name="progress_bar"/>
815
816 <button style="main_button_half_height">
817 <condition var1="tw_sleep" op="&gt;" var2="0"/>
818 <placement x="%col1_x_right%" y="%row13_y%"/>
819 <text>{@cancel_btn=Cancel}</text>
820 <actions>
821 <action function="set">tw_install_reboot=0</action>
822 <action function="page">flash_done</action>
823 </actions>
824 </button>
825
826 <action>
827 <conditions>
828 <condition var1="tw_sleep" var2="tw_sleep_total"/>
829 <condition var1="tw_install_reboot" var2="1"/>
830 </conditions>
831 <action function="sleepcounter">%tw_sleep_total%</action>
832 </action>
833
834 <action>
835 <conditions>
836 <condition var1="tw_sleep" var2="0"/>
837 <condition var1="tw_install_reboot" var2="1"/>
838 </conditions>
839 <actions>
840 <action function="sleep">50000</action>
841 <action function="set">tw_back=main2</action>
842 <action function="page">reboot_system_routine</action>
843 </actions>
844 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100845 </page>
846
847 <page name="flashimage_type">
848 <template name="page"/>
849
850 <template name="statusbar"/>
851
852 <text style="text_m">
853 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600854 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100855 </text>
856
857 <partitionlist style="partitionlist_headerless_rb">
858 <data name="tw_flash_partition"/>
859 <listtype name="flashimg"/>
860 </partitionlist>
861
862 <button>
863 <placement x="%col1_x_left%" y="%row11_y%"/>
864 <highlight color="%highlight_color%"/>
865 <image resource="q_btn_arrow_left"/>
866 <action function="page">install</action>
867 </button>
868
869 <button>
870 <placement x="%btn4_col4_x%" y="%row11_y%"/>
871 <highlight color="%highlight_color%"/>
872 <image resource="q_btn_accept_transp"/>
873 <action function="page">flashimage_confirm</action>
874 </button>
875
876 <action>
877 <touch key="back"/>
878 <action function="page">install</action>
879 </action>
880
881 <action>
882 <touch key="home"/>
883 <action function="page">main</action>
884 </action>
885 </page>
886
887 <page name="flashimage_confirm">
888 <template name="page"/>
889
890 <template name="statusbar"/>
891
892 <text style="text_m">
893 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500894 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100895 </text>
896
897 <text style="text_m_accent">
898 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <text style="text_m">
903 <placement x="%indent%" y="%row2_y%"/>
904 <text>%tw_file%</text>
905 </text>
906
907 <button>
908 <fill color="%transparent%"/>
909 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
910 <action function="page">install</action>
911 </button>
912
913 <text style="text_m_accent">
914 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500915 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100916 </text>
917
918 <text style="text_m">
919 <placement x="%indent%" y="%row5_y%"/>
920 <text>%tw_flash_partition%</text>
921 </text>
922
923 <button>
924 <fill color="%transparent%"/>
925 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
926 <action function="page">flashimage_type</action>
927 </button>
928
929 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500930 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100931 <actions>
932 <action function="set">tw_back=flashimage_confirm</action>
933 <action function="set">tw_action=flashimage</action>
934 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500935 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100936 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500937 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100938 <action function="page">action_page</action>
939 </actions>
940 <action function="flashimage"/>
941 </slider>
942
943 <action>
944 <touch key="back"/>
945 <actions>
946 <action function="set">tw_clear_destination=install</action>
947 <action function="page">clear_vars</action>
948 </actions>
949 </action>
950
951 <action>
952 <touch key="home"/>
953 <actions>
954 <action function="set">tw_clear_destination=main2</action>
955 <action function="page">clear_vars</action>
956 </actions>
957 </action>
958 </page>
959
960 <page name="clear_vars">
961 <action>
962 <action function="set">tw_operation_state=0</action>
963 <action function="set">tw_text1=</action>
964 <action function="set">tw_text2=</action>
965 <action function="set">tw_text3=</action>
966 <action function="set">tw_text4=</action>
967 <action function="set">tw_action_text1=</action>
968 <action function="set">tw_action_text2=</action>
969 <action function="set">tw_action_param=</action>
970 <action function="set">tw_has_action2=0</action>
971 <action function="set">tw_action2=</action>
972 <action function="set">tw_action2_param=</action>
973 <action function="set">tw_has_cancel=0</action>
974 <action function="set">tw_cancel_action=</action>
975 <action function="set">tw_cancel_param=</action>
976 <action function="set">tw_show_exclamation=0</action>
977 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400978 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400979 <action function="set">tw_multiuser_warning_accepted=</action>
980 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100981 <action function="page">%tw_clear_destination%</action>
982 </action>
983 </page>
984
Matt Mower908dd252016-05-25 02:26:50 -0500985 <page name="reboot_system_routine">
986 <action>
987 <action function="set">tw_back=main2</action>
988 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500989 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500990 <action function="set">tw_has_action2=0</action>
991 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
992 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
993 <action function="set">tw_text3=</action>
994 <action function="set">tw_text4=</action>
995 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
996 <action function="set">tw_action_text2=</action>
997 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
998 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
999 <action function="page">rebootcheck</action>
1000 </action>
1001 </page>
1002
z31s1g28f0a922015-11-07 18:50:22 +01001003 <page name="confirm_action">
1004 <template name="page"/>
1005
1006 <template name="statusbar"/>
1007
1008 <text style="text_m">
1009 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <text style="text_m_accent">
1014 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1015 <text>%tw_text1%</text>
1016 </text>
1017
1018 <text style="text_m_accent">
1019 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1020 <text>%tw_text2%</text>
1021 </text>
1022
1023 <text style="text_m">
1024 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1025 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1026 <text>%tw_text3%</text>
1027 </text>
1028
1029 <text style="text_m">
1030 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1031 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1032 <text>%tw_text4%</text>
1033 </text>
1034
1035 <text style="text_m_fail">
1036 <condition var1="tw_action" var2="changefilesystem"/>
1037 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1038 <text>%tw_text3%</text>
1039 </text>
1040
1041 <text style="text_m_fail">
1042 <condition var1="tw_action" var2="changefilesystem"/>
1043 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1044 <text>%tw_text4%</text>
1045 </text>
1046
1047 <text style="text_m">
1048 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001049 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001050 </text>
1051
1052 <slider>
1053 <text>%tw_slider_text%</text>
1054 <action function="page">action_page</action>
1055 </slider>
1056
1057 <action>
1058 <touch key="back"/>
1059 <actions>
1060 <action function="set">tw_clear_destination=%tw_back%</action>
1061 <action function="page">clear_vars</action>
1062 </actions>
1063 </action>
1064
1065 <action>
1066 <touch key="home"/>
1067 <action function="page">main</action>
1068 </action>
1069 </page>
1070
1071 <page name="action_page">
1072 <template name="page"/>
1073
1074 <template name="statusbar"/>
1075
1076 <text style="text_m">
1077 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1078 <text>%tw_action_text1% %tw_action_text2%</text>
1079 </text>
1080
1081 <template name="console"/>
1082
1083 <template name="progress_bar"/>
1084
1085 <button style="main_button_half_height">
1086 <condition var1="tw_has_cancel" var2="1"/>
1087 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001089 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1090 </button>
1091
1092 <action>
1093 <condition var1="tw_operation_state" var2="1"/>
1094 <actions>
1095 <action function="page">action_complete</action>
1096 </actions>
1097 </action>
1098
1099 <action>
1100 <condition var1="tw_has_action2" var2="0"/>
1101 <actions>
1102 <action function="%tw_action%">%tw_action_param%</action>
1103 </actions>
1104 </action>
1105
1106 <action>
1107 <condition var1="tw_has_action2" var2="1"/>
1108 <actions>
1109 <action function="%tw_action%">%tw_action_param%</action>
1110 <action function="%tw_action2%">%tw_action2_param%</action>
1111 </actions>
1112 </action>
1113 </page>
1114
1115 <page name="singleaction_page">
1116 <template name="page"/>
1117
1118 <template name="statusbar"/>
1119
1120 <text style="text_m">
1121 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1122 <text>%tw_action_text1% %tw_action_text2%</text>
1123 </text>
1124
1125 <template name="console"/>
1126
1127 <template name="progress_bar"/>
1128
1129 <action>
1130 <condition var1="tw_operation_state" var2="1"/>
1131 <actions>
1132 <action function="set">tw_page_done=1</action>
1133 </actions>
1134 </action>
1135
1136 <action>
1137 <condition var1="tw_has_action2" var2="0"/>
1138 <actions>
1139 <action function="%tw_action%">%tw_action_param%</action>
1140 </actions>
1141 </action>
1142
1143 <action>
1144 <condition var1="tw_has_action2" var2="1"/>
1145 <actions>
1146 <action function="%tw_action%">%tw_action_param%</action>
1147 <action function="%tw_action2%">%tw_action2_param%</action>
1148 </actions>
1149 </action>
1150 </page>
1151
1152 <page name="action_complete">
1153 <template name="page"/>
1154
1155 <template name="statusbar"/>
1156
1157 <text style="text_m_fail">
1158 <condition var1="tw_operation_status" op="!=" var2="0"/>
1159 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 </text>
1162
1163 <text style="text_m">
1164 <condition var1="tw_operation_status" var2="0"/>
1165 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 </text>
1168
1169 <template name="console"/>
1170
1171 <button style="main_button_half_height">
1172 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 <actions>
1175 <action function="set">tw_clear_destination=%tw_back%</action>
1176 <action function="page">clear_vars</action>
1177 </actions>
1178 </button>
1179
1180 <button style="main_button_half_height">
1181 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001182 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001183 <actions>
1184 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001185 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </actions>
1187 </button>
1188
1189 <action>
1190 <touch key="home"/>
1191 <actions>
1192 <action function="set">tw_clear_destination=main2</action>
1193 <action function="page">clear_vars</action>
1194 </actions>
1195 </action>
1196
1197 <action>
1198 <touch key="back"/>
1199 <actions>
1200 <action function="set">tw_clear_destination=%tw_back%</action>
1201 <action function="page">clear_vars</action>
1202 </actions>
1203 </action>
1204 </page>
1205
1206 <page name="filecheck">
1207 <action>
1208 <action function="fileexists">%tw_filecheck%</action>
1209 </action>
1210
1211 <action>
1212 <conditions>
1213 <condition var1="tw_operation_state" var2="1"/>
1214 <condition var1="tw_operation_status" var2="0"/>
1215 </conditions>
1216 <actions>
1217 <action function="set">tw_fileexists=1</action>
1218 <action function="page">%tw_existpage%</action>
1219 </actions>
1220 </action>
1221
1222 <action>
1223 <conditions>
1224 <condition var1="tw_operation_state" var2="1"/>
1225 <condition var1="tw_operation_status" var2="1"/>
1226 </conditions>
1227 <actions>
1228 <action function="set">tw_fileexists=0</action>
1229 <action function="page">%tw_notexistpage%</action>
1230 </actions>
1231 </action>
1232 </page>
1233
1234 <page name="rebootcheck">
1235 <action>
1236 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001237 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 </action>
1239
1240 <action>
1241 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1242 <action function="page">confirm_action</action>
1243 </action>
1244 </page>
1245
1246 <page name="wipe_type1">
1247 <template name="page"/>
1248
1249 <template name="statusbar"/>
1250
1251 <text style="text_m">
1252 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <button style="main_button_full_width">
1257 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 <action function="page">wipe</action>
1260 </button>
1261
1262 <button style="main_button_full_width">
1263 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001265 <actions>
1266 <action function="set">partitionlisterror=0</action>
1267 <action function="page">advancedwipe</action>
1268 </actions>
1269 </button>
1270
1271 <button>
1272 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1273 <highlight color="%highlight_color%"/>
1274 <image resource="q_btn_arrow_right"/>
1275 <action function="page">wipe_type2</action>
1276 </button>
1277
1278 <action>
1279 <touch key="home"/>
1280 <action function="page">main</action>
1281 </action>
1282
1283 <action>
1284 <touch key="back"/>
1285 <action function="page">main</action>
1286 </action>
1287 </page>
1288
1289 <page name="wipe_type2">
1290 <template name="page"/>
1291
1292 <template name="statusbar"/>
1293
1294 <text style="text_m">
1295 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <button style="main_button_full_width">
1300 <condition var1="tw_has_data_media" var2="1"/>
1301 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001303 <action function="page">formatdata</action>
1304 </button>
1305
1306 <button style="main_button_full_width">
1307 <conditions>
1308 <condition var1="tw_is_encrypted" var2="1"/>
1309 <condition var1="tw_has_data_media" var2="0"/>
1310 </conditions>
1311 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 <actions>
1314 <action function="set">tw_back=wipe</action>
1315 <action function="set">tw_action=wipe</action>
1316 <action function="set">tw_action_param=DATAMEDIA</action>
1317 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001319 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1321 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1322 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001323 <action function="page">confirm_action</action>
1324 </actions>
1325 </button>
1326
1327 <button style="main_button_full_width">
1328 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001330 <action function="set">partitionlisterror=0</action>
1331 <action function="page">partitionoptions_select</action>
1332 </actions>
1333 </button>
1334
1335 <button>
1336 <placement x="%col1_x_left%" y="%row11_y%"/>
1337 <highlight color="%highlight_color%"/>
1338 <image resource="q_btn_arrow_left"/>
1339 <action function="page">wipe_type1</action>
1340 </button>
1341
1342 <action>
1343 <touch key="home"/>
1344 <action function="page">main</action>
1345 </action>
1346
1347 <action>
1348 <touch key="back"/>
1349 <action function="page">main</action>
1350 </action>
1351 </page>
1352
1353 <page name="wipe">
1354 <template name="page"/>
1355
1356 <template name="statusbar"/>
1357
1358 <text style="text_m">
1359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001360 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001361 </text>
1362
1363 <text style="text_m_accent">
1364 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001369 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001370 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1371 </text>
1372
1373 <text style="text_m_accent">
1374 <condition var1="tw_has_data_media" var2="1"/>
1375 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001377 </text>
1378
1379 <text style="text_m_accent">
1380 <conditions>
1381 <condition var1="tw_has_android_secure" var2="1"/>
1382 <condition var1="fileexists" var2="/and-sec"/>
1383 </conditions>
1384 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001385 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001386 </text>
1387
1388 <text style="text_m_accent">
1389 <condition var1="tw_has_sdext_partition" var2="1"/>
1390 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001392 </text>
1393
1394 <text style="text_m">
1395 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m">
1400 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m">
1405 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001407 </text>
1408
1409 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 <actions>
1412 <action function="set">tw_back=wipe</action>
1413 <action function="set">tw_action=wipe</action>
1414 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1416 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001417 <action function="page">action_page</action>
1418 </actions>
1419 </slider>
1420
1421 <action>
1422 <touch key="back"/>
1423 <action function="page">wipe_type1</action>
1424 </action>
1425
1426 <action>
1427 <touch key="home"/>
1428 <action function="page">main</action>
1429 </action>
1430 </page>
1431
1432 <page name="advancedwipe">
1433 <action>
1434 <action function="set">tw_wipe_list=</action>
1435 </action>
1436
1437 <template name="page"/>
1438
1439 <template name="statusbar"/>
1440
1441 <text style="text_m">
1442 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001444 </text>
1445
1446 <partitionlist style="partitionlist_headerless_cb">
1447 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1448 <data name="tw_wipe_list"/>
1449 <listtype name="wipe"/>
1450 </partitionlist>
1451
1452 <fill color="%accent_color%">
1453 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1454 </fill>
1455
1456 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <actions>
1459 <action function="set">tw_back=advancedwipe</action>
1460 <action function="set">tw_action=wipe</action>
1461 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001462 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1463 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1464 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001465 <action function="page">action_page</action>
1466 </actions>
1467 </slider>
1468
1469 <action>
1470 <touch key="home"/>
1471 <action function="page">main</action>
1472 </action>
1473
1474 <action>
1475 <touch key="back"/>
1476 <action function="page">wipe_type1</action>
1477 </action>
1478 </page>
1479
1480 <page name="formatdata">
1481 <template name="page"/>
1482
1483 <template name="statusbar"/>
1484
1485 <text style="text_m">
1486 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001487 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001488 </text>
1489
1490 <text style="text_m_fail">
1491 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 </text>
1494
1495 <text style="text_m_fail">
1496 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001498 </text>
1499
1500 <text style="text_m">
1501 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <input>
1506 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1507 <text>%tw_confirm_formatdata%</text>
1508 <data name="tw_confirm_formatdata"/>
1509 <restrict minlen="3" maxlen="3" allow="yes"/>
1510 <action function="page">formatdata_confirm</action>
1511 </input>
1512
1513 <fill color="%accent_color%">
1514 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1515 </fill>
1516
1517 <template name="keyboardtemplate"/>
1518
1519 <action>
1520 <touch key="home"/>
1521 <action function="page">main</action>
1522 </action>
1523
1524 <action>
1525 <touch key="back"/>
1526 <action function="page">wipe_type2</action>
1527 </action>
1528 </page>
1529
1530 <page name="formatdata_confirm">
1531 <action>
1532 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1533 <actions>
1534 <action function="set">tw_back=formatdata</action>
1535 <action function="set">tw_action=wipe</action>
1536 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1538 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001539 <action function="page">action_page</action>
1540 </actions>
1541 </action>
1542
1543 <action>
1544 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1545 <action function="page">formatdata</action>
1546 </action>
1547 </page>
1548
1549 <page name="checkpartitionlist">
1550 <action>
1551 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1552 <actions>
1553 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001554 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001555 <action function="page">partitionoptions</action>
1556 </actions>
1557 </action>
1558
1559 <action>
1560 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1561 <actions>
1562 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001563 <action function="page">partitionoptions_select</action>
1564 </actions>
1565 </action>
1566 </page>
1567
1568 <page name="partitionoptions_select">
1569 <action>
1570 <action function="set">tw_wipe_list=</action>
1571 </action>
1572
1573 <template name="page"/>
1574
1575 <template name="statusbar"/>
1576
1577 <text style="text_m">
1578 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001579 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001580 </text>
1581
1582 <partitionlist style="partitionlist_headerless_cb">
1583 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1584 <data name="tw_wipe_list"/>
1585 <listtype name="wipe"/>
1586 </partitionlist>
1587
1588 <fill color="%accent_color%">
1589 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1590 </fill>
1591
z31s1g28f0a922015-11-07 18:50:22 +01001592 <text style="text_m_fail">
1593 <condition var1="partitionlisterror" var2="1"/>
1594 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <button>
1599 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1600 <highlight color="%highlight_color%"/>
1601 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001602 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001603 <action function="page">checkpartitionlist</action>
1604 </actions>
1605 </button>
1606
1607 <action>
1608 <touch key="home"/>
1609 <action function="page">main</action>
1610 </action>
1611
1612 <action>
1613 <touch key="back"/>
1614 <action function="page">wipe_type2</action>
1615 </action>
1616 </page>
1617
1618 <page name="partitionoptions">
1619
1620 <template name="page"/>
1621
1622 <template name="statusbar"/>
1623
1624 <text style="text_m">
1625 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001626 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001627 </text>
1628
1629 <text style="text_m_accent">
1630 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <text style="text_m_accent">
1635 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001636 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001637 </text>
1638
1639 <text style="text_m">
1640 <condition var1="tw_partition_is_present" var2="1"/>
1641 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 </text>
1644
1645 <text style="text_m">
1646 <condition var1="tw_partition_is_present" var2="0"/>
1647 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m">
1652 <condition var1="tw_partition_removable" var2="1"/>
1653 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 </text>
1656
1657 <text style="text_m">
1658 <condition var1="tw_partition_removable" var2="0"/>
1659 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 </text>
1662
1663 <text style="text_m">
1664 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001665 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001666 </text>
1667
1668 <text style="text_m">
1669 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001675 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001676 </text>
1677
1678 <text style="text_m">
1679 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </text>
1682
1683 <button style="main_button">
1684 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1685 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <actions>
1688 <action function="set">tw_back=partitionoptions</action>
1689 <action function="set">tw_action=resize</action>
1690 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1691 <action function="set">tw_has_action2=1</action>
1692 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001693 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001695 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1697 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1698 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <action function="page">confirm_action</action>
1700 </actions>
1701 </button>
1702
1703 <button style="main_button">
1704 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1705 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 <actions>
1708 <action function="set">tw_back=partitionoptions</action>
1709 <action function="set">tw_action=repair</action>
1710 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1711 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001712 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1715 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1716 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001717 <action function="page">confirm_action</action>
1718 </actions>
1719 </button>
1720
1721 <button>
1722 <placement x="%col1_x_left%" y="%row11_y%"/>
1723 <highlight color="%highlight_color%"/>
1724 <image resource="q_btn_arrow_left"/>
1725 <action function="page">partitionoptions_select</action>
1726 </button>
1727
1728 <button style="main_button">
1729 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001730 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="page">selectfilesystem</action>
1732 </button>
1733
1734 <action>
1735 <touch key="home"/>
1736 <action function="page">main</action>
1737 </action>
1738
1739 <action>
1740 <touch key="back"/>
1741 <action function="page">partitionoptions_select</action>
1742 </action>
1743 </page>
1744
1745 <page name="refreshfilesystem">
1746 <action>
1747 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1748 <actions>
1749 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001750 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <action function="page">selectfilesystem</action>
1752 </actions>
1753 </action>
1754
1755 <action>
1756 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1757 <actions>
1758 <action function="set">partitionlisterror=1</action>
1759 <action function="set">tw_wipe_list=</action>
1760 <action function="page">advancedwipe</action>
1761 </actions>
1762 </action>
1763 </page>
1764
1765 <page name="selectfilesystem">
1766 <template name="page"/>
1767
1768 <template name="statusbar"/>
1769
1770 <text style="text_m">
1771 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001772 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001773 </text>
1774
1775 <button style="main_button">
1776 <condition var1="tw_partition_ext" op="=" var2="1"/>
1777 <placement x="%col1_x_left%" y="%row1_y%"/>
1778 <text>EXT2</text>
1779 <actions>
1780 <action function="set">tw_back=refreshfilesystem</action>
1781 <action function="set">tw_action=changefilesystem</action>
1782 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1783 <action function="set">tw_action_new_file_system=ext2</action>
1784 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1786 <action function="set">tw_text2=EXT2</action>
1787 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1788 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1789 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1790 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1791 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001792 <action function="page">confirm_action</action>
1793 </actions>
1794 </button>
1795
1796 <button style="main_button">
1797 <condition var1="tw_partition_ext" op="=" var2="1"/>
1798 <placement x="%col1_x_left%" y="%row6_y%"/>
1799 <text>EXT3</text>
1800 <actions>
1801 <action function="set">tw_back=refreshfilesystem</action>
1802 <action function="set">tw_action=changefilesystem</action>
1803 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1804 <action function="set">tw_action_new_file_system=ext3</action>
1805 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001806 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1807 <action function="set">tw_text2=EXT3</action>
1808 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1809 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1810 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1811 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1812 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001813 <action function="page">confirm_action</action>
1814 </actions>
1815 </button>
1816
1817 <button style="main_button">
1818 <condition var1="tw_partition_ext" op="=" var2="1"/>
1819 <placement x="%col1_x_left%" y="%row11_y%"/>
1820 <text>EXT4</text>
1821 <actions>
1822 <action function="set">tw_back=refreshfilesystem</action>
1823 <action function="set">tw_action=changefilesystem</action>
1824 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1825 <action function="set">tw_action_new_file_system=ext4</action>
1826 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1828 <action function="set">tw_text2=EXT4</action>
1829 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1830 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1831 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1832 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1833 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001834 <action function="page">confirm_action</action>
1835 </actions>
1836 </button>
1837
1838 <button style="main_button">
1839 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1840 <placement x="%col1_x_right%" y="%row1_y%"/>
1841 <text>FAT</text>
1842 <actions>
1843 <action function="set">tw_back=refreshfilesystem</action>
1844 <action function="set">tw_action=changefilesystem</action>
1845 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1846 <action function="set">tw_action_new_file_system=vfat</action>
1847 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1849 <action function="set">tw_text2=FAT</action>
1850 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1851 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1852 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1853 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1854 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001855 <action function="page">confirm_action</action>
1856 </actions>
1857 </button>
1858
1859 <button style="main_button">
1860 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1861 <placement x="%col1_x_right%" y="%row6_y%"/>
1862 <text>exFAT</text>
1863 <actions>
1864 <action function="set">tw_back=refreshfilesystem</action>
1865 <action function="set">tw_action=changefilesystem</action>
1866 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1867 <action function="set">tw_action_new_file_system=exfat</action>
1868 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1870 <action function="set">tw_text2=exFAT</action>
1871 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1872 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1873 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1874 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1875 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001876 <action function="page">confirm_action</action>
1877 </actions>
1878 </button>
1879
1880 <button style="main_button">
1881 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1882 <placement x="%col1_x_right%" y="%row11_y%"/>
1883 <text>F2FS</text>
1884 <actions>
1885 <action function="set">tw_back=refreshfilesystem</action>
1886 <action function="set">tw_action=changefilesystem</action>
1887 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1888 <action function="set">tw_action_new_file_system=f2fs</action>
1889 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001890 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1891 <action function="set">tw_text2=F2FS</action>
1892 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1893 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1894 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1895 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1896 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001897 <action function="page">confirm_action</action>
1898 </actions>
1899 </button>
1900
1901 <action>
1902 <touch key="home"/>
1903 <action function="page">main</action>
1904 </action>
1905
1906 <action>
1907 <touch key="back"/>
1908 <action function="page">partitionoptions</action>
1909 </action>
1910 </page>
1911
bigbiffce8f83c2015-12-12 18:30:21 -05001912 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001913 <template name="page"/>
1914
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001915 <action>
1916 <conditions>
1917 <condition var1="tw_is_fbe" var2="1"/>
1918 <condition var1="tw_all_users_decrypted" var2="0"/>
1919 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1920 </conditions>
1921 <actions>
1922 <action function="set">tw_multiuser_warning_destination=backup</action>
1923 <action function="page">multiuser_warning</action>
1924 </actions>
1925 </action>
1926
z31s1g28f0a922015-11-07 18:50:22 +01001927 <template name="statusbar"/>
1928
1929 <text style="text_m">
1930 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001931 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001932 </text>
1933
1934 <partitionlist style="partitionlist_headerless_rb">
1935 <data name="tw_storage_path"/>
1936 <listtype name="storage"/>
1937 </partitionlist>
1938
1939 <button>
1940 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1941 <highlight color="%highlight_color%"/>
1942 <image resource="q_btn_refresh"/>
1943 <actions>
1944 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001945 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001946 </actions>
1947 </button>
1948
1949 <button>
1950 <condition var1="tw_back" var2="backup_confirm"/>
1951 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1952 <highlight color="%highlight_color%"/>
1953 <image resource="q_btn_accept"/>
1954 <action function="page">backup_confirm</action>
1955 </button>
1956
1957 <button>
1958 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1959 <highlight color="%highlight_color%"/>
1960 <image resource="q_btn_arrow_right"/>
1961 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001962 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001963 <action function="page">backup_selectpartitions</action>
1964 </actions>
1965 </button>
1966
1967 <action>
1968 <touch key="home"/>
1969 <action function="page">main</action>
1970 </action>
1971
1972 <action>
1973 <touch key="back"/>
1974 <action function="page">%tw_back%</action>
1975 </action>
1976
1977 <action>
1978 <touch key="power+voldown"/>
1979 <action function="screenshot"/>
1980 </action>
1981 </page>
1982
1983 <page name="backup_selectpartitions">
1984 <template name="page"/>
1985
1986 <template name="statusbar"/>
1987
1988 <text style="text_m">
1989 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <partitionlist style="partitionlist_headerless_cb">
1994 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1995 <data name="tw_backup_list"/>
1996 <listtype name="backup"/>
1997 </partitionlist>
1998
1999 <fill color="%accent_color%">
2000 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2001 </fill>
2002
2003 <button>
2004 <placement x="%col1_x_left%" y="%row11_y%"/>
2005 <highlight color="%highlight_color%"/>
2006 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002007 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </button>
2009
2010 <button>
2011 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2012 <highlight color="%highlight_color%"/>
2013 <image resource="q_btn_refresh"/>
2014 <action function="page">backup_selectpartitions</action>
2015 </button>
2016
2017 <button>
2018 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2019 <highlight color="%highlight_color%"/>
2020 <image resource="q_btn_accept"/>
2021 <action function="page">backup_confirm</action>
2022 </button>
2023
2024 <button>
2025 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2026 <highlight color="%highlight_color%"/>
2027 <image resource="q_btn_arrow_right"/>
2028 <actions>
2029 <action function="set">tw_back=backup_selectpartitions</action>
2030 <action function="page">backup_options</action>
2031 </actions>
2032 </button>
2033
2034 <action>
2035 <touch key="home"/>
2036 <action function="page">main</action>
2037 </action>
2038
2039 <action>
2040 <touch key="back"/>
2041 <action function="page">%tw_back%</action>
2042 </action>
2043
2044 <action>
2045 <touch key="power+voldown"/>
2046 <action function="screenshot"/>
2047 </action>
2048 </page>
2049
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002050 <page name="multiuser_warning">
2051 <template name="page"/>
2052
2053 <text style="text_m">
2054 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2055 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2056 </text>
2057
2058 <text style="text_m_fail">
2059 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2060 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2061 </text>
2062
2063 <text style="text_m_fail">
2064 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2065 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2066 </text>
2067
2068 <button style="main_button_full_width">
2069 <placement x="%col1_x_left%" y="%row6_y%"/>
2070 <text>{@decrypt_users=Decrypt Users}</text>
2071 <action function="page">decrypt_users</action>
2072 </button>
2073
2074 <slider>
2075 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2076 <actions>
2077 <action function="set">tw_multiuser_warning_accepted=1</action>
2078 <action function="page">%tw_multiuser_warning_destination%</action>
2079 </actions>
2080 </slider>
2081
2082 <action>
2083 <touch key="home"/>
2084 <action function="page">main</action>
2085 </action>
2086
2087 <action>
2088 <touch key="back"/>
2089 <action function="page">main</action>
2090 </action>
2091 </page>
2092
z31s1g28f0a922015-11-07 18:50:22 +01002093 <page name="backup_options">
2094 <template name="page"/>
2095
2096 <template name="statusbar"/>
2097
2098 <text style="text_m">
2099 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002100 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002101 </text>
2102
2103 <listbox style="scrolllist">
2104 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002106 <data variable="tw_use_compression"/>
2107 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002108 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2109 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002110 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002111 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002112 <data variable="tw_disable_free_space"/>
2113 </listitem>
2114 </listbox>
2115
2116 <button>
2117 <placement x="%col1_x_left%" y="%row11_y%"/>
2118 <highlight color="%highlight_color%"/>
2119 <image resource="q_btn_arrow_left"/>
2120 <action function="page">backup_selectpartitions</action>
2121 </button>
2122
2123 <button>
2124 <conditions>
2125 <condition var1="tw_include_encrypted_backup" var2="1"/>
2126 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002127 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002128 </conditions>
2129 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2130 <highlight color="%highlight_color%"/>
2131 <image resource="q_btn_encryption_dis"/>
2132 <actions>
2133 <action function="set">tw_password_not_match=0</action>
2134 <action function="set">tw_back=backup_options</action>
2135 <action function="page">backupencryption</action>
2136 </actions>
2137 </button>
2138
2139 <button>
2140 <conditions>
2141 <condition var1="tw_include_encrypted_backup" var2="1"/>
2142 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002143 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </conditions>
2145 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2146 <highlight color="%highlight_color%"/>
2147 <image resource="q_btn_encryption_en"/>
2148 <actions>
2149 <action function="set">tw_password_not_match=0</action>
2150 <action function="set">tw_back=backup_options</action>
2151 <action function="page">backupencryption</action>
2152 </actions>
2153 </button>
2154
2155 <button>
2156 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2157 <highlight color="%highlight_color%"/>
2158 <image resource="q_btn_accept_transp"/>
2159 <actions>
2160 <action function="set">tw_back=backup_options</action>
2161 <action function="page">backup_confirm</action>
2162 </actions>
2163 </button>
2164
2165 <action>
2166 <touch key="home"/>
2167 <action function="page">main</action>
2168 </action>
2169
2170 <action>
2171 <touch key="back"/>
2172 <action function="page">%tw_back%</action>
2173 </action>
2174
2175 <action>
2176 <touch key="power+voldown"/>
2177 <action function="screenshot"/>
2178 </action>
2179 </page>
2180
2181 <page name="backup_confirm">
2182 <template name="page"/>
2183
2184 <template name="statusbar"/>
2185
2186 <text style="text_m">
2187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002188 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002189 </text>
2190
2191 <text style="text_m_accent">
2192 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002194 </text>
2195
2196 <text style="text_m">
2197 <placement x="%col1_x_left%" y="%row2_y%"/>
2198 <text>%tw_backup_name%</text>
2199 </text>
2200
2201 <fill color="%accent_color%">
2202 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2203 </fill>
2204
2205 <button>
2206 <fill color="%transparent%"/>
2207 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2208 <actions>
2209 <action function="set">tw_back=backup_confirm</action>
2210 <action function="set">tw_fileexists=0</action>
2211 <action function="page">backup_name1</action>
2212 </actions>
2213 </button>
2214
2215 <fill color="%background_color%">
2216 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2217 </fill>
2218
2219 <text style="text_m_accent">
2220 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002222 </text>
2223
2224 <partitionlist style="partitionlist_summary">
2225 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2226 <data name="tw_backup_list"/>
2227 <listtype name="backup"/>
2228 </partitionlist>
2229
2230 <button>
2231 <fill color="%transparent%"/>
2232 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2233 <actions>
2234 <action function="set">tw_back=backup_confirm</action>
2235 <action function="page">backup_selectpartitions</action>
2236 </actions>
2237 </button>
2238
2239 <text style="text_m_accent">
2240 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 </text>
2243
2244 <text style="text_m">
2245 <placement x="%col1_x_right%" y="%row2_y%"/>
2246 <text>%tw_storage_display_name%</text>
2247 </text>
2248
2249 <button>
2250 <fill color="%transparent%"/>
2251 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2252 <actions>
2253 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002254 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002255 </actions>
2256 </button>
2257
2258 <text style="text_m_accent">
2259 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002260 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002261 </text>
2262
2263 <text style="text_m">
2264 <conditions>
2265 <condition var1="tw_include_encrypted_backup" var2="1"/>
2266 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002267 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </conditions>
2269 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <text style="text_m">
2274 <conditions>
2275 <condition var1="tw_include_encrypted_backup" var2="1"/>
2276 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002277 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </conditions>
2279 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 </text>
2282
2283 <button>
2284 <fill color="%transparent%"/>
2285 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2286 <actions>
2287 <action function="set">tw_back=backup_confirm</action>
2288 <action function="page">backupencryption</action>
2289 </actions>
2290 </button>
2291
2292 <listbox style="listbox_options">
2293 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002294 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002295 <data variable="tw_use_compression"/>
2296 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002297 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2298 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002300 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002301 <data variable="tw_disable_free_space"/>
2302 </listitem>
2303 </listbox>
2304
2305 <text style="text_m_accent">
2306 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002307 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002308 </text>
2309
2310 <button>
2311 <fill color="%transparent%"/>
2312 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2313 <actions>
2314 <action function="set">tw_back=backup_confirm</action>
2315 <action function="page">backup_options</action>
2316 </actions>
2317 </button>
2318
2319 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002320 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002321 <action function="page">backup_run</action>
2322 </slider>
2323
2324 <action>
2325 <touch key="home"/>
2326 <action function="page">main</action>
2327 </action>
2328
2329 <action>
2330 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002331 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002332 </action>
2333 </page>
2334
2335 <page name="backup_name1">
2336 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002337 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002338 <action function="generatebackupname"/>
2339 </action>
2340
2341 <action>
2342 <action function="page">backup_name2</action>
2343 </action>
2344 </page>
2345
2346 <page name="backup_name2">
2347 <template name="page"/>
2348
2349 <template name="statusbar"/>
2350
2351 <text style="text_m">
2352 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002353 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002354 </text>
2355
2356 <text style="text_m_accent">
2357 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <input>
2362 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2363 <text>%tw_backup_name%</text>
2364 <data name="tw_backup_name"/>
2365 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2366 <actions>
2367 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2368 <action function="set">tw_existpage=backup_name2</action>
2369 <action function="set">tw_notexistpage=backup_confirm</action>
2370 <action function="page">filecheck</action>
2371 </actions>
2372 </input>
2373
2374 <fill color="%accent_color%">
2375 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2376 </fill>
2377
2378 <fill color="%text_fail_color%">
2379 <condition var1="tw_fileexists" var2="1"/>
2380 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2381 </fill>
2382
2383 <text style="text_m_fail">
2384 <condition var1="tw_fileexists" var2="1"/>
2385 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 </text>
2388
2389 <button style="main_button_half_height">
2390 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002393 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002394 <action function="page">backup_confirm</action>
2395 </actions>
2396 </button>
2397
2398 <button style="main_button_half_height">
2399 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002400 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002401 <action function="appenddatetobackupname"/>
2402 </button>
2403
2404 <template name="keyboardtemplate"/>
2405
2406 <action>
2407 <touch key="home"/>
2408 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002410 <action function="page">main</action>
2411 </actions>
2412 </action>
2413
2414 <action>
2415 <touch key="back"/>
2416 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002418 <action function="page">backup_confirm</action>
2419 </actions>
2420 </action>
2421 </page>
2422
2423 <page name="backupencryption">
2424 <template name="page"/>
2425
2426 <template name="statusbar"/>
2427
2428 <text style="text_m">
2429 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002430 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002431 </text>
2432
2433 <text style="text_m_accent">
2434 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </text>
2437
2438 <input>
2439 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2440 <text>%tw_backup_encrypt_display%</text>
2441 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2442 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2443 <action function="page">backupencryption2</action>
2444 </input>
2445
2446 <fill color="%accent_color%">
2447 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2448 </fill>
2449
2450 <fill color="%text_fail_color%">
2451 <condition var1="tw_password_not_match" var2="1"/>
2452 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2453 </fill>
2454
2455 <text style="text_m_fail">
2456 <condition var1="tw_password_not_match" var2="1"/>
2457 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <button style="main_button_half_height">
2462 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002463 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002464 <actions>
2465 <action function="set">tw_encrypt_backup=0</action>
2466 <action function="set">tw_backup_password=</action>
2467 <action function="set">tw_backup_password2=</action>
2468 <action function="set">tw_backup_encrypt_display=</action>
2469 <action function="set">tw_backup_encrypt_display2=</action>
2470 <action function="page">%tw_back%</action>
2471 </actions>
2472 </button>
2473
2474 <template name="keyboardtemplate"/>
2475
2476 <action>
2477 <touch key="home"/>
2478 <action function="page">main</action>
2479 </action>
2480
2481 <action>
2482 <touch key="back"/>
2483 <action function="page">%tw_back%</action>
2484 </action>
2485 </page>
2486
2487 <page name="backupencryption2">
2488 <template name="page"/>
2489
2490 <template name="statusbar"/>
2491
2492 <text style="text_m">
2493 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002494 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002495 </text>
2496
2497 <text style="text_m_accent">
2498 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 </text>
2501
2502 <input>
2503 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2504 <text>%tw_backup_encrypt_display2%</text>
2505 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2506 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2507 <action function="page">checkbackuppassword</action>
2508 </input>
2509
2510 <fill color="%accent_color%">
2511 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2512 </fill>
2513
2514 <button style="main_button_half_height">
2515 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002516 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002517 <actions>
2518 <action function="set">tw_encrypt_backup=0</action>
2519 <action function="set">tw_backup_password=</action>
2520 <action function="set">tw_backup_password2=</action>
2521 <action function="set">tw_backup_encrypt_display=</action>
2522 <action function="set">tw_backup_encrypt_display2=</action>
2523 <action function="page">%tw_back%</action>
2524 </actions>
2525 </button>
2526
2527 <template name="keyboardtemplate"/>
2528
2529 <action>
2530 <touch key="home"/>
2531 <action function="page">main</action>
2532 </action>
2533
2534 <action>
2535 <touch key="back"/>
2536 <action function="page">%tw_back%</action>
2537 </action>
2538 </page>
2539
2540 <page name="checkbackuppassword">
2541 <action>
2542 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2543 <actions>
2544 <action function="set">tw_encrypt_backup=1</action>
2545 <action function="page">%tw_back%</action>
2546 </actions>
2547 </action>
2548
2549 <action>
2550 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2551 <actions>
2552 <action function="set">tw_encrypt_backup=0</action>
2553 <action function="set">tw_password_not_match=1</action>
2554 <action function="set">tw_backup_password=</action>
2555 <action function="set">tw_backup_password2=</action>
2556 <action function="set">tw_backup_encrypt_display=</action>
2557 <action function="set">tw_backup_encrypt_display2=</action>
2558 <action function="page">backupencryption</action>
2559 </actions>
2560 </action>
2561 </page>
2562
2563 <page name="backup_run">
2564 <template name="page"/>
2565
2566 <template name="statusbar"/>
2567
2568 <text style="text_m">
2569 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2570 <text>%tw_operation% %tw_partition%</text>
2571 </text>
2572
2573 <template name="console"/>
2574
2575 <template name="progress_bar"/>
2576
2577 <text style="text_m">
2578 <placement x="%indent%" y="%row13a_y%"/>
2579 <text>%tw_file_progress%</text>
2580 </text>
2581
2582 <text style="text_m">
2583 <placement x="%indent%" y="%row14a_y%"/>
2584 <text>%tw_size_progress%</text>
2585 </text>
2586
2587 <button style="main_button_half_height">
2588 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 <action function="cancelbackup"/>
2591 </button>
2592
2593 <action>
2594 <action function="nandroid">backup</action>
2595 </action>
2596
2597 <action>
2598 <condition var1="tw_operation_state" var2="1"/>
2599 <condition var1="tw_cancel_backup" var2="0"/>
2600 <actions>
2601 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002602 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002603 <action function="set">tw_show_reboot=1</action>
2604 <action function="page">action_complete</action>
2605 </actions>
2606 </action>
2607
2608 <action>
2609 <condition var1="tw_operation_state" var2="1"/>
2610 <condition var1="tw_cancel_backup" var2="1"/>
2611 <actions>
2612 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002614 <action function="set">tw_show_reboot=1</action>
2615 <action function="page">action_complete</action>
2616 </actions>
2617 </action>
2618 </page>
2619
2620 <page name="restore">
2621 <template name="page"/>
2622
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002623 <action>
2624 <conditions>
2625 <condition var1="tw_is_fbe" var2="1"/>
2626 <condition var1="tw_all_users_decrypted" var2="0"/>
2627 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2628 </conditions>
2629 <actions>
2630 <action function="set">tw_multiuser_warning_destination=restore</action>
2631 <action function="page">multiuser_warning</action>
2632 </actions>
2633 </action>
2634
z31s1g28f0a922015-11-07 18:50:22 +01002635 <template name="statusbar"/>
2636
2637 <text style="text_m">
2638 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 </text>
2641
2642 <fileselector>
2643 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2644 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002645 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002646 <path name="tw_backups_folder"/>
2647 <data name="tw_restore" default=""/>
2648 <selection name="tw_restore_name"/>
2649 </fileselector>
2650
2651 <button>
2652 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2653 <highlight color="%highlight_color%"/>
2654 <image resource="q_btn_storage"/>
2655 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <action function="set">tw_back=restore</action>
2658 <action function="page">select_storage</action>
2659 </actions>
2660 </button>
2661
2662 <action>
2663 <condition var1="tw_restore" op="modified"/>
2664 <actions>
2665 <action function="readBackup"/>
2666 <action function="set">tw_back=restore</action>
2667 <action function="page">restore_read</action>
2668 </actions>
2669 </action>
2670
2671 <action>
2672 <touch key="home"/>
2673 <action function="page">main</action>
2674 </action>
2675
2676 <action>
2677 <touch key="back"/>
2678 <action function="page">main</action>
2679 </action>
2680 </page>
2681
2682 <page name="restore_read">
2683 <action>
2684 <condition var1="tw_restore_encrypted" var2="1"/>
2685 <actions>
2686 <action function="set">tw_password_fail=0</action>
2687 <action function="page">restore_decrypt</action>
2688 </actions>
2689 </action>
2690
2691 <action>
2692 <condition var1="tw_restore_encrypted" var2="0"/>
2693 <actions>
2694 <action function="page">restore_select</action>
2695 </actions>
2696 </action>
2697 </page>
2698
2699 <page name="restore_decrypt">
2700 <template name="page"/>
2701
2702 <template name="statusbar"/>
2703
2704 <text style="text_m">
2705 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002706 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </text>
2708
2709 <text style="text_m_accent">
2710 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 </text>
2713
2714 <input>
2715 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2716 <text>%tw_restore_display%</text>
2717 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2718 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2719 <action function="page">try_restore_decrypt</action>
2720 </input>
2721
2722 <fill color="%accent_color%">
2723 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2724 </fill>
2725
2726 <fill color="%text_fail_color%">
2727 <condition var1="tw_password_fail" var2="1"/>
2728 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2729 </fill>
2730
2731 <text style="text_m_fail">
2732 <condition var1="tw_password_fail" var2="1"/>
2733 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002735 </text>
2736
2737 <button style="main_button_half_height">
2738 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 <actions>
2741 <action function="set">tw_page_done=1</action>
2742 <action function="page">restore</action>
2743 </actions>
2744 </button>
2745
2746 <button style="main_button_half_height">
2747 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002748 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002749 <actions>
2750 <action function="set">tw_back=restore</action>
2751 <action function="set">tw_action=cmd</action>
2752 <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 -05002753 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2754 <action function="set">tw_text2=%tw_restore_name%</action>
2755 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2756 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2757 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2758 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002759 <action function="page">confirm_action</action>
2760 </actions>
2761 </button>
2762
2763 <template name="keyboardtemplate"/>
2764
2765 <action>
2766 <touch key="home"/>
2767 <action function="page">main</action>
2768 </action>
2769
2770 <action>
2771 <touch key="back"/>
2772 <action function="page">restore</action>
2773 </action>
2774 </page>
2775
2776 <page name="try_restore_decrypt">
2777 <template name="page"/>
2778
2779 <template name="statusbar"/>
2780
2781 <text style="text_m">
2782 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002783 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002784 </text>
2785
2786 <template name="console"/>
2787
2788 <template name="progress_bar"/>
2789
2790 <action>
2791 <action function="decrypt_backup"/>
2792 </action>
2793
2794 <action>
2795 <conditions>
2796 <condition var1="tw_operation_state" var2="1"/>
2797 <condition var1="tw_operation_status" op="!=" var2="0"/>
2798 </conditions>
2799 <actions>
2800 <action function="set">tw_password_fail=1</action>
2801 <action function="page">restore_decrypt</action>
2802 </actions>
2803 </action>
2804
2805 <action>
2806 <conditions>
2807 <condition var1="tw_operation_state" var2="1"/>
2808 <condition var1="tw_operation_status" op="=" var2="0"/>
2809 </conditions>
2810 <actions>
2811 <action function="set">tw_page_done=1</action>
2812 <action function="page">restore_select</action>
2813 </actions>
2814 </action>
2815 </page>
2816
2817 <page name="restore_select">
2818 <template name="page"/>
2819
2820 <template name="statusbar"/>
2821
2822 <text style="text_m">
2823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002824 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002825 </text>
2826
2827 <partitionlist style="partitionlist_headerless_cb">
2828 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2829 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2830 <listtype name="restore"/>
2831 </partitionlist>
2832
2833 <fill color="%accent_color%">
2834 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2835 </fill>
2836
2837 <button>
2838 <placement x="%col1_x_left%" y="%row11_y%"/>
2839 <highlight color="%highlight_color%"/>
2840 <image resource="q_btn_arrow_left"/>
2841 <action function="page">restore</action>
2842 </button>
2843
2844 <button>
2845 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2846 <highlight color="%highlight_color%"/>
2847 <image resource="q_btn_delete"/>
2848 <actions>
2849 <action function="set">tw_back=restore</action>
2850 <action function="set">tw_action=cmd</action>
2851 <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 -05002852 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002853 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002854 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2855 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2856 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2857 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002858 <action function="page">confirm_action</action>
2859 </actions>
2860 </button>
2861
2862 <button>
2863 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2864 <highlight color="%highlight_color%"/>
2865 <image resource="q_btn_accept"/>
2866 <action function="page">restore_confirm</action>
2867 </button>
2868
2869 <button>
2870 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2871 <highlight color="%highlight_color%"/>
2872 <image resource="q_btn_arrow_right"/>
2873 <actions>
2874 <action function="set">tw_back=restore_select</action>
2875 <action function="page">restore_options</action>
2876 </actions>
2877 </button>
2878
2879 <action>
2880 <touch key="home"/>
2881 <action function="page">main</action>
2882 </action>
2883
2884 <action>
2885 <touch key="back"/>
2886 <action function="page">%tw_back%</action>
2887 </action>
2888 </page>
2889
2890 <page name="restore_options">
2891 <template name="page"/>
2892
2893 <template name="statusbar"/>
2894
2895 <text style="text_m">
2896 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 </text>
2899
2900 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002901 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002902 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002903 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2904 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listitem>
2906 </listbox>
2907
2908 <button>
2909 <placement x="%col1_x_left%" y="%row11_y%"/>
2910 <highlight color="%highlight_color%"/>
2911 <image resource="q_btn_arrow_left"/>
2912 <action function="page">restore_select</action>
2913 </button>
2914
2915 <button>
2916 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2917 <highlight color="%highlight_color%"/>
2918 <image resource="q_btn_accept_transp"/>
2919 <actions>
2920 <action function="set">tw_back=restore_options</action>
2921 <action function="page">restore_confirm</action>
2922 </actions>
2923 </button>
2924
2925 <action>
2926 <touch key="home"/>
2927 <action function="page">main</action>
2928 </action>
2929
2930 <action>
2931 <touch key="back"/>
2932 <action function="page">%tw_back%</action>
2933 </action>
2934
2935 <action>
2936 <touch key="power+voldown"/>
2937 <action function="screenshot"/>
2938 </action>
2939 </page>
2940
2941 <page name="renamebackup">
2942 <template name="page"/>
2943
2944 <template name="statusbar"/>
2945
2946 <text style="text_m">
2947 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 </text>
2950
2951 <text style="text_m_accent">
2952 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 </text>
2955
2956 <input>
2957 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2958 <text>%tw_backup_rename%</text>
2959 <data name="tw_backup_rename"/>
2960 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2961 <actions>
2962 <action function="set">tw_back=restore</action>
2963 <action function="set">tw_action=cmd</action>
2964 <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 -05002965 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2966 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2967 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2968 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2969 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002970 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2971 <action function="set">tw_existpage=renamebackup</action>
2972 <action function="set">tw_notexistpage=confirm_action</action>
2973 <action function="page">filecheck</action>
2974 </actions>
2975 </input>
2976
2977 <fill color="%accent_color%">
2978 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2979 </fill>
2980
2981 <fill color="%text_fail_color%">
2982 <condition var1="tw_fileexists" var2="1"/>
2983 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2984 </fill>
2985
2986 <text style="text_m_fail">
2987 <condition var1="tw_fileexists" var2="1"/>
2988 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <button style="main_button_half_height">
2993 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <action function="page">restore_confirm</action>
2996 </button>
2997
2998 <template name="keyboardtemplate"/>
2999
3000 <action>
3001 <touch key="home"/>
3002 <action function="page">main</action>
3003 </action>
3004
3005 <action>
3006 <touch key="back"/>
3007 <action function="page">restore_confirm</action>
3008 </action>
3009 </page>
3010
3011 <page name="restore_confirm">
3012 <template name="page"/>
3013
3014 <template name="statusbar"/>
3015
3016 <text style="text_m">
3017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <text style="text_m_accent">
3022 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 </text>
3025
3026 <text style="text_m">
3027 <placement x="%indent%" y="%row2_y%"/>
3028 <text>%tw_restore_name%</text>
3029 </text>
3030
3031 <fill color="%accent_color%">
3032 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3033 </fill>
3034
3035 <button>
3036 <fill color="%transparent%"/>
3037 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3038 <actions>
3039 <action function="set">tw_back=restore_confirm</action>
3040 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3041 <action function="set">tw_fileexists=0</action>
3042 <action function="page">renamebackup</action>
3043 </actions>
3044 </button>
3045
3046 <text style="text_m_accent">
3047 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 </text>
3050
3051 <partitionlist style="partitionlist_summary">
3052 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3053 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3054 <listtype name="restore"/>
3055 </partitionlist>
3056
3057 <button>
3058 <fill color="%transparent%"/>
3059 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3060 <actions>
3061 <action function="set">tw_back=restore_confirm</action>
3062 <action function="page">restore_select</action>
3063 </actions>
3064 </button>
3065
3066 <listbox style="listbox_options">
3067 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003068 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3069 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003070 </listitem>
3071 </listbox>
3072
3073 <text style="text_m_accent">
3074 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 </text>
3077
3078 <button>
3079 <fill color="%transparent%"/>
3080 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3081 <actions>
3082 <action function="set">tw_back=restore_confirm</action>
3083 <action function="page">restore_options</action>
3084 </actions>
3085 </button>
3086
3087 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 <action function="page">restore_run</action>
3090 </slider>
3091
3092 <action>
3093 <touch key="home"/>
3094 <action function="page">main</action>
3095 </action>
3096
3097 <action>
3098 <touch key="back"/>
3099 <action function="page">restore_options</action>
3100 </action>
3101 </page>
3102
3103 <page name="restore_run">
3104 <template name="page"/>
3105
3106 <template name="statusbar"/>
3107
3108 <text style="text_m">
3109 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3110 <text>%tw_operation% %tw_partition%</text>
3111 </text>
3112
3113 <template name="console"/>
3114
3115 <template name="progress_bar"/>
3116
3117 <text style="text_m">
3118 <placement x="%indent%" y="%row14a_y%"/>
3119 <text>%tw_size_progress%</text>
3120 </text>
3121
3122 <action>
3123 <condition var1="tw_operation_state" var2="1"/>
3124 <actions>
3125 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003126 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003127 <action function="set">tw_show_reboot=1</action>
3128 <action function="page">action_complete</action>
3129 </actions>
3130 </action>
3131
3132 <action>
3133 <action function="nandroid">restore</action>
3134 </action>
3135 </page>
3136
3137 <page name="mount">
3138 <template name="page"/>
3139
3140 <template name="statusbar"/>
3141
3142 <text style="text_m">
3143 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </text>
3146
3147 <partitionlist style="partitionlist_headerless_cb">
3148 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3149 <listtype name="mount"/>
3150 </partitionlist>
3151
3152 <fill color="%accent_color%">
3153 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3154 </fill>
3155
3156 <button style="checkbox">
3157 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3158 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003159 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003160 <image resource="checkbox_false"/>
3161 <action function="mountsystemtoggle">1</action>
3162 </button>
3163
3164 <button style="checkbox">
3165 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3166 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003167 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003168 <image resource="checkbox_true"/>
3169 <actions>
3170 <action function="set">tw_lifetime_writes=2</action>
3171 <action function="page">system_readonly_check</action>
3172 </actions>
3173 </button>
3174
3175 <button style="checkbox">
3176 <conditions>
3177 <condition var1="tw_has_mtp" var2="1"/>
3178 <condition var1="tw_mtp_enabled" var2="0"/>
3179 </conditions>
3180 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3181 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <action function="startmtp"/>
3184 </button>
3185
3186 <button style="checkbox">
3187 <conditions>
3188 <condition var1="tw_has_mtp" var2="1"/>
3189 <condition var1="tw_mtp_enabled" var2="1"/>
3190 </conditions>
3191 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3192 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <action function="stopmtp"/>
3195 </button>
3196
3197 <button>
3198 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3199 <highlight color="%highlight_color%"/>
3200 <image resource="q_btn_storage"/>
3201 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <action function="set">tw_back=mount</action>
3204 <action function="page">select_storage</action>
3205 </actions>
3206 </button>
3207
3208 <button>
3209 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3210 <highlight color="%highlight_color%"/>
3211 <image resource="q_btn_arrow_right"/>
3212 <action function="page">mount_options</action>
3213 </button>
3214
3215 <action>
3216 <touch key="home"/>
3217 <action function="page">main</action>
3218 </action>
3219
3220 <action>
3221 <touch key="back"/>
3222 <action function="page">main</action>
3223 </action>
3224 </page>
3225
3226 <page name="mount_options">
3227 <template name="page"/>
3228
3229 <template name="statusbar"/>
3230
3231 <text style="text_m">
3232 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003234 </text>
3235
3236 <button style="main_button_full_width">
3237 <condition var1="tw_has_usb_storage" var2="1"/>
3238 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 <action function="page">usb_mount</action>
3241 </button>
3242
3243 <button style="main_button_full_width">
3244 <conditions>
3245 <condition var1="tw_is_encrypted" var2="1"/>
3246 <condition var1="tw_is_decrypted" var2="0"/>
3247 </conditions>
3248 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003250 <action function="set">tw_crypto_user_id=0</action>
3251 <action function="set">tw_crypto_password=</action>
3252 <action function="set">tw_password_fail=0</action>
3253 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003254 <action function="page">decrypt</action>
3255 </button>
3256
3257 <button>
3258 <placement x="%col1_x_left%" y="%row11_y%"/>
3259 <highlight color="%highlight_color%"/>
3260 <image resource="q_btn_arrow_left"/>
3261 <action function="page">mount</action>
3262 </button>
3263
3264 <action>
3265 <touch key="home"/>
3266 <action function="page">main</action>
3267 </action>
3268
3269 <action>
3270 <touch key="back"/>
3271 <action function="page">mount</action>
3272 </action>
3273 </page>
3274
3275 <page name="usb_mount">
3276 <template name="page"/>
3277
3278 <template name="statusbar"/>
3279
3280 <text style="text_m">
3281 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003282 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 </text>
3284
3285 <text style="text_m_accent">
3286 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </text>
3289
3290 <text style="text_m_fail">
3291 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003293 </text>
3294
3295 <text style="text_m_fail">
3296 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003297 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003298 </text>
3299
3300 <button style="main_button">
3301 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <action function="page">usb_umount</action>
3304 </button>
3305
3306 <action>
3307 <action function="mount">usb</action>
3308 <action function="set">tw_busy=1</action>
3309 </action>
3310 </page>
3311
3312 <page name="usb_umount">
3313 <action>
3314 <action function="unmount">usb</action>
3315 </action>
3316
3317 <action>
3318 <action function="page">mount_options</action>
3319 <action function="set">tw_busy=0</action>
3320 </action>
3321 </page>
3322
3323 <page name="system_readonly_check">
3324 <action>
3325 <action function="checkpartitionlifetimewrites">/system</action>
3326 </action>
3327
3328 <action>
3329 <condition var1="tw_lifetime_writes" var2="1"/>
3330 <actions>
3331 <action function="mountsystemtoggle">0</action>
3332 <action function="page">mount</action>
3333 </actions>
3334 </action>
3335
3336 <action>
3337 <condition var1="tw_lifetime_writes" var2="0"/>
3338 <actions>
3339 <action function="set">tw_back=mount</action>
3340 <action function="page">system_readonly</action>
3341 </actions>
3342 </action>
3343 </page>
3344
3345 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003346 <action>
3347 <action function="checkforapp"></action>
3348 <action function="page">reboot2</action>
3349 </action>
3350 </page>
3351
3352 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003353 <template name="page"/>
3354
3355 <template name="statusbar"/>
3356
3357 <text style="text_m">
3358 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003359 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003360 </text>
3361
3362 <button style="main_button">
3363 <condition var1="tw_reboot_system" var2="1"/>
3364 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003365 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 <actions>
3367 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003368 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 </actions>
3370 </button>
3371
3372 <button style="main_button">
3373 <condition var1="tw_reboot_poweroff" var2="1"/>
3374 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003376 <actions>
3377 <action function="set">tw_back=reboot</action>
3378 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003379 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003380 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003382 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3383 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3384 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3385 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3386 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="page">rebootcheck</action>
3388 </actions>
3389 </button>
3390
3391 <button style="main_button">
3392 <condition var1="tw_reboot_recovery" var2="1"/>
3393 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003395 <actions>
3396 <action function="set">tw_back=reboot</action>
3397 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003398 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003399 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003401 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3402 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3403 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3404 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3405 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003406 <action function="page">rebootcheck</action>
3407 </actions>
3408 </button>
3409
3410 <button style="main_button">
3411 <condition var1="tw_reboot_bootloader" var2="1"/>
3412 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003414 <actions>
3415 <action function="set">tw_back=reboot</action>
3416 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003417 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003418 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003419 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3421 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3422 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3423 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3424 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <action function="page">rebootcheck</action>
3426 </actions>
3427 </button>
3428
3429 <button style="main_button">
3430 <condition var1="tw_download_mode" var2="1"/>
3431 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 <actions>
3434 <action function="set">tw_back=reboot</action>
3435 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003436 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003437 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003438 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003439 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3440 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3441 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3442 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3443 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 <action function="page">rebootcheck</action>
3445 </actions>
3446 </button>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003447
mauronofrioe9a49ef2018-10-03 13:38:16 +02003448 <button style="main_button">
3449 <condition var1="tw_edl_mode" var2="1"/>
3450 <placement x="%col1_x_right%" y="%row11_y%"/>
3451 <text>{@rb_edl_btn=Edl}</text>
3452 <actions>
3453 <action function="set">tw_back=reboot</action>
3454 <action function="set">tw_action=reboot</action>
3455 <action function="set">tw_action_param=edl</action>
3456 <action function="set">tw_reboot_param=edl</action>
3457 <action function="set">tw_has_action2=0</action>
3458 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3459 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3460 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3461 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3462 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3463 <action function="page">rebootcheck</action>
3464 </actions>
3465 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003466
3467 <action>
3468 <touch key="home"/>
3469 <action function="page">main</action>
3470 </action>
3471
3472 <action>
3473 <touch key="back"/>
3474 <action function="page">main</action>
3475 </action>
3476 </page>
3477
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003478 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003479 <template name="page"/>
3480
3481 <template name="statusbar"/>
3482
3483 <text style="text_m">
3484 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003485 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003486 </text>
3487
3488 <text style="text_m_accent">
3489 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3490 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3491 </text>
3492
3493 <text style="text_m">
3494 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3495 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3496 </text>
3497
3498 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003499 <condition var1="tw_mount_system_ro" var2="0"/>
3500 <placement x="%indent%" y="%row5_y%"/>
3501 <text>{@reboot_install_app_system=Install as a System App}</text>
3502 <data variable="tw_app_install_system"/>
3503 </checkbox>
3504
3505 <button style="main_button_half_height">
3506 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003507 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003508 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003509 </button>
3510
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003511 <slider>
3512 <text>{@swipe_confirm= Confirm}</text>
3513 <actions>
3514 <action function="set">tw_action=installapp</action>
3515 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3516 <action function="set">tw_action_text2=</action>
3517 <action function="set">tw_complete_text1={@successful=Successful}</action>
3518 <action function="page">action_page</action>
3519 </actions>
3520 </slider>
3521
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003522 <action>
3523 <touch key="home"/>
3524 <actions>
3525 <action function="set">tw_app_install_status=0</action>
3526 <action function="page">main</action>
3527 </actions>
3528 </action>
3529
3530 <action>
3531 <touch key="back"/>
3532 <actions>
3533 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003534 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003535 </actions>
3536 </action>
3537 </page>
3538
z31s1g28f0a922015-11-07 18:50:22 +01003539 <page name="system_readonly">
3540 <template name="page"/>
3541
3542 <template name="statusbar"/>
3543
3544 <text style="text_m">
3545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003546 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003547 </text>
3548
3549 <text style="text_m_accent">
3550 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 </text>
3553
3554 <text style="text_m">
3555 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003556 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003557 </text>
3558
3559 <text style="text_m">
3560 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <text style="text_m">
3565 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 </text>
3568
3569 <text style="text_m">
3570 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </text>
3573
3574 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003575 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003577 </text>
3578
3579 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003580 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003582 </text>
3583
z31s1g608d7ff2016-01-18 19:47:25 +01003584 <button style="main_button_half_height">
3585 <placement x="%col1_x_right%" y="%row8a_y%"/>
3586 <text>{@sel_lang_btn=Select Language}</text>
3587 <action function="page">settings_language</action>
3588 </button>
3589
z31s1g28f0a922015-11-07 18:50:22 +01003590 <checkbox>
3591 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003592 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003593 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003594 <data variable="tw_never_show_system_ro_page"/>
3595 </checkbox>
3596
3597 <button style="main_button_half_height">
3598 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <actions>
3601 <action function="mountsystemtoggle">1</action>
3602 <action function="set">tw_page_done=1</action>
3603 <action function="page">%tw_back%</action>
3604 </actions>
3605 </button>
3606
3607 <button style="main_button_half_height">
3608 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003609 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003610 <actions>
3611 <action function="mountsystemtoggle">0</action>
3612 <action function="set">tw_page_done=1</action>
3613 <action function="page">%tw_back%</action>
3614 </actions>
3615 </button>
3616 </page>
3617
3618 <page name="settings">
3619 <template name="page"/>
3620
3621 <template name="statusbar"/>
3622
3623 <text style="text_m">
3624 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003626 </text>
3627
3628 <button style="main_button">
3629 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <action function="page">settings_general</action>
3632 </button>
3633
3634 <button style="main_button">
3635 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <action function="page">settings_timezone</action>
3638 </button>
3639
3640 <button style="main_button">
3641 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <action function="page">settings_screen</action>
3644 </button>
3645
3646 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003647 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003648 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 <action function="page">settings_vibration</action>
3651 </button>
3652
3653 <button style="main_button">
3654 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <action function="page">settings_language</action>
3657 </button>
3658
3659 <button>
3660 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3661 <highlight color="%highlight_color%"/>
3662 <image resource="q_btn_reset"/>
3663 <action function="restoredefaultsettings"/>
3664 </button>
3665
3666 <action>
3667 <touch key="home"/>
3668 <action function="page">main</action>
3669 </action>
3670
3671 <action>
3672 <touch key="back"/>
3673 <action function="page">main3</action>
3674 </action>
3675 </page>
3676
3677 <page name="settings_general">
3678 <template name="page"/>
3679
3680 <template name="statusbar"/>
3681
3682 <text style="text_m">
3683 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 </text>
3686
3687 <listbox style="scrolllist">
3688 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003690 <data variable="tw_signed_zip_verify"/>
3691 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003692 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3693 <data variable="tw_install_reboot"/>
3694 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003696 <data variable="tw_rm_rf"/>
3697 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003698 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3699 <data variable="tw_disable_free_space"/>
3700 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003701 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3702 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003703 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003704 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3705 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003706 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003707 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003708 <data variable="tw_military_time"/>
3709 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003710 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003711 <data variable="tw_simulate_actions"/>
3712 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003714 <data variable="tw_simulate_fail"/>
3715 <condition var1="tw_simulate_actions" var2="1"/>
3716 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003717 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3718 <condition var1="tw_no_sha2" var2="0"/>
3719 <data variable="tw_use_sha2"/>
3720 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003721 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3722 <data variable="tw_unmount_system"/>
3723 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </listbox>
3725
3726 <action>
3727 <touch key="home"/>
3728 <action function="page">main</action>
3729 </action>
3730
3731 <action>
3732 <touch key="back"/>
3733 <action function="page">settings</action>
3734 </action>
3735 </page>
3736
3737 <page name="settings_timezone">
3738 <template name="page"/>
3739
3740 <template name="statusbar"/>
3741
3742 <text style="text_m">
3743 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003744 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </text>
3746
3747 <text color="%text_color%">
3748 <font resource="font_m"/>
3749 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3750 <text>%tw_time%</text>
3751 </text>
3752
3753 <listbox style="listbox_headerless">
3754 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3755 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3757 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3758 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3759 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3760 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3761 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3762 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3763 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3764 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3765 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3766 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3767 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3768 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3769 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3770 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3771 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3772 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3773 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3774 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3775 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3776 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3777 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3778 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3779 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003780 </listbox>
3781
3782 <button>
3783 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3784 <highlight color="%highlight_color%"/>
3785 <image resource="q_btn_arrow_right"/>
3786 <actions>
3787 <action function="setguitimezone"/>
3788 <action function="page">settings_timezone2</action>
3789 </actions>
3790 </button>
3791
3792 <action>
3793 <condition var1="tw_time_zone_guisel" op="modified"/>
3794 <action function="setguitimezone"/>
3795 </action>
3796
3797 <action>
3798 <touch key="home"/>
3799 <actions>
3800 <action function="page">main</action>
3801 <action function="setguitimezone"/>
3802 </actions>
3803 </action>
3804
3805 <action>
3806 <touch key="back"/>
3807 <actions>
3808 <action function="page">settings</action>
3809 <action function="setguitimezone"/>
3810 </actions>
3811 </action>
3812
3813 <action>
3814 <touch key="power+voldown"/>
3815 <action function="screenshot"/>
3816 </action>
3817 </page>
3818
3819 <page name="settings_timezone2">
3820 <template name="page"/>
3821
3822 <template name="statusbar"/>
3823
3824 <text style="text_m">
3825 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003827 </text>
3828
3829 <text color="%text_color%">
3830 <font resource="font_m"/>
3831 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3832 <text>%tw_time%</text>
3833 </text>
3834
3835 <checkbox>
3836 <placement x="%col1_x_left%" y="%row1_y%"/>
3837 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 <data variable="tw_time_zone_guidst"/>
3840 <image checked="checkbox_true" unchecked="checkbox_false"/>
3841 </checkbox>
3842
3843 <text style="text_m_accent">
3844 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003845 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003846 </text>
3847
3848 <button style="main_button_quarter_width">
3849 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003850 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003851 <actions>
3852 <action function="set">tw_time_zone_guioffset=0</action>
3853 <action function="setguitimezone"/>
3854 </actions>
3855 </button>
3856
3857 <button style="main_button_quarter_width">
3858 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 <actions>
3861 <action function="set">tw_time_zone_guioffset=15</action>
3862 <action function="setguitimezone"/>
3863 </actions>
3864 </button>
3865
3866 <button style="main_button_quarter_width">
3867 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 <actions>
3870 <action function="set">tw_time_zone_guioffset=30</action>
3871 <action function="setguitimezone"/>
3872 </actions>
3873 </button>
3874
3875 <button style="main_button_quarter_width">
3876 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 <actions>
3879 <action function="set">tw_time_zone_guioffset=45</action>
3880 <action function="setguitimezone"/>
3881 </actions>
3882 </button>
3883
3884 <button>
3885 <placement x="%col1_x_left%" y="%row11_y%"/>
3886 <highlight color="%highlight_color%"/>
3887 <image resource="q_btn_arrow_left"/>
3888 <actions>
3889 <action function="setguitimezone"/>
3890 <action function="page">settings_timezone</action>
3891 </actions>
3892 </button>
3893
3894 <text style="text_m_accent">
3895 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003897 </text>
3898
3899 <text style="text_m">
3900 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3901 <text>%tw_time_zone%</text>
3902 </text>
3903
3904 <action>
3905 <condition var1="tw_time_zone_guidst" op="modified"/>
3906 <action function="setguitimezone"/>
3907 </action>
3908
3909 <action>
3910 <touch key="home"/>
3911 <actions>
3912 <action function="setguitimezone"/>
3913 <action function="page">main</action>
3914 </actions>
3915 </action>
3916
3917 <action>
3918 <touch key="back"/>
3919 <actions>
3920 <action function="setguitimezone"/>
3921 <action function="page">settings_timezone</action>
3922 </actions>
3923 </action>
3924 </page>
3925
3926 <page name="settings_screen">
3927 <template name="page"/>
3928
3929 <template name="statusbar"/>
3930
3931 <text style="text_m">
3932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003934 </text>
3935
3936 <button style="checkbox">
3937 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3938 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3939 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 <image resource="checkbox_false"/>
3942 <action function="set">tw_screen_timeout_secs=60</action>
3943 </button>
3944
3945 <button style="checkbox">
3946 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3947 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3948 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003949 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003950 <image resource="checkbox_true"/>
3951 <action function="set">tw_screen_timeout_secs=0</action>
3952 </button>
3953
3954 <slidervalue>
3955 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3956 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3959 </slidervalue>
3960
3961 <text style="text_m_fail">
3962 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3963 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 </text>
3966
3967 <button>
3968 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3969 <highlight color="%highlight_color%"/>
3970 <image resource="q_btn_arrow_right"/>
3971 <action function="page">settings_screen2</action>
3972 </button>
3973
3974 <action>
3975 <touch key="home"/>
3976 <action function="page">main</action>
3977 </action>
3978
3979 <action>
3980 <touch key="back"/>
3981 <action function="page">settings</action>
3982 </action>
3983 </page>
3984
3985 <page name="settings_screen2">
3986 <template name="page"/>
3987
3988 <template name="statusbar"/>
3989
3990 <text style="text_m">
3991 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 </text>
3994
3995 <slidervalue>
3996 <condition var1="tw_has_brightnesss_file" var2="1"/>
3997 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 <data variable="tw_brightness_pct" min="10" max="100"/>
4000 <actions>
4001 <action function="set">tw_brightness=%tw_brightness_max%</action>
4002 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4003 <action function="compute">tw_brightness/100</action>
4004 <action function="setbrightness">%tw_brightness%</action>
4005 </actions>
4006 </slidervalue>
4007
4008 <text style="text_m_fail">
4009 <condition var1="tw_has_brightnesss_file" var2="0"/>
4010 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 </text>
4013
4014 <button>
4015 <placement x="%col1_x_left%" y="%row11_y%"/>
4016 <highlight color="%highlight_color%"/>
4017 <image resource="q_btn_arrow_left"/>
4018 <action function="page">settings_screen</action>
4019 </button>
4020
4021 <action>
4022 <touch key="home"/>
4023 <action function="page">main</action>
4024 </action>
4025
4026 <action>
4027 <touch key="back"/>
4028 <action function="page">settings</action>
4029 </action>
4030 </page>
4031
4032 <page name="settings_vibration">
4033 <template name="page"/>
4034
4035 <template name="statusbar"/>
4036
4037 <text style="text_m">
4038 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004039 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </text>
4041
4042 <slidervalue>
4043 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004044 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004045 <data variable="tw_button_vibrate" min="0" max="300"/>
4046 </slidervalue>
4047
4048 <button>
4049 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4050 <highlight color="%highlight_color%"/>
4051 <image resource="q_btn_arrow_right"/>
4052 <action function="page">settings_vibration2</action>
4053 </button>
4054
4055 <action>
4056 <touch key="home"/>
4057 <action function="page">main</action>
4058 </action>
4059
4060 <action>
4061 <touch key="back"/>
4062 <action function="page">settings</action>
4063 </action>
4064 </page>
4065
4066 <page name="settings_vibration2">
4067 <template name="page"/>
4068
4069 <template name="statusbar"/>
4070
4071 <text style="text_m">
4072 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004073 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004074 </text>
4075
4076 <slidervalue>
4077 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4080 </slidervalue>
4081
4082 <button>
4083 <placement x="%col1_x_left%" y="%row11_y%"/>
4084 <highlight color="%highlight_color%"/>
4085 <image resource="q_btn_arrow_left"/>
4086 <action function="page">settings_vibration</action>
4087 </button>
4088
4089 <button>
4090 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4091 <highlight color="%highlight_color%"/>
4092 <image resource="q_btn_arrow_right"/>
4093 <action function="page">settings_vibration3</action>
4094 </button>
4095
4096 <action>
4097 <touch key="home"/>
4098 <action function="page">main</action>
4099 </action>
4100
4101 <action>
4102 <touch key="back"/>
4103 <action function="page">settings</action>
4104 </action>
4105 </page>
4106
4107 <page name="settings_vibration3">
4108 <template name="page"/>
4109
4110 <template name="statusbar"/>
4111
4112 <text style="text_m">
4113 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004115 </text>
4116
4117 <slidervalue>
4118 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004119 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004120 <data variable="tw_action_vibrate" min="0" max="500"/>
4121 </slidervalue>
4122
4123 <button>
4124 <placement x="%col1_x_left%" y="%row11_y%"/>
4125 <highlight color="%highlight_color%"/>
4126 <image resource="q_btn_arrow_left"/>
4127 <action function="page">settings_vibration2</action>
4128 </button>
4129
4130 <action>
4131 <touch key="home"/>
4132 <action function="page">main</action>
4133 </action>
4134
4135 <action>
4136 <touch key="back"/>
4137 <action function="page">settings</action>
4138 </action>
4139 </page>
4140
Ethan Yonker74db1572015-10-28 12:44:49 -05004141 <page name="settings_language">
4142 <template name="page"/>
4143
4144 <template name="statusbar"/>
4145
4146 <text style="text_m">
4147 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4148 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4149 </text>
4150
z31s1g608d7ff2016-01-18 19:47:25 +01004151 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4153 <icon selected="radio_true" unselected="radio_false" />
4154 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004155 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156
4157 <button>
4158 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4159 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004160 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <action function="setlanguage"></action>
4162 </button>
4163
z31s1g608d7ff2016-01-18 19:47:25 +01004164 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <touch key="home" />
4166 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004167 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004168
z31s1g608d7ff2016-01-18 19:47:25 +01004169 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <touch key="back" />
4171 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004172 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 </page>
4174
z31s1g28f0a922015-11-07 18:50:22 +01004175 <page name="advanced">
4176 <template name="page"/>
4177
4178 <template name="statusbar"/>
4179
4180 <text style="text_m">
4181 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004183 </text>
4184
4185 <button style="main_button">
4186 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004187 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004188 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004189 </button>
4190
4191 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004192 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004193 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004194 <text>{@fix_context_btn=Fix Contexts}</text>
4195 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004196 </button>
4197
Ethan Yonker64e0a652018-07-25 09:52:17 -05004198 <button>
4199 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4200 <highlight color="%highlight_color%"/>
4201 <image resource="q_btn_arrow_right"/>
4202 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004203 </button>
4204
Ethan Yonker64e0a652018-07-25 09:52:17 -05004205 <action>
4206 <touch key="home"/>
4207 <action function="page">main</action>
4208 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004209
Ethan Yonker64e0a652018-07-25 09:52:17 -05004210 <action>
4211 <touch key="back"/>
4212 <action function="page">main3</action>
4213 </action>
4214 </page>
4215
4216 <page name="advanced2">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004217 <action>
4218 <action function="checkforapp"></action>
4219 <action function="page">advanced3</action>
4220 </action>
4221 </page>
4222
4223 <page name="advanced3">
Ethan Yonker64e0a652018-07-25 09:52:17 -05004224 <template name="page"/>
4225
4226 <template name="statusbar"/>
4227
4228 <text style="text_m">
4229 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4230 <text>{@advanced_hdr=Advanced}</text>
4231 </text>
4232
4233 <listbox style="advanced_listbox">
4234 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04004235 <listitem name="{@decrypt_users=Decrypt Users}">
4236 <conditions>
4237 <condition var1="tw_is_fbe" var2="1"/>
4238 <condition var1="tw_all_users_decrypted" var2="0"/>
4239 </conditions>
4240 <actions>
4241 <action function="set">tw_crypto_user_id=</action>
4242 <action function="page">decrypt_users</action>
4243 </actions>
4244 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004245 <listitem name="{@reload_theme_btn=Reload Theme}">
4246 <action function="reload"/>
4247 </listitem>
4248 <listitem name="{@part_sd_btn=Partition SD Card}">
4249 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4250 <actions>
4251 <action function="set">partitionlisterror=0</action>
4252 <action function="page">partsdcardsel</action>
4253 </actions>
4254 </listitem>
4255 <listitem name="{@dumlock_btn=HTC Dumlock}">
4256 <condition var1="tw_show_dumlock" var2="1"/>
4257 <action function="page">htcdumlock</action>
4258 </listitem>
4259 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4260 <condition var1="tw_has_injecttwrp" var2="1"/>
4261 <actions>
4262 <action function="set">tw_back=advanced</action>
4263 <action function="set">tw_action=reinjecttwrp</action>
4264 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4265 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4266 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4267 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4268 <action function="page">confirm_action</action>
4269 </actions>
4270 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004271 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4272 <conditions>
4273 <condition var1="tw_has_boot_slots" var2="1"/>
4274 <condition var1="tw_has_repack_tools" var2="1"/>
4275 </conditions>
4276 <actions>
4277 <action function="set">tw_repack_kernel=0</action>
4278 <action function="page">repackselect</action>
4279 </actions>
4280 </listitem>
4281 <listitem name="{@install_kernel=Install Kernel}">
4282 <conditions>
4283 <condition var1="tw_has_boot_slots" var2="1"/>
4284 <condition var1="tw_has_repack_tools" var2="1"/>
4285 </conditions>
4286 <actions>
4287 <action function="set">tw_repack_kernel=1</action>
4288 <action function="page">repackselect</action>
4289 </actions>
4290 </listitem>
4291 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4292 <conditions>
4293 <condition var1="tw_has_boot_slots" var2="1"/>
4294 <condition var1="tw_has_repack_tools" var2="1"/>
4295 </conditions>
4296 <actions>
4297 <action function="set">tw_back=advanced</action>
4298 <action function="set">tw_action=fixabrecoverybootloop</action>
4299 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4300 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4301 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4302 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4303 <action function="page">confirm_action</action>
4304 </actions>
4305 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06004306 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4307 <condition var1="tw_app_install_status" var2="1"/>
4308 <actions>
4309 <action function="set">tw_back=advanced2</action>
4310 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4311 <action function="page">installapp</action>
4312 </actions>
4313 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004314 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4315 <condition var1="tw_app_installed_in_system" var2="1"/>
4316 <actions>
4317 <action function="set">tw_back=advanced</action>
4318 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4319 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4320 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4321 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4322 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4323 <action function="page">confirm_action</action>
4324 </actions>
4325 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004326 </listbox>
4327
4328 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004329 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004330 <highlight color="%highlight_color%"/>
4331 <image resource="q_btn_arrow_left"/>
4332 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004333 </button>
4334
4335 <action>
4336 <touch key="home"/>
4337 <action function="page">main</action>
4338 </action>
4339
4340 <action>
4341 <touch key="back"/>
4342 <action function="page">main3</action>
4343 </action>
4344 </page>
4345
Ethan Yonker483e9f42016-01-11 22:21:18 -06004346 <page name="partsdcardsel">
4347 <template name="page"/>
4348
4349 <template name="statusbar"/>
4350
4351 <text style="text_m">
4352 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4353 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4354 </text>
4355
4356 <partitionlist style="partitionlist_headerless_rb">
4357 <data name="tw_storage_path"/>
4358 <listtype name="storage"/>
4359 </partitionlist>
4360
4361 <text style="text_m_fail">
4362 <condition var1="partitionlisterror" var2="1"/>
4363 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4364 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4365 </text>
4366
4367 <button>
4368 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4369 <highlight color="%highlight_color%"/>
4370 <image resource="q_btn_refresh"/>
4371 <action function="refreshsizes"/>
4372 </button>
4373
4374 <button>
4375 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4376 <highlight color="%highlight_color%"/>
4377 <image resource="q_btn_accept"/>
4378 <actions>
4379 <action function="getpartitiondetails">tw_storage_path</action>
4380 <action function="page">partsdcardcheck</action>
4381 </actions>
4382 </button>
4383
4384 <action>
4385 <touch key="home"/>
4386 <action function="page">main</action>
4387 </action>
4388
4389 <action>
4390 <touch key="back"/>
4391 <action function="page">advanced</action>
4392 </action>
4393 </page>
4394
4395 <page name="partsdcardcheck">
4396 <action>
4397 <condition var1="tw_partition_removable" op="=" var2="1"/>
4398 <actions>
4399 <action function="set">partitionlisterror=0</action>
4400 <action function="page">partsdcard</action>
4401 </actions>
4402 </action>
4403
4404 <action>
4405 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4406 <actions>
4407 <action function="set">partitionlisterror=1</action>
4408 <action function="page">partsdcardsel</action>
4409 </actions>
4410 </action>
4411 </page>
4412
z31s1g28f0a922015-11-07 18:50:22 +01004413 <page name="partsdcard">
4414 <template name="page"/>
4415
4416 <template name="statusbar"/>
4417
4418 <text style="text_m">
4419 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004420 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </text>
4422
4423 <text style="text_m_fail">
4424 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 </text>
4427
4428 <text style="text_m_fail">
4429 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004430 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004431 </text>
4432
4433 <text style="text_m_accent">
4434 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004435 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004436 </text>
4437
4438 <text style="text_m">
4439 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4440 <text>%tw_sdext_size%</text>
4441 </text>
4442
4443 <button style="main_button_quarter_width">
4444 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004446 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </button>
4448
4449 <button style="main_button_quarter_width">
4450 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004452 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004453 </button>
4454
4455 <button>
4456 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4457 <highlight color="%highlight_color%"/>
4458 <image resource="q_btn_arrow_right"/>
4459 <action function="page">partsdcard2</action>
4460 </button>
4461
4462 <action>
4463 <touch key="home"/>
4464 <action function="page">main</action>
4465 </action>
4466
4467 <action>
4468 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004469 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004470 </action>
4471 </page>
4472
4473 <page name="partsdcard2">
4474 <template name="page"/>
4475
4476 <template name="statusbar"/>
4477
4478 <text style="text_m">
4479 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004480 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004481 </text>
4482
4483 <text style="text_m_fail">
4484 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004485 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004486 </text>
4487
4488 <text style="text_m_fail">
4489 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004490 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </text>
4492
4493 <text style="text_m_accent">
4494 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 </text>
4497
4498 <text style="text_m">
4499 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4500 <text>%tw_swap_size%</text>
4501 </text>
4502
4503 <button style="main_button_quarter_width">
4504 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004506 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </button>
4508
4509 <button style="main_button_quarter_width">
4510 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004512 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004513 </button>
4514
4515 <button>
4516 <placement x="%col1_x_left%" y="%row11_y%"/>
4517 <highlight color="%highlight_color%"/>
4518 <image resource="q_btn_arrow_left"/>
4519 <action function="page">partsdcard</action>
4520 </button>
4521
4522 <button>
4523 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4524 <highlight color="%highlight_color%"/>
4525 <image resource="q_btn_arrow_right"/>
4526 <action function="page">partsdcard3</action>
4527 </button>
4528
4529 <action>
4530 <touch key="home"/>
4531 <action function="page">main</action>
4532 </action>
4533
4534 <action>
4535 <touch key="back"/>
4536 <action function="page">advanced</action>
4537 </action>
4538 </page>
4539
4540 <page name="partsdcard3">
4541 <template name="page"/>
4542
4543 <template name="statusbar"/>
4544
4545 <text style="text_m">
4546 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <text style="text_m_fail">
4551 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004552 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004553 </text>
4554
4555 <text style="text_m_fail">
4556 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004557 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004558 </text>
4559
4560 <text style="text_m_accent">
4561 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004562 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004563 </text>
4564
4565 <text style="text_m">
4566 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4567 <text>%tw_sdpart_file_system%</text>
4568 </text>
4569
4570 <button style="main_button_quarter_width">
4571 <placement x="%indent%" y="%row6_y%"/>
4572 <text>EXT3</text>
4573 <action function="set">tw_sdpart_file_system=ext3</action>
4574 </button>
4575
4576 <button style="main_button_quarter_width">
4577 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4578 <text>EXT4</text>
4579 <action function="set">tw_sdpart_file_system=ext4</action>
4580 </button>
4581
4582 <button>
4583 <placement x="%col1_x_left%" y="%row11_y%"/>
4584 <highlight color="%highlight_color%"/>
4585 <image resource="q_btn_arrow_left"/>
4586 <action function="page">partsdcard2</action>
4587 </button>
4588
4589 <button>
4590 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4591 <highlight color="%highlight_color%"/>
4592 <image resource="q_btn_arrow_right"/>
4593 <action function="page">partsdcard_confirm</action>
4594 </button>
4595
4596 <action>
4597 <touch key="home"/>
4598 <action function="page">main</action>
4599 </action>
4600
4601 <action>
4602 <touch key="back"/>
4603 <action function="page">advanced</action>
4604 </action>
4605 </page>
4606
4607 <page name="partsdcard_confirm">
4608 <template name="page"/>
4609
4610 <template name="statusbar"/>
4611
4612 <text style="text_m">
4613 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004614 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004615 </text>
4616
4617 <text style="text_m_fail">
4618 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 </text>
4621
4622 <text style="text_m_fail">
4623 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004625 </text>
4626
4627 <text style="text_m_accent">
4628 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 </text>
4631
4632 <text style="text_m_accent">
4633 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </text>
4636
4637 <text style="text_m_accent">
4638 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 </text>
4641
4642 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004643 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004644 <action function="page">partsdcardaction</action>
4645 <actions>
4646 <action function="set">tw_back=partsdcard</action>
4647 <action function="set">tw_action=partitionsd</action>
4648 <action function="set">tw_has_action2=1</action>
4649 <action function="set">tw_action2=set</action>
4650 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4652 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4653 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004654 <action function="page">action_page</action>
4655 </actions>
4656 </slider>
4657
4658 <action>
4659 <touch key="home"/>
4660 <action function="page">main</action>
4661 </action>
4662
4663 <action>
4664 <touch key="back"/>
4665 <action function="page">advanced</action>
4666 </action>
4667 </page>
4668
4669 <page name="htcdumlock">
4670 <template name="page"/>
4671
4672 <template name="statusbar"/>
4673
4674 <text style="text_m">
4675 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004677 </text>
4678
4679 <button style="main_button_full_width">
4680 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004681 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004682 <actions>
4683 <action function="set">tw_back=htcdumlock</action>
4684 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004685 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4686 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4687 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4688 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004689 <action function="page">confirm_action</action>
4690 </actions>
4691 </button>
4692
4693 <button style="main_button_full_width">
4694 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004695 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004696 <actions>
4697 <action function="set">tw_back=htcdumlock</action>
4698 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004699 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4700 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4701 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4702 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004703 <action function="page">confirm_action</action>
4704 </actions>
4705 </button>
4706
4707 <button style="main_button_full_width">
4708 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004709 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004710 <actions>
4711 <action function="set">tw_back=htcdumlock</action>
4712 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004713 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4714 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4715 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4716 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004717 <action function="page">confirm_action</action>
4718 </actions>
4719 </button>
4720
4721 <action>
4722 <touch key="home"/>
4723 <action function="page">main</action>
4724 </action>
4725
4726 <action>
4727 <touch key="back"/>
4728 <action function="page">advanced</action>
4729 </action>
4730 </page>
4731
Ethan Yonker53796e72019-01-11 22:49:52 -06004732 <page name="repackselect">
4733 <template name="page"/>
4734
4735 <template name="statusbar"/>
4736
4737 <text style="text_m">
4738 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4739 <text>{@repack_image_hdr=Select Image}</text>
4740 </text>
4741
4742 <fileselector>
4743 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4744 <text>%tw_zip_location%</text>
4745 <filter extn=".img" folders="1" files="1"/>
4746 <path name="tw_zip_location" default="/sdcard"/>
4747 <data name="tw_filename"/>
4748 <selection name="tw_file"/>
4749 </fileselector>
4750
4751 <button>
4752 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4753 <highlight color="%highlight_color%"/>
4754 <image resource="q_btn_storage"/>
4755 <actions>
4756 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4757 <action function="set">tw_back=install</action>
4758 <action function="page">select_storage</action>
4759 </actions>
4760 </button>
4761
4762 <action>
4763 <conditions>
4764 <condition var1="tw_filename" op="modified"/>
4765 </conditions>
4766 <action function="page">repackconfirm</action>
4767 </action>
4768
4769 <action>
4770 <touch key="back"/>
4771 <action function="page">advanced</action>
4772 </action>
4773
4774 <action>
4775 <touch key="home"/>
4776 <action function="page">main</action>
4777 </action>
4778 </page>
4779
4780 <page name="repackconfirm">
4781 <template name="page"/>
4782
4783 <template name="statusbar"/>
4784
4785 <text style="text_m">
4786 <condition var1="tw_repack_kernel" var2="1"/>
4787 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4788 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4789 </text>
4790
4791 <text style="text_m">
4792 <condition var1="tw_repack_kernel" var2="0"/>
4793 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4794 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4795 </text>
4796
4797 <text style="text_m_accent">
4798 <placement x="%indent%" y="%row2_y%"/>
4799 <text>{@folder=Folder:}</text>
4800 </text>
4801
4802 <text style="text_m">
4803 <placement x="%indent%" y="%row3_y%"/>
4804 <text>%tw_zip_location%</text>
4805 </text>
4806
4807 <text style="text_m_accent">
4808 <placement x="%indent%" y="%row4_y%"/>
4809 <text>{@file=File:}</text>
4810 </text>
4811
4812 <text style="text_m">
4813 <placement x="%indent%" y="%row5_y%"/>
4814 <text>%tw_file%</text>
4815 </text>
4816
4817 <checkbox>
4818 <placement x="%indent%" y="%row7_y%"/>
4819 <text>{@repack_backup_first=Back up existing image first}</text>
4820 <data variable="tw_repack_backup_first"/>
4821 </checkbox>
4822
4823 <slider>
4824 <text>{@swipe_to_install=Swipe to Install}</text>
4825 <actions>
4826 <action function="set">tw_back=advanced</action>
4827 <action function="set">tw_action=repackimage</action>
4828 <action function="set">tw_action_param=/boot</action>
4829 <action function="set">tw_action_text1={@installing=Installing...}</action>
4830 <action function="set">tw_action_text2=</action>
4831 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4832 <action function="page">action_page</action>
4833 </actions>
4834 </slider>
4835
4836 <action>
4837 <touch key="back"/>
4838 <action function="page">repackselect</action>
4839 </action>
4840
4841 <action>
4842 <touch key="home"/>
4843 <action function="page">main</action>
4844 </action>
4845 </page>
4846
z31s1g28f0a922015-11-07 18:50:22 +01004847 <page name="lock">
4848 <background color="%semi_transparent%"/>
4849
4850 <image>
4851 <image resource="unlock_icon"/>
4852 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4853 </image>
4854
4855 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004856 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004857 <action function="overlay"/>
4858 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004859
4860 <action>
4861 <touch key="power"/>
4862 <action function="togglebacklight"/>
4863 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004864 </page>
4865
4866 <page name="filemanagerlist">
4867 <template name="page"/>
4868
4869 <template name="statusbar"/>
4870
4871 <text style="text_m">
4872 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004873 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004874 </text>
4875
4876 <fileselector>
4877 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4878 <text>%tw_file_location1%</text>
4879 <filter folders="1" files="1"/>
4880 <path name="tw_file_location1" default="/"/>
4881 <data name="tw_filename1"/>
4882 <selection name="tw_selection1"/>
4883 </fileselector>
4884
4885 <button>
4886 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4887 <highlight color="%highlight_color%"/>
4888 <image resource="q_btn_folder"/>
4889 <actions>
4890 <action function="set">tw_filename1=tw_file_location1</action>
4891 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004892 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004893 <action function="page">filemanageroptions</action>
4894 </actions>
4895 </button>
4896
4897 <action>
4898 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004899 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004900 <action function="set">tw_fm_isfolder=0</action>
4901 </actions>
4902 </action>
4903
4904 <action>
4905 <touch key="home"/>
4906 <action function="page">main</action>
4907 </action>
4908
4909 <action>
4910 <touch key="back"/>
4911 <action function="page">main3</action>
4912 </action>
4913
4914 <action>
4915 <condition var1="tw_filename1" op="modified"/>
4916 <action function="page">filemanageroptions</action>
4917 </action>
4918 </page>
4919
4920 <page name="filemanageroptions">
4921 <template name="page"/>
4922
4923 <template name="statusbar"/>
4924
4925 <text style="text_m">
4926 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004927 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004928 </text>
4929
4930 <button style="main_button">
4931 <condition var1="tw_fm_isfolder" var2="0"/>
4932 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004933 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004934 <actions>
4935 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004936 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004937 <action function="page">choosedestinationfolder</action>
4938 </actions>
4939 </button>
4940
4941 <button style="main_button">
4942 <condition var1="tw_fm_isfolder" var2="1"/>
4943 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004944 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004945 <actions>
4946 <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 -05004947 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004948 <action function="page">choosedestinationfolder</action>
4949 </actions>
4950 </button>
4951
4952 <button style="main_button">
4953 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004954 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004955 <actions>
4956 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004957 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004958 <action function="page">choosedestinationfolder</action>
4959 </actions>
4960 </button>
4961
4962 <button style="main_button">
4963 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004964 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004965 <actions>
4966 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004968 <action function="set">tw_fm_text2=</action>
4969 <action function="set">tw_fm_text3=</action>
4970 <action function="set">tw_include_text3=0</action>
4971 <action function="set">tw_back=filemanageroptions</action>
4972 <action function="page">filemanagerconfirm</action>
4973 </actions>
4974 </button>
4975
4976 <button style="main_button">
4977 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004978 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004979 <actions>
4980 <action function="set">tw_filemanager_rename=0000</action>
4981 <action function="set">tw_fm_text2=</action>
4982 <action function="set">tw_fm_text3=</action>
4983 <action function="set">tw_include_text3=0</action>
4984 <action function="set">tw_back=filemanageroptions</action>
4985 <action function="page">filemanagerchmod</action>
4986 </actions>
4987 </button>
4988
4989 <button style="main_button">
4990 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004991 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004992 <actions>
4993 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004994 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004995 <action function="set">tw_fm_text2=</action>
4996 <action function="set">tw_fm_text3=</action>
4997 <action function="set">tw_include_text3=0</action>
4998 <action function="set">tw_back=filemanageroptions</action>
4999 <action function="page">filemanagerconfirm</action>
5000 </actions>
5001 </button>
5002
5003 <button style="main_button">
5004 <condition var1="tw_fm_isfolder" var2="0"/>
5005 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005006 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005007 <actions>
5008 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005009 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005010 <action function="set">tw_filemanager_command=mv</action>
5011 <action function="page">filemanagerrenamefile</action>
5012 </actions>
5013 </button>
5014
5015 <button style="main_button">
5016 <condition var1="tw_fm_isfolder" var2="1"/>
5017 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005018 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005019 <actions>
5020 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005021 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005022 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5023 <action function="page">filemanagerrenamefolder</action>
5024 </actions>
5025 </button>
5026
5027 <action>
5028 <touch key="home"/>
5029 <action function="page">main</action>
5030 </action>
5031
5032 <action>
5033 <touch key="back"/>
5034 <action function="page">filemanagerlist</action>
5035 </action>
5036 </page>
5037
5038 <page name="choosedestinationfolder">
5039 <template name="page"/>
5040
5041 <template name="statusbar"/>
5042
5043 <text style="text_m">
5044 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005045 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005046 </text>
5047
5048 <fileselector>
5049 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5050 <text>%tw_file_location2%</text>
5051 <filter folders="1" files="0"/>
5052 <path name="tw_file_location2" default="/"/>
5053 <data name="tw_filename2"/>
5054 <selection name="tw_selection2"/>
5055 </fileselector>
5056
5057 <button>
5058 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5059 <highlight color="%highlight_color%"/>
5060 <image resource="q_btn_folder"/>
5061 <actions>
5062 <action function="set">tw_fm_text2=to</action>
5063 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5064 <action function="set">tw_include_text3=1</action>
5065 <action function="set">tw_back=filemanageroptions</action>
5066 <action function="page">filemanagerconfirm</action>
5067 </actions>
5068 </button>
5069
5070 <action>
5071 <touch key="home"/>
5072 <action function="page">main</action>
5073 </action>
5074
5075 <action>
5076 <touch key="back"/>
5077 <action function="page">filemanageroptions</action>
5078 </action>
5079 </page>
5080
5081 <page name="filemanagerrenamefile">
5082 <template name="page"/>
5083
5084 <template name="statusbar"/>
5085
5086 <text style="text_m">
5087 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005088 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005089 </text>
5090
5091 <text style="text_m_accent">
5092 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005093 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005094 </text>
5095
5096 <input>
5097 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5098 <text>%tw_filemanager_rename%</text>
5099 <data name="tw_filemanager_rename"/>
5100 <restrict minlen="1" maxlen="128"/>
5101 <actions>
5102 <action function="set">tw_fm_text2=to</action>
5103 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5104 <action function="set">tw_include_text3=1</action>
5105 <action function="set">tw_back=filemanageroptions</action>
5106 <action function="page">filemanagerconfirm</action>
5107 </actions>
5108 </input>
5109
5110 <fill color="%accent_color%">
5111 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5112 </fill>
5113
5114 <button style="main_button_half_height">
5115 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005116 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005117 <action function="page">filemanageroptions</action>
5118 </button>
5119
5120 <template name="keyboardtemplate"/>
5121
5122 <action>
5123 <touch key="home"/>
5124 <action function="page">main</action>
5125 </action>
5126
5127 <action>
5128 <touch key="back"/>
5129 <action function="page">filemanageroptions</action>
5130 </action>
5131 </page>
5132
5133 <page name="filemanagerrenamefolder">
5134 <template name="page"/>
5135
5136 <template name="statusbar"/>
5137
5138 <text style="text_m">
5139 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005140 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005141 </text>
5142
5143 <text style="text_m_accent">
5144 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005145 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005146 </text>
5147
5148 <input>
5149 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5150 <text>%tw_filemanager_rename%</text>
5151 <data name="tw_filemanager_rename"/>
5152 <restrict minlen="1" maxlen="128"/>
5153 <actions>
5154 <action function="set">tw_fm_text2=to</action>
5155 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5156 <action function="set">tw_include_text3=1</action>
5157 <action function="set">tw_back=filemanageroptions</action>
5158 <action function="page">filemanagerconfirm</action>
5159 </actions>
5160 </input>
5161
5162 <fill color="%accent_color%">
5163 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5164 </fill>
5165
5166 <button style="main_button_half_height">
5167 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005168 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005169 <action function="page">filemanageroptions</action>
5170 </button>
5171
5172 <template name="keyboardtemplate"/>
5173
5174 <action>
5175 <touch key="home"/>
5176 <action function="page">main</action>
5177 </action>
5178
5179 <action>
5180 <touch key="back"/>
5181 <action function="page">filemanageroptions</action>
5182 </action>
5183 </page>
5184
5185 <page name="filemanagerchmod">
5186 <template name="page"/>
5187
5188 <template name="statusbar"/>
5189
5190 <text style="text_m">
5191 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005192 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005193 </text>
5194
5195 <text style="text_m_accent">
5196 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005197 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005198 </text>
5199
5200 <input>
5201 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5202 <text>%tw_filemanager_rename%</text>
5203 <data name="tw_filemanager_rename"/>
5204 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5205 <actions>
5206 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5207 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5208 <action function="set">tw_back=filemanageroptions</action>
5209 <action function="page">filemanagerconfirm</action>
5210 </actions>
5211 </input>
5212
5213 <fill color="%accent_color%">
5214 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5215 </fill>
5216
5217 <button style="main_button_half_height">
5218 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005219 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005220 <action function="page">filemanageroptions</action>
5221 </button>
5222
5223 <template name="keyboardtemplate"/>
5224
5225 <action>
5226 <touch key="home"/>
5227 <action function="page">main</action>
5228 </action>
5229
5230 <action>
5231 <touch key="back"/>
5232 <action function="page">filemanageroptions</action>
5233 </action>
5234 </page>
5235
5236 <page name="filemanagerconfirm">
5237 <template name="page"/>
5238
5239 <template name="statusbar"/>
5240
5241 <text style="text_m">
5242 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005243 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005244 </text>
5245
5246 <text style="text_m_accent">
5247 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5248 <text>%tw_fm_text1%</text>
5249 </text>
5250
5251 <text style="text_m">
5252 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5253 <text>%tw_filename1%</text>
5254 </text>
5255
5256 <text style="text_m_accent">
5257 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5258 <text>%tw_fm_text2%</text>
5259 </text>
5260
5261 <text style="text_m">
5262 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5263 <text>%tw_fm_text3%</text>
5264 </text>
5265
5266 <text style="text_m">
5267 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005268 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005269 </text>
5270
5271 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005272 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005273 <action function="page">filemanageraction</action>
5274 </slider>
5275
5276 <action>
5277 <touch key="back"/>
5278 <action function="page">%tw_back%</action>
5279 </action>
5280
5281 <action>
5282 <touch key="home"/>
5283 <action function="page">main</action>
5284 </action>
5285 </page>
5286
5287 <page name="filemanageraction">
5288 <template name="page"/>
5289
5290 <template name="statusbar"/>
5291
5292 <text style="text_m">
5293 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005294 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005295 </text>
5296
5297 <template name="console"/>
5298
5299 <template name="progress_bar"/>
5300
5301 <action>
5302 <conditions>
5303 <condition var1="tw_operation_state" var2="1"/>
5304 <condition var1="tw_operation_status" var2="0"/>
5305 </conditions>
5306 <actions>
5307 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005308 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005309 <action function="page">action_complete</action>
5310 </actions>
5311 </action>
5312
5313 <action>
5314 <conditions>
5315 <condition var1="tw_operation_state" var2="1"/>
5316 <condition var1="tw_operation_status" op="!=" var2="0"/>
5317 </conditions>
5318 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005319 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005320 <action function="page">action_complete</action>
5321 </actions>
5322 </action>
5323
5324 <action>
5325 <condition var1="tw_include_text3" var2="0"/>
5326 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5327 </action>
5328
5329 <action>
5330 <condition var1="tw_include_text3" var2="1"/>
5331 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5332 </action>
5333 </page>
5334
5335 <page name="decrypt">
5336 <template name="page"/>
5337
5338 <template name="statusbar"/>
5339
5340 <action>
5341 <condition var1="tw_crypto_pwtype" var2="2"/>
5342 <action function="page">decrypt_pattern</action>
5343 </action>
5344
5345 <text style="text_m">
5346 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005347 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005348 </text>
5349
5350 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005351 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005352 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005353 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005354 </text>
5355
Noah Jacobson5a79f672019-04-28 00:10:07 -04005356 <text style="text_m_accent">
5357 <condition var1="tw_is_fbe" var2="1"/>
5358 <placement x="%col1_x_left%" y="%row1_y%"/>
5359 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5360 </text>
5361
z31s1g28f0a922015-11-07 18:50:22 +01005362 <input>
5363 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5364 <text>%tw_crypto_display%</text>
5365 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5366 <restrict minlen="1" maxlen="254"/>
5367 <action function="page">trydecrypt</action>
5368 </input>
5369
5370 <fill color="%accent_color%">
5371 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5372 </fill>
5373
5374 <fill color="%text_fail_color%">
5375 <condition var1="tw_password_fail" var2="1"/>
5376 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5377 </fill>
5378
5379 <text style="text_m_fail">
5380 <condition var1="tw_password_fail" var2="1"/>
5381 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005382 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005383 </text>
5384
5385 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005386 <placement x="%col1_x_left%" y="%row4_y%"/>
5387 <text>{@sel_lang_btn=Select Language}</text>
5388 <action function="page">settings_language</action>
5389 </button>
5390
5391 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005392 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005393 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005394 <actions>
5395 <action function="set">tw_page_done=1</action>
5396 <action function="page">main</action>
5397 </actions>
5398 </button>
5399
5400 <template name="keyboardtemplate"/>
5401 </page>
5402
5403 <page name="decrypt_pattern">
5404 <template name="page"/>
5405
5406 <template name="statusbar"/>
5407
Aleksa Saraib25a1832015-12-31 17:36:00 +01005408 <action>
5409 <action function="set">tw_gui_pattern_grid_size=3</action>
5410 </action>
5411
z31s1g28f0a922015-11-07 18:50:22 +01005412 <text style="text_m">
5413 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005414 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005415 </text>
5416
5417 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04005418 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005419 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005420 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005421 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005422 </text>
5423
Noah Jacobson5a79f672019-04-28 00:10:07 -04005424 <text style="text_m_accent">
5425 <condition var1="tw_is_fbe" var2="1"/>
5426 <condition var1="tw_password_fail" op="!=" var2="1"/>
5427 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5428 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5429 </text>
5430
Aleksa Saraib25a1832015-12-31 17:36:00 +01005431 <text style="text_m_fail">
5432 <condition var1="tw_password_fail" var2="1"/>
5433 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005434 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005435 </text>
5436
z31s1g28f0a922015-11-07 18:50:22 +01005437 <text style="text_m">
5438 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005439 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005440 </text>
5441
5442 <patternpassword>
5443 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005444 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5445 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5446 <data name="tw_crypto_password"/>
5447 <action function="page">trydecrypt</action>
5448 </patternpassword>
5449
5450 <fill color="#000000">
5451 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5452 </fill>
5453
5454 <button>
5455 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5456 <image resource="back"/>
5457 <condition var1="tw_busy" var2="0"/>
5458 <actions>
5459 <action function="set">tw_page_done=1</action>
5460 <action function="page">main</action>
5461 </actions>
5462 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005463
5464 <button>
5465 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5466 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5467 <image resource="grid_less"/>
5468 <action function="set">tw_gui_pattern_grid_size=3</action>
5469 </button>
5470
5471 <button>
5472 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5473 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5474 <image resource="grid_less"/>
5475 <action function="set">tw_gui_pattern_grid_size=3</action>
5476 </button>
5477
5478 <button>
5479 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5480 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5481 <image resource="grid_less"/>
5482 <action function="set">tw_gui_pattern_grid_size=4</action>
5483 </button>
5484
5485 <button>
5486 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5487 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5488 <image resource="grid_less"/>
5489 <action function="set">tw_gui_pattern_grid_size=5</action>
5490 </button>
5491
5492 <button>
5493 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5494 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5495 <image resource="grid_more"/>
5496 <action function="set">tw_gui_pattern_grid_size=4</action>
5497 </button>
5498
5499 <button>
5500 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5501 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5502 <image resource="grid_more"/>
5503 <action function="set">tw_gui_pattern_grid_size=5</action>
5504 </button>
5505
5506 <button>
5507 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5508 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5509 <image resource="grid_more"/>
5510 <action function="set">tw_gui_pattern_grid_size=6</action>
5511 </button>
5512
5513 <button>
5514 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5515 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5516 <image resource="grid_more"/>
5517 <action function="set">tw_gui_pattern_grid_size=6</action>
5518 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005519 </page>
5520
5521 <page name="trydecrypt">
5522 <template name="page"/>
5523
5524 <template name="statusbar"/>
5525
5526 <text style="text_m">
5527 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005528 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005529 </text>
5530
5531 <template name="console"/>
5532
5533 <template name="progress_bar"/>
5534
5535 <action>
5536 <action function="decrypt"/>
5537 </action>
5538
5539 <action>
5540 <conditions>
5541 <condition var1="tw_operation_state" var2="1"/>
5542 <condition var1="tw_operation_status" op="!=" var2="0"/>
5543 </conditions>
5544 <actions>
5545 <action function="set">tw_password_fail=1</action>
5546 <action function="page">decrypt</action>
5547 </actions>
5548 </action>
5549
5550 <action>
5551 <conditions>
5552 <condition var1="tw_operation_state" var2="1"/>
5553 <condition var1="tw_operation_status" op="=" var2="0"/>
5554 </conditions>
5555 <actions>
5556 <action function="set">tw_page_done=1</action>
5557 <action function="page">main</action>
5558 </actions>
5559 </action>
5560 </page>
5561
z31s1g28f0a922015-11-07 18:50:22 +01005562 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005563 <terminal>
5564 <condition var1="tw_hide_kb" var2="0"/>
5565 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5566 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005567
z31s1g56189522016-01-13 19:12:40 +01005568 <terminal>
5569 <condition var1="tw_hide_kb" var2="1"/>
5570 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5571 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005572
z31s1g56189522016-01-13 19:12:40 +01005573 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005574
5575 <template name="keyboardtemplate"/>
5576
z31s1g608d7ff2016-01-18 19:47:25 +01005577 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005578 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005579 </fill>
z31s1g56189522016-01-13 19:12:40 +01005580
z31s1g608d7ff2016-01-18 19:47:25 +01005581 <button>
z31s1g56189522016-01-13 19:12:40 +01005582 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5583 <image resource="back" />
5584 <condition var1="tw_busy" var2="0" />
5585 <actions>
5586 <action function="set">tw_hide_kb=0</action>
5587 <action function="key">back</action>
5588 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005589 </button>
z31s1g56189522016-01-13 19:12:40 +01005590
z31s1g608d7ff2016-01-18 19:47:25 +01005591 <button>
z31s1g56189522016-01-13 19:12:40 +01005592 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5593 <image resource="home" />
5594 <condition var1="tw_busy" var2="0" />
5595 <actions>
5596 <action function="set">tw_hide_kb=0</action>
5597 <action function="key">home</action>
5598 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005599 </button>
z31s1g56189522016-01-13 19:12:40 +01005600
z31s1g608d7ff2016-01-18 19:47:25 +01005601 <button>
z31s1g56189522016-01-13 19:12:40 +01005602 <condition var1="tw_hide_kb" var2="0"/>
5603 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5604 <image resource="kb_hide" />
5605 <condition var1="tw_busy" var2="0" />
5606 <actions>
5607 <action function="set">tw_hide_kb=1</action>
5608 <action function="page">terminalcommand</action>
5609 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005610 </button>
z31s1g56189522016-01-13 19:12:40 +01005611
z31s1g608d7ff2016-01-18 19:47:25 +01005612 <button>
z31s1g56189522016-01-13 19:12:40 +01005613 <condition var1="tw_hide_kb" var2="1"/>
5614 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5615 <image resource="kb_show" />
5616 <condition var1="tw_busy" var2="0" />
5617 <actions>
5618 <action function="set">tw_hide_kb=0</action>
5619 <action function="page">terminalcommand</action>
5620 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005621 </button>
z31s1g56189522016-01-13 19:12:40 +01005622
z31s1g28f0a922015-11-07 18:50:22 +01005623 <action>
5624 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005625 <actions>
5626 <action function="set">tw_hide_kb=0</action>
5627 <action function="page">main</action>
5628 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005629 </action>
5630
5631 <action>
5632 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005633 <actions>
5634 <action function="set">tw_hide_kb=0</action>
5635 <action function="page">advanced</action>
5636 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005637 </action>
z31s1g56189522016-01-13 19:12:40 +01005638
z31s1g608d7ff2016-01-18 19:47:25 +01005639 <action>
z31s1g56189522016-01-13 19:12:40 +01005640 <touch key="power+voldown" />
5641 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005642 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005643 </page>
5644
5645 <page name="sideload">
5646 <template name="page"/>
5647
5648 <template name="statusbar"/>
5649
5650 <text style="text_m">
5651 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005652 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005653 </text>
5654
5655 <text style="text_m_accent">
5656 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005657 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005658 </text>
5659
5660 <checkbox>
5661 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005662 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005663 <data variable="tw_wipe_dalvik"/>
5664 </checkbox>
5665
5666 <checkbox>
5667 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005668 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005669 <data variable="tw_wipe_cache"/>
5670 </checkbox>
5671
5672 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005673 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005674 <actions>
5675 <action function="set">tw_back=install_type</action>
5676 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005677 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5678 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5679 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005680 <action function="set">tw_has_cancel=1</action>
5681 <action function="set">tw_show_reboot=1</action>
5682 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5683 <action function="page">action_page</action>
5684 </actions>
5685 </slider>
5686
5687 <action>
5688 <touch key="home"/>
5689 <action function="page">main</action>
5690 </action>
5691
5692 <action>
5693 <touch key="back"/>
5694 <action function="page">install_type</action>
5695 </action>
5696 </page>
5697
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005698 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005699 <template name="page"/>
5700
5701 <template name="statusbar"/>
5702
5703 <text style="text_m">
5704 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005705 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005706 </text>
5707
5708 <text style="text_m_accent">
5709 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005710 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005711 </text>
5712
z31s1g28f0a922015-11-07 18:50:22 +01005713 <text style="text_m_fail">
5714 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005715 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005716 </text>
5717
5718 <text style="text_m_fail">
5719 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005720 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005721 </text>
5722
5723 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005724 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005725 <actions>
5726 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005727 <action function="set">tw_action=fixcontexts</action>
5728 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5729 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005730 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005731 <action function="set">tw_show_reboot=1</action>
5732 <action function="page">action_page</action>
5733 </actions>
5734 </slider>
5735
5736 <action>
5737 <touch key="home"/>
5738 <action function="page">main</action>
5739 </action>
5740
5741 <action>
5742 <touch key="back"/>
5743 <action function="page">advanced</action>
5744 </action>
5745 </page>
5746
z31s1g28f0a922015-11-07 18:50:22 +01005747 <page name="slideout">
5748 <fill color="%background_color%">
5749 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5750 </fill>
5751
5752 <console>
5753 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5754 </console>
5755
5756 <fill color="%fileselector_linecolor%">
5757 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5758 </fill>
5759
5760 <fill color="%fileselector_linecolor%">
5761 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5762 </fill>
5763
5764 <button>
5765 <fill color="%transparent%"/>
5766 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5767 <action function="overlay"/>
5768 </button>
5769
5770 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005771 <touch key="power"/>
5772 <action function="togglebacklight"/>
5773 </action>
5774
5775 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005776 <touch key="power+voldown"/>
5777 <action function="screenshot"/>
5778 </action>
5779 </page>
5780
5781 <page name="select_storage">
5782 <template name="page"/>
5783
5784 <template name="statusbar"/>
5785
5786 <text style="text_m">
5787 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5788 <text>%tw_storagetext%</text>
5789 </text>
5790
5791 <partitionlist style="partitionlist_headerless_rb">
5792 <data name="tw_storage_path"/>
5793 <listtype name="storage"/>
5794 </partitionlist>
5795
5796 <button>
5797 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5798 <highlight color="%highlight_color%"/>
5799 <image resource="q_btn_refresh"/>
5800 <actions>
5801 <action function="refreshsizes"/>
5802 <action function="page">select_storage</action>
5803 </actions>
5804 </button>
5805
5806 <button>
5807 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5808 <highlight color="%highlight_color%"/>
5809 <image resource="q_btn_accept"/>
5810 <actions>
5811 <action function="set">tw_clear_destination=%tw_back%</action>
5812 <action function="page">clear_vars</action>
5813 </actions>
5814 </button>
5815
5816 <action>
5817 <touch key="power+voldown"/>
5818 <action function="screenshot"/>
5819 </action>
5820 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005821
5822 <page name="decrypt_users">
5823 <template name="page"/>
5824
5825 <text style="text_l">
5826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5827 <text>{@decrypt_users=Decrypt Users}</text>
5828 </text>
5829
5830 <text style="text_m_accent">
5831 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5832 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5833 </text>
5834
5835 <listbox>
5836 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5837 <text>{@select_user=Select User}</text>
5838 <icon selected="radio_true" unselected="radio_false" />
5839 <data name="tw_crypto_user_id" />
5840 </listbox>
5841
5842 <button style="main_button_half_height">
5843 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5844 <text>{@decrypt_users=Decrypt Users}</text>
5845 <action function="set">tw_crypto_password=</action>
5846 <action function="set">tw_password_fail=0</action>
5847 <action function="page">decrypt</action>
5848 </button>
5849
5850 <action>
5851 <touch key="home"/>
5852 <action function="page">main</action>
5853 </action>
5854
5855 <action>
5856 <touch key="back"/>
5857 <action function="page">advanced</action>
5858 </action>
5859 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005860 </pages>
5861</recovery>