blob: cc68b1e1e5ed48ce8f81b8176b5b3f321be61792 [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 Yonker64c5c0a2017-03-06 12:42:54 -06001237 <action function="page">appcheck</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
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001246 <page name="appcheck">
1247 <action>
1248 <condition var1="tw_app_prompt" var2="1"/>
1249 <action function="checkforapp"></action>
1250 </action>
1251
1252 <action>
1253 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1254 <action function="reboot">%tw_reboot_param%</action>
1255 </action>
1256
1257 <action>
1258 <condition var1="tw_app_install_status" var2="1"/>
1259 <action function="page">rebootapp</action>
1260 </action>
1261
1262 <action>
1263 <condition var1="tw_app_install_status" var2="2"/>
1264 <action function="reboot">%tw_reboot_param%</action>
1265 </action>
1266 </page>
1267
z31s1g28f0a922015-11-07 18:50:22 +01001268 <page name="wipe_type1">
1269 <template name="page"/>
1270
1271 <template name="statusbar"/>
1272
1273 <text style="text_m">
1274 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <button style="main_button_full_width">
1279 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 <action function="page">wipe</action>
1282 </button>
1283
1284 <button style="main_button_full_width">
1285 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001286 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001287 <actions>
1288 <action function="set">partitionlisterror=0</action>
1289 <action function="page">advancedwipe</action>
1290 </actions>
1291 </button>
1292
1293 <button>
1294 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1295 <highlight color="%highlight_color%"/>
1296 <image resource="q_btn_arrow_right"/>
1297 <action function="page">wipe_type2</action>
1298 </button>
1299
1300 <action>
1301 <touch key="home"/>
1302 <action function="page">main</action>
1303 </action>
1304
1305 <action>
1306 <touch key="back"/>
1307 <action function="page">main</action>
1308 </action>
1309 </page>
1310
1311 <page name="wipe_type2">
1312 <template name="page"/>
1313
1314 <template name="statusbar"/>
1315
1316 <text style="text_m">
1317 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001319 </text>
1320
1321 <button style="main_button_full_width">
1322 <condition var1="tw_has_data_media" var2="1"/>
1323 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 <action function="page">formatdata</action>
1326 </button>
1327
1328 <button style="main_button_full_width">
1329 <conditions>
1330 <condition var1="tw_is_encrypted" var2="1"/>
1331 <condition var1="tw_has_data_media" var2="0"/>
1332 </conditions>
1333 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 <actions>
1336 <action function="set">tw_back=wipe</action>
1337 <action function="set">tw_action=wipe</action>
1338 <action function="set">tw_action_param=DATAMEDIA</action>
1339 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001342 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1343 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1344 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001345 <action function="page">confirm_action</action>
1346 </actions>
1347 </button>
1348
1349 <button style="main_button_full_width">
1350 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001351 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001352 <action function="set">partitionlisterror=0</action>
1353 <action function="page">partitionoptions_select</action>
1354 </actions>
1355 </button>
1356
1357 <button>
1358 <placement x="%col1_x_left%" y="%row11_y%"/>
1359 <highlight color="%highlight_color%"/>
1360 <image resource="q_btn_arrow_left"/>
1361 <action function="page">wipe_type1</action>
1362 </button>
1363
1364 <action>
1365 <touch key="home"/>
1366 <action function="page">main</action>
1367 </action>
1368
1369 <action>
1370 <touch key="back"/>
1371 <action function="page">main</action>
1372 </action>
1373 </page>
1374
1375 <page name="wipe">
1376 <template name="page"/>
1377
1378 <template name="statusbar"/>
1379
1380 <text style="text_m">
1381 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m_accent">
1386 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001391 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001392 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1393 </text>
1394
1395 <text style="text_m_accent">
1396 <condition var1="tw_has_data_media" var2="1"/>
1397 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001398 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001399 </text>
1400
1401 <text style="text_m_accent">
1402 <conditions>
1403 <condition var1="tw_has_android_secure" var2="1"/>
1404 <condition var1="fileexists" var2="/and-sec"/>
1405 </conditions>
1406 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001408 </text>
1409
1410 <text style="text_m_accent">
1411 <condition var1="tw_has_sdext_partition" var2="1"/>
1412 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 </text>
1415
1416 <text style="text_m">
1417 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001418 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001419 </text>
1420
1421 <text style="text_m">
1422 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001423 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001424 </text>
1425
1426 <text style="text_m">
1427 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001428 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001429 </text>
1430
1431 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <actions>
1434 <action function="set">tw_back=wipe</action>
1435 <action function="set">tw_action=wipe</action>
1436 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1438 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001439 <action function="page">action_page</action>
1440 </actions>
1441 </slider>
1442
1443 <action>
1444 <touch key="back"/>
1445 <action function="page">wipe_type1</action>
1446 </action>
1447
1448 <action>
1449 <touch key="home"/>
1450 <action function="page">main</action>
1451 </action>
1452 </page>
1453
1454 <page name="advancedwipe">
1455 <action>
1456 <action function="set">tw_wipe_list=</action>
1457 </action>
1458
1459 <template name="page"/>
1460
1461 <template name="statusbar"/>
1462
1463 <text style="text_m">
1464 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001466 </text>
1467
1468 <partitionlist style="partitionlist_headerless_cb">
1469 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1470 <data name="tw_wipe_list"/>
1471 <listtype name="wipe"/>
1472 </partitionlist>
1473
1474 <fill color="%accent_color%">
1475 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1476 </fill>
1477
1478 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001479 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001480 <actions>
1481 <action function="set">tw_back=advancedwipe</action>
1482 <action function="set">tw_action=wipe</action>
1483 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1485 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1486 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001487 <action function="page">action_page</action>
1488 </actions>
1489 </slider>
1490
1491 <action>
1492 <touch key="home"/>
1493 <action function="page">main</action>
1494 </action>
1495
1496 <action>
1497 <touch key="back"/>
1498 <action function="page">wipe_type1</action>
1499 </action>
1500 </page>
1501
1502 <page name="formatdata">
1503 <template name="page"/>
1504
1505 <template name="statusbar"/>
1506
1507 <text style="text_m">
1508 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001510 </text>
1511
1512 <text style="text_m_fail">
1513 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m_fail">
1518 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 </text>
1521
1522 <text style="text_m">
1523 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001524 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001525 </text>
1526
1527 <input>
1528 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1529 <text>%tw_confirm_formatdata%</text>
1530 <data name="tw_confirm_formatdata"/>
1531 <restrict minlen="3" maxlen="3" allow="yes"/>
1532 <action function="page">formatdata_confirm</action>
1533 </input>
1534
1535 <fill color="%accent_color%">
1536 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1537 </fill>
1538
1539 <template name="keyboardtemplate"/>
1540
1541 <action>
1542 <touch key="home"/>
1543 <action function="page">main</action>
1544 </action>
1545
1546 <action>
1547 <touch key="back"/>
1548 <action function="page">wipe_type2</action>
1549 </action>
1550 </page>
1551
1552 <page name="formatdata_confirm">
1553 <action>
1554 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1555 <actions>
1556 <action function="set">tw_back=formatdata</action>
1557 <action function="set">tw_action=wipe</action>
1558 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001559 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1560 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001561 <action function="page">action_page</action>
1562 </actions>
1563 </action>
1564
1565 <action>
1566 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1567 <action function="page">formatdata</action>
1568 </action>
1569 </page>
1570
1571 <page name="checkpartitionlist">
1572 <action>
1573 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1574 <actions>
1575 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001576 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001577 <action function="page">partitionoptions</action>
1578 </actions>
1579 </action>
1580
1581 <action>
1582 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1583 <actions>
1584 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001585 <action function="page">partitionoptions_select</action>
1586 </actions>
1587 </action>
1588 </page>
1589
1590 <page name="partitionoptions_select">
1591 <action>
1592 <action function="set">tw_wipe_list=</action>
1593 </action>
1594
1595 <template name="page"/>
1596
1597 <template name="statusbar"/>
1598
1599 <text style="text_m">
1600 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001601 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001602 </text>
1603
1604 <partitionlist style="partitionlist_headerless_cb">
1605 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1606 <data name="tw_wipe_list"/>
1607 <listtype name="wipe"/>
1608 </partitionlist>
1609
1610 <fill color="%accent_color%">
1611 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1612 </fill>
1613
z31s1g28f0a922015-11-07 18:50:22 +01001614 <text style="text_m_fail">
1615 <condition var1="partitionlisterror" var2="1"/>
1616 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001617 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001618 </text>
1619
1620 <button>
1621 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1622 <highlight color="%highlight_color%"/>
1623 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001624 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001625 <action function="page">checkpartitionlist</action>
1626 </actions>
1627 </button>
1628
1629 <action>
1630 <touch key="home"/>
1631 <action function="page">main</action>
1632 </action>
1633
1634 <action>
1635 <touch key="back"/>
1636 <action function="page">wipe_type2</action>
1637 </action>
1638 </page>
1639
1640 <page name="partitionoptions">
1641
1642 <template name="page"/>
1643
1644 <template name="statusbar"/>
1645
1646 <text style="text_m">
1647 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m_accent">
1652 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001653 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001654 </text>
1655
1656 <text style="text_m_accent">
1657 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001658 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001659 </text>
1660
1661 <text style="text_m">
1662 <condition var1="tw_partition_is_present" var2="1"/>
1663 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <text style="text_m">
1668 <condition var1="tw_partition_is_present" var2="0"/>
1669 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <condition var1="tw_partition_removable" var2="1"/>
1675 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <text style="text_m">
1680 <condition var1="tw_partition_removable" var2="0"/>
1681 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001682 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001683 </text>
1684
1685 <text style="text_m">
1686 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001687 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001688 </text>
1689
1690 <text style="text_m">
1691 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001692 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001693 </text>
1694
1695 <text style="text_m">
1696 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001698 </text>
1699
1700 <text style="text_m">
1701 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001702 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001703 </text>
1704
1705 <button style="main_button">
1706 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1707 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <actions>
1710 <action function="set">tw_back=partitionoptions</action>
1711 <action function="set">tw_action=resize</action>
1712 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1713 <action function="set">tw_has_action2=1</action>
1714 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001715 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001717 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001718 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1719 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1720 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <action function="page">confirm_action</action>
1722 </actions>
1723 </button>
1724
1725 <button style="main_button">
1726 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1727 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 <actions>
1730 <action function="set">tw_back=partitionoptions</action>
1731 <action function="set">tw_action=repair</action>
1732 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1733 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001735 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001736 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1737 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1738 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001739 <action function="page">confirm_action</action>
1740 </actions>
1741 </button>
1742
1743 <button>
1744 <placement x="%col1_x_left%" y="%row11_y%"/>
1745 <highlight color="%highlight_color%"/>
1746 <image resource="q_btn_arrow_left"/>
1747 <action function="page">partitionoptions_select</action>
1748 </button>
1749
1750 <button style="main_button">
1751 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001752 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <action function="page">selectfilesystem</action>
1754 </button>
1755
1756 <action>
1757 <touch key="home"/>
1758 <action function="page">main</action>
1759 </action>
1760
1761 <action>
1762 <touch key="back"/>
1763 <action function="page">partitionoptions_select</action>
1764 </action>
1765 </page>
1766
1767 <page name="refreshfilesystem">
1768 <action>
1769 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1770 <actions>
1771 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001772 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001773 <action function="page">selectfilesystem</action>
1774 </actions>
1775 </action>
1776
1777 <action>
1778 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1779 <actions>
1780 <action function="set">partitionlisterror=1</action>
1781 <action function="set">tw_wipe_list=</action>
1782 <action function="page">advancedwipe</action>
1783 </actions>
1784 </action>
1785 </page>
1786
1787 <page name="selectfilesystem">
1788 <template name="page"/>
1789
1790 <template name="statusbar"/>
1791
1792 <text style="text_m">
1793 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001794 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001795 </text>
1796
1797 <button style="main_button">
1798 <condition var1="tw_partition_ext" op="=" var2="1"/>
1799 <placement x="%col1_x_left%" y="%row1_y%"/>
1800 <text>EXT2</text>
1801 <actions>
1802 <action function="set">tw_back=refreshfilesystem</action>
1803 <action function="set">tw_action=changefilesystem</action>
1804 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1805 <action function="set">tw_action_new_file_system=ext2</action>
1806 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1808 <action function="set">tw_text2=EXT2</action>
1809 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1810 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1811 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1812 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1813 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001814 <action function="page">confirm_action</action>
1815 </actions>
1816 </button>
1817
1818 <button style="main_button">
1819 <condition var1="tw_partition_ext" op="=" var2="1"/>
1820 <placement x="%col1_x_left%" y="%row6_y%"/>
1821 <text>EXT3</text>
1822 <actions>
1823 <action function="set">tw_back=refreshfilesystem</action>
1824 <action function="set">tw_action=changefilesystem</action>
1825 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1826 <action function="set">tw_action_new_file_system=ext3</action>
1827 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001828 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1829 <action function="set">tw_text2=EXT3</action>
1830 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1831 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1832 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1833 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1834 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001835 <action function="page">confirm_action</action>
1836 </actions>
1837 </button>
1838
1839 <button style="main_button">
1840 <condition var1="tw_partition_ext" op="=" var2="1"/>
1841 <placement x="%col1_x_left%" y="%row11_y%"/>
1842 <text>EXT4</text>
1843 <actions>
1844 <action function="set">tw_back=refreshfilesystem</action>
1845 <action function="set">tw_action=changefilesystem</action>
1846 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1847 <action function="set">tw_action_new_file_system=ext4</action>
1848 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1850 <action function="set">tw_text2=EXT4</action>
1851 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1852 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1853 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1854 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1855 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001856 <action function="page">confirm_action</action>
1857 </actions>
1858 </button>
1859
1860 <button style="main_button">
1861 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1862 <placement x="%col1_x_right%" y="%row1_y%"/>
1863 <text>FAT</text>
1864 <actions>
1865 <action function="set">tw_back=refreshfilesystem</action>
1866 <action function="set">tw_action=changefilesystem</action>
1867 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1868 <action function="set">tw_action_new_file_system=vfat</action>
1869 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1871 <action function="set">tw_text2=FAT</action>
1872 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1873 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1874 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1875 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1876 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001877 <action function="page">confirm_action</action>
1878 </actions>
1879 </button>
1880
1881 <button style="main_button">
1882 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1883 <placement x="%col1_x_right%" y="%row6_y%"/>
1884 <text>exFAT</text>
1885 <actions>
1886 <action function="set">tw_back=refreshfilesystem</action>
1887 <action function="set">tw_action=changefilesystem</action>
1888 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1889 <action function="set">tw_action_new_file_system=exfat</action>
1890 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1892 <action function="set">tw_text2=exFAT</action>
1893 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1894 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1895 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1896 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1897 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001898 <action function="page">confirm_action</action>
1899 </actions>
1900 </button>
1901
1902 <button style="main_button">
1903 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1904 <placement x="%col1_x_right%" y="%row11_y%"/>
1905 <text>F2FS</text>
1906 <actions>
1907 <action function="set">tw_back=refreshfilesystem</action>
1908 <action function="set">tw_action=changefilesystem</action>
1909 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1910 <action function="set">tw_action_new_file_system=f2fs</action>
1911 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1913 <action function="set">tw_text2=F2FS</action>
1914 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1915 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1916 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1917 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1918 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001919 <action function="page">confirm_action</action>
1920 </actions>
1921 </button>
1922
1923 <action>
1924 <touch key="home"/>
1925 <action function="page">main</action>
1926 </action>
1927
1928 <action>
1929 <touch key="back"/>
1930 <action function="page">partitionoptions</action>
1931 </action>
1932 </page>
1933
bigbiffce8f83c2015-12-12 18:30:21 -05001934 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001935 <template name="page"/>
1936
Noah Jacobson81d638d2019-04-28 00:10:07 -04001937 <action>
1938 <conditions>
1939 <condition var1="tw_is_fbe" var2="1"/>
1940 <condition var1="tw_all_users_decrypted" var2="0"/>
1941 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1942 </conditions>
1943 <actions>
1944 <action function="set">tw_multiuser_warning_destination=backup</action>
1945 <action function="page">multiuser_warning</action>
1946 </actions>
1947 </action>
1948
z31s1g28f0a922015-11-07 18:50:22 +01001949 <template name="statusbar"/>
1950
1951 <text style="text_m">
1952 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001953 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001954 </text>
1955
1956 <partitionlist style="partitionlist_headerless_rb">
1957 <data name="tw_storage_path"/>
1958 <listtype name="storage"/>
1959 </partitionlist>
1960
1961 <button>
1962 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1963 <highlight color="%highlight_color%"/>
1964 <image resource="q_btn_refresh"/>
1965 <actions>
1966 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001967 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001968 </actions>
1969 </button>
1970
1971 <button>
1972 <condition var1="tw_back" var2="backup_confirm"/>
1973 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1974 <highlight color="%highlight_color%"/>
1975 <image resource="q_btn_accept"/>
1976 <action function="page">backup_confirm</action>
1977 </button>
1978
1979 <button>
1980 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1981 <highlight color="%highlight_color%"/>
1982 <image resource="q_btn_arrow_right"/>
1983 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001984 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001985 <action function="page">backup_selectpartitions</action>
1986 </actions>
1987 </button>
1988
1989 <action>
1990 <touch key="home"/>
1991 <action function="page">main</action>
1992 </action>
1993
1994 <action>
1995 <touch key="back"/>
1996 <action function="page">%tw_back%</action>
1997 </action>
1998
1999 <action>
2000 <touch key="power+voldown"/>
2001 <action function="screenshot"/>
2002 </action>
2003 </page>
2004
2005 <page name="backup_selectpartitions">
2006 <template name="page"/>
2007
2008 <template name="statusbar"/>
2009
2010 <text style="text_m">
2011 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002012 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002013 </text>
2014
2015 <partitionlist style="partitionlist_headerless_cb">
2016 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2017 <data name="tw_backup_list"/>
2018 <listtype name="backup"/>
2019 </partitionlist>
2020
2021 <fill color="%accent_color%">
2022 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2023 </fill>
2024
2025 <button>
2026 <placement x="%col1_x_left%" y="%row11_y%"/>
2027 <highlight color="%highlight_color%"/>
2028 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002029 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002030 </button>
2031
2032 <button>
2033 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2034 <highlight color="%highlight_color%"/>
2035 <image resource="q_btn_refresh"/>
2036 <action function="page">backup_selectpartitions</action>
2037 </button>
2038
2039 <button>
2040 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2041 <highlight color="%highlight_color%"/>
2042 <image resource="q_btn_accept"/>
2043 <action function="page">backup_confirm</action>
2044 </button>
2045
2046 <button>
2047 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2048 <highlight color="%highlight_color%"/>
2049 <image resource="q_btn_arrow_right"/>
2050 <actions>
2051 <action function="set">tw_back=backup_selectpartitions</action>
2052 <action function="page">backup_options</action>
2053 </actions>
2054 </button>
2055
2056 <action>
2057 <touch key="home"/>
2058 <action function="page">main</action>
2059 </action>
2060
2061 <action>
2062 <touch key="back"/>
2063 <action function="page">%tw_back%</action>
2064 </action>
2065
2066 <action>
2067 <touch key="power+voldown"/>
2068 <action function="screenshot"/>
2069 </action>
2070 </page>
2071
Noah Jacobson81d638d2019-04-28 00:10:07 -04002072 <page name="multiuser_warning">
2073 <template name="page"/>
2074
2075 <text style="text_m">
2076 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2077 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2078 </text>
2079
2080 <text style="text_m_fail">
2081 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2082 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2083 </text>
2084
2085 <text style="text_m_fail">
2086 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2087 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2088 </text>
2089
2090 <button style="main_button_full_width">
2091 <placement x="%col1_x_left%" y="%row6_y%"/>
2092 <text>{@decrypt_users=Decrypt Users}</text>
2093 <action function="page">decrypt_users</action>
2094 </button>
2095
2096 <slider>
2097 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2098 <actions>
2099 <action function="set">tw_multiuser_warning_accepted=1</action>
2100 <action function="page">%tw_multiuser_warning_destination%</action>
2101 </actions>
2102 </slider>
2103
2104 <action>
2105 <touch key="home"/>
2106 <action function="page">main</action>
2107 </action>
2108
2109 <action>
2110 <touch key="back"/>
2111 <action function="page">main</action>
2112 </action>
2113 </page>
2114
z31s1g28f0a922015-11-07 18:50:22 +01002115 <page name="backup_options">
2116 <template name="page"/>
2117
2118 <template name="statusbar"/>
2119
2120 <text style="text_m">
2121 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002122 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002123 </text>
2124
2125 <listbox style="scrolllist">
2126 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002127 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002128 <data variable="tw_use_compression"/>
2129 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002130 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2131 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002132 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002133 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002134 <data variable="tw_disable_free_space"/>
2135 </listitem>
2136 </listbox>
2137
2138 <button>
2139 <placement x="%col1_x_left%" y="%row11_y%"/>
2140 <highlight color="%highlight_color%"/>
2141 <image resource="q_btn_arrow_left"/>
2142 <action function="page">backup_selectpartitions</action>
2143 </button>
2144
2145 <button>
2146 <conditions>
2147 <condition var1="tw_include_encrypted_backup" var2="1"/>
2148 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002149 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002150 </conditions>
2151 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2152 <highlight color="%highlight_color%"/>
2153 <image resource="q_btn_encryption_dis"/>
2154 <actions>
2155 <action function="set">tw_password_not_match=0</action>
2156 <action function="set">tw_back=backup_options</action>
2157 <action function="page">backupencryption</action>
2158 </actions>
2159 </button>
2160
2161 <button>
2162 <conditions>
2163 <condition var1="tw_include_encrypted_backup" var2="1"/>
2164 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002165 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </conditions>
2167 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2168 <highlight color="%highlight_color%"/>
2169 <image resource="q_btn_encryption_en"/>
2170 <actions>
2171 <action function="set">tw_password_not_match=0</action>
2172 <action function="set">tw_back=backup_options</action>
2173 <action function="page">backupencryption</action>
2174 </actions>
2175 </button>
2176
2177 <button>
2178 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2179 <highlight color="%highlight_color%"/>
2180 <image resource="q_btn_accept_transp"/>
2181 <actions>
2182 <action function="set">tw_back=backup_options</action>
2183 <action function="page">backup_confirm</action>
2184 </actions>
2185 </button>
2186
2187 <action>
2188 <touch key="home"/>
2189 <action function="page">main</action>
2190 </action>
2191
2192 <action>
2193 <touch key="back"/>
2194 <action function="page">%tw_back%</action>
2195 </action>
2196
2197 <action>
2198 <touch key="power+voldown"/>
2199 <action function="screenshot"/>
2200 </action>
2201 </page>
2202
2203 <page name="backup_confirm">
2204 <template name="page"/>
2205
2206 <template name="statusbar"/>
2207
2208 <text style="text_m">
2209 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002210 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002211 </text>
2212
2213 <text style="text_m_accent">
2214 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002215 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002216 </text>
2217
2218 <text style="text_m">
2219 <placement x="%col1_x_left%" y="%row2_y%"/>
2220 <text>%tw_backup_name%</text>
2221 </text>
2222
2223 <fill color="%accent_color%">
2224 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2225 </fill>
2226
2227 <button>
2228 <fill color="%transparent%"/>
2229 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2230 <actions>
2231 <action function="set">tw_back=backup_confirm</action>
2232 <action function="set">tw_fileexists=0</action>
2233 <action function="page">backup_name1</action>
2234 </actions>
2235 </button>
2236
2237 <fill color="%background_color%">
2238 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2239 </fill>
2240
2241 <text style="text_m_accent">
2242 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002243 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002244 </text>
2245
2246 <partitionlist style="partitionlist_summary">
2247 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2248 <data name="tw_backup_list"/>
2249 <listtype name="backup"/>
2250 </partitionlist>
2251
2252 <button>
2253 <fill color="%transparent%"/>
2254 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2255 <actions>
2256 <action function="set">tw_back=backup_confirm</action>
2257 <action function="page">backup_selectpartitions</action>
2258 </actions>
2259 </button>
2260
2261 <text style="text_m_accent">
2262 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002263 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002264 </text>
2265
2266 <text style="text_m">
2267 <placement x="%col1_x_right%" y="%row2_y%"/>
2268 <text>%tw_storage_display_name%</text>
2269 </text>
2270
2271 <button>
2272 <fill color="%transparent%"/>
2273 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2274 <actions>
2275 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002276 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002277 </actions>
2278 </button>
2279
2280 <text style="text_m_accent">
2281 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002282 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002283 </text>
2284
2285 <text style="text_m">
2286 <conditions>
2287 <condition var1="tw_include_encrypted_backup" var2="1"/>
2288 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002289 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002290 </conditions>
2291 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002292 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002293 </text>
2294
2295 <text style="text_m">
2296 <conditions>
2297 <condition var1="tw_include_encrypted_backup" var2="1"/>
2298 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002299 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002300 </conditions>
2301 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002302 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002303 </text>
2304
2305 <button>
2306 <fill color="%transparent%"/>
2307 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2308 <actions>
2309 <action function="set">tw_back=backup_confirm</action>
2310 <action function="page">backupencryption</action>
2311 </actions>
2312 </button>
2313
2314 <listbox style="listbox_options">
2315 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002316 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002317 <data variable="tw_use_compression"/>
2318 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002319 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2320 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002321 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002322 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002323 <data variable="tw_disable_free_space"/>
2324 </listitem>
2325 </listbox>
2326
2327 <text style="text_m_accent">
2328 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002329 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002330 </text>
2331
2332 <button>
2333 <fill color="%transparent%"/>
2334 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2335 <actions>
2336 <action function="set">tw_back=backup_confirm</action>
2337 <action function="page">backup_options</action>
2338 </actions>
2339 </button>
2340
2341 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002342 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002343 <action function="page">backup_run</action>
2344 </slider>
2345
2346 <action>
2347 <touch key="home"/>
2348 <action function="page">main</action>
2349 </action>
2350
2351 <action>
2352 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002353 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002354 </action>
2355 </page>
2356
2357 <page name="backup_name1">
2358 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002360 <action function="generatebackupname"/>
2361 </action>
2362
2363 <action>
2364 <action function="page">backup_name2</action>
2365 </action>
2366 </page>
2367
2368 <page name="backup_name2">
2369 <template name="page"/>
2370
2371 <template name="statusbar"/>
2372
2373 <text style="text_m">
2374 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002375 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002376 </text>
2377
2378 <text style="text_m_accent">
2379 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002380 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002381 </text>
2382
2383 <input>
2384 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2385 <text>%tw_backup_name%</text>
2386 <data name="tw_backup_name"/>
2387 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2388 <actions>
2389 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2390 <action function="set">tw_existpage=backup_name2</action>
2391 <action function="set">tw_notexistpage=backup_confirm</action>
2392 <action function="page">filecheck</action>
2393 </actions>
2394 </input>
2395
2396 <fill color="%accent_color%">
2397 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2398 </fill>
2399
2400 <fill color="%text_fail_color%">
2401 <condition var1="tw_fileexists" var2="1"/>
2402 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2403 </fill>
2404
2405 <text style="text_m_fail">
2406 <condition var1="tw_fileexists" var2="1"/>
2407 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002408 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002409 </text>
2410
2411 <button style="main_button_half_height">
2412 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002413 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002414 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002415 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002416 <action function="page">backup_confirm</action>
2417 </actions>
2418 </button>
2419
2420 <button style="main_button_half_height">
2421 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 <action function="appenddatetobackupname"/>
2424 </button>
2425
2426 <template name="keyboardtemplate"/>
2427
2428 <action>
2429 <touch key="home"/>
2430 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002431 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002432 <action function="page">main</action>
2433 </actions>
2434 </action>
2435
2436 <action>
2437 <touch key="back"/>
2438 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002440 <action function="page">backup_confirm</action>
2441 </actions>
2442 </action>
2443 </page>
2444
2445 <page name="backupencryption">
2446 <template name="page"/>
2447
2448 <template name="statusbar"/>
2449
2450 <text style="text_m">
2451 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002452 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </text>
2454
2455 <text style="text_m_accent">
2456 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <input>
2461 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2462 <text>%tw_backup_encrypt_display%</text>
2463 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2464 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2465 <action function="page">backupencryption2</action>
2466 </input>
2467
2468 <fill color="%accent_color%">
2469 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2470 </fill>
2471
2472 <fill color="%text_fail_color%">
2473 <condition var1="tw_password_not_match" var2="1"/>
2474 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2475 </fill>
2476
2477 <text style="text_m_fail">
2478 <condition var1="tw_password_not_match" var2="1"/>
2479 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002480 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002481 </text>
2482
2483 <button style="main_button_half_height">
2484 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 <actions>
2487 <action function="set">tw_encrypt_backup=0</action>
2488 <action function="set">tw_backup_password=</action>
2489 <action function="set">tw_backup_password2=</action>
2490 <action function="set">tw_backup_encrypt_display=</action>
2491 <action function="set">tw_backup_encrypt_display2=</action>
2492 <action function="page">%tw_back%</action>
2493 </actions>
2494 </button>
2495
2496 <template name="keyboardtemplate"/>
2497
2498 <action>
2499 <touch key="home"/>
2500 <action function="page">main</action>
2501 </action>
2502
2503 <action>
2504 <touch key="back"/>
2505 <action function="page">%tw_back%</action>
2506 </action>
2507 </page>
2508
2509 <page name="backupencryption2">
2510 <template name="page"/>
2511
2512 <template name="statusbar"/>
2513
2514 <text style="text_m">
2515 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002516 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002517 </text>
2518
2519 <text style="text_m_accent">
2520 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002521 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002522 </text>
2523
2524 <input>
2525 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2526 <text>%tw_backup_encrypt_display2%</text>
2527 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2528 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2529 <action function="page">checkbackuppassword</action>
2530 </input>
2531
2532 <fill color="%accent_color%">
2533 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2534 </fill>
2535
2536 <button style="main_button_half_height">
2537 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002538 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002539 <actions>
2540 <action function="set">tw_encrypt_backup=0</action>
2541 <action function="set">tw_backup_password=</action>
2542 <action function="set">tw_backup_password2=</action>
2543 <action function="set">tw_backup_encrypt_display=</action>
2544 <action function="set">tw_backup_encrypt_display2=</action>
2545 <action function="page">%tw_back%</action>
2546 </actions>
2547 </button>
2548
2549 <template name="keyboardtemplate"/>
2550
2551 <action>
2552 <touch key="home"/>
2553 <action function="page">main</action>
2554 </action>
2555
2556 <action>
2557 <touch key="back"/>
2558 <action function="page">%tw_back%</action>
2559 </action>
2560 </page>
2561
2562 <page name="checkbackuppassword">
2563 <action>
2564 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2565 <actions>
2566 <action function="set">tw_encrypt_backup=1</action>
2567 <action function="page">%tw_back%</action>
2568 </actions>
2569 </action>
2570
2571 <action>
2572 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2573 <actions>
2574 <action function="set">tw_encrypt_backup=0</action>
2575 <action function="set">tw_password_not_match=1</action>
2576 <action function="set">tw_backup_password=</action>
2577 <action function="set">tw_backup_password2=</action>
2578 <action function="set">tw_backup_encrypt_display=</action>
2579 <action function="set">tw_backup_encrypt_display2=</action>
2580 <action function="page">backupencryption</action>
2581 </actions>
2582 </action>
2583 </page>
2584
2585 <page name="backup_run">
2586 <template name="page"/>
2587
2588 <template name="statusbar"/>
2589
2590 <text style="text_m">
2591 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2592 <text>%tw_operation% %tw_partition%</text>
2593 </text>
2594
2595 <template name="console"/>
2596
2597 <template name="progress_bar"/>
2598
2599 <text style="text_m">
2600 <placement x="%indent%" y="%row13a_y%"/>
2601 <text>%tw_file_progress%</text>
2602 </text>
2603
2604 <text style="text_m">
2605 <placement x="%indent%" y="%row14a_y%"/>
2606 <text>%tw_size_progress%</text>
2607 </text>
2608
2609 <button style="main_button_half_height">
2610 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002611 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002612 <action function="cancelbackup"/>
2613 </button>
2614
2615 <action>
2616 <action function="nandroid">backup</action>
2617 </action>
2618
2619 <action>
2620 <condition var1="tw_operation_state" var2="1"/>
2621 <condition var1="tw_cancel_backup" var2="0"/>
2622 <actions>
2623 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002625 <action function="set">tw_show_reboot=1</action>
2626 <action function="page">action_complete</action>
2627 </actions>
2628 </action>
2629
2630 <action>
2631 <condition var1="tw_operation_state" var2="1"/>
2632 <condition var1="tw_cancel_backup" var2="1"/>
2633 <actions>
2634 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <action function="set">tw_show_reboot=1</action>
2637 <action function="page">action_complete</action>
2638 </actions>
2639 </action>
2640 </page>
2641
2642 <page name="restore">
2643 <template name="page"/>
2644
Noah Jacobson81d638d2019-04-28 00:10:07 -04002645 <action>
2646 <conditions>
2647 <condition var1="tw_is_fbe" var2="1"/>
2648 <condition var1="tw_all_users_decrypted" var2="0"/>
2649 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2650 </conditions>
2651 <actions>
2652 <action function="set">tw_multiuser_warning_destination=restore</action>
2653 <action function="page">multiuser_warning</action>
2654 </actions>
2655 </action>
2656
z31s1g28f0a922015-11-07 18:50:22 +01002657 <template name="statusbar"/>
2658
2659 <text style="text_m">
2660 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002662 </text>
2663
2664 <fileselector>
2665 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2666 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002667 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <path name="tw_backups_folder"/>
2669 <data name="tw_restore" default=""/>
2670 <selection name="tw_restore_name"/>
2671 </fileselector>
2672
2673 <button>
2674 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2675 <highlight color="%highlight_color%"/>
2676 <image resource="q_btn_storage"/>
2677 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <action function="set">tw_back=restore</action>
2680 <action function="page">select_storage</action>
2681 </actions>
2682 </button>
2683
2684 <action>
2685 <condition var1="tw_restore" op="modified"/>
2686 <actions>
2687 <action function="readBackup"/>
2688 <action function="set">tw_back=restore</action>
2689 <action function="page">restore_read</action>
2690 </actions>
2691 </action>
2692
2693 <action>
2694 <touch key="home"/>
2695 <action function="page">main</action>
2696 </action>
2697
2698 <action>
2699 <touch key="back"/>
2700 <action function="page">main</action>
2701 </action>
2702 </page>
2703
2704 <page name="restore_read">
2705 <action>
2706 <condition var1="tw_restore_encrypted" var2="1"/>
2707 <actions>
2708 <action function="set">tw_password_fail=0</action>
2709 <action function="page">restore_decrypt</action>
2710 </actions>
2711 </action>
2712
2713 <action>
2714 <condition var1="tw_restore_encrypted" var2="0"/>
2715 <actions>
2716 <action function="page">restore_select</action>
2717 </actions>
2718 </action>
2719 </page>
2720
2721 <page name="restore_decrypt">
2722 <template name="page"/>
2723
2724 <template name="statusbar"/>
2725
2726 <text style="text_m">
2727 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002728 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002729 </text>
2730
2731 <text style="text_m_accent">
2732 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 </text>
2735
2736 <input>
2737 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2738 <text>%tw_restore_display%</text>
2739 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2740 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2741 <action function="page">try_restore_decrypt</action>
2742 </input>
2743
2744 <fill color="%accent_color%">
2745 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2746 </fill>
2747
2748 <fill color="%text_fail_color%">
2749 <condition var1="tw_password_fail" var2="1"/>
2750 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2751 </fill>
2752
2753 <text style="text_m_fail">
2754 <condition var1="tw_password_fail" var2="1"/>
2755 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002756 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002757 </text>
2758
2759 <button style="main_button_half_height">
2760 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002761 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002762 <actions>
2763 <action function="set">tw_page_done=1</action>
2764 <action function="page">restore</action>
2765 </actions>
2766 </button>
2767
2768 <button style="main_button_half_height">
2769 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002770 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002771 <actions>
2772 <action function="set">tw_back=restore</action>
2773 <action function="set">tw_action=cmd</action>
2774 <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 -05002775 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2776 <action function="set">tw_text2=%tw_restore_name%</action>
2777 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2778 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2779 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2780 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002781 <action function="page">confirm_action</action>
2782 </actions>
2783 </button>
2784
2785 <template name="keyboardtemplate"/>
2786
2787 <action>
2788 <touch key="home"/>
2789 <action function="page">main</action>
2790 </action>
2791
2792 <action>
2793 <touch key="back"/>
2794 <action function="page">restore</action>
2795 </action>
2796 </page>
2797
2798 <page name="try_restore_decrypt">
2799 <template name="page"/>
2800
2801 <template name="statusbar"/>
2802
2803 <text style="text_m">
2804 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002805 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002806 </text>
2807
2808 <template name="console"/>
2809
2810 <template name="progress_bar"/>
2811
2812 <action>
2813 <action function="decrypt_backup"/>
2814 </action>
2815
2816 <action>
2817 <conditions>
2818 <condition var1="tw_operation_state" var2="1"/>
2819 <condition var1="tw_operation_status" op="!=" var2="0"/>
2820 </conditions>
2821 <actions>
2822 <action function="set">tw_password_fail=1</action>
2823 <action function="page">restore_decrypt</action>
2824 </actions>
2825 </action>
2826
2827 <action>
2828 <conditions>
2829 <condition var1="tw_operation_state" var2="1"/>
2830 <condition var1="tw_operation_status" op="=" var2="0"/>
2831 </conditions>
2832 <actions>
2833 <action function="set">tw_page_done=1</action>
2834 <action function="page">restore_select</action>
2835 </actions>
2836 </action>
2837 </page>
2838
2839 <page name="restore_select">
2840 <template name="page"/>
2841
2842 <template name="statusbar"/>
2843
2844 <text style="text_m">
2845 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002846 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002847 </text>
2848
2849 <partitionlist style="partitionlist_headerless_cb">
2850 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2851 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2852 <listtype name="restore"/>
2853 </partitionlist>
2854
2855 <fill color="%accent_color%">
2856 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2857 </fill>
2858
2859 <button>
2860 <placement x="%col1_x_left%" y="%row11_y%"/>
2861 <highlight color="%highlight_color%"/>
2862 <image resource="q_btn_arrow_left"/>
2863 <action function="page">restore</action>
2864 </button>
2865
2866 <button>
2867 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2868 <highlight color="%highlight_color%"/>
2869 <image resource="q_btn_delete"/>
2870 <actions>
2871 <action function="set">tw_back=restore</action>
2872 <action function="set">tw_action=cmd</action>
2873 <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 -05002874 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002875 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002876 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2877 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2878 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2879 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002880 <action function="page">confirm_action</action>
2881 </actions>
2882 </button>
2883
2884 <button>
2885 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2886 <highlight color="%highlight_color%"/>
2887 <image resource="q_btn_accept"/>
2888 <action function="page">restore_confirm</action>
2889 </button>
2890
2891 <button>
2892 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2893 <highlight color="%highlight_color%"/>
2894 <image resource="q_btn_arrow_right"/>
2895 <actions>
2896 <action function="set">tw_back=restore_select</action>
2897 <action function="page">restore_options</action>
2898 </actions>
2899 </button>
2900
2901 <action>
2902 <touch key="home"/>
2903 <action function="page">main</action>
2904 </action>
2905
2906 <action>
2907 <touch key="back"/>
2908 <action function="page">%tw_back%</action>
2909 </action>
2910 </page>
2911
2912 <page name="restore_options">
2913 <template name="page"/>
2914
2915 <template name="statusbar"/>
2916
2917 <text style="text_m">
2918 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002919 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002920 </text>
2921
2922 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002923 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002924 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002925 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2926 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002927 </listitem>
2928 </listbox>
2929
2930 <button>
2931 <placement x="%col1_x_left%" y="%row11_y%"/>
2932 <highlight color="%highlight_color%"/>
2933 <image resource="q_btn_arrow_left"/>
2934 <action function="page">restore_select</action>
2935 </button>
2936
2937 <button>
2938 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2939 <highlight color="%highlight_color%"/>
2940 <image resource="q_btn_accept_transp"/>
2941 <actions>
2942 <action function="set">tw_back=restore_options</action>
2943 <action function="page">restore_confirm</action>
2944 </actions>
2945 </button>
2946
2947 <action>
2948 <touch key="home"/>
2949 <action function="page">main</action>
2950 </action>
2951
2952 <action>
2953 <touch key="back"/>
2954 <action function="page">%tw_back%</action>
2955 </action>
2956
2957 <action>
2958 <touch key="power+voldown"/>
2959 <action function="screenshot"/>
2960 </action>
2961 </page>
2962
2963 <page name="renamebackup">
2964 <template name="page"/>
2965
2966 <template name="statusbar"/>
2967
2968 <text style="text_m">
2969 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m_accent">
2974 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <input>
2979 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2980 <text>%tw_backup_rename%</text>
2981 <data name="tw_backup_rename"/>
2982 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2983 <actions>
2984 <action function="set">tw_back=restore</action>
2985 <action function="set">tw_action=cmd</action>
2986 <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 -05002987 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2988 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2989 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2990 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2991 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002992 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2993 <action function="set">tw_existpage=renamebackup</action>
2994 <action function="set">tw_notexistpage=confirm_action</action>
2995 <action function="page">filecheck</action>
2996 </actions>
2997 </input>
2998
2999 <fill color="%accent_color%">
3000 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3001 </fill>
3002
3003 <fill color="%text_fail_color%">
3004 <condition var1="tw_fileexists" var2="1"/>
3005 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
3006 </fill>
3007
3008 <text style="text_m_fail">
3009 <condition var1="tw_fileexists" var2="1"/>
3010 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </text>
3013
3014 <button style="main_button_half_height">
3015 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003016 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003017 <action function="page">restore_confirm</action>
3018 </button>
3019
3020 <template name="keyboardtemplate"/>
3021
3022 <action>
3023 <touch key="home"/>
3024 <action function="page">main</action>
3025 </action>
3026
3027 <action>
3028 <touch key="back"/>
3029 <action function="page">restore_confirm</action>
3030 </action>
3031 </page>
3032
3033 <page name="restore_confirm">
3034 <template name="page"/>
3035
3036 <template name="statusbar"/>
3037
3038 <text style="text_m">
3039 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003040 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003041 </text>
3042
3043 <text style="text_m_accent">
3044 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003045 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003046 </text>
3047
3048 <text style="text_m">
3049 <placement x="%indent%" y="%row2_y%"/>
3050 <text>%tw_restore_name%</text>
3051 </text>
3052
3053 <fill color="%accent_color%">
3054 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3055 </fill>
3056
3057 <button>
3058 <fill color="%transparent%"/>
3059 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3060 <actions>
3061 <action function="set">tw_back=restore_confirm</action>
3062 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3063 <action function="set">tw_fileexists=0</action>
3064 <action function="page">renamebackup</action>
3065 </actions>
3066 </button>
3067
3068 <text style="text_m_accent">
3069 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003070 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003071 </text>
3072
3073 <partitionlist style="partitionlist_summary">
3074 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3075 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3076 <listtype name="restore"/>
3077 </partitionlist>
3078
3079 <button>
3080 <fill color="%transparent%"/>
3081 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3082 <actions>
3083 <action function="set">tw_back=restore_confirm</action>
3084 <action function="page">restore_select</action>
3085 </actions>
3086 </button>
3087
3088 <listbox style="listbox_options">
3089 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003090 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3091 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003092 </listitem>
3093 </listbox>
3094
3095 <text style="text_m_accent">
3096 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 </text>
3099
3100 <button>
3101 <fill color="%transparent%"/>
3102 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3103 <actions>
3104 <action function="set">tw_back=restore_confirm</action>
3105 <action function="page">restore_options</action>
3106 </actions>
3107 </button>
3108
3109 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003111 <action function="page">restore_run</action>
3112 </slider>
3113
3114 <action>
3115 <touch key="home"/>
3116 <action function="page">main</action>
3117 </action>
3118
3119 <action>
3120 <touch key="back"/>
3121 <action function="page">restore_options</action>
3122 </action>
3123 </page>
3124
3125 <page name="restore_run">
3126 <template name="page"/>
3127
3128 <template name="statusbar"/>
3129
3130 <text style="text_m">
3131 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3132 <text>%tw_operation% %tw_partition%</text>
3133 </text>
3134
3135 <template name="console"/>
3136
3137 <template name="progress_bar"/>
3138
3139 <text style="text_m">
3140 <placement x="%indent%" y="%row14a_y%"/>
3141 <text>%tw_size_progress%</text>
3142 </text>
3143
3144 <action>
3145 <condition var1="tw_operation_state" var2="1"/>
3146 <actions>
3147 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003148 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003149 <action function="set">tw_show_reboot=1</action>
3150 <action function="page">action_complete</action>
3151 </actions>
3152 </action>
3153
3154 <action>
3155 <action function="nandroid">restore</action>
3156 </action>
3157 </page>
3158
3159 <page name="mount">
3160 <template name="page"/>
3161
3162 <template name="statusbar"/>
3163
3164 <text style="text_m">
3165 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </text>
3168
3169 <partitionlist style="partitionlist_headerless_cb">
3170 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3171 <listtype name="mount"/>
3172 </partitionlist>
3173
3174 <fill color="%accent_color%">
3175 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3176 </fill>
3177
3178 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003179 <conditions>
3180 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3181 <condition var1="tw_is_super" op="=" var2="0"/>
3182 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003184 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003185 <image resource="checkbox_false"/>
3186 <action function="mountsystemtoggle">1</action>
3187 </button>
3188
3189 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003190 <conditions>
3191 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3192 <condition var1="tw_is_super" op="=" var2="0"/>
3193 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <image resource="checkbox_true"/>
3197 <actions>
3198 <action function="set">tw_lifetime_writes=2</action>
3199 <action function="page">system_readonly_check</action>
3200 </actions>
3201 </button>
3202
3203 <button style="checkbox">
3204 <conditions>
3205 <condition var1="tw_has_mtp" var2="1"/>
3206 <condition var1="tw_mtp_enabled" var2="0"/>
3207 </conditions>
3208 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3209 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 <action function="startmtp"/>
3212 </button>
3213
3214 <button style="checkbox">
3215 <conditions>
3216 <condition var1="tw_has_mtp" var2="1"/>
3217 <condition var1="tw_mtp_enabled" var2="1"/>
3218 </conditions>
3219 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3220 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="stopmtp"/>
3223 </button>
3224
3225 <button>
3226 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3227 <highlight color="%highlight_color%"/>
3228 <image resource="q_btn_storage"/>
3229 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003231 <action function="set">tw_back=mount</action>
3232 <action function="page">select_storage</action>
3233 </actions>
3234 </button>
3235
3236 <button>
3237 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3238 <highlight color="%highlight_color%"/>
3239 <image resource="q_btn_arrow_right"/>
3240 <action function="page">mount_options</action>
3241 </button>
3242
3243 <action>
3244 <touch key="home"/>
3245 <action function="page">main</action>
3246 </action>
3247
3248 <action>
3249 <touch key="back"/>
3250 <action function="page">main</action>
3251 </action>
3252 </page>
3253
3254 <page name="mount_options">
3255 <template name="page"/>
3256
3257 <template name="statusbar"/>
3258
3259 <text style="text_m">
3260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003262 </text>
3263
3264 <button style="main_button_full_width">
3265 <condition var1="tw_has_usb_storage" var2="1"/>
3266 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 <action function="page">usb_mount</action>
3269 </button>
3270
3271 <button style="main_button_full_width">
3272 <conditions>
3273 <condition var1="tw_is_encrypted" var2="1"/>
3274 <condition var1="tw_is_decrypted" var2="0"/>
3275 </conditions>
3276 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003278 <action function="set">tw_crypto_user_id=0</action>
3279 <action function="set">tw_crypto_password=</action>
3280 <action function="set">tw_password_fail=0</action>
3281 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003282 <action function="page">decrypt</action>
3283 </button>
3284
3285 <button>
3286 <placement x="%col1_x_left%" y="%row11_y%"/>
3287 <highlight color="%highlight_color%"/>
3288 <image resource="q_btn_arrow_left"/>
3289 <action function="page">mount</action>
3290 </button>
3291
3292 <action>
3293 <touch key="home"/>
3294 <action function="page">main</action>
3295 </action>
3296
3297 <action>
3298 <touch key="back"/>
3299 <action function="page">mount</action>
3300 </action>
3301 </page>
3302
3303 <page name="usb_mount">
3304 <template name="page"/>
3305
3306 <template name="statusbar"/>
3307
3308 <text style="text_m">
3309 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003310 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003311 </text>
3312
3313 <text style="text_m_accent">
3314 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m_fail">
3319 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </text>
3322
3323 <text style="text_m_fail">
3324 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <button style="main_button">
3329 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">usb_umount</action>
3332 </button>
3333
3334 <action>
3335 <action function="mount">usb</action>
3336 <action function="set">tw_busy=1</action>
3337 </action>
3338 </page>
3339
3340 <page name="usb_umount">
3341 <action>
3342 <action function="unmount">usb</action>
3343 </action>
3344
3345 <action>
3346 <action function="page">mount_options</action>
3347 <action function="set">tw_busy=0</action>
3348 </action>
3349 </page>
3350
3351 <page name="system_readonly_check">
3352 <action>
3353 <action function="checkpartitionlifetimewrites">/system</action>
3354 </action>
3355
3356 <action>
3357 <condition var1="tw_lifetime_writes" var2="1"/>
3358 <actions>
3359 <action function="mountsystemtoggle">0</action>
3360 <action function="page">mount</action>
3361 </actions>
3362 </action>
3363
3364 <action>
3365 <condition var1="tw_lifetime_writes" var2="0"/>
3366 <actions>
3367 <action function="set">tw_back=mount</action>
3368 <action function="page">system_readonly</action>
3369 </actions>
3370 </action>
3371 </page>
3372
3373 <page name="reboot">
3374 <template name="page"/>
3375
3376 <template name="statusbar"/>
3377
3378 <text style="text_m">
3379 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003380 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003381 </text>
3382
3383 <button style="main_button">
3384 <condition var1="tw_reboot_system" var2="1"/>
3385 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003386 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <actions>
3388 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003389 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003390 </actions>
3391 </button>
3392
3393 <button style="main_button">
3394 <condition var1="tw_reboot_poweroff" var2="1"/>
3395 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003396 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003397 <actions>
3398 <action function="set">tw_back=reboot</action>
3399 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003400 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003401 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003402 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003403 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3404 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3405 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3406 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3407 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003408 <action function="page">rebootcheck</action>
3409 </actions>
3410 </button>
3411
3412 <button style="main_button">
3413 <condition var1="tw_reboot_recovery" var2="1"/>
3414 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003415 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003416 <actions>
3417 <action function="set">tw_back=reboot</action>
3418 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003419 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003420 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003421 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003422 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3423 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3424 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3425 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3426 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003427 <action function="page">rebootcheck</action>
3428 </actions>
3429 </button>
3430
3431 <button style="main_button">
3432 <condition var1="tw_reboot_bootloader" var2="1"/>
3433 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 <actions>
3436 <action function="set">tw_back=reboot</action>
3437 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003438 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003439 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003440 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3442 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3443 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3444 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3445 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003446 <action function="page">rebootcheck</action>
3447 </actions>
3448 </button>
3449
3450 <button style="main_button">
3451 <condition var1="tw_download_mode" var2="1"/>
3452 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003454 <actions>
3455 <action function="set">tw_back=reboot</action>
3456 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003457 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003458 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3461 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3462 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3463 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3464 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003465 <action function="page">rebootcheck</action>
3466 </actions>
3467 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003468 <button style="main_button">
3469 <condition var1="tw_edl_mode" var2="1"/>
3470 <placement x="%col1_x_right%" y="%row11_y%"/>
3471 <text>{@rb_edl_btn=Edl}</text>
3472 <actions>
3473 <action function="set">tw_back=reboot</action>
3474 <action function="set">tw_action=reboot</action>
3475 <action function="set">tw_action_param=edl</action>
3476 <action function="set">tw_reboot_param=edl</action>
3477 <action function="set">tw_has_action2=0</action>
3478 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3479 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3480 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3481 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3482 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3483 <action function="page">rebootcheck</action>
3484 </actions>
3485 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003486
3487 <action>
3488 <touch key="home"/>
3489 <action function="page">main</action>
3490 </action>
3491
3492 <action>
3493 <touch key="back"/>
3494 <action function="page">main</action>
3495 </action>
3496 </page>
3497
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003498 <page name="rebootapp">
3499 <template name="page"/>
3500
3501 <template name="statusbar"/>
3502
3503 <text style="text_m">
3504 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3505 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3506 </text>
3507
3508 <text style="text_m_accent">
3509 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3510 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3511 </text>
3512
3513 <text style="text_m">
3514 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3515 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3516 </text>
3517
3518 <checkbox>
3519 <placement x="%indent%" y="%row3_y%"/>
3520 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3521 <data variable="tw_app_prompt"/>
3522 </checkbox>
3523
3524 <checkbox>
3525 <condition var1="tw_mount_system_ro" var2="0"/>
3526 <placement x="%indent%" y="%row5_y%"/>
3527 <text>{@reboot_install_app_system=Install as a System App}</text>
3528 <data variable="tw_app_install_system"/>
3529 </checkbox>
3530
3531 <button style="main_button_half_height">
3532 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003533 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003534 <action function="reboot">%tw_reboot_param%</action>
3535 </button>
3536
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003537 <action>
3538 <touch key="home"/>
3539 <actions>
3540 <action function="set">tw_app_install_status=0</action>
3541 <action function="page">main</action>
3542 </actions>
3543 </action>
3544
3545 <action>
3546 <touch key="back"/>
3547 <actions>
3548 <action function="set">tw_app_install_status=0</action>
3549 <action function="page">reboot</action>
3550 </actions>
3551 </action>
3552 </page>
3553
z31s1g28f0a922015-11-07 18:50:22 +01003554 <page name="system_readonly">
3555 <template name="page"/>
3556
3557 <template name="statusbar"/>
3558
3559 <text style="text_m">
3560 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 </text>
3563
3564 <text style="text_m_accent">
3565 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 </text>
3568
3569 <text style="text_m">
3570 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003572 </text>
3573
3574 <text style="text_m">
3575 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003576 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003577 </text>
3578
3579 <text style="text_m">
3580 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003581 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003582 </text>
3583
3584 <text style="text_m">
3585 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003586 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003587 </text>
3588
3589 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003590 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003591 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003592 </text>
3593
3594 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003595 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003597 </text>
3598
z31s1g608d7ff2016-01-18 19:47:25 +01003599 <button style="main_button_half_height">
3600 <placement x="%col1_x_right%" y="%row8a_y%"/>
3601 <text>{@sel_lang_btn=Select Language}</text>
3602 <action function="page">settings_language</action>
3603 </button>
3604
z31s1g28f0a922015-11-07 18:50:22 +01003605 <checkbox>
3606 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003607 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003609 <data variable="tw_never_show_system_ro_page"/>
3610 </checkbox>
3611
3612 <button style="main_button_half_height">
3613 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <actions>
3616 <action function="mountsystemtoggle">1</action>
3617 <action function="set">tw_page_done=1</action>
3618 <action function="page">%tw_back%</action>
3619 </actions>
3620 </button>
3621
3622 <button style="main_button_half_height">
3623 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003624 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003625 <actions>
3626 <action function="mountsystemtoggle">0</action>
3627 <action function="set">tw_page_done=1</action>
3628 <action function="page">%tw_back%</action>
3629 </actions>
3630 </button>
3631 </page>
3632
3633 <page name="settings">
3634 <template name="page"/>
3635
3636 <template name="statusbar"/>
3637
3638 <text style="text_m">
3639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 </text>
3642
3643 <button style="main_button">
3644 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003646 <action function="page">settings_general</action>
3647 </button>
3648
3649 <button style="main_button">
3650 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="page">settings_timezone</action>
3653 </button>
3654
3655 <button style="main_button">
3656 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003657 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003658 <action function="page">settings_screen</action>
3659 </button>
3660
3661 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003662 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 <action function="page">settings_vibration</action>
3666 </button>
3667
3668 <button style="main_button">
3669 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 <action function="page">settings_language</action>
3672 </button>
3673
3674 <button>
3675 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3676 <highlight color="%highlight_color%"/>
3677 <image resource="q_btn_reset"/>
3678 <action function="restoredefaultsettings"/>
3679 </button>
3680
3681 <action>
3682 <touch key="home"/>
3683 <action function="page">main</action>
3684 </action>
3685
3686 <action>
3687 <touch key="back"/>
3688 <action function="page">main3</action>
3689 </action>
3690 </page>
3691
3692 <page name="settings_general">
3693 <template name="page"/>
3694
3695 <template name="statusbar"/>
3696
3697 <text style="text_m">
3698 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003699 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003700 </text>
3701
3702 <listbox style="scrolllist">
3703 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003704 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003705 <data variable="tw_signed_zip_verify"/>
3706 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003707 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3708 <data variable="tw_install_reboot"/>
3709 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003710 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003711 <data variable="tw_rm_rf"/>
3712 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003713 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3714 <data variable="tw_disable_free_space"/>
3715 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003716 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3717 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003719 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3720 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003721 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003723 <data variable="tw_military_time"/>
3724 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003725 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3726 <data variable="tw_app_prompt"/>
3727 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003729 <data variable="tw_simulate_actions"/>
3730 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003731 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003732 <data variable="tw_simulate_fail"/>
3733 <condition var1="tw_simulate_actions" var2="1"/>
3734 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003735 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3736 <condition var1="tw_no_sha2" var2="0"/>
3737 <data variable="tw_use_sha2"/>
3738 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003739 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3740 <data variable="tw_unmount_system"/>
3741 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </listbox>
3743
3744 <action>
3745 <touch key="home"/>
3746 <action function="page">main</action>
3747 </action>
3748
3749 <action>
3750 <touch key="back"/>
3751 <action function="page">settings</action>
3752 </action>
3753 </page>
3754
3755 <page name="settings_timezone">
3756 <template name="page"/>
3757
3758 <template name="statusbar"/>
3759
3760 <text style="text_m">
3761 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003763 </text>
3764
3765 <text color="%text_color%">
3766 <font resource="font_m"/>
3767 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3768 <text>%tw_time%</text>
3769 </text>
3770
3771 <listbox style="listbox_headerless">
3772 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3773 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3775 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3776 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3777 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3778 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3779 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3780 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3781 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3782 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3783 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3784 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3785 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3786 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3787 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3788 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3789 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3790 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3791 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3792 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3793 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3794 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3795 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3796 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3797 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003798 </listbox>
3799
3800 <button>
3801 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3802 <highlight color="%highlight_color%"/>
3803 <image resource="q_btn_arrow_right"/>
3804 <actions>
3805 <action function="setguitimezone"/>
3806 <action function="page">settings_timezone2</action>
3807 </actions>
3808 </button>
3809
3810 <action>
3811 <condition var1="tw_time_zone_guisel" op="modified"/>
3812 <action function="setguitimezone"/>
3813 </action>
3814
3815 <action>
3816 <touch key="home"/>
3817 <actions>
3818 <action function="page">main</action>
3819 <action function="setguitimezone"/>
3820 </actions>
3821 </action>
3822
3823 <action>
3824 <touch key="back"/>
3825 <actions>
3826 <action function="page">settings</action>
3827 <action function="setguitimezone"/>
3828 </actions>
3829 </action>
3830
3831 <action>
3832 <touch key="power+voldown"/>
3833 <action function="screenshot"/>
3834 </action>
3835 </page>
3836
3837 <page name="settings_timezone2">
3838 <template name="page"/>
3839
3840 <template name="statusbar"/>
3841
3842 <text style="text_m">
3843 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 </text>
3846
3847 <text color="%text_color%">
3848 <font resource="font_m"/>
3849 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3850 <text>%tw_time%</text>
3851 </text>
3852
3853 <checkbox>
3854 <placement x="%col1_x_left%" y="%row1_y%"/>
3855 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 <data variable="tw_time_zone_guidst"/>
3858 <image checked="checkbox_true" unchecked="checkbox_false"/>
3859 </checkbox>
3860
3861 <text style="text_m_accent">
3862 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003863 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003864 </text>
3865
3866 <button style="main_button_quarter_width">
3867 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 <actions>
3870 <action function="set">tw_time_zone_guioffset=0</action>
3871 <action function="setguitimezone"/>
3872 </actions>
3873 </button>
3874
3875 <button style="main_button_quarter_width">
3876 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003878 <actions>
3879 <action function="set">tw_time_zone_guioffset=15</action>
3880 <action function="setguitimezone"/>
3881 </actions>
3882 </button>
3883
3884 <button style="main_button_quarter_width">
3885 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003887 <actions>
3888 <action function="set">tw_time_zone_guioffset=30</action>
3889 <action function="setguitimezone"/>
3890 </actions>
3891 </button>
3892
3893 <button style="main_button_quarter_width">
3894 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003895 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003896 <actions>
3897 <action function="set">tw_time_zone_guioffset=45</action>
3898 <action function="setguitimezone"/>
3899 </actions>
3900 </button>
3901
3902 <button>
3903 <placement x="%col1_x_left%" y="%row11_y%"/>
3904 <highlight color="%highlight_color%"/>
3905 <image resource="q_btn_arrow_left"/>
3906 <actions>
3907 <action function="setguitimezone"/>
3908 <action function="page">settings_timezone</action>
3909 </actions>
3910 </button>
3911
3912 <text style="text_m_accent">
3913 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003914 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003915 </text>
3916
3917 <text style="text_m">
3918 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3919 <text>%tw_time_zone%</text>
3920 </text>
3921
3922 <action>
3923 <condition var1="tw_time_zone_guidst" op="modified"/>
3924 <action function="setguitimezone"/>
3925 </action>
3926
3927 <action>
3928 <touch key="home"/>
3929 <actions>
3930 <action function="setguitimezone"/>
3931 <action function="page">main</action>
3932 </actions>
3933 </action>
3934
3935 <action>
3936 <touch key="back"/>
3937 <actions>
3938 <action function="setguitimezone"/>
3939 <action function="page">settings_timezone</action>
3940 </actions>
3941 </action>
3942 </page>
3943
3944 <page name="settings_screen">
3945 <template name="page"/>
3946
3947 <template name="statusbar"/>
3948
3949 <text style="text_m">
3950 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003951 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003952 </text>
3953
3954 <button style="checkbox">
3955 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3956 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3957 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 <image resource="checkbox_false"/>
3960 <action function="set">tw_screen_timeout_secs=60</action>
3961 </button>
3962
3963 <button style="checkbox">
3964 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3965 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3966 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003968 <image resource="checkbox_true"/>
3969 <action function="set">tw_screen_timeout_secs=0</action>
3970 </button>
3971
3972 <slidervalue>
3973 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3974 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3977 </slidervalue>
3978
3979 <text style="text_m_fail">
3980 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3981 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </text>
3984
3985 <button>
3986 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3987 <highlight color="%highlight_color%"/>
3988 <image resource="q_btn_arrow_right"/>
3989 <action function="page">settings_screen2</action>
3990 </button>
3991
3992 <action>
3993 <touch key="home"/>
3994 <action function="page">main</action>
3995 </action>
3996
3997 <action>
3998 <touch key="back"/>
3999 <action function="page">settings</action>
4000 </action>
4001 </page>
4002
4003 <page name="settings_screen2">
4004 <template name="page"/>
4005
4006 <template name="statusbar"/>
4007
4008 <text style="text_m">
4009 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004010 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004011 </text>
4012
4013 <slidervalue>
4014 <condition var1="tw_has_brightnesss_file" var2="1"/>
4015 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004017 <data variable="tw_brightness_pct" min="10" max="100"/>
4018 <actions>
4019 <action function="set">tw_brightness=%tw_brightness_max%</action>
4020 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4021 <action function="compute">tw_brightness/100</action>
4022 <action function="setbrightness">%tw_brightness%</action>
4023 </actions>
4024 </slidervalue>
4025
4026 <text style="text_m_fail">
4027 <condition var1="tw_has_brightnesss_file" var2="0"/>
4028 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004029 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004030 </text>
4031
4032 <button>
4033 <placement x="%col1_x_left%" y="%row11_y%"/>
4034 <highlight color="%highlight_color%"/>
4035 <image resource="q_btn_arrow_left"/>
4036 <action function="page">settings_screen</action>
4037 </button>
4038
4039 <action>
4040 <touch key="home"/>
4041 <action function="page">main</action>
4042 </action>
4043
4044 <action>
4045 <touch key="back"/>
4046 <action function="page">settings</action>
4047 </action>
4048 </page>
4049
4050 <page name="settings_vibration">
4051 <template name="page"/>
4052
4053 <template name="statusbar"/>
4054
4055 <text style="text_m">
4056 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004058 </text>
4059
4060 <slidervalue>
4061 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004062 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004063 <data variable="tw_button_vibrate" min="0" max="300"/>
4064 </slidervalue>
4065
4066 <button>
4067 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4068 <highlight color="%highlight_color%"/>
4069 <image resource="q_btn_arrow_right"/>
4070 <action function="page">settings_vibration2</action>
4071 </button>
4072
4073 <action>
4074 <touch key="home"/>
4075 <action function="page">main</action>
4076 </action>
4077
4078 <action>
4079 <touch key="back"/>
4080 <action function="page">settings</action>
4081 </action>
4082 </page>
4083
4084 <page name="settings_vibration2">
4085 <template name="page"/>
4086
4087 <template name="statusbar"/>
4088
4089 <text style="text_m">
4090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <slidervalue>
4095 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4098 </slidervalue>
4099
4100 <button>
4101 <placement x="%col1_x_left%" y="%row11_y%"/>
4102 <highlight color="%highlight_color%"/>
4103 <image resource="q_btn_arrow_left"/>
4104 <action function="page">settings_vibration</action>
4105 </button>
4106
4107 <button>
4108 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4109 <highlight color="%highlight_color%"/>
4110 <image resource="q_btn_arrow_right"/>
4111 <action function="page">settings_vibration3</action>
4112 </button>
4113
4114 <action>
4115 <touch key="home"/>
4116 <action function="page">main</action>
4117 </action>
4118
4119 <action>
4120 <touch key="back"/>
4121 <action function="page">settings</action>
4122 </action>
4123 </page>
4124
4125 <page name="settings_vibration3">
4126 <template name="page"/>
4127
4128 <template name="statusbar"/>
4129
4130 <text style="text_m">
4131 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 </text>
4134
4135 <slidervalue>
4136 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004138 <data variable="tw_action_vibrate" min="0" max="500"/>
4139 </slidervalue>
4140
4141 <button>
4142 <placement x="%col1_x_left%" y="%row11_y%"/>
4143 <highlight color="%highlight_color%"/>
4144 <image resource="q_btn_arrow_left"/>
4145 <action function="page">settings_vibration2</action>
4146 </button>
4147
4148 <action>
4149 <touch key="home"/>
4150 <action function="page">main</action>
4151 </action>
4152
4153 <action>
4154 <touch key="back"/>
4155 <action function="page">settings</action>
4156 </action>
4157 </page>
4158
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <page name="settings_language">
4160 <template name="page"/>
4161
4162 <template name="statusbar"/>
4163
4164 <text style="text_m">
4165 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4166 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4167 </text>
4168
z31s1g608d7ff2016-01-18 19:47:25 +01004169 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4171 <icon selected="radio_true" unselected="radio_false" />
4172 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174
4175 <button>
4176 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4177 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004178 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 <action function="setlanguage"></action>
4180 </button>
4181
z31s1g608d7ff2016-01-18 19:47:25 +01004182 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <touch key="home" />
4184 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004185 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186
z31s1g608d7ff2016-01-18 19:47:25 +01004187 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <touch key="back" />
4189 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004190 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 </page>
4192
z31s1g28f0a922015-11-07 18:50:22 +01004193 <page name="advanced">
4194 <template name="page"/>
4195
4196 <template name="statusbar"/>
4197
4198 <text style="text_m">
4199 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </text>
4202
4203 <button style="main_button">
4204 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004206 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004207 </button>
4208
4209 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004210 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004211 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004212 <text>{@fix_context_btn=Fix Contexts}</text>
4213 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </button>
4215
Ethan Yonker64e0a652018-07-25 09:52:17 -05004216 <button>
4217 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4218 <highlight color="%highlight_color%"/>
4219 <image resource="q_btn_arrow_right"/>
4220 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004221 </button>
4222
Ethan Yonker64e0a652018-07-25 09:52:17 -05004223 <action>
4224 <touch key="home"/>
4225 <action function="page">main</action>
4226 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004227
Ethan Yonker64e0a652018-07-25 09:52:17 -05004228 <action>
4229 <touch key="back"/>
4230 <action function="page">main3</action>
4231 </action>
4232 </page>
4233
4234 <page name="advanced2">
4235 <template name="page"/>
4236
4237 <template name="statusbar"/>
4238
4239 <text style="text_m">
4240 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4241 <text>{@advanced_hdr=Advanced}</text>
4242 </text>
4243
4244 <listbox style="advanced_listbox">
4245 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004246 <listitem name="{@decrypt_users=Decrypt Users}">
4247 <conditions>
4248 <condition var1="tw_is_fbe" var2="1"/>
4249 <condition var1="tw_all_users_decrypted" var2="0"/>
4250 </conditions>
4251 <actions>
4252 <action function="set">tw_crypto_user_id=</action>
4253 <action function="page">decrypt_users</action>
4254 </actions>
4255 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004256 <listitem name="{@reload_theme_btn=Reload Theme}">
4257 <action function="reload"/>
4258 </listitem>
4259 <listitem name="{@part_sd_btn=Partition SD Card}">
4260 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4261 <actions>
4262 <action function="set">partitionlisterror=0</action>
4263 <action function="page">partsdcardsel</action>
4264 </actions>
4265 </listitem>
4266 <listitem name="{@dumlock_btn=HTC Dumlock}">
4267 <condition var1="tw_show_dumlock" var2="1"/>
4268 <action function="page">htcdumlock</action>
4269 </listitem>
4270 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4271 <condition var1="tw_has_injecttwrp" var2="1"/>
4272 <actions>
4273 <action function="set">tw_back=advanced</action>
4274 <action function="set">tw_action=reinjecttwrp</action>
4275 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4276 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4277 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4278 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4279 <action function="page">confirm_action</action>
4280 </actions>
4281 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004282 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4283 <conditions>
4284 <condition var1="tw_has_boot_slots" var2="1"/>
4285 <condition var1="tw_has_repack_tools" var2="1"/>
4286 </conditions>
4287 <actions>
4288 <action function="set">tw_repack_kernel=0</action>
4289 <action function="page">repackselect</action>
4290 </actions>
4291 </listitem>
4292 <listitem name="{@install_kernel=Install Kernel}">
4293 <conditions>
4294 <condition var1="tw_has_boot_slots" var2="1"/>
4295 <condition var1="tw_has_repack_tools" var2="1"/>
4296 </conditions>
4297 <actions>
4298 <action function="set">tw_repack_kernel=1</action>
4299 <action function="page">repackselect</action>
4300 </actions>
4301 </listitem>
4302 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4303 <conditions>
4304 <condition var1="tw_has_boot_slots" var2="1"/>
4305 <condition var1="tw_has_repack_tools" var2="1"/>
4306 </conditions>
4307 <actions>
4308 <action function="set">tw_back=advanced</action>
4309 <action function="set">tw_action=fixabrecoverybootloop</action>
4310 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4311 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4312 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4313 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4314 <action function="page">confirm_action</action>
4315 </actions>
4316 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004317 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4318 <condition var1="tw_app_installed_in_system" var2="1"/>
4319 <actions>
4320 <action function="set">tw_back=advanced</action>
4321 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4322 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4323 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4324 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4325 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4326 <action function="page">confirm_action</action>
4327 </actions>
4328 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004329 </listbox>
4330
4331 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004332 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004333 <highlight color="%highlight_color%"/>
4334 <image resource="q_btn_arrow_left"/>
4335 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004336 </button>
4337
4338 <action>
4339 <touch key="home"/>
4340 <action function="page">main</action>
4341 </action>
4342
4343 <action>
4344 <touch key="back"/>
4345 <action function="page">main3</action>
4346 </action>
4347 </page>
4348
Ethan Yonker483e9f42016-01-11 22:21:18 -06004349 <page name="partsdcardsel">
4350 <template name="page"/>
4351
4352 <template name="statusbar"/>
4353
4354 <text style="text_m">
4355 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4356 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4357 </text>
4358
4359 <partitionlist style="partitionlist_headerless_rb">
4360 <data name="tw_storage_path"/>
4361 <listtype name="storage"/>
4362 </partitionlist>
4363
4364 <text style="text_m_fail">
4365 <condition var1="partitionlisterror" var2="1"/>
4366 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4367 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4368 </text>
4369
4370 <button>
4371 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4372 <highlight color="%highlight_color%"/>
4373 <image resource="q_btn_refresh"/>
4374 <action function="refreshsizes"/>
4375 </button>
4376
4377 <button>
4378 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4379 <highlight color="%highlight_color%"/>
4380 <image resource="q_btn_accept"/>
4381 <actions>
4382 <action function="getpartitiondetails">tw_storage_path</action>
4383 <action function="page">partsdcardcheck</action>
4384 </actions>
4385 </button>
4386
4387 <action>
4388 <touch key="home"/>
4389 <action function="page">main</action>
4390 </action>
4391
4392 <action>
4393 <touch key="back"/>
4394 <action function="page">advanced</action>
4395 </action>
4396 </page>
4397
4398 <page name="partsdcardcheck">
4399 <action>
4400 <condition var1="tw_partition_removable" op="=" var2="1"/>
4401 <actions>
4402 <action function="set">partitionlisterror=0</action>
4403 <action function="page">partsdcard</action>
4404 </actions>
4405 </action>
4406
4407 <action>
4408 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4409 <actions>
4410 <action function="set">partitionlisterror=1</action>
4411 <action function="page">partsdcardsel</action>
4412 </actions>
4413 </action>
4414 </page>
4415
z31s1g28f0a922015-11-07 18:50:22 +01004416 <page name="partsdcard">
4417 <template name="page"/>
4418
4419 <template name="statusbar"/>
4420
4421 <text style="text_m">
4422 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 </text>
4425
4426 <text style="text_m_fail">
4427 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004428 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004429 </text>
4430
4431 <text style="text_m_fail">
4432 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 </text>
4435
4436 <text style="text_m_accent">
4437 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004438 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004439 </text>
4440
4441 <text style="text_m">
4442 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4443 <text>%tw_sdext_size%</text>
4444 </text>
4445
4446 <button style="main_button_quarter_width">
4447 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004448 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004449 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004450 </button>
4451
4452 <button style="main_button_quarter_width">
4453 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004454 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004455 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004456 </button>
4457
4458 <button>
4459 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4460 <highlight color="%highlight_color%"/>
4461 <image resource="q_btn_arrow_right"/>
4462 <action function="page">partsdcard2</action>
4463 </button>
4464
4465 <action>
4466 <touch key="home"/>
4467 <action function="page">main</action>
4468 </action>
4469
4470 <action>
4471 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004472 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004473 </action>
4474 </page>
4475
4476 <page name="partsdcard2">
4477 <template name="page"/>
4478
4479 <template name="statusbar"/>
4480
4481 <text style="text_m">
4482 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <text style="text_m_fail">
4487 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m_fail">
4492 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004493 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004494 </text>
4495
4496 <text style="text_m_accent">
4497 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004499 </text>
4500
4501 <text style="text_m">
4502 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4503 <text>%tw_swap_size%</text>
4504 </text>
4505
4506 <button style="main_button_quarter_width">
4507 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004508 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004509 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </button>
4511
4512 <button style="main_button_quarter_width">
4513 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004515 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004516 </button>
4517
4518 <button>
4519 <placement x="%col1_x_left%" y="%row11_y%"/>
4520 <highlight color="%highlight_color%"/>
4521 <image resource="q_btn_arrow_left"/>
4522 <action function="page">partsdcard</action>
4523 </button>
4524
4525 <button>
4526 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4527 <highlight color="%highlight_color%"/>
4528 <image resource="q_btn_arrow_right"/>
4529 <action function="page">partsdcard3</action>
4530 </button>
4531
4532 <action>
4533 <touch key="home"/>
4534 <action function="page">main</action>
4535 </action>
4536
4537 <action>
4538 <touch key="back"/>
4539 <action function="page">advanced</action>
4540 </action>
4541 </page>
4542
4543 <page name="partsdcard3">
4544 <template name="page"/>
4545
4546 <template name="statusbar"/>
4547
4548 <text style="text_m">
4549 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m_fail">
4554 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
4558 <text style="text_m_fail">
4559 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004561 </text>
4562
4563 <text style="text_m_accent">
4564 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004565 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004566 </text>
4567
4568 <text style="text_m">
4569 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4570 <text>%tw_sdpart_file_system%</text>
4571 </text>
4572
4573 <button style="main_button_quarter_width">
4574 <placement x="%indent%" y="%row6_y%"/>
4575 <text>EXT3</text>
4576 <action function="set">tw_sdpart_file_system=ext3</action>
4577 </button>
4578
4579 <button style="main_button_quarter_width">
4580 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4581 <text>EXT4</text>
4582 <action function="set">tw_sdpart_file_system=ext4</action>
4583 </button>
4584
4585 <button>
4586 <placement x="%col1_x_left%" y="%row11_y%"/>
4587 <highlight color="%highlight_color%"/>
4588 <image resource="q_btn_arrow_left"/>
4589 <action function="page">partsdcard2</action>
4590 </button>
4591
4592 <button>
4593 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4594 <highlight color="%highlight_color%"/>
4595 <image resource="q_btn_arrow_right"/>
4596 <action function="page">partsdcard_confirm</action>
4597 </button>
4598
4599 <action>
4600 <touch key="home"/>
4601 <action function="page">main</action>
4602 </action>
4603
4604 <action>
4605 <touch key="back"/>
4606 <action function="page">advanced</action>
4607 </action>
4608 </page>
4609
4610 <page name="partsdcard_confirm">
4611 <template name="page"/>
4612
4613 <template name="statusbar"/>
4614
4615 <text style="text_m">
4616 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </text>
4619
4620 <text style="text_m_fail">
4621 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <text style="text_m_fail">
4626 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 </text>
4629
4630 <text style="text_m_accent">
4631 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004633 </text>
4634
4635 <text style="text_m_accent">
4636 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004637 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004638 </text>
4639
4640 <text style="text_m_accent">
4641 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004642 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004643 </text>
4644
4645 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004646 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004647 <action function="page">partsdcardaction</action>
4648 <actions>
4649 <action function="set">tw_back=partsdcard</action>
4650 <action function="set">tw_action=partitionsd</action>
4651 <action function="set">tw_has_action2=1</action>
4652 <action function="set">tw_action2=set</action>
4653 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004654 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4655 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4656 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004657 <action function="page">action_page</action>
4658 </actions>
4659 </slider>
4660
4661 <action>
4662 <touch key="home"/>
4663 <action function="page">main</action>
4664 </action>
4665
4666 <action>
4667 <touch key="back"/>
4668 <action function="page">advanced</action>
4669 </action>
4670 </page>
4671
4672 <page name="htcdumlock">
4673 <template name="page"/>
4674
4675 <template name="statusbar"/>
4676
4677 <text style="text_m">
4678 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004679 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004680 </text>
4681
4682 <button style="main_button_full_width">
4683 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004684 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004685 <actions>
4686 <action function="set">tw_back=htcdumlock</action>
4687 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004688 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4689 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4690 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4691 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004692 <action function="page">confirm_action</action>
4693 </actions>
4694 </button>
4695
4696 <button style="main_button_full_width">
4697 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004698 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004699 <actions>
4700 <action function="set">tw_back=htcdumlock</action>
4701 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004702 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4703 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4704 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4705 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004706 <action function="page">confirm_action</action>
4707 </actions>
4708 </button>
4709
4710 <button style="main_button_full_width">
4711 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004713 <actions>
4714 <action function="set">tw_back=htcdumlock</action>
4715 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004716 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4717 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4718 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4719 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004720 <action function="page">confirm_action</action>
4721 </actions>
4722 </button>
4723
4724 <action>
4725 <touch key="home"/>
4726 <action function="page">main</action>
4727 </action>
4728
4729 <action>
4730 <touch key="back"/>
4731 <action function="page">advanced</action>
4732 </action>
4733 </page>
4734
Ethan Yonker53796e72019-01-11 22:49:52 -06004735 <page name="repackselect">
4736 <template name="page"/>
4737
4738 <template name="statusbar"/>
4739
4740 <text style="text_m">
4741 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4742 <text>{@repack_image_hdr=Select Image}</text>
4743 </text>
4744
4745 <fileselector>
4746 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4747 <text>%tw_zip_location%</text>
4748 <filter extn=".img" folders="1" files="1"/>
4749 <path name="tw_zip_location" default="/sdcard"/>
4750 <data name="tw_filename"/>
4751 <selection name="tw_file"/>
4752 </fileselector>
4753
4754 <button>
4755 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4756 <highlight color="%highlight_color%"/>
4757 <image resource="q_btn_storage"/>
4758 <actions>
4759 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4760 <action function="set">tw_back=install</action>
4761 <action function="page">select_storage</action>
4762 </actions>
4763 </button>
4764
4765 <action>
4766 <conditions>
4767 <condition var1="tw_filename" op="modified"/>
4768 </conditions>
4769 <action function="page">repackconfirm</action>
4770 </action>
4771
4772 <action>
4773 <touch key="back"/>
4774 <action function="page">advanced</action>
4775 </action>
4776
4777 <action>
4778 <touch key="home"/>
4779 <action function="page">main</action>
4780 </action>
4781 </page>
4782
4783 <page name="repackconfirm">
4784 <template name="page"/>
4785
4786 <template name="statusbar"/>
4787
4788 <text style="text_m">
4789 <condition var1="tw_repack_kernel" var2="1"/>
4790 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4791 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4792 </text>
4793
4794 <text style="text_m">
4795 <condition var1="tw_repack_kernel" var2="0"/>
4796 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4797 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4798 </text>
4799
4800 <text style="text_m_accent">
4801 <placement x="%indent%" y="%row2_y%"/>
4802 <text>{@folder=Folder:}</text>
4803 </text>
4804
4805 <text style="text_m">
4806 <placement x="%indent%" y="%row3_y%"/>
4807 <text>%tw_zip_location%</text>
4808 </text>
4809
4810 <text style="text_m_accent">
4811 <placement x="%indent%" y="%row4_y%"/>
4812 <text>{@file=File:}</text>
4813 </text>
4814
4815 <text style="text_m">
4816 <placement x="%indent%" y="%row5_y%"/>
4817 <text>%tw_file%</text>
4818 </text>
4819
4820 <checkbox>
4821 <placement x="%indent%" y="%row7_y%"/>
4822 <text>{@repack_backup_first=Back up existing image first}</text>
4823 <data variable="tw_repack_backup_first"/>
4824 </checkbox>
4825
4826 <slider>
4827 <text>{@swipe_to_install=Swipe to Install}</text>
4828 <actions>
4829 <action function="set">tw_back=advanced</action>
4830 <action function="set">tw_action=repackimage</action>
4831 <action function="set">tw_action_param=/boot</action>
4832 <action function="set">tw_action_text1={@installing=Installing...}</action>
4833 <action function="set">tw_action_text2=</action>
4834 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4835 <action function="page">action_page</action>
4836 </actions>
4837 </slider>
4838
4839 <action>
4840 <touch key="back"/>
4841 <action function="page">repackselect</action>
4842 </action>
4843
4844 <action>
4845 <touch key="home"/>
4846 <action function="page">main</action>
4847 </action>
4848 </page>
4849
z31s1g28f0a922015-11-07 18:50:22 +01004850 <page name="lock">
4851 <background color="%semi_transparent%"/>
4852
4853 <image>
4854 <image resource="unlock_icon"/>
4855 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4856 </image>
4857
4858 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004859 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004860 <action function="overlay"/>
4861 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004862
4863 <action>
4864 <touch key="power"/>
4865 <action function="togglebacklight"/>
4866 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004867 </page>
4868
4869 <page name="filemanagerlist">
4870 <template name="page"/>
4871
4872 <template name="statusbar"/>
4873
4874 <text style="text_m">
4875 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004876 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004877 </text>
4878
4879 <fileselector>
4880 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4881 <text>%tw_file_location1%</text>
4882 <filter folders="1" files="1"/>
4883 <path name="tw_file_location1" default="/"/>
4884 <data name="tw_filename1"/>
4885 <selection name="tw_selection1"/>
4886 </fileselector>
4887
4888 <button>
4889 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4890 <highlight color="%highlight_color%"/>
4891 <image resource="q_btn_folder"/>
4892 <actions>
4893 <action function="set">tw_filename1=tw_file_location1</action>
4894 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004895 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004896 <action function="page">filemanageroptions</action>
4897 </actions>
4898 </button>
4899
4900 <action>
4901 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004902 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004903 <action function="set">tw_fm_isfolder=0</action>
4904 </actions>
4905 </action>
4906
4907 <action>
4908 <touch key="home"/>
4909 <action function="page">main</action>
4910 </action>
4911
4912 <action>
4913 <touch key="back"/>
4914 <action function="page">main3</action>
4915 </action>
4916
4917 <action>
4918 <condition var1="tw_filename1" op="modified"/>
4919 <action function="page">filemanageroptions</action>
4920 </action>
4921 </page>
4922
4923 <page name="filemanageroptions">
4924 <template name="page"/>
4925
4926 <template name="statusbar"/>
4927
4928 <text style="text_m">
4929 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004930 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004931 </text>
4932
4933 <button style="main_button">
4934 <condition var1="tw_fm_isfolder" var2="0"/>
4935 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004936 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004937 <actions>
4938 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004939 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004940 <action function="page">choosedestinationfolder</action>
4941 </actions>
4942 </button>
4943
4944 <button style="main_button">
4945 <condition var1="tw_fm_isfolder" var2="1"/>
4946 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004947 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004948 <actions>
4949 <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 -05004950 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004951 <action function="page">choosedestinationfolder</action>
4952 </actions>
4953 </button>
4954
4955 <button style="main_button">
4956 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004957 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004958 <actions>
4959 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004960 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004961 <action function="page">choosedestinationfolder</action>
4962 </actions>
4963 </button>
4964
4965 <button style="main_button">
4966 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004968 <actions>
4969 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004970 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004971 <action function="set">tw_fm_text2=</action>
4972 <action function="set">tw_fm_text3=</action>
4973 <action function="set">tw_include_text3=0</action>
4974 <action function="set">tw_back=filemanageroptions</action>
4975 <action function="page">filemanagerconfirm</action>
4976 </actions>
4977 </button>
4978
4979 <button style="main_button">
4980 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004981 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004982 <actions>
4983 <action function="set">tw_filemanager_rename=0000</action>
4984 <action function="set">tw_fm_text2=</action>
4985 <action function="set">tw_fm_text3=</action>
4986 <action function="set">tw_include_text3=0</action>
4987 <action function="set">tw_back=filemanageroptions</action>
4988 <action function="page">filemanagerchmod</action>
4989 </actions>
4990 </button>
4991
4992 <button style="main_button">
4993 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004994 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004995 <actions>
4996 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004997 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004998 <action function="set">tw_fm_text2=</action>
4999 <action function="set">tw_fm_text3=</action>
5000 <action function="set">tw_include_text3=0</action>
5001 <action function="set">tw_back=filemanageroptions</action>
5002 <action function="page">filemanagerconfirm</action>
5003 </actions>
5004 </button>
5005
5006 <button style="main_button">
5007 <condition var1="tw_fm_isfolder" var2="0"/>
5008 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005009 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005010 <actions>
5011 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005012 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005013 <action function="set">tw_filemanager_command=mv</action>
5014 <action function="page">filemanagerrenamefile</action>
5015 </actions>
5016 </button>
5017
5018 <button style="main_button">
5019 <condition var1="tw_fm_isfolder" var2="1"/>
5020 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005021 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005022 <actions>
5023 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005024 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005025 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5026 <action function="page">filemanagerrenamefolder</action>
5027 </actions>
5028 </button>
5029
5030 <action>
5031 <touch key="home"/>
5032 <action function="page">main</action>
5033 </action>
5034
5035 <action>
5036 <touch key="back"/>
5037 <action function="page">filemanagerlist</action>
5038 </action>
5039 </page>
5040
5041 <page name="choosedestinationfolder">
5042 <template name="page"/>
5043
5044 <template name="statusbar"/>
5045
5046 <text style="text_m">
5047 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005048 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005049 </text>
5050
5051 <fileselector>
5052 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5053 <text>%tw_file_location2%</text>
5054 <filter folders="1" files="0"/>
5055 <path name="tw_file_location2" default="/"/>
5056 <data name="tw_filename2"/>
5057 <selection name="tw_selection2"/>
5058 </fileselector>
5059
5060 <button>
5061 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5062 <highlight color="%highlight_color%"/>
5063 <image resource="q_btn_folder"/>
5064 <actions>
5065 <action function="set">tw_fm_text2=to</action>
5066 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5067 <action function="set">tw_include_text3=1</action>
5068 <action function="set">tw_back=filemanageroptions</action>
5069 <action function="page">filemanagerconfirm</action>
5070 </actions>
5071 </button>
5072
5073 <action>
5074 <touch key="home"/>
5075 <action function="page">main</action>
5076 </action>
5077
5078 <action>
5079 <touch key="back"/>
5080 <action function="page">filemanageroptions</action>
5081 </action>
5082 </page>
5083
5084 <page name="filemanagerrenamefile">
5085 <template name="page"/>
5086
5087 <template name="statusbar"/>
5088
5089 <text style="text_m">
5090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005091 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </text>
5093
5094 <text style="text_m_accent">
5095 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005096 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005097 </text>
5098
5099 <input>
5100 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5101 <text>%tw_filemanager_rename%</text>
5102 <data name="tw_filemanager_rename"/>
5103 <restrict minlen="1" maxlen="128"/>
5104 <actions>
5105 <action function="set">tw_fm_text2=to</action>
5106 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5107 <action function="set">tw_include_text3=1</action>
5108 <action function="set">tw_back=filemanageroptions</action>
5109 <action function="page">filemanagerconfirm</action>
5110 </actions>
5111 </input>
5112
5113 <fill color="%accent_color%">
5114 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5115 </fill>
5116
5117 <button style="main_button_half_height">
5118 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005119 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005120 <action function="page">filemanageroptions</action>
5121 </button>
5122
5123 <template name="keyboardtemplate"/>
5124
5125 <action>
5126 <touch key="home"/>
5127 <action function="page">main</action>
5128 </action>
5129
5130 <action>
5131 <touch key="back"/>
5132 <action function="page">filemanageroptions</action>
5133 </action>
5134 </page>
5135
5136 <page name="filemanagerrenamefolder">
5137 <template name="page"/>
5138
5139 <template name="statusbar"/>
5140
5141 <text style="text_m">
5142 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005143 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005144 </text>
5145
5146 <text style="text_m_accent">
5147 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005148 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005149 </text>
5150
5151 <input>
5152 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5153 <text>%tw_filemanager_rename%</text>
5154 <data name="tw_filemanager_rename"/>
5155 <restrict minlen="1" maxlen="128"/>
5156 <actions>
5157 <action function="set">tw_fm_text2=to</action>
5158 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5159 <action function="set">tw_include_text3=1</action>
5160 <action function="set">tw_back=filemanageroptions</action>
5161 <action function="page">filemanagerconfirm</action>
5162 </actions>
5163 </input>
5164
5165 <fill color="%accent_color%">
5166 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5167 </fill>
5168
5169 <button style="main_button_half_height">
5170 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005171 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005172 <action function="page">filemanageroptions</action>
5173 </button>
5174
5175 <template name="keyboardtemplate"/>
5176
5177 <action>
5178 <touch key="home"/>
5179 <action function="page">main</action>
5180 </action>
5181
5182 <action>
5183 <touch key="back"/>
5184 <action function="page">filemanageroptions</action>
5185 </action>
5186 </page>
5187
5188 <page name="filemanagerchmod">
5189 <template name="page"/>
5190
5191 <template name="statusbar"/>
5192
5193 <text style="text_m">
5194 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005195 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005196 </text>
5197
5198 <text style="text_m_accent">
5199 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005200 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005201 </text>
5202
5203 <input>
5204 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5205 <text>%tw_filemanager_rename%</text>
5206 <data name="tw_filemanager_rename"/>
5207 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5208 <actions>
5209 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5210 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5211 <action function="set">tw_back=filemanageroptions</action>
5212 <action function="page">filemanagerconfirm</action>
5213 </actions>
5214 </input>
5215
5216 <fill color="%accent_color%">
5217 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5218 </fill>
5219
5220 <button style="main_button_half_height">
5221 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005222 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005223 <action function="page">filemanageroptions</action>
5224 </button>
5225
5226 <template name="keyboardtemplate"/>
5227
5228 <action>
5229 <touch key="home"/>
5230 <action function="page">main</action>
5231 </action>
5232
5233 <action>
5234 <touch key="back"/>
5235 <action function="page">filemanageroptions</action>
5236 </action>
5237 </page>
5238
5239 <page name="filemanagerconfirm">
5240 <template name="page"/>
5241
5242 <template name="statusbar"/>
5243
5244 <text style="text_m">
5245 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005246 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005247 </text>
5248
5249 <text style="text_m_accent">
5250 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5251 <text>%tw_fm_text1%</text>
5252 </text>
5253
5254 <text style="text_m">
5255 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5256 <text>%tw_filename1%</text>
5257 </text>
5258
5259 <text style="text_m_accent">
5260 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5261 <text>%tw_fm_text2%</text>
5262 </text>
5263
5264 <text style="text_m">
5265 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5266 <text>%tw_fm_text3%</text>
5267 </text>
5268
5269 <text style="text_m">
5270 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005271 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005272 </text>
5273
5274 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005275 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005276 <action function="page">filemanageraction</action>
5277 </slider>
5278
5279 <action>
5280 <touch key="back"/>
5281 <action function="page">%tw_back%</action>
5282 </action>
5283
5284 <action>
5285 <touch key="home"/>
5286 <action function="page">main</action>
5287 </action>
5288 </page>
5289
5290 <page name="filemanageraction">
5291 <template name="page"/>
5292
5293 <template name="statusbar"/>
5294
5295 <text style="text_m">
5296 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005297 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005298 </text>
5299
5300 <template name="console"/>
5301
5302 <template name="progress_bar"/>
5303
5304 <action>
5305 <conditions>
5306 <condition var1="tw_operation_state" var2="1"/>
5307 <condition var1="tw_operation_status" var2="0"/>
5308 </conditions>
5309 <actions>
5310 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005311 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005312 <action function="page">action_complete</action>
5313 </actions>
5314 </action>
5315
5316 <action>
5317 <conditions>
5318 <condition var1="tw_operation_state" var2="1"/>
5319 <condition var1="tw_operation_status" op="!=" var2="0"/>
5320 </conditions>
5321 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005322 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005323 <action function="page">action_complete</action>
5324 </actions>
5325 </action>
5326
5327 <action>
5328 <condition var1="tw_include_text3" var2="0"/>
5329 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5330 </action>
5331
5332 <action>
5333 <condition var1="tw_include_text3" var2="1"/>
5334 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5335 </action>
5336 </page>
5337
5338 <page name="decrypt">
5339 <template name="page"/>
5340
5341 <template name="statusbar"/>
5342
5343 <action>
5344 <condition var1="tw_crypto_pwtype" var2="2"/>
5345 <action function="page">decrypt_pattern</action>
5346 </action>
5347
5348 <text style="text_m">
5349 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005350 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005351 </text>
5352
5353 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005354 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005355 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005356 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005357 </text>
5358
Noah Jacobson81d638d2019-04-28 00:10:07 -04005359 <text style="text_m_accent">
5360 <condition var1="tw_is_fbe" var2="1"/>
5361 <placement x="%col1_x_left%" y="%row1_y%"/>
5362 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5363 </text>
5364
z31s1g28f0a922015-11-07 18:50:22 +01005365 <input>
5366 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5367 <text>%tw_crypto_display%</text>
5368 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5369 <restrict minlen="1" maxlen="254"/>
5370 <action function="page">trydecrypt</action>
5371 </input>
5372
5373 <fill color="%accent_color%">
5374 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5375 </fill>
5376
5377 <fill color="%text_fail_color%">
5378 <condition var1="tw_password_fail" var2="1"/>
5379 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5380 </fill>
5381
5382 <text style="text_m_fail">
5383 <condition var1="tw_password_fail" var2="1"/>
5384 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005385 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005386 </text>
5387
5388 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005389 <placement x="%col1_x_left%" y="%row4_y%"/>
5390 <text>{@sel_lang_btn=Select Language}</text>
5391 <action function="page">settings_language</action>
5392 </button>
5393
5394 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005395 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005396 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005397 <actions>
5398 <action function="set">tw_page_done=1</action>
5399 <action function="page">main</action>
5400 </actions>
5401 </button>
5402
5403 <template name="keyboardtemplate"/>
5404 </page>
5405
5406 <page name="decrypt_pattern">
5407 <template name="page"/>
5408
5409 <template name="statusbar"/>
5410
Aleksa Saraib25a1832015-12-31 17:36:00 +01005411 <action>
5412 <action function="set">tw_gui_pattern_grid_size=3</action>
5413 </action>
5414
z31s1g28f0a922015-11-07 18:50:22 +01005415 <text style="text_m">
5416 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005417 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005418 </text>
5419
5420 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005421 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005422 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005423 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005424 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005425 </text>
5426
Noah Jacobson81d638d2019-04-28 00:10:07 -04005427 <text style="text_m_accent">
5428 <condition var1="tw_is_fbe" var2="1"/>
5429 <condition var1="tw_password_fail" op="!=" var2="1"/>
5430 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5431 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5432 </text>
5433
Aleksa Saraib25a1832015-12-31 17:36:00 +01005434 <text style="text_m_fail">
5435 <condition var1="tw_password_fail" var2="1"/>
5436 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005437 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005438 </text>
5439
z31s1g28f0a922015-11-07 18:50:22 +01005440 <text style="text_m">
5441 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005442 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005443 </text>
5444
5445 <patternpassword>
5446 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005447 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5448 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5449 <data name="tw_crypto_password"/>
5450 <action function="page">trydecrypt</action>
5451 </patternpassword>
5452
5453 <fill color="#000000">
5454 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5455 </fill>
5456
5457 <button>
5458 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5459 <image resource="back"/>
5460 <condition var1="tw_busy" var2="0"/>
5461 <actions>
5462 <action function="set">tw_page_done=1</action>
5463 <action function="page">main</action>
5464 </actions>
5465 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005466
5467 <button>
5468 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5469 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5470 <image resource="grid_less"/>
5471 <action function="set">tw_gui_pattern_grid_size=3</action>
5472 </button>
5473
5474 <button>
5475 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5476 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5477 <image resource="grid_less"/>
5478 <action function="set">tw_gui_pattern_grid_size=3</action>
5479 </button>
5480
5481 <button>
5482 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5483 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5484 <image resource="grid_less"/>
5485 <action function="set">tw_gui_pattern_grid_size=4</action>
5486 </button>
5487
5488 <button>
5489 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5490 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5491 <image resource="grid_less"/>
5492 <action function="set">tw_gui_pattern_grid_size=5</action>
5493 </button>
5494
5495 <button>
5496 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5497 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5498 <image resource="grid_more"/>
5499 <action function="set">tw_gui_pattern_grid_size=4</action>
5500 </button>
5501
5502 <button>
5503 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5504 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5505 <image resource="grid_more"/>
5506 <action function="set">tw_gui_pattern_grid_size=5</action>
5507 </button>
5508
5509 <button>
5510 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5511 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5512 <image resource="grid_more"/>
5513 <action function="set">tw_gui_pattern_grid_size=6</action>
5514 </button>
5515
5516 <button>
5517 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5518 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5519 <image resource="grid_more"/>
5520 <action function="set">tw_gui_pattern_grid_size=6</action>
5521 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005522 </page>
5523
5524 <page name="trydecrypt">
5525 <template name="page"/>
5526
5527 <template name="statusbar"/>
5528
5529 <text style="text_m">
5530 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005531 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005532 </text>
5533
5534 <template name="console"/>
5535
5536 <template name="progress_bar"/>
5537
5538 <action>
5539 <action function="decrypt"/>
5540 </action>
5541
5542 <action>
5543 <conditions>
5544 <condition var1="tw_operation_state" var2="1"/>
5545 <condition var1="tw_operation_status" op="!=" var2="0"/>
5546 </conditions>
5547 <actions>
5548 <action function="set">tw_password_fail=1</action>
5549 <action function="page">decrypt</action>
5550 </actions>
5551 </action>
5552
5553 <action>
5554 <conditions>
5555 <condition var1="tw_operation_state" var2="1"/>
5556 <condition var1="tw_operation_status" op="=" var2="0"/>
5557 </conditions>
5558 <actions>
5559 <action function="set">tw_page_done=1</action>
5560 <action function="page">main</action>
5561 </actions>
5562 </action>
5563 </page>
5564
z31s1g28f0a922015-11-07 18:50:22 +01005565 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005566 <terminal>
5567 <condition var1="tw_hide_kb" var2="0"/>
5568 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5569 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005570
z31s1g56189522016-01-13 19:12:40 +01005571 <terminal>
5572 <condition var1="tw_hide_kb" var2="1"/>
5573 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5574 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005575
z31s1g56189522016-01-13 19:12:40 +01005576 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005577
5578 <template name="keyboardtemplate"/>
5579
z31s1g608d7ff2016-01-18 19:47:25 +01005580 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005581 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005582 </fill>
z31s1g56189522016-01-13 19:12:40 +01005583
z31s1g608d7ff2016-01-18 19:47:25 +01005584 <button>
z31s1g56189522016-01-13 19:12:40 +01005585 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5586 <image resource="back" />
5587 <condition var1="tw_busy" var2="0" />
5588 <actions>
5589 <action function="set">tw_hide_kb=0</action>
5590 <action function="key">back</action>
5591 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005592 </button>
z31s1g56189522016-01-13 19:12:40 +01005593
z31s1g608d7ff2016-01-18 19:47:25 +01005594 <button>
z31s1g56189522016-01-13 19:12:40 +01005595 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5596 <image resource="home" />
5597 <condition var1="tw_busy" var2="0" />
5598 <actions>
5599 <action function="set">tw_hide_kb=0</action>
5600 <action function="key">home</action>
5601 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005602 </button>
z31s1g56189522016-01-13 19:12:40 +01005603
z31s1g608d7ff2016-01-18 19:47:25 +01005604 <button>
z31s1g56189522016-01-13 19:12:40 +01005605 <condition var1="tw_hide_kb" var2="0"/>
5606 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5607 <image resource="kb_hide" />
5608 <condition var1="tw_busy" var2="0" />
5609 <actions>
5610 <action function="set">tw_hide_kb=1</action>
5611 <action function="page">terminalcommand</action>
5612 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005613 </button>
z31s1g56189522016-01-13 19:12:40 +01005614
z31s1g608d7ff2016-01-18 19:47:25 +01005615 <button>
z31s1g56189522016-01-13 19:12:40 +01005616 <condition var1="tw_hide_kb" var2="1"/>
5617 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5618 <image resource="kb_show" />
5619 <condition var1="tw_busy" var2="0" />
5620 <actions>
5621 <action function="set">tw_hide_kb=0</action>
5622 <action function="page">terminalcommand</action>
5623 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005624 </button>
z31s1g56189522016-01-13 19:12:40 +01005625
z31s1g28f0a922015-11-07 18:50:22 +01005626 <action>
5627 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005628 <actions>
5629 <action function="set">tw_hide_kb=0</action>
5630 <action function="page">main</action>
5631 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005632 </action>
5633
5634 <action>
5635 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005636 <actions>
5637 <action function="set">tw_hide_kb=0</action>
5638 <action function="page">advanced</action>
5639 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005640 </action>
z31s1g56189522016-01-13 19:12:40 +01005641
z31s1g608d7ff2016-01-18 19:47:25 +01005642 <action>
z31s1g56189522016-01-13 19:12:40 +01005643 <touch key="power+voldown" />
5644 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005645 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005646 </page>
5647
5648 <page name="sideload">
5649 <template name="page"/>
5650
5651 <template name="statusbar"/>
5652
5653 <text style="text_m">
5654 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005655 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005656 </text>
5657
5658 <text style="text_m_accent">
5659 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005660 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005661 </text>
5662
5663 <checkbox>
5664 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005665 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005666 <data variable="tw_wipe_dalvik"/>
5667 </checkbox>
5668
5669 <checkbox>
5670 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005671 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005672 <data variable="tw_wipe_cache"/>
5673 </checkbox>
5674
5675 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005676 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005677 <actions>
5678 <action function="set">tw_back=install_type</action>
5679 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005680 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5681 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5682 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005683 <action function="set">tw_has_cancel=1</action>
5684 <action function="set">tw_show_reboot=1</action>
5685 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5686 <action function="page">action_page</action>
5687 </actions>
5688 </slider>
5689
5690 <action>
5691 <touch key="home"/>
5692 <action function="page">main</action>
5693 </action>
5694
5695 <action>
5696 <touch key="back"/>
5697 <action function="page">install_type</action>
5698 </action>
5699 </page>
5700
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005701 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005702 <template name="page"/>
5703
5704 <template name="statusbar"/>
5705
5706 <text style="text_m">
5707 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005708 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005709 </text>
5710
5711 <text style="text_m_accent">
5712 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005713 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005714 </text>
5715
z31s1g28f0a922015-11-07 18:50:22 +01005716 <text style="text_m_fail">
5717 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005718 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005719 </text>
5720
5721 <text style="text_m_fail">
5722 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005723 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005724 </text>
5725
5726 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005727 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005728 <actions>
5729 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005730 <action function="set">tw_action=fixcontexts</action>
5731 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5732 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005733 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005734 <action function="set">tw_show_reboot=1</action>
5735 <action function="page">action_page</action>
5736 </actions>
5737 </slider>
5738
5739 <action>
5740 <touch key="home"/>
5741 <action function="page">main</action>
5742 </action>
5743
5744 <action>
5745 <touch key="back"/>
5746 <action function="page">advanced</action>
5747 </action>
5748 </page>
5749
z31s1g28f0a922015-11-07 18:50:22 +01005750 <page name="slideout">
5751 <fill color="%background_color%">
5752 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5753 </fill>
5754
5755 <console>
5756 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5757 </console>
5758
5759 <fill color="%fileselector_linecolor%">
5760 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5761 </fill>
5762
5763 <fill color="%fileselector_linecolor%">
5764 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5765 </fill>
5766
5767 <button>
5768 <fill color="%transparent%"/>
5769 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5770 <action function="overlay"/>
5771 </button>
5772
5773 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005774 <touch key="power"/>
5775 <action function="togglebacklight"/>
5776 </action>
5777
5778 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005779 <touch key="power+voldown"/>
5780 <action function="screenshot"/>
5781 </action>
5782 </page>
5783
5784 <page name="select_storage">
5785 <template name="page"/>
5786
5787 <template name="statusbar"/>
5788
5789 <text style="text_m">
5790 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5791 <text>%tw_storagetext%</text>
5792 </text>
5793
5794 <partitionlist style="partitionlist_headerless_rb">
5795 <data name="tw_storage_path"/>
5796 <listtype name="storage"/>
5797 </partitionlist>
5798
5799 <button>
5800 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5801 <highlight color="%highlight_color%"/>
5802 <image resource="q_btn_refresh"/>
5803 <actions>
5804 <action function="refreshsizes"/>
5805 <action function="page">select_storage</action>
5806 </actions>
5807 </button>
5808
5809 <button>
5810 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5811 <highlight color="%highlight_color%"/>
5812 <image resource="q_btn_accept"/>
5813 <actions>
5814 <action function="set">tw_clear_destination=%tw_back%</action>
5815 <action function="page">clear_vars</action>
5816 </actions>
5817 </button>
5818
5819 <action>
5820 <touch key="power+voldown"/>
5821 <action function="screenshot"/>
5822 </action>
5823 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005824
5825 <page name="decrypt_users">
5826 <template name="page"/>
5827
5828 <text style="text_l">
5829 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5830 <text>{@decrypt_users=Decrypt Users}</text>
5831 </text>
5832
5833 <text style="text_m_accent">
5834 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5835 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5836 </text>
5837
5838 <listbox>
5839 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5840 <text>{@select_user=Select User}</text>
5841 <icon selected="radio_true" unselected="radio_false" />
5842 <data name="tw_crypto_user_id" />
5843 </listbox>
5844
5845 <button style="main_button_half_height">
5846 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5847 <text>{@decrypt_users=Decrypt Users}</text>
5848 <action function="set">tw_crypto_password=</action>
5849 <action function="set">tw_password_fail=0</action>
5850 <action function="page">decrypt</action>
5851 </button>
5852
5853 <action>
5854 <touch key="home"/>
5855 <action function="page">main</action>
5856 </action>
5857
5858 <action>
5859 <touch key="back"/>
5860 <action function="page">advanced</action>
5861 </action>
5862 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005863 </pages>
5864</recovery>