blob: 046707bc6693bd8f692e3e30088d62dc2d5eaf41 [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>
mauronofrio6d3bf892019-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">
Chaosmaster7b66bf52020-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
Chaosmaster7b66bf52020-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 Jacobson81d638d2019-04-28 00:10:07 -0400978 <action function="set">tw_crypto_user_id=</action>
979 <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 Yonker8581ab32020-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">
bigbiffadc599e2020-05-28 19:36:30 +00001369 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-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 Jacobson81d638d2019-04-28 00:10:07 -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 Jacobson81d638d2019-04-28 00:10:07 -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 Jacobson81d638d2019-04-28 00:10:07 -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">
bigbiffee7b7ff2020-03-23 15:08:27 -04003157 <conditions>
3158 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3159 <condition var1="tw_is_super" op="=" var2="0"/>
3160 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <image resource="checkbox_false"/>
3164 <action function="mountsystemtoggle">1</action>
3165 </button>
3166
3167 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003168 <conditions>
3169 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3170 <condition var1="tw_is_super" op="=" var2="0"/>
3171 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003173 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003174 <image resource="checkbox_true"/>
3175 <actions>
3176 <action function="set">tw_lifetime_writes=2</action>
3177 <action function="page">system_readonly_check</action>
3178 </actions>
3179 </button>
3180
3181 <button style="checkbox">
3182 <conditions>
3183 <condition var1="tw_has_mtp" var2="1"/>
3184 <condition var1="tw_mtp_enabled" var2="0"/>
3185 </conditions>
3186 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3187 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="startmtp"/>
3190 </button>
3191
3192 <button style="checkbox">
3193 <conditions>
3194 <condition var1="tw_has_mtp" var2="1"/>
3195 <condition var1="tw_mtp_enabled" var2="1"/>
3196 </conditions>
3197 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3198 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="stopmtp"/>
3201 </button>
3202
3203 <button>
3204 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3205 <highlight color="%highlight_color%"/>
3206 <image resource="q_btn_storage"/>
3207 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="set">tw_back=mount</action>
3210 <action function="page">select_storage</action>
3211 </actions>
3212 </button>
3213
3214 <button>
3215 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3216 <highlight color="%highlight_color%"/>
3217 <image resource="q_btn_arrow_right"/>
3218 <action function="page">mount_options</action>
3219 </button>
3220
3221 <action>
3222 <touch key="home"/>
3223 <action function="page">main</action>
3224 </action>
3225
3226 <action>
3227 <touch key="back"/>
3228 <action function="page">main</action>
3229 </action>
3230 </page>
3231
3232 <page name="mount_options">
3233 <template name="page"/>
3234
3235 <template name="statusbar"/>
3236
3237 <text style="text_m">
3238 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 </text>
3241
3242 <button style="main_button_full_width">
3243 <condition var1="tw_has_usb_storage" var2="1"/>
3244 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <action function="page">usb_mount</action>
3247 </button>
3248
3249 <button style="main_button_full_width">
3250 <conditions>
3251 <condition var1="tw_is_encrypted" var2="1"/>
3252 <condition var1="tw_is_decrypted" var2="0"/>
3253 </conditions>
3254 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003256 <action function="set">tw_crypto_user_id=0</action>
3257 <action function="set">tw_crypto_password=</action>
3258 <action function="set">tw_password_fail=0</action>
3259 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003260 <action function="page">decrypt</action>
3261 </button>
3262
3263 <button>
3264 <placement x="%col1_x_left%" y="%row11_y%"/>
3265 <highlight color="%highlight_color%"/>
3266 <image resource="q_btn_arrow_left"/>
3267 <action function="page">mount</action>
3268 </button>
3269
3270 <action>
3271 <touch key="home"/>
3272 <action function="page">main</action>
3273 </action>
3274
3275 <action>
3276 <touch key="back"/>
3277 <action function="page">mount</action>
3278 </action>
3279 </page>
3280
3281 <page name="usb_mount">
3282 <template name="page"/>
3283
3284 <template name="statusbar"/>
3285
3286 <text style="text_m">
3287 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003288 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m_accent">
3292 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m_fail">
3297 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <text style="text_m_fail">
3302 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 </text>
3305
3306 <button style="main_button">
3307 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 <action function="page">usb_umount</action>
3310 </button>
3311
3312 <action>
3313 <action function="mount">usb</action>
3314 <action function="set">tw_busy=1</action>
3315 </action>
3316 </page>
3317
3318 <page name="usb_umount">
3319 <action>
3320 <action function="unmount">usb</action>
3321 </action>
3322
3323 <action>
3324 <action function="page">mount_options</action>
3325 <action function="set">tw_busy=0</action>
3326 </action>
3327 </page>
3328
3329 <page name="system_readonly_check">
3330 <action>
3331 <action function="checkpartitionlifetimewrites">/system</action>
3332 </action>
3333
3334 <action>
3335 <condition var1="tw_lifetime_writes" var2="1"/>
3336 <actions>
3337 <action function="mountsystemtoggle">0</action>
3338 <action function="page">mount</action>
3339 </actions>
3340 </action>
3341
3342 <action>
3343 <condition var1="tw_lifetime_writes" var2="0"/>
3344 <actions>
3345 <action function="set">tw_back=mount</action>
3346 <action function="page">system_readonly</action>
3347 </actions>
3348 </action>
3349 </page>
3350
3351 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06003352 <action>
3353 <action function="checkforapp"></action>
3354 <action function="page">reboot2</action>
3355 </action>
3356 </page>
3357
3358 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003359 <template name="page"/>
3360
3361 <template name="statusbar"/>
3362
3363 <text style="text_m">
3364 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003365 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 </text>
3367
3368 <button style="main_button">
3369 <condition var1="tw_reboot_system" var2="1"/>
3370 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <actions>
3373 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003374 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003375 </actions>
3376 </button>
3377
3378 <button style="main_button">
3379 <condition var1="tw_reboot_poweroff" var2="1"/>
3380 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003382 <actions>
3383 <action function="set">tw_back=reboot</action>
3384 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003385 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003386 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3389 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3390 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3391 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3392 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="page">rebootcheck</action>
3394 </actions>
3395 </button>
3396
3397 <button style="main_button">
3398 <condition var1="tw_reboot_recovery" var2="1"/>
3399 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003401 <actions>
3402 <action function="set">tw_back=reboot</action>
3403 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003404 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003405 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003406 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3408 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3409 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3410 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3411 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003412 <action function="page">rebootcheck</action>
3413 </actions>
3414 </button>
3415
3416 <button style="main_button">
3417 <condition var1="tw_reboot_bootloader" var2="1"/>
3418 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003420 <actions>
3421 <action function="set">tw_back=reboot</action>
3422 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003423 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003424 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003426 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3427 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3428 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3429 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3430 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003431 <action function="page">rebootcheck</action>
3432 </actions>
3433 </button>
3434
3435 <button style="main_button">
3436 <condition var1="tw_download_mode" var2="1"/>
3437 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 <actions>
3440 <action function="set">tw_back=reboot</action>
3441 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003442 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003443 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3446 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3447 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3448 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3449 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <action function="page">rebootcheck</action>
3451 </actions>
3452 </button>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003453
mauronofrioe9a49ef2018-10-03 13:38:16 +02003454 <button style="main_button">
3455 <condition var1="tw_edl_mode" var2="1"/>
3456 <placement x="%col1_x_right%" y="%row11_y%"/>
3457 <text>{@rb_edl_btn=Edl}</text>
3458 <actions>
3459 <action function="set">tw_back=reboot</action>
3460 <action function="set">tw_action=reboot</action>
3461 <action function="set">tw_action_param=edl</action>
3462 <action function="set">tw_reboot_param=edl</action>
3463 <action function="set">tw_has_action2=0</action>
3464 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3465 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3466 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3467 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3468 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3469 <action function="page">rebootcheck</action>
3470 </actions>
3471 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003472
3473 <action>
3474 <touch key="home"/>
3475 <action function="page">main</action>
3476 </action>
3477
3478 <action>
3479 <touch key="back"/>
3480 <action function="page">main</action>
3481 </action>
3482 </page>
3483
Ethan Yonker8581ab32020-12-17 14:51:50 -06003484 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003485 <template name="page"/>
3486
3487 <template name="statusbar"/>
3488
3489 <text style="text_m">
3490 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003491 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003492 </text>
3493
3494 <text style="text_m_accent">
3495 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3496 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3497 </text>
3498
3499 <text style="text_m">
3500 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3501 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3502 </text>
3503
3504 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003505 <condition var1="tw_mount_system_ro" var2="0"/>
3506 <placement x="%indent%" y="%row5_y%"/>
3507 <text>{@reboot_install_app_system=Install as a System App}</text>
3508 <data variable="tw_app_install_system"/>
3509 </checkbox>
3510
3511 <button style="main_button_half_height">
3512 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003513 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003514 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003515 </button>
3516
Ethan Yonker8581ab32020-12-17 14:51:50 -06003517 <slider>
3518 <text>{@swipe_confirm= Confirm}</text>
3519 <actions>
3520 <action function="set">tw_action=installapp</action>
3521 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3522 <action function="set">tw_action_text2=</action>
3523 <action function="set">tw_complete_text1={@successful=Successful}</action>
3524 <action function="page">action_page</action>
3525 </actions>
3526 </slider>
3527
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003528 <action>
3529 <touch key="home"/>
3530 <actions>
3531 <action function="set">tw_app_install_status=0</action>
3532 <action function="page">main</action>
3533 </actions>
3534 </action>
3535
3536 <action>
3537 <touch key="back"/>
3538 <actions>
3539 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003540 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003541 </actions>
3542 </action>
3543 </page>
3544
z31s1g28f0a922015-11-07 18:50:22 +01003545 <page name="system_readonly">
3546 <template name="page"/>
3547
3548 <template name="statusbar"/>
3549
3550 <text style="text_m">
3551 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003553 </text>
3554
3555 <text style="text_m_accent">
3556 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 </text>
3559
3560 <text style="text_m">
3561 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003562 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003563 </text>
3564
3565 <text style="text_m">
3566 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 </text>
3569
3570 <text style="text_m">
3571 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 </text>
3574
3575 <text style="text_m">
3576 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </text>
3579
3580 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003581 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003586 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 </text>
3589
z31s1g608d7ff2016-01-18 19:47:25 +01003590 <button style="main_button_half_height">
3591 <placement x="%col1_x_right%" y="%row8a_y%"/>
3592 <text>{@sel_lang_btn=Select Language}</text>
3593 <action function="page">settings_language</action>
3594 </button>
3595
z31s1g28f0a922015-11-07 18:50:22 +01003596 <checkbox>
3597 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003598 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <data variable="tw_never_show_system_ro_page"/>
3601 </checkbox>
3602
3603 <button style="main_button_half_height">
3604 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 <actions>
3607 <action function="mountsystemtoggle">1</action>
3608 <action function="set">tw_page_done=1</action>
3609 <action function="page">%tw_back%</action>
3610 </actions>
3611 </button>
3612
3613 <button style="main_button_half_height">
3614 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 <actions>
3617 <action function="mountsystemtoggle">0</action>
3618 <action function="set">tw_page_done=1</action>
3619 <action function="page">%tw_back%</action>
3620 </actions>
3621 </button>
3622 </page>
3623
3624 <page name="settings">
3625 <template name="page"/>
3626
3627 <template name="statusbar"/>
3628
3629 <text style="text_m">
3630 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </text>
3633
3634 <button style="main_button">
3635 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <action function="page">settings_general</action>
3638 </button>
3639
3640 <button style="main_button">
3641 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <action function="page">settings_timezone</action>
3644 </button>
3645
3646 <button style="main_button">
3647 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <action function="page">settings_screen</action>
3650 </button>
3651
3652 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003653 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003654 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <action function="page">settings_vibration</action>
3657 </button>
3658
3659 <button style="main_button">
3660 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 <action function="page">settings_language</action>
3663 </button>
3664
3665 <button>
3666 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3667 <highlight color="%highlight_color%"/>
3668 <image resource="q_btn_reset"/>
3669 <action function="restoredefaultsettings"/>
3670 </button>
3671
3672 <action>
3673 <touch key="home"/>
3674 <action function="page">main</action>
3675 </action>
3676
3677 <action>
3678 <touch key="back"/>
3679 <action function="page">main3</action>
3680 </action>
3681 </page>
3682
3683 <page name="settings_general">
3684 <template name="page"/>
3685
3686 <template name="statusbar"/>
3687
3688 <text style="text_m">
3689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <listbox style="scrolllist">
3694 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003696 <data variable="tw_signed_zip_verify"/>
3697 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003698 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3699 <data variable="tw_install_reboot"/>
3700 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003702 <data variable="tw_rm_rf"/>
3703 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003704 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3705 <data variable="tw_disable_free_space"/>
3706 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003707 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3708 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003710 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3711 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003712 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003714 <data variable="tw_military_time"/>
3715 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003717 <data variable="tw_simulate_actions"/>
3718 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003720 <data variable="tw_simulate_fail"/>
3721 <condition var1="tw_simulate_actions" var2="1"/>
3722 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003723 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3724 <condition var1="tw_no_sha2" var2="0"/>
3725 <data variable="tw_use_sha2"/>
3726 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003727 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3728 <data variable="tw_unmount_system"/>
3729 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003730 </listbox>
3731
3732 <action>
3733 <touch key="home"/>
3734 <action function="page">main</action>
3735 </action>
3736
3737 <action>
3738 <touch key="back"/>
3739 <action function="page">settings</action>
3740 </action>
3741 </page>
3742
3743 <page name="settings_timezone">
3744 <template name="page"/>
3745
3746 <template name="statusbar"/>
3747
3748 <text style="text_m">
3749 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 </text>
3752
3753 <text color="%text_color%">
3754 <font resource="font_m"/>
3755 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3756 <text>%tw_time%</text>
3757 </text>
3758
3759 <listbox style="listbox_headerless">
3760 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3761 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3763 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3764 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3765 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3766 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3767 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3768 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3769 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3770 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3771 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3772 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3773 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3774 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3775 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3776 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3777 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3778 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3779 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3780 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3781 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3782 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3783 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3784 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3785 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </listbox>
3787
3788 <button>
3789 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3790 <highlight color="%highlight_color%"/>
3791 <image resource="q_btn_arrow_right"/>
3792 <actions>
3793 <action function="setguitimezone"/>
3794 <action function="page">settings_timezone2</action>
3795 </actions>
3796 </button>
3797
3798 <action>
3799 <condition var1="tw_time_zone_guisel" op="modified"/>
3800 <action function="setguitimezone"/>
3801 </action>
3802
3803 <action>
3804 <touch key="home"/>
3805 <actions>
3806 <action function="page">main</action>
3807 <action function="setguitimezone"/>
3808 </actions>
3809 </action>
3810
3811 <action>
3812 <touch key="back"/>
3813 <actions>
3814 <action function="page">settings</action>
3815 <action function="setguitimezone"/>
3816 </actions>
3817 </action>
3818
3819 <action>
3820 <touch key="power+voldown"/>
3821 <action function="screenshot"/>
3822 </action>
3823 </page>
3824
3825 <page name="settings_timezone2">
3826 <template name="page"/>
3827
3828 <template name="statusbar"/>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <text color="%text_color%">
3836 <font resource="font_m"/>
3837 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3838 <text>%tw_time%</text>
3839 </text>
3840
3841 <checkbox>
3842 <placement x="%col1_x_left%" y="%row1_y%"/>
3843 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 <data variable="tw_time_zone_guidst"/>
3846 <image checked="checkbox_true" unchecked="checkbox_false"/>
3847 </checkbox>
3848
3849 <text style="text_m_accent">
3850 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 </text>
3853
3854 <button style="main_button_quarter_width">
3855 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 <actions>
3858 <action function="set">tw_time_zone_guioffset=0</action>
3859 <action function="setguitimezone"/>
3860 </actions>
3861 </button>
3862
3863 <button style="main_button_quarter_width">
3864 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 <actions>
3867 <action function="set">tw_time_zone_guioffset=15</action>
3868 <action function="setguitimezone"/>
3869 </actions>
3870 </button>
3871
3872 <button style="main_button_quarter_width">
3873 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 <actions>
3876 <action function="set">tw_time_zone_guioffset=30</action>
3877 <action function="setguitimezone"/>
3878 </actions>
3879 </button>
3880
3881 <button style="main_button_quarter_width">
3882 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 <actions>
3885 <action function="set">tw_time_zone_guioffset=45</action>
3886 <action function="setguitimezone"/>
3887 </actions>
3888 </button>
3889
3890 <button>
3891 <placement x="%col1_x_left%" y="%row11_y%"/>
3892 <highlight color="%highlight_color%"/>
3893 <image resource="q_btn_arrow_left"/>
3894 <actions>
3895 <action function="setguitimezone"/>
3896 <action function="page">settings_timezone</action>
3897 </actions>
3898 </button>
3899
3900 <text style="text_m_accent">
3901 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3907 <text>%tw_time_zone%</text>
3908 </text>
3909
3910 <action>
3911 <condition var1="tw_time_zone_guidst" op="modified"/>
3912 <action function="setguitimezone"/>
3913 </action>
3914
3915 <action>
3916 <touch key="home"/>
3917 <actions>
3918 <action function="setguitimezone"/>
3919 <action function="page">main</action>
3920 </actions>
3921 </action>
3922
3923 <action>
3924 <touch key="back"/>
3925 <actions>
3926 <action function="setguitimezone"/>
3927 <action function="page">settings_timezone</action>
3928 </actions>
3929 </action>
3930 </page>
3931
3932 <page name="settings_screen">
3933 <template name="page"/>
3934
3935 <template name="statusbar"/>
3936
3937 <text style="text_m">
3938 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <button style="checkbox">
3943 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3944 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3945 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003947 <image resource="checkbox_false"/>
3948 <action function="set">tw_screen_timeout_secs=60</action>
3949 </button>
3950
3951 <button style="checkbox">
3952 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3953 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3954 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <image resource="checkbox_true"/>
3957 <action function="set">tw_screen_timeout_secs=0</action>
3958 </button>
3959
3960 <slidervalue>
3961 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3962 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3965 </slidervalue>
3966
3967 <text style="text_m_fail">
3968 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3969 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003970 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </text>
3972
3973 <button>
3974 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3975 <highlight color="%highlight_color%"/>
3976 <image resource="q_btn_arrow_right"/>
3977 <action function="page">settings_screen2</action>
3978 </button>
3979
3980 <action>
3981 <touch key="home"/>
3982 <action function="page">main</action>
3983 </action>
3984
3985 <action>
3986 <touch key="back"/>
3987 <action function="page">settings</action>
3988 </action>
3989 </page>
3990
3991 <page name="settings_screen2">
3992 <template name="page"/>
3993
3994 <template name="statusbar"/>
3995
3996 <text style="text_m">
3997 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 </text>
4000
4001 <slidervalue>
4002 <condition var1="tw_has_brightnesss_file" var2="1"/>
4003 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004005 <data variable="tw_brightness_pct" min="10" max="100"/>
4006 <actions>
4007 <action function="set">tw_brightness=%tw_brightness_max%</action>
4008 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4009 <action function="compute">tw_brightness/100</action>
4010 <action function="setbrightness">%tw_brightness%</action>
4011 </actions>
4012 </slidervalue>
4013
4014 <text style="text_m_fail">
4015 <condition var1="tw_has_brightnesss_file" var2="0"/>
4016 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <button>
4021 <placement x="%col1_x_left%" y="%row11_y%"/>
4022 <highlight color="%highlight_color%"/>
4023 <image resource="q_btn_arrow_left"/>
4024 <action function="page">settings_screen</action>
4025 </button>
4026
4027 <action>
4028 <touch key="home"/>
4029 <action function="page">main</action>
4030 </action>
4031
4032 <action>
4033 <touch key="back"/>
4034 <action function="page">settings</action>
4035 </action>
4036 </page>
4037
4038 <page name="settings_vibration">
4039 <template name="page"/>
4040
4041 <template name="statusbar"/>
4042
4043 <text style="text_m">
4044 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <slidervalue>
4049 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 <data variable="tw_button_vibrate" min="0" max="300"/>
4052 </slidervalue>
4053
4054 <button>
4055 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4056 <highlight color="%highlight_color%"/>
4057 <image resource="q_btn_arrow_right"/>
4058 <action function="page">settings_vibration2</action>
4059 </button>
4060
4061 <action>
4062 <touch key="home"/>
4063 <action function="page">main</action>
4064 </action>
4065
4066 <action>
4067 <touch key="back"/>
4068 <action function="page">settings</action>
4069 </action>
4070 </page>
4071
4072 <page name="settings_vibration2">
4073 <template name="page"/>
4074
4075 <template name="statusbar"/>
4076
4077 <text style="text_m">
4078 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <slidervalue>
4083 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4086 </slidervalue>
4087
4088 <button>
4089 <placement x="%col1_x_left%" y="%row11_y%"/>
4090 <highlight color="%highlight_color%"/>
4091 <image resource="q_btn_arrow_left"/>
4092 <action function="page">settings_vibration</action>
4093 </button>
4094
4095 <button>
4096 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4097 <highlight color="%highlight_color%"/>
4098 <image resource="q_btn_arrow_right"/>
4099 <action function="page">settings_vibration3</action>
4100 </button>
4101
4102 <action>
4103 <touch key="home"/>
4104 <action function="page">main</action>
4105 </action>
4106
4107 <action>
4108 <touch key="back"/>
4109 <action function="page">settings</action>
4110 </action>
4111 </page>
4112
4113 <page name="settings_vibration3">
4114 <template name="page"/>
4115
4116 <template name="statusbar"/>
4117
4118 <text style="text_m">
4119 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004121 </text>
4122
4123 <slidervalue>
4124 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004125 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004126 <data variable="tw_action_vibrate" min="0" max="500"/>
4127 </slidervalue>
4128
4129 <button>
4130 <placement x="%col1_x_left%" y="%row11_y%"/>
4131 <highlight color="%highlight_color%"/>
4132 <image resource="q_btn_arrow_left"/>
4133 <action function="page">settings_vibration2</action>
4134 </button>
4135
4136 <action>
4137 <touch key="home"/>
4138 <action function="page">main</action>
4139 </action>
4140
4141 <action>
4142 <touch key="back"/>
4143 <action function="page">settings</action>
4144 </action>
4145 </page>
4146
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <page name="settings_language">
4148 <template name="page"/>
4149
4150 <template name="statusbar"/>
4151
4152 <text style="text_m">
4153 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4154 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4155 </text>
4156
z31s1g608d7ff2016-01-18 19:47:25 +01004157 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4159 <icon selected="radio_true" unselected="radio_false" />
4160 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004161 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162
4163 <button>
4164 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4165 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004166 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004167 <action function="setlanguage"></action>
4168 </button>
4169
z31s1g608d7ff2016-01-18 19:47:25 +01004170 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <touch key="home" />
4172 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174
z31s1g608d7ff2016-01-18 19:47:25 +01004175 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004176 <touch key="back" />
4177 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004178 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 </page>
4180
z31s1g28f0a922015-11-07 18:50:22 +01004181 <page name="advanced">
4182 <template name="page"/>
4183
4184 <template name="statusbar"/>
4185
4186 <text style="text_m">
4187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004189 </text>
4190
4191 <button style="main_button">
4192 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004194 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004195 </button>
4196
4197 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004198 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004199 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004200 <text>{@fix_context_btn=Fix Contexts}</text>
4201 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004202 </button>
4203
Ethan Yonker64e0a652018-07-25 09:52:17 -05004204 <button>
4205 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4206 <highlight color="%highlight_color%"/>
4207 <image resource="q_btn_arrow_right"/>
4208 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </button>
4210
Ethan Yonker64e0a652018-07-25 09:52:17 -05004211 <action>
4212 <touch key="home"/>
4213 <action function="page">main</action>
4214 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004215
Ethan Yonker64e0a652018-07-25 09:52:17 -05004216 <action>
4217 <touch key="back"/>
4218 <action function="page">main3</action>
4219 </action>
4220 </page>
4221
4222 <page name="advanced2">
Ethan Yonker8581ab32020-12-17 14:51:50 -06004223 <action>
4224 <action function="checkforapp"></action>
4225 <action function="page">advanced3</action>
4226 </action>
4227 </page>
4228
4229 <page name="advanced3">
Ethan Yonker64e0a652018-07-25 09:52:17 -05004230 <template name="page"/>
4231
4232 <template name="statusbar"/>
4233
4234 <text style="text_m">
4235 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4236 <text>{@advanced_hdr=Advanced}</text>
4237 </text>
4238
4239 <listbox style="advanced_listbox">
4240 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004241 <listitem name="{@decrypt_users=Decrypt Users}">
4242 <conditions>
4243 <condition var1="tw_is_fbe" var2="1"/>
4244 <condition var1="tw_all_users_decrypted" var2="0"/>
4245 </conditions>
4246 <actions>
4247 <action function="set">tw_crypto_user_id=</action>
4248 <action function="page">decrypt_users</action>
4249 </actions>
4250 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004251 <listitem name="{@reload_theme_btn=Reload Theme}">
4252 <action function="reload"/>
4253 </listitem>
4254 <listitem name="{@part_sd_btn=Partition SD Card}">
4255 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4256 <actions>
4257 <action function="set">partitionlisterror=0</action>
4258 <action function="page">partsdcardsel</action>
4259 </actions>
4260 </listitem>
4261 <listitem name="{@dumlock_btn=HTC Dumlock}">
4262 <condition var1="tw_show_dumlock" var2="1"/>
4263 <action function="page">htcdumlock</action>
4264 </listitem>
4265 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4266 <condition var1="tw_has_injecttwrp" var2="1"/>
4267 <actions>
4268 <action function="set">tw_back=advanced</action>
4269 <action function="set">tw_action=reinjecttwrp</action>
4270 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4271 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4272 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4273 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4274 <action function="page">confirm_action</action>
4275 </actions>
4276 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004277 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4278 <conditions>
4279 <condition var1="tw_has_boot_slots" var2="1"/>
4280 <condition var1="tw_has_repack_tools" var2="1"/>
4281 </conditions>
4282 <actions>
4283 <action function="set">tw_repack_kernel=0</action>
4284 <action function="page">repackselect</action>
4285 </actions>
4286 </listitem>
4287 <listitem name="{@install_kernel=Install Kernel}">
4288 <conditions>
4289 <condition var1="tw_has_boot_slots" var2="1"/>
4290 <condition var1="tw_has_repack_tools" var2="1"/>
4291 </conditions>
4292 <actions>
4293 <action function="set">tw_repack_kernel=1</action>
4294 <action function="page">repackselect</action>
4295 </actions>
4296 </listitem>
4297 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4298 <conditions>
4299 <condition var1="tw_has_boot_slots" var2="1"/>
4300 <condition var1="tw_has_repack_tools" var2="1"/>
4301 </conditions>
4302 <actions>
4303 <action function="set">tw_back=advanced</action>
4304 <action function="set">tw_action=fixabrecoverybootloop</action>
4305 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4306 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4307 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4308 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4309 <action function="page">confirm_action</action>
4310 </actions>
4311 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06004312 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4313 <condition var1="tw_app_install_status" var2="1"/>
4314 <actions>
4315 <action function="set">tw_back=advanced2</action>
4316 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4317 <action function="page">installapp</action>
4318 </actions>
4319 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004320 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4321 <condition var1="tw_app_installed_in_system" var2="1"/>
4322 <actions>
4323 <action function="set">tw_back=advanced</action>
4324 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4325 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4326 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4327 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4328 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4329 <action function="page">confirm_action</action>
4330 </actions>
4331 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004332 </listbox>
4333
4334 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004335 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004336 <highlight color="%highlight_color%"/>
4337 <image resource="q_btn_arrow_left"/>
4338 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004339 </button>
4340
4341 <action>
4342 <touch key="home"/>
4343 <action function="page">main</action>
4344 </action>
4345
4346 <action>
4347 <touch key="back"/>
4348 <action function="page">main3</action>
4349 </action>
4350 </page>
4351
Ethan Yonker483e9f42016-01-11 22:21:18 -06004352 <page name="partsdcardsel">
4353 <template name="page"/>
4354
4355 <template name="statusbar"/>
4356
4357 <text style="text_m">
4358 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4359 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4360 </text>
4361
4362 <partitionlist style="partitionlist_headerless_rb">
4363 <data name="tw_storage_path"/>
4364 <listtype name="storage"/>
4365 </partitionlist>
4366
4367 <text style="text_m_fail">
4368 <condition var1="partitionlisterror" var2="1"/>
4369 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4370 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4371 </text>
4372
4373 <button>
4374 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4375 <highlight color="%highlight_color%"/>
4376 <image resource="q_btn_refresh"/>
4377 <action function="refreshsizes"/>
4378 </button>
4379
4380 <button>
4381 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4382 <highlight color="%highlight_color%"/>
4383 <image resource="q_btn_accept"/>
4384 <actions>
4385 <action function="getpartitiondetails">tw_storage_path</action>
4386 <action function="page">partsdcardcheck</action>
4387 </actions>
4388 </button>
4389
4390 <action>
4391 <touch key="home"/>
4392 <action function="page">main</action>
4393 </action>
4394
4395 <action>
4396 <touch key="back"/>
4397 <action function="page">advanced</action>
4398 </action>
4399 </page>
4400
4401 <page name="partsdcardcheck">
4402 <action>
4403 <condition var1="tw_partition_removable" op="=" var2="1"/>
4404 <actions>
4405 <action function="set">partitionlisterror=0</action>
4406 <action function="page">partsdcard</action>
4407 </actions>
4408 </action>
4409
4410 <action>
4411 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4412 <actions>
4413 <action function="set">partitionlisterror=1</action>
4414 <action function="page">partsdcardsel</action>
4415 </actions>
4416 </action>
4417 </page>
4418
z31s1g28f0a922015-11-07 18:50:22 +01004419 <page name="partsdcard">
4420 <template name="page"/>
4421
4422 <template name="statusbar"/>
4423
4424 <text style="text_m">
4425 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004427 </text>
4428
4429 <text style="text_m_fail">
4430 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 </text>
4433
4434 <text style="text_m_fail">
4435 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004437 </text>
4438
4439 <text style="text_m_accent">
4440 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m">
4445 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4446 <text>%tw_sdext_size%</text>
4447 </text>
4448
4449 <button style="main_button_quarter_width">
4450 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@part_sd_m=-}</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 style="main_button_quarter_width">
4456 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004458 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004459 </button>
4460
4461 <button>
4462 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4463 <highlight color="%highlight_color%"/>
4464 <image resource="q_btn_arrow_right"/>
4465 <action function="page">partsdcard2</action>
4466 </button>
4467
4468 <action>
4469 <touch key="home"/>
4470 <action function="page">main</action>
4471 </action>
4472
4473 <action>
4474 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004475 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004476 </action>
4477 </page>
4478
4479 <page name="partsdcard2">
4480 <template name="page"/>
4481
4482 <template name="statusbar"/>
4483
4484 <text style="text_m">
4485 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004486 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004487 </text>
4488
4489 <text style="text_m_fail">
4490 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004491 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004492 </text>
4493
4494 <text style="text_m_fail">
4495 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </text>
4498
4499 <text style="text_m_accent">
4500 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </text>
4503
4504 <text style="text_m">
4505 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4506 <text>%tw_swap_size%</text>
4507 </text>
4508
4509 <button style="main_button_quarter_width">
4510 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@part_sd_m=-}</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 style="main_button_quarter_width">
4516 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004518 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004519 </button>
4520
4521 <button>
4522 <placement x="%col1_x_left%" y="%row11_y%"/>
4523 <highlight color="%highlight_color%"/>
4524 <image resource="q_btn_arrow_left"/>
4525 <action function="page">partsdcard</action>
4526 </button>
4527
4528 <button>
4529 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4530 <highlight color="%highlight_color%"/>
4531 <image resource="q_btn_arrow_right"/>
4532 <action function="page">partsdcard3</action>
4533 </button>
4534
4535 <action>
4536 <touch key="home"/>
4537 <action function="page">main</action>
4538 </action>
4539
4540 <action>
4541 <touch key="back"/>
4542 <action function="page">advanced</action>
4543 </action>
4544 </page>
4545
4546 <page name="partsdcard3">
4547 <template name="page"/>
4548
4549 <template name="statusbar"/>
4550
4551 <text style="text_m">
4552 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004553 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 </text>
4555
4556 <text style="text_m_fail">
4557 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004558 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004559 </text>
4560
4561 <text style="text_m_fail">
4562 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004563 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004564 </text>
4565
4566 <text style="text_m_accent">
4567 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004568 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004569 </text>
4570
4571 <text style="text_m">
4572 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4573 <text>%tw_sdpart_file_system%</text>
4574 </text>
4575
4576 <button style="main_button_quarter_width">
4577 <placement x="%indent%" y="%row6_y%"/>
4578 <text>EXT3</text>
4579 <action function="set">tw_sdpart_file_system=ext3</action>
4580 </button>
4581
4582 <button style="main_button_quarter_width">
4583 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4584 <text>EXT4</text>
4585 <action function="set">tw_sdpart_file_system=ext4</action>
4586 </button>
4587
4588 <button>
4589 <placement x="%col1_x_left%" y="%row11_y%"/>
4590 <highlight color="%highlight_color%"/>
4591 <image resource="q_btn_arrow_left"/>
4592 <action function="page">partsdcard2</action>
4593 </button>
4594
4595 <button>
4596 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4597 <highlight color="%highlight_color%"/>
4598 <image resource="q_btn_arrow_right"/>
4599 <action function="page">partsdcard_confirm</action>
4600 </button>
4601
4602 <action>
4603 <touch key="home"/>
4604 <action function="page">main</action>
4605 </action>
4606
4607 <action>
4608 <touch key="back"/>
4609 <action function="page">advanced</action>
4610 </action>
4611 </page>
4612
4613 <page name="partsdcard_confirm">
4614 <template name="page"/>
4615
4616 <template name="statusbar"/>
4617
4618 <text style="text_m">
4619 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004620 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004621 </text>
4622
4623 <text style="text_m_fail">
4624 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004625 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004626 </text>
4627
4628 <text style="text_m_fail">
4629 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 </text>
4632
4633 <text style="text_m_accent">
4634 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004635 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004636 </text>
4637
4638 <text style="text_m_accent">
4639 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004640 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004641 </text>
4642
4643 <text style="text_m_accent">
4644 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <action function="page">partsdcardaction</action>
4651 <actions>
4652 <action function="set">tw_back=partsdcard</action>
4653 <action function="set">tw_action=partitionsd</action>
4654 <action function="set">tw_has_action2=1</action>
4655 <action function="set">tw_action2=set</action>
4656 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004657 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4658 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4659 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004660 <action function="page">action_page</action>
4661 </actions>
4662 </slider>
4663
4664 <action>
4665 <touch key="home"/>
4666 <action function="page">main</action>
4667 </action>
4668
4669 <action>
4670 <touch key="back"/>
4671 <action function="page">advanced</action>
4672 </action>
4673 </page>
4674
4675 <page name="htcdumlock">
4676 <template name="page"/>
4677
4678 <template name="statusbar"/>
4679
4680 <text style="text_m">
4681 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <button style="main_button_full_width">
4686 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004687 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004688 <actions>
4689 <action function="set">tw_back=htcdumlock</action>
4690 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004691 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4692 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4693 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4694 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004695 <action function="page">confirm_action</action>
4696 </actions>
4697 </button>
4698
4699 <button style="main_button_full_width">
4700 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 <actions>
4703 <action function="set">tw_back=htcdumlock</action>
4704 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004705 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4706 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4707 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4708 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004709 <action function="page">confirm_action</action>
4710 </actions>
4711 </button>
4712
4713 <button style="main_button_full_width">
4714 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004715 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004716 <actions>
4717 <action function="set">tw_back=htcdumlock</action>
4718 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004719 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4720 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4721 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4722 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004723 <action function="page">confirm_action</action>
4724 </actions>
4725 </button>
4726
4727 <action>
4728 <touch key="home"/>
4729 <action function="page">main</action>
4730 </action>
4731
4732 <action>
4733 <touch key="back"/>
4734 <action function="page">advanced</action>
4735 </action>
4736 </page>
4737
Ethan Yonker53796e72019-01-11 22:49:52 -06004738 <page name="repackselect">
4739 <template name="page"/>
4740
4741 <template name="statusbar"/>
4742
4743 <text style="text_m">
4744 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4745 <text>{@repack_image_hdr=Select Image}</text>
4746 </text>
4747
4748 <fileselector>
4749 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4750 <text>%tw_zip_location%</text>
4751 <filter extn=".img" folders="1" files="1"/>
4752 <path name="tw_zip_location" default="/sdcard"/>
4753 <data name="tw_filename"/>
4754 <selection name="tw_file"/>
4755 </fileselector>
4756
4757 <button>
4758 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4759 <highlight color="%highlight_color%"/>
4760 <image resource="q_btn_storage"/>
4761 <actions>
4762 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4763 <action function="set">tw_back=install</action>
4764 <action function="page">select_storage</action>
4765 </actions>
4766 </button>
4767
4768 <action>
4769 <conditions>
4770 <condition var1="tw_filename" op="modified"/>
4771 </conditions>
4772 <action function="page">repackconfirm</action>
4773 </action>
4774
4775 <action>
4776 <touch key="back"/>
4777 <action function="page">advanced</action>
4778 </action>
4779
4780 <action>
4781 <touch key="home"/>
4782 <action function="page">main</action>
4783 </action>
4784 </page>
4785
4786 <page name="repackconfirm">
4787 <template name="page"/>
4788
4789 <template name="statusbar"/>
4790
4791 <text style="text_m">
4792 <condition var1="tw_repack_kernel" var2="1"/>
4793 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4794 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4795 </text>
4796
4797 <text style="text_m">
4798 <condition var1="tw_repack_kernel" var2="0"/>
4799 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4800 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4801 </text>
4802
4803 <text style="text_m_accent">
4804 <placement x="%indent%" y="%row2_y%"/>
4805 <text>{@folder=Folder:}</text>
4806 </text>
4807
4808 <text style="text_m">
4809 <placement x="%indent%" y="%row3_y%"/>
4810 <text>%tw_zip_location%</text>
4811 </text>
4812
4813 <text style="text_m_accent">
4814 <placement x="%indent%" y="%row4_y%"/>
4815 <text>{@file=File:}</text>
4816 </text>
4817
4818 <text style="text_m">
4819 <placement x="%indent%" y="%row5_y%"/>
4820 <text>%tw_file%</text>
4821 </text>
4822
4823 <checkbox>
4824 <placement x="%indent%" y="%row7_y%"/>
4825 <text>{@repack_backup_first=Back up existing image first}</text>
4826 <data variable="tw_repack_backup_first"/>
4827 </checkbox>
4828
4829 <slider>
4830 <text>{@swipe_to_install=Swipe to Install}</text>
4831 <actions>
4832 <action function="set">tw_back=advanced</action>
4833 <action function="set">tw_action=repackimage</action>
4834 <action function="set">tw_action_param=/boot</action>
4835 <action function="set">tw_action_text1={@installing=Installing...}</action>
4836 <action function="set">tw_action_text2=</action>
4837 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4838 <action function="page">action_page</action>
4839 </actions>
4840 </slider>
4841
4842 <action>
4843 <touch key="back"/>
4844 <action function="page">repackselect</action>
4845 </action>
4846
4847 <action>
4848 <touch key="home"/>
4849 <action function="page">main</action>
4850 </action>
4851 </page>
4852
z31s1g28f0a922015-11-07 18:50:22 +01004853 <page name="lock">
4854 <background color="%semi_transparent%"/>
4855
4856 <image>
4857 <image resource="unlock_icon"/>
4858 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4859 </image>
4860
4861 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004862 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004863 <action function="overlay"/>
4864 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004865
4866 <action>
4867 <touch key="power"/>
4868 <action function="togglebacklight"/>
4869 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004870 </page>
4871
4872 <page name="filemanagerlist">
4873 <template name="page"/>
4874
4875 <template name="statusbar"/>
4876
4877 <text style="text_m">
4878 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004879 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004880 </text>
4881
4882 <fileselector>
4883 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4884 <text>%tw_file_location1%</text>
4885 <filter folders="1" files="1"/>
4886 <path name="tw_file_location1" default="/"/>
4887 <data name="tw_filename1"/>
4888 <selection name="tw_selection1"/>
4889 </fileselector>
4890
4891 <button>
4892 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4893 <highlight color="%highlight_color%"/>
4894 <image resource="q_btn_folder"/>
4895 <actions>
4896 <action function="set">tw_filename1=tw_file_location1</action>
4897 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004898 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004899 <action function="page">filemanageroptions</action>
4900 </actions>
4901 </button>
4902
4903 <action>
4904 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004905 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004906 <action function="set">tw_fm_isfolder=0</action>
4907 </actions>
4908 </action>
4909
4910 <action>
4911 <touch key="home"/>
4912 <action function="page">main</action>
4913 </action>
4914
4915 <action>
4916 <touch key="back"/>
4917 <action function="page">main3</action>
4918 </action>
4919
4920 <action>
4921 <condition var1="tw_filename1" op="modified"/>
4922 <action function="page">filemanageroptions</action>
4923 </action>
4924 </page>
4925
4926 <page name="filemanageroptions">
4927 <template name="page"/>
4928
4929 <template name="statusbar"/>
4930
4931 <text style="text_m">
4932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004933 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004934 </text>
4935
4936 <button style="main_button">
4937 <condition var1="tw_fm_isfolder" var2="0"/>
4938 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004939 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004940 <actions>
4941 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004942 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004943 <action function="page">choosedestinationfolder</action>
4944 </actions>
4945 </button>
4946
4947 <button style="main_button">
4948 <condition var1="tw_fm_isfolder" var2="1"/>
4949 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004950 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004951 <actions>
4952 <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 -05004953 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004954 <action function="page">choosedestinationfolder</action>
4955 </actions>
4956 </button>
4957
4958 <button style="main_button">
4959 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004960 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004961 <actions>
4962 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004963 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004964 <action function="page">choosedestinationfolder</action>
4965 </actions>
4966 </button>
4967
4968 <button style="main_button">
4969 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004970 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004971 <actions>
4972 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004973 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004974 <action function="set">tw_fm_text2=</action>
4975 <action function="set">tw_fm_text3=</action>
4976 <action function="set">tw_include_text3=0</action>
4977 <action function="set">tw_back=filemanageroptions</action>
4978 <action function="page">filemanagerconfirm</action>
4979 </actions>
4980 </button>
4981
4982 <button style="main_button">
4983 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004984 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004985 <actions>
4986 <action function="set">tw_filemanager_rename=0000</action>
4987 <action function="set">tw_fm_text2=</action>
4988 <action function="set">tw_fm_text3=</action>
4989 <action function="set">tw_include_text3=0</action>
4990 <action function="set">tw_back=filemanageroptions</action>
4991 <action function="page">filemanagerchmod</action>
4992 </actions>
4993 </button>
4994
4995 <button style="main_button">
4996 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004997 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004998 <actions>
4999 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005000 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005001 <action function="set">tw_fm_text2=</action>
5002 <action function="set">tw_fm_text3=</action>
5003 <action function="set">tw_include_text3=0</action>
5004 <action function="set">tw_back=filemanageroptions</action>
5005 <action function="page">filemanagerconfirm</action>
5006 </actions>
5007 </button>
5008
5009 <button style="main_button">
5010 <condition var1="tw_fm_isfolder" var2="0"/>
5011 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005012 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005013 <actions>
5014 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005015 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005016 <action function="set">tw_filemanager_command=mv</action>
5017 <action function="page">filemanagerrenamefile</action>
5018 </actions>
5019 </button>
5020
5021 <button style="main_button">
5022 <condition var1="tw_fm_isfolder" var2="1"/>
5023 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005024 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005025 <actions>
5026 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005027 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005028 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5029 <action function="page">filemanagerrenamefolder</action>
5030 </actions>
5031 </button>
5032
5033 <action>
5034 <touch key="home"/>
5035 <action function="page">main</action>
5036 </action>
5037
5038 <action>
5039 <touch key="back"/>
5040 <action function="page">filemanagerlist</action>
5041 </action>
5042 </page>
5043
5044 <page name="choosedestinationfolder">
5045 <template name="page"/>
5046
5047 <template name="statusbar"/>
5048
5049 <text style="text_m">
5050 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005051 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005052 </text>
5053
5054 <fileselector>
5055 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5056 <text>%tw_file_location2%</text>
5057 <filter folders="1" files="0"/>
5058 <path name="tw_file_location2" default="/"/>
5059 <data name="tw_filename2"/>
5060 <selection name="tw_selection2"/>
5061 </fileselector>
5062
5063 <button>
5064 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5065 <highlight color="%highlight_color%"/>
5066 <image resource="q_btn_folder"/>
5067 <actions>
5068 <action function="set">tw_fm_text2=to</action>
5069 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5070 <action function="set">tw_include_text3=1</action>
5071 <action function="set">tw_back=filemanageroptions</action>
5072 <action function="page">filemanagerconfirm</action>
5073 </actions>
5074 </button>
5075
5076 <action>
5077 <touch key="home"/>
5078 <action function="page">main</action>
5079 </action>
5080
5081 <action>
5082 <touch key="back"/>
5083 <action function="page">filemanageroptions</action>
5084 </action>
5085 </page>
5086
5087 <page name="filemanagerrenamefile">
5088 <template name="page"/>
5089
5090 <template name="statusbar"/>
5091
5092 <text style="text_m">
5093 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005094 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005095 </text>
5096
5097 <text style="text_m_accent">
5098 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005099 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005100 </text>
5101
5102 <input>
5103 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5104 <text>%tw_filemanager_rename%</text>
5105 <data name="tw_filemanager_rename"/>
5106 <restrict minlen="1" maxlen="128"/>
5107 <actions>
5108 <action function="set">tw_fm_text2=to</action>
5109 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5110 <action function="set">tw_include_text3=1</action>
5111 <action function="set">tw_back=filemanageroptions</action>
5112 <action function="page">filemanagerconfirm</action>
5113 </actions>
5114 </input>
5115
5116 <fill color="%accent_color%">
5117 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5118 </fill>
5119
5120 <button style="main_button_half_height">
5121 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005122 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005123 <action function="page">filemanageroptions</action>
5124 </button>
5125
5126 <template name="keyboardtemplate"/>
5127
5128 <action>
5129 <touch key="home"/>
5130 <action function="page">main</action>
5131 </action>
5132
5133 <action>
5134 <touch key="back"/>
5135 <action function="page">filemanageroptions</action>
5136 </action>
5137 </page>
5138
5139 <page name="filemanagerrenamefolder">
5140 <template name="page"/>
5141
5142 <template name="statusbar"/>
5143
5144 <text style="text_m">
5145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005146 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005147 </text>
5148
5149 <text style="text_m_accent">
5150 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005151 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005152 </text>
5153
5154 <input>
5155 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5156 <text>%tw_filemanager_rename%</text>
5157 <data name="tw_filemanager_rename"/>
5158 <restrict minlen="1" maxlen="128"/>
5159 <actions>
5160 <action function="set">tw_fm_text2=to</action>
5161 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5162 <action function="set">tw_include_text3=1</action>
5163 <action function="set">tw_back=filemanageroptions</action>
5164 <action function="page">filemanagerconfirm</action>
5165 </actions>
5166 </input>
5167
5168 <fill color="%accent_color%">
5169 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5170 </fill>
5171
5172 <button style="main_button_half_height">
5173 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005174 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005175 <action function="page">filemanageroptions</action>
5176 </button>
5177
5178 <template name="keyboardtemplate"/>
5179
5180 <action>
5181 <touch key="home"/>
5182 <action function="page">main</action>
5183 </action>
5184
5185 <action>
5186 <touch key="back"/>
5187 <action function="page">filemanageroptions</action>
5188 </action>
5189 </page>
5190
5191 <page name="filemanagerchmod">
5192 <template name="page"/>
5193
5194 <template name="statusbar"/>
5195
5196 <text style="text_m">
5197 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005198 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005199 </text>
5200
5201 <text style="text_m_accent">
5202 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005203 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005204 </text>
5205
5206 <input>
5207 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5208 <text>%tw_filemanager_rename%</text>
5209 <data name="tw_filemanager_rename"/>
5210 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5211 <actions>
5212 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5213 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5214 <action function="set">tw_back=filemanageroptions</action>
5215 <action function="page">filemanagerconfirm</action>
5216 </actions>
5217 </input>
5218
5219 <fill color="%accent_color%">
5220 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5221 </fill>
5222
5223 <button style="main_button_half_height">
5224 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005225 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005226 <action function="page">filemanageroptions</action>
5227 </button>
5228
5229 <template name="keyboardtemplate"/>
5230
5231 <action>
5232 <touch key="home"/>
5233 <action function="page">main</action>
5234 </action>
5235
5236 <action>
5237 <touch key="back"/>
5238 <action function="page">filemanageroptions</action>
5239 </action>
5240 </page>
5241
5242 <page name="filemanagerconfirm">
5243 <template name="page"/>
5244
5245 <template name="statusbar"/>
5246
5247 <text style="text_m">
5248 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005249 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005250 </text>
5251
5252 <text style="text_m_accent">
5253 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5254 <text>%tw_fm_text1%</text>
5255 </text>
5256
5257 <text style="text_m">
5258 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5259 <text>%tw_filename1%</text>
5260 </text>
5261
5262 <text style="text_m_accent">
5263 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5264 <text>%tw_fm_text2%</text>
5265 </text>
5266
5267 <text style="text_m">
5268 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5269 <text>%tw_fm_text3%</text>
5270 </text>
5271
5272 <text style="text_m">
5273 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005274 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005275 </text>
5276
5277 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005278 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005279 <action function="page">filemanageraction</action>
5280 </slider>
5281
5282 <action>
5283 <touch key="back"/>
5284 <action function="page">%tw_back%</action>
5285 </action>
5286
5287 <action>
5288 <touch key="home"/>
5289 <action function="page">main</action>
5290 </action>
5291 </page>
5292
5293 <page name="filemanageraction">
5294 <template name="page"/>
5295
5296 <template name="statusbar"/>
5297
5298 <text style="text_m">
5299 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005300 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005301 </text>
5302
5303 <template name="console"/>
5304
5305 <template name="progress_bar"/>
5306
5307 <action>
5308 <conditions>
5309 <condition var1="tw_operation_state" var2="1"/>
5310 <condition var1="tw_operation_status" var2="0"/>
5311 </conditions>
5312 <actions>
5313 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005314 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005315 <action function="page">action_complete</action>
5316 </actions>
5317 </action>
5318
5319 <action>
5320 <conditions>
5321 <condition var1="tw_operation_state" var2="1"/>
5322 <condition var1="tw_operation_status" op="!=" var2="0"/>
5323 </conditions>
5324 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005325 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005326 <action function="page">action_complete</action>
5327 </actions>
5328 </action>
5329
5330 <action>
5331 <condition var1="tw_include_text3" var2="0"/>
5332 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5333 </action>
5334
5335 <action>
5336 <condition var1="tw_include_text3" var2="1"/>
5337 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5338 </action>
5339 </page>
5340
5341 <page name="decrypt">
5342 <template name="page"/>
5343
5344 <template name="statusbar"/>
5345
5346 <action>
5347 <condition var1="tw_crypto_pwtype" var2="2"/>
5348 <action function="page">decrypt_pattern</action>
5349 </action>
5350
5351 <text style="text_m">
5352 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005353 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005354 </text>
5355
5356 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005357 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005358 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005359 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005360 </text>
5361
Noah Jacobson81d638d2019-04-28 00:10:07 -04005362 <text style="text_m_accent">
5363 <condition var1="tw_is_fbe" var2="1"/>
5364 <placement x="%col1_x_left%" y="%row1_y%"/>
5365 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5366 </text>
5367
z31s1g28f0a922015-11-07 18:50:22 +01005368 <input>
5369 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5370 <text>%tw_crypto_display%</text>
5371 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5372 <restrict minlen="1" maxlen="254"/>
5373 <action function="page">trydecrypt</action>
5374 </input>
5375
5376 <fill color="%accent_color%">
5377 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5378 </fill>
5379
5380 <fill color="%text_fail_color%">
5381 <condition var1="tw_password_fail" var2="1"/>
5382 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5383 </fill>
5384
5385 <text style="text_m_fail">
5386 <condition var1="tw_password_fail" var2="1"/>
5387 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005388 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005389 </text>
5390
5391 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005392 <placement x="%col1_x_left%" y="%row4_y%"/>
5393 <text>{@sel_lang_btn=Select Language}</text>
5394 <action function="page">settings_language</action>
5395 </button>
5396
5397 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005398 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005399 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005400 <actions>
5401 <action function="set">tw_page_done=1</action>
5402 <action function="page">main</action>
5403 </actions>
5404 </button>
5405
5406 <template name="keyboardtemplate"/>
5407 </page>
5408
5409 <page name="decrypt_pattern">
5410 <template name="page"/>
5411
5412 <template name="statusbar"/>
5413
Aleksa Saraib25a1832015-12-31 17:36:00 +01005414 <action>
5415 <action function="set">tw_gui_pattern_grid_size=3</action>
5416 </action>
5417
z31s1g28f0a922015-11-07 18:50:22 +01005418 <text style="text_m">
5419 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005420 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005421 </text>
5422
5423 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005424 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005425 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005426 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005427 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005428 </text>
5429
Noah Jacobson81d638d2019-04-28 00:10:07 -04005430 <text style="text_m_accent">
5431 <condition var1="tw_is_fbe" var2="1"/>
5432 <condition var1="tw_password_fail" op="!=" var2="1"/>
5433 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5434 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5435 </text>
5436
Aleksa Saraib25a1832015-12-31 17:36:00 +01005437 <text style="text_m_fail">
5438 <condition var1="tw_password_fail" var2="1"/>
5439 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005440 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005441 </text>
5442
z31s1g28f0a922015-11-07 18:50:22 +01005443 <text style="text_m">
5444 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005445 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005446 </text>
5447
5448 <patternpassword>
5449 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005450 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5451 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5452 <data name="tw_crypto_password"/>
5453 <action function="page">trydecrypt</action>
5454 </patternpassword>
5455
5456 <fill color="#000000">
5457 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5458 </fill>
5459
5460 <button>
5461 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5462 <image resource="back"/>
5463 <condition var1="tw_busy" var2="0"/>
5464 <actions>
5465 <action function="set">tw_page_done=1</action>
5466 <action function="page">main</action>
5467 </actions>
5468 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005469
5470 <button>
5471 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5472 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5473 <image resource="grid_less"/>
5474 <action function="set">tw_gui_pattern_grid_size=3</action>
5475 </button>
5476
5477 <button>
5478 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5479 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5480 <image resource="grid_less"/>
5481 <action function="set">tw_gui_pattern_grid_size=3</action>
5482 </button>
5483
5484 <button>
5485 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5486 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5487 <image resource="grid_less"/>
5488 <action function="set">tw_gui_pattern_grid_size=4</action>
5489 </button>
5490
5491 <button>
5492 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5493 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5494 <image resource="grid_less"/>
5495 <action function="set">tw_gui_pattern_grid_size=5</action>
5496 </button>
5497
5498 <button>
5499 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5500 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5501 <image resource="grid_more"/>
5502 <action function="set">tw_gui_pattern_grid_size=4</action>
5503 </button>
5504
5505 <button>
5506 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5507 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5508 <image resource="grid_more"/>
5509 <action function="set">tw_gui_pattern_grid_size=5</action>
5510 </button>
5511
5512 <button>
5513 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5514 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5515 <image resource="grid_more"/>
5516 <action function="set">tw_gui_pattern_grid_size=6</action>
5517 </button>
5518
5519 <button>
5520 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5521 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5522 <image resource="grid_more"/>
5523 <action function="set">tw_gui_pattern_grid_size=6</action>
5524 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005525 </page>
5526
5527 <page name="trydecrypt">
5528 <template name="page"/>
5529
5530 <template name="statusbar"/>
5531
5532 <text style="text_m">
5533 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005534 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005535 </text>
5536
5537 <template name="console"/>
5538
5539 <template name="progress_bar"/>
5540
5541 <action>
5542 <action function="decrypt"/>
5543 </action>
5544
5545 <action>
5546 <conditions>
5547 <condition var1="tw_operation_state" var2="1"/>
5548 <condition var1="tw_operation_status" op="!=" var2="0"/>
5549 </conditions>
5550 <actions>
5551 <action function="set">tw_password_fail=1</action>
5552 <action function="page">decrypt</action>
5553 </actions>
5554 </action>
5555
5556 <action>
5557 <conditions>
5558 <condition var1="tw_operation_state" var2="1"/>
5559 <condition var1="tw_operation_status" op="=" var2="0"/>
5560 </conditions>
5561 <actions>
5562 <action function="set">tw_page_done=1</action>
5563 <action function="page">main</action>
5564 </actions>
5565 </action>
5566 </page>
5567
z31s1g28f0a922015-11-07 18:50:22 +01005568 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005569 <terminal>
5570 <condition var1="tw_hide_kb" var2="0"/>
5571 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5572 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005573
z31s1g56189522016-01-13 19:12:40 +01005574 <terminal>
5575 <condition var1="tw_hide_kb" var2="1"/>
5576 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5577 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005578
z31s1g56189522016-01-13 19:12:40 +01005579 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005580
5581 <template name="keyboardtemplate"/>
5582
z31s1g608d7ff2016-01-18 19:47:25 +01005583 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005584 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005585 </fill>
z31s1g56189522016-01-13 19:12:40 +01005586
z31s1g608d7ff2016-01-18 19:47:25 +01005587 <button>
z31s1g56189522016-01-13 19:12:40 +01005588 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5589 <image resource="back" />
5590 <condition var1="tw_busy" var2="0" />
5591 <actions>
5592 <action function="set">tw_hide_kb=0</action>
5593 <action function="key">back</action>
5594 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005595 </button>
z31s1g56189522016-01-13 19:12:40 +01005596
z31s1g608d7ff2016-01-18 19:47:25 +01005597 <button>
z31s1g56189522016-01-13 19:12:40 +01005598 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5599 <image resource="home" />
5600 <condition var1="tw_busy" var2="0" />
5601 <actions>
5602 <action function="set">tw_hide_kb=0</action>
5603 <action function="key">home</action>
5604 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005605 </button>
z31s1g56189522016-01-13 19:12:40 +01005606
z31s1g608d7ff2016-01-18 19:47:25 +01005607 <button>
z31s1g56189522016-01-13 19:12:40 +01005608 <condition var1="tw_hide_kb" var2="0"/>
5609 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5610 <image resource="kb_hide" />
5611 <condition var1="tw_busy" var2="0" />
5612 <actions>
5613 <action function="set">tw_hide_kb=1</action>
5614 <action function="page">terminalcommand</action>
5615 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005616 </button>
z31s1g56189522016-01-13 19:12:40 +01005617
z31s1g608d7ff2016-01-18 19:47:25 +01005618 <button>
z31s1g56189522016-01-13 19:12:40 +01005619 <condition var1="tw_hide_kb" var2="1"/>
5620 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5621 <image resource="kb_show" />
5622 <condition var1="tw_busy" var2="0" />
5623 <actions>
5624 <action function="set">tw_hide_kb=0</action>
5625 <action function="page">terminalcommand</action>
5626 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005627 </button>
z31s1g56189522016-01-13 19:12:40 +01005628
z31s1g28f0a922015-11-07 18:50:22 +01005629 <action>
5630 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005631 <actions>
5632 <action function="set">tw_hide_kb=0</action>
5633 <action function="page">main</action>
5634 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005635 </action>
5636
5637 <action>
5638 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005639 <actions>
5640 <action function="set">tw_hide_kb=0</action>
5641 <action function="page">advanced</action>
5642 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005643 </action>
z31s1g56189522016-01-13 19:12:40 +01005644
z31s1g608d7ff2016-01-18 19:47:25 +01005645 <action>
z31s1g56189522016-01-13 19:12:40 +01005646 <touch key="power+voldown" />
5647 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005648 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005649 </page>
5650
5651 <page name="sideload">
5652 <template name="page"/>
5653
5654 <template name="statusbar"/>
5655
5656 <text style="text_m">
5657 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005658 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005659 </text>
5660
5661 <text style="text_m_accent">
5662 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005663 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005664 </text>
5665
5666 <checkbox>
5667 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005668 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005669 <data variable="tw_wipe_dalvik"/>
5670 </checkbox>
5671
5672 <checkbox>
5673 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005674 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005675 <data variable="tw_wipe_cache"/>
5676 </checkbox>
5677
5678 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005679 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005680 <actions>
5681 <action function="set">tw_back=install_type</action>
5682 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005683 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5684 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5685 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005686 <action function="set">tw_has_cancel=1</action>
5687 <action function="set">tw_show_reboot=1</action>
5688 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5689 <action function="page">action_page</action>
5690 </actions>
5691 </slider>
5692
5693 <action>
5694 <touch key="home"/>
5695 <action function="page">main</action>
5696 </action>
5697
5698 <action>
5699 <touch key="back"/>
5700 <action function="page">install_type</action>
5701 </action>
5702 </page>
5703
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005704 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005705 <template name="page"/>
5706
5707 <template name="statusbar"/>
5708
5709 <text style="text_m">
5710 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005711 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005712 </text>
5713
5714 <text style="text_m_accent">
5715 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005716 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005717 </text>
5718
z31s1g28f0a922015-11-07 18:50:22 +01005719 <text style="text_m_fail">
5720 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005721 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005722 </text>
5723
5724 <text style="text_m_fail">
5725 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005726 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005727 </text>
5728
5729 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005730 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005731 <actions>
5732 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005733 <action function="set">tw_action=fixcontexts</action>
5734 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5735 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005736 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005737 <action function="set">tw_show_reboot=1</action>
5738 <action function="page">action_page</action>
5739 </actions>
5740 </slider>
5741
5742 <action>
5743 <touch key="home"/>
5744 <action function="page">main</action>
5745 </action>
5746
5747 <action>
5748 <touch key="back"/>
5749 <action function="page">advanced</action>
5750 </action>
5751 </page>
5752
z31s1g28f0a922015-11-07 18:50:22 +01005753 <page name="slideout">
5754 <fill color="%background_color%">
5755 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5756 </fill>
5757
5758 <console>
5759 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5760 </console>
5761
5762 <fill color="%fileselector_linecolor%">
5763 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5764 </fill>
5765
5766 <fill color="%fileselector_linecolor%">
5767 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5768 </fill>
5769
5770 <button>
5771 <fill color="%transparent%"/>
5772 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5773 <action function="overlay"/>
5774 </button>
5775
5776 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005777 <touch key="power"/>
5778 <action function="togglebacklight"/>
5779 </action>
5780
5781 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005782 <touch key="power+voldown"/>
5783 <action function="screenshot"/>
5784 </action>
5785 </page>
5786
5787 <page name="select_storage">
5788 <template name="page"/>
5789
5790 <template name="statusbar"/>
5791
5792 <text style="text_m">
5793 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5794 <text>%tw_storagetext%</text>
5795 </text>
5796
5797 <partitionlist style="partitionlist_headerless_rb">
5798 <data name="tw_storage_path"/>
5799 <listtype name="storage"/>
5800 </partitionlist>
5801
5802 <button>
5803 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5804 <highlight color="%highlight_color%"/>
5805 <image resource="q_btn_refresh"/>
5806 <actions>
5807 <action function="refreshsizes"/>
5808 <action function="page">select_storage</action>
5809 </actions>
5810 </button>
5811
5812 <button>
5813 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5814 <highlight color="%highlight_color%"/>
5815 <image resource="q_btn_accept"/>
5816 <actions>
5817 <action function="set">tw_clear_destination=%tw_back%</action>
5818 <action function="page">clear_vars</action>
5819 </actions>
5820 </button>
5821
5822 <action>
5823 <touch key="power+voldown"/>
5824 <action function="screenshot"/>
5825 </action>
5826 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005827
5828 <page name="decrypt_users">
5829 <template name="page"/>
5830
5831 <text style="text_l">
5832 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5833 <text>{@decrypt_users=Decrypt Users}</text>
5834 </text>
5835
5836 <text style="text_m_accent">
5837 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5838 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5839 </text>
5840
5841 <listbox>
5842 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5843 <text>{@select_user=Select User}</text>
5844 <icon selected="radio_true" unselected="radio_false" />
5845 <data name="tw_crypto_user_id" />
5846 </listbox>
5847
5848 <button style="main_button_half_height">
5849 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5850 <text>{@decrypt_users=Decrypt Users}</text>
5851 <action function="set">tw_crypto_password=</action>
5852 <action function="set">tw_password_fail=0</action>
5853 <action function="page">decrypt</action>
5854 </button>
5855
5856 <action>
5857 <touch key="home"/>
5858 <action function="page">main</action>
5859 </action>
5860
5861 <action>
5862 <touch key="back"/>
5863 <action function="page">advanced</action>
5864 </action>
5865 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005866 </pages>
5867</recovery>