blob: 05438a62556fac381d65da55bcd222f871dccbc3 [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 Yonker70e0a392020-12-17 14:51:50 -06001237 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 </action>
1239
1240 <action>
1241 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1242 <action function="page">confirm_action</action>
1243 </action>
1244 </page>
1245
1246 <page name="wipe_type1">
1247 <template name="page"/>
1248
1249 <template name="statusbar"/>
1250
1251 <text style="text_m">
1252 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001253 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001254 </text>
1255
1256 <button style="main_button_full_width">
1257 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001259 <action function="page">wipe</action>
1260 </button>
1261
1262 <button style="main_button_full_width">
1263 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001264 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001265 <actions>
1266 <action function="set">partitionlisterror=0</action>
1267 <action function="page">advancedwipe</action>
1268 </actions>
1269 </button>
1270
1271 <button>
1272 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1273 <highlight color="%highlight_color%"/>
1274 <image resource="q_btn_arrow_right"/>
1275 <action function="page">wipe_type2</action>
1276 </button>
1277
1278 <action>
1279 <touch key="home"/>
1280 <action function="page">main</action>
1281 </action>
1282
1283 <action>
1284 <touch key="back"/>
1285 <action function="page">main</action>
1286 </action>
1287 </page>
1288
1289 <page name="wipe_type2">
1290 <template name="page"/>
1291
1292 <template name="statusbar"/>
1293
1294 <text style="text_m">
1295 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <button style="main_button_full_width">
1300 <condition var1="tw_has_data_media" var2="1"/>
1301 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001303 <action function="page">formatdata</action>
1304 </button>
1305
1306 <button style="main_button_full_width">
1307 <conditions>
1308 <condition var1="tw_is_encrypted" var2="1"/>
1309 <condition var1="tw_has_data_media" var2="0"/>
1310 </conditions>
1311 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 <actions>
1314 <action function="set">tw_back=wipe</action>
1315 <action function="set">tw_action=wipe</action>
1316 <action function="set">tw_action_param=DATAMEDIA</action>
1317 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001318 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001319 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1321 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1322 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001323 <action function="page">confirm_action</action>
1324 </actions>
1325 </button>
1326
1327 <button style="main_button_full_width">
1328 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001330 <action function="set">partitionlisterror=0</action>
1331 <action function="page">partitionoptions_select</action>
1332 </actions>
1333 </button>
1334
1335 <button>
1336 <placement x="%col1_x_left%" y="%row11_y%"/>
1337 <highlight color="%highlight_color%"/>
1338 <image resource="q_btn_arrow_left"/>
1339 <action function="page">wipe_type1</action>
1340 </button>
1341
1342 <action>
1343 <touch key="home"/>
1344 <action function="page">main</action>
1345 </action>
1346
1347 <action>
1348 <touch key="back"/>
1349 <action function="page">main</action>
1350 </action>
1351 </page>
1352
1353 <page name="wipe">
1354 <template name="page"/>
1355
1356 <template name="statusbar"/>
1357
1358 <text style="text_m">
1359 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001360 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001361 </text>
1362
1363 <text style="text_m_accent">
1364 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001369 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001370 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1371 </text>
1372
1373 <text style="text_m_accent">
1374 <condition var1="tw_has_data_media" var2="1"/>
1375 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001377 </text>
1378
1379 <text style="text_m_accent">
1380 <conditions>
1381 <condition var1="tw_has_android_secure" var2="1"/>
1382 <condition var1="fileexists" var2="/and-sec"/>
1383 </conditions>
1384 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001385 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001386 </text>
1387
1388 <text style="text_m_accent">
1389 <condition var1="tw_has_sdext_partition" var2="1"/>
1390 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001392 </text>
1393
1394 <text style="text_m">
1395 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m">
1400 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m">
1405 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001407 </text>
1408
1409 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 <actions>
1412 <action function="set">tw_back=wipe</action>
1413 <action function="set">tw_action=wipe</action>
1414 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1416 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001417 <action function="page">action_page</action>
1418 </actions>
1419 </slider>
1420
1421 <action>
1422 <touch key="back"/>
1423 <action function="page">wipe_type1</action>
1424 </action>
1425
1426 <action>
1427 <touch key="home"/>
1428 <action function="page">main</action>
1429 </action>
1430 </page>
1431
1432 <page name="advancedwipe">
1433 <action>
1434 <action function="set">tw_wipe_list=</action>
1435 </action>
1436
1437 <template name="page"/>
1438
1439 <template name="statusbar"/>
1440
1441 <text style="text_m">
1442 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001444 </text>
1445
1446 <partitionlist style="partitionlist_headerless_cb">
1447 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1448 <data name="tw_wipe_list"/>
1449 <listtype name="wipe"/>
1450 </partitionlist>
1451
1452 <fill color="%accent_color%">
1453 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1454 </fill>
1455
1456 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <actions>
1459 <action function="set">tw_back=advancedwipe</action>
1460 <action function="set">tw_action=wipe</action>
1461 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001462 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1463 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1464 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001465 <action function="page">action_page</action>
1466 </actions>
1467 </slider>
1468
1469 <action>
1470 <touch key="home"/>
1471 <action function="page">main</action>
1472 </action>
1473
1474 <action>
1475 <touch key="back"/>
1476 <action function="page">wipe_type1</action>
1477 </action>
1478 </page>
1479
1480 <page name="formatdata">
1481 <template name="page"/>
1482
1483 <template name="statusbar"/>
1484
1485 <text style="text_m">
1486 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001487 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001488 </text>
1489
1490 <text style="text_m_fail">
1491 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001492 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001493 </text>
1494
1495 <text style="text_m_fail">
1496 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001498 </text>
1499
1500 <text style="text_m">
1501 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001502 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001503 </text>
1504
1505 <input>
1506 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1507 <text>%tw_confirm_formatdata%</text>
1508 <data name="tw_confirm_formatdata"/>
1509 <restrict minlen="3" maxlen="3" allow="yes"/>
1510 <action function="page">formatdata_confirm</action>
1511 </input>
1512
1513 <fill color="%accent_color%">
1514 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1515 </fill>
1516
1517 <template name="keyboardtemplate"/>
1518
1519 <action>
1520 <touch key="home"/>
1521 <action function="page">main</action>
1522 </action>
1523
1524 <action>
1525 <touch key="back"/>
1526 <action function="page">wipe_type2</action>
1527 </action>
1528 </page>
1529
1530 <page name="formatdata_confirm">
1531 <action>
1532 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1533 <actions>
1534 <action function="set">tw_back=formatdata</action>
1535 <action function="set">tw_action=wipe</action>
1536 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1538 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001539 <action function="page">action_page</action>
1540 </actions>
1541 </action>
1542
1543 <action>
1544 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1545 <action function="page">formatdata</action>
1546 </action>
1547 </page>
1548
1549 <page name="checkpartitionlist">
1550 <action>
1551 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1552 <actions>
1553 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001554 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001555 <action function="page">partitionoptions</action>
1556 </actions>
1557 </action>
1558
1559 <action>
1560 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1561 <actions>
1562 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001563 <action function="page">partitionoptions_select</action>
1564 </actions>
1565 </action>
1566 </page>
1567
1568 <page name="partitionoptions_select">
1569 <action>
1570 <action function="set">tw_wipe_list=</action>
1571 </action>
1572
1573 <template name="page"/>
1574
1575 <template name="statusbar"/>
1576
1577 <text style="text_m">
1578 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001579 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001580 </text>
1581
1582 <partitionlist style="partitionlist_headerless_cb">
1583 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1584 <data name="tw_wipe_list"/>
1585 <listtype name="wipe"/>
1586 </partitionlist>
1587
1588 <fill color="%accent_color%">
1589 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1590 </fill>
1591
z31s1g28f0a922015-11-07 18:50:22 +01001592 <text style="text_m_fail">
1593 <condition var1="partitionlisterror" var2="1"/>
1594 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001595 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001596 </text>
1597
1598 <button>
1599 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1600 <highlight color="%highlight_color%"/>
1601 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001602 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001603 <action function="page">checkpartitionlist</action>
1604 </actions>
1605 </button>
1606
1607 <action>
1608 <touch key="home"/>
1609 <action function="page">main</action>
1610 </action>
1611
1612 <action>
1613 <touch key="back"/>
1614 <action function="page">wipe_type2</action>
1615 </action>
1616 </page>
1617
1618 <page name="partitionoptions">
1619
1620 <template name="page"/>
1621
1622 <template name="statusbar"/>
1623
1624 <text style="text_m">
1625 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001626 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001627 </text>
1628
1629 <text style="text_m_accent">
1630 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <text style="text_m_accent">
1635 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001636 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001637 </text>
1638
1639 <text style="text_m">
1640 <condition var1="tw_partition_is_present" var2="1"/>
1641 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 </text>
1644
1645 <text style="text_m">
1646 <condition var1="tw_partition_is_present" var2="0"/>
1647 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001648 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001649 </text>
1650
1651 <text style="text_m">
1652 <condition var1="tw_partition_removable" var2="1"/>
1653 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 </text>
1656
1657 <text style="text_m">
1658 <condition var1="tw_partition_removable" var2="0"/>
1659 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 </text>
1662
1663 <text style="text_m">
1664 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001665 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001666 </text>
1667
1668 <text style="text_m">
1669 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 </text>
1672
1673 <text style="text_m">
1674 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001675 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001676 </text>
1677
1678 <text style="text_m">
1679 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 </text>
1682
1683 <button style="main_button">
1684 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1685 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001686 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001687 <actions>
1688 <action function="set">tw_back=partitionoptions</action>
1689 <action function="set">tw_action=resize</action>
1690 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1691 <action function="set">tw_has_action2=1</action>
1692 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001693 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001695 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1697 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1698 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001699 <action function="page">confirm_action</action>
1700 </actions>
1701 </button>
1702
1703 <button style="main_button">
1704 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1705 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 <actions>
1708 <action function="set">tw_back=partitionoptions</action>
1709 <action function="set">tw_action=repair</action>
1710 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1711 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001712 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1715 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1716 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001717 <action function="page">confirm_action</action>
1718 </actions>
1719 </button>
1720
1721 <button>
1722 <placement x="%col1_x_left%" y="%row11_y%"/>
1723 <highlight color="%highlight_color%"/>
1724 <image resource="q_btn_arrow_left"/>
1725 <action function="page">partitionoptions_select</action>
1726 </button>
1727
1728 <button style="main_button">
1729 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001730 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="page">selectfilesystem</action>
1732 </button>
1733
1734 <action>
1735 <touch key="home"/>
1736 <action function="page">main</action>
1737 </action>
1738
1739 <action>
1740 <touch key="back"/>
1741 <action function="page">partitionoptions_select</action>
1742 </action>
1743 </page>
1744
1745 <page name="refreshfilesystem">
1746 <action>
1747 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1748 <actions>
1749 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001750 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <action function="page">selectfilesystem</action>
1752 </actions>
1753 </action>
1754
1755 <action>
1756 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1757 <actions>
1758 <action function="set">partitionlisterror=1</action>
1759 <action function="set">tw_wipe_list=</action>
1760 <action function="page">advancedwipe</action>
1761 </actions>
1762 </action>
1763 </page>
1764
1765 <page name="selectfilesystem">
1766 <template name="page"/>
1767
1768 <template name="statusbar"/>
1769
1770 <text style="text_m">
1771 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001772 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001773 </text>
1774
1775 <button style="main_button">
1776 <condition var1="tw_partition_ext" op="=" var2="1"/>
1777 <placement x="%col1_x_left%" y="%row1_y%"/>
1778 <text>EXT2</text>
1779 <actions>
1780 <action function="set">tw_back=refreshfilesystem</action>
1781 <action function="set">tw_action=changefilesystem</action>
1782 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1783 <action function="set">tw_action_new_file_system=ext2</action>
1784 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1786 <action function="set">tw_text2=EXT2</action>
1787 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1788 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1789 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1790 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1791 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001792 <action function="page">confirm_action</action>
1793 </actions>
1794 </button>
1795
1796 <button style="main_button">
1797 <condition var1="tw_partition_ext" op="=" var2="1"/>
1798 <placement x="%col1_x_left%" y="%row6_y%"/>
1799 <text>EXT3</text>
1800 <actions>
1801 <action function="set">tw_back=refreshfilesystem</action>
1802 <action function="set">tw_action=changefilesystem</action>
1803 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1804 <action function="set">tw_action_new_file_system=ext3</action>
1805 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001806 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1807 <action function="set">tw_text2=EXT3</action>
1808 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1809 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1810 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1811 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1812 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001813 <action function="page">confirm_action</action>
1814 </actions>
1815 </button>
1816
1817 <button style="main_button">
1818 <condition var1="tw_partition_ext" op="=" var2="1"/>
1819 <placement x="%col1_x_left%" y="%row11_y%"/>
1820 <text>EXT4</text>
1821 <actions>
1822 <action function="set">tw_back=refreshfilesystem</action>
1823 <action function="set">tw_action=changefilesystem</action>
1824 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1825 <action function="set">tw_action_new_file_system=ext4</action>
1826 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1828 <action function="set">tw_text2=EXT4</action>
1829 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1830 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1831 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1832 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1833 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001834 <action function="page">confirm_action</action>
1835 </actions>
1836 </button>
1837
1838 <button style="main_button">
1839 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1840 <placement x="%col1_x_right%" y="%row1_y%"/>
1841 <text>FAT</text>
1842 <actions>
1843 <action function="set">tw_back=refreshfilesystem</action>
1844 <action function="set">tw_action=changefilesystem</action>
1845 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1846 <action function="set">tw_action_new_file_system=vfat</action>
1847 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1849 <action function="set">tw_text2=FAT</action>
1850 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1851 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1852 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1853 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1854 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001855 <action function="page">confirm_action</action>
1856 </actions>
1857 </button>
1858
1859 <button style="main_button">
1860 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1861 <placement x="%col1_x_right%" y="%row6_y%"/>
1862 <text>exFAT</text>
1863 <actions>
1864 <action function="set">tw_back=refreshfilesystem</action>
1865 <action function="set">tw_action=changefilesystem</action>
1866 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1867 <action function="set">tw_action_new_file_system=exfat</action>
1868 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1870 <action function="set">tw_text2=exFAT</action>
1871 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1872 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1873 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1874 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1875 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001876 <action function="page">confirm_action</action>
1877 </actions>
1878 </button>
1879
1880 <button style="main_button">
1881 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1882 <placement x="%col1_x_right%" y="%row11_y%"/>
1883 <text>F2FS</text>
1884 <actions>
1885 <action function="set">tw_back=refreshfilesystem</action>
1886 <action function="set">tw_action=changefilesystem</action>
1887 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1888 <action function="set">tw_action_new_file_system=f2fs</action>
1889 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001890 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1891 <action function="set">tw_text2=F2FS</action>
1892 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1893 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1894 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1895 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1896 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001897 <action function="page">confirm_action</action>
1898 </actions>
1899 </button>
1900
1901 <action>
1902 <touch key="home"/>
1903 <action function="page">main</action>
1904 </action>
1905
1906 <action>
1907 <touch key="back"/>
1908 <action function="page">partitionoptions</action>
1909 </action>
1910 </page>
1911
bigbiffce8f83c2015-12-12 18:30:21 -05001912 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001913 <template name="page"/>
1914
Noah Jacobson81d638d2019-04-28 00:10:07 -04001915 <action>
1916 <conditions>
1917 <condition var1="tw_is_fbe" var2="1"/>
1918 <condition var1="tw_all_users_decrypted" var2="0"/>
1919 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1920 </conditions>
1921 <actions>
1922 <action function="set">tw_multiuser_warning_destination=backup</action>
1923 <action function="page">multiuser_warning</action>
1924 </actions>
1925 </action>
1926
z31s1g28f0a922015-11-07 18:50:22 +01001927 <template name="statusbar"/>
1928
1929 <text style="text_m">
1930 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001931 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001932 </text>
1933
1934 <partitionlist style="partitionlist_headerless_rb">
1935 <data name="tw_storage_path"/>
1936 <listtype name="storage"/>
1937 </partitionlist>
1938
1939 <button>
1940 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1941 <highlight color="%highlight_color%"/>
1942 <image resource="q_btn_refresh"/>
1943 <actions>
1944 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001945 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001946 </actions>
1947 </button>
1948
1949 <button>
1950 <condition var1="tw_back" var2="backup_confirm"/>
1951 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1952 <highlight color="%highlight_color%"/>
1953 <image resource="q_btn_accept"/>
1954 <action function="page">backup_confirm</action>
1955 </button>
1956
1957 <button>
1958 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1959 <highlight color="%highlight_color%"/>
1960 <image resource="q_btn_arrow_right"/>
1961 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001962 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001963 <action function="page">backup_selectpartitions</action>
1964 </actions>
1965 </button>
1966
1967 <action>
1968 <touch key="home"/>
1969 <action function="page">main</action>
1970 </action>
1971
1972 <action>
1973 <touch key="back"/>
1974 <action function="page">%tw_back%</action>
1975 </action>
1976
1977 <action>
1978 <touch key="power+voldown"/>
1979 <action function="screenshot"/>
1980 </action>
1981 </page>
1982
1983 <page name="backup_selectpartitions">
1984 <template name="page"/>
1985
1986 <template name="statusbar"/>
1987
1988 <text style="text_m">
1989 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <partitionlist style="partitionlist_headerless_cb">
1994 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1995 <data name="tw_backup_list"/>
1996 <listtype name="backup"/>
1997 </partitionlist>
1998
1999 <fill color="%accent_color%">
2000 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2001 </fill>
2002
2003 <button>
2004 <placement x="%col1_x_left%" y="%row11_y%"/>
2005 <highlight color="%highlight_color%"/>
2006 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002007 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </button>
2009
2010 <button>
2011 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2012 <highlight color="%highlight_color%"/>
2013 <image resource="q_btn_refresh"/>
2014 <action function="page">backup_selectpartitions</action>
2015 </button>
2016
2017 <button>
2018 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2019 <highlight color="%highlight_color%"/>
2020 <image resource="q_btn_accept"/>
2021 <action function="page">backup_confirm</action>
2022 </button>
2023
2024 <button>
2025 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2026 <highlight color="%highlight_color%"/>
2027 <image resource="q_btn_arrow_right"/>
2028 <actions>
2029 <action function="set">tw_back=backup_selectpartitions</action>
2030 <action function="page">backup_options</action>
2031 </actions>
2032 </button>
2033
2034 <action>
2035 <touch key="home"/>
2036 <action function="page">main</action>
2037 </action>
2038
2039 <action>
2040 <touch key="back"/>
2041 <action function="page">%tw_back%</action>
2042 </action>
2043
2044 <action>
2045 <touch key="power+voldown"/>
2046 <action function="screenshot"/>
2047 </action>
2048 </page>
2049
Noah Jacobson81d638d2019-04-28 00:10:07 -04002050 <page name="multiuser_warning">
2051 <template name="page"/>
2052
2053 <text style="text_m">
2054 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2055 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
2056 </text>
2057
2058 <text style="text_m_fail">
2059 <placement x="%center_x%" y="%row6_y%" placement="5"/>
2060 <text>{@multiuser_warning1=Not all users decrypted!}</text>
2061 </text>
2062
2063 <text style="text_m_fail">
2064 <placement x="%center_x%" y="%row7_y%" placement="5"/>
2065 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
2066 </text>
2067
2068 <button style="main_button_full_width">
2069 <placement x="%col1_x_left%" y="%row6_y%"/>
2070 <text>{@decrypt_users=Decrypt Users}</text>
2071 <action function="page">decrypt_users</action>
2072 </button>
2073
2074 <slider>
2075 <text>{@multiuser_warning_accept=Continue Anyway}</text>
2076 <actions>
2077 <action function="set">tw_multiuser_warning_accepted=1</action>
2078 <action function="page">%tw_multiuser_warning_destination%</action>
2079 </actions>
2080 </slider>
2081
2082 <action>
2083 <touch key="home"/>
2084 <action function="page">main</action>
2085 </action>
2086
2087 <action>
2088 <touch key="back"/>
2089 <action function="page">main</action>
2090 </action>
2091 </page>
2092
z31s1g28f0a922015-11-07 18:50:22 +01002093 <page name="backup_options">
2094 <template name="page"/>
2095
2096 <template name="statusbar"/>
2097
2098 <text style="text_m">
2099 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002100 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002101 </text>
2102
2103 <listbox style="scrolllist">
2104 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002106 <data variable="tw_use_compression"/>
2107 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002108 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2109 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002110 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002111 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002112 <data variable="tw_disable_free_space"/>
2113 </listitem>
2114 </listbox>
2115
2116 <button>
2117 <placement x="%col1_x_left%" y="%row11_y%"/>
2118 <highlight color="%highlight_color%"/>
2119 <image resource="q_btn_arrow_left"/>
2120 <action function="page">backup_selectpartitions</action>
2121 </button>
2122
2123 <button>
2124 <conditions>
2125 <condition var1="tw_include_encrypted_backup" var2="1"/>
2126 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002127 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002128 </conditions>
2129 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2130 <highlight color="%highlight_color%"/>
2131 <image resource="q_btn_encryption_dis"/>
2132 <actions>
2133 <action function="set">tw_password_not_match=0</action>
2134 <action function="set">tw_back=backup_options</action>
2135 <action function="page">backupencryption</action>
2136 </actions>
2137 </button>
2138
2139 <button>
2140 <conditions>
2141 <condition var1="tw_include_encrypted_backup" var2="1"/>
2142 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002143 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002144 </conditions>
2145 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2146 <highlight color="%highlight_color%"/>
2147 <image resource="q_btn_encryption_en"/>
2148 <actions>
2149 <action function="set">tw_password_not_match=0</action>
2150 <action function="set">tw_back=backup_options</action>
2151 <action function="page">backupencryption</action>
2152 </actions>
2153 </button>
2154
2155 <button>
2156 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2157 <highlight color="%highlight_color%"/>
2158 <image resource="q_btn_accept_transp"/>
2159 <actions>
2160 <action function="set">tw_back=backup_options</action>
2161 <action function="page">backup_confirm</action>
2162 </actions>
2163 </button>
2164
2165 <action>
2166 <touch key="home"/>
2167 <action function="page">main</action>
2168 </action>
2169
2170 <action>
2171 <touch key="back"/>
2172 <action function="page">%tw_back%</action>
2173 </action>
2174
2175 <action>
2176 <touch key="power+voldown"/>
2177 <action function="screenshot"/>
2178 </action>
2179 </page>
2180
2181 <page name="backup_confirm">
2182 <template name="page"/>
2183
2184 <template name="statusbar"/>
2185
2186 <text style="text_m">
2187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002188 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002189 </text>
2190
2191 <text style="text_m_accent">
2192 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002194 </text>
2195
2196 <text style="text_m">
2197 <placement x="%col1_x_left%" y="%row2_y%"/>
2198 <text>%tw_backup_name%</text>
2199 </text>
2200
2201 <fill color="%accent_color%">
2202 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2203 </fill>
2204
2205 <button>
2206 <fill color="%transparent%"/>
2207 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2208 <actions>
2209 <action function="set">tw_back=backup_confirm</action>
2210 <action function="set">tw_fileexists=0</action>
2211 <action function="page">backup_name1</action>
2212 </actions>
2213 </button>
2214
2215 <fill color="%background_color%">
2216 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2217 </fill>
2218
2219 <text style="text_m_accent">
2220 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002221 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002222 </text>
2223
2224 <partitionlist style="partitionlist_summary">
2225 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2226 <data name="tw_backup_list"/>
2227 <listtype name="backup"/>
2228 </partitionlist>
2229
2230 <button>
2231 <fill color="%transparent%"/>
2232 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2233 <actions>
2234 <action function="set">tw_back=backup_confirm</action>
2235 <action function="page">backup_selectpartitions</action>
2236 </actions>
2237 </button>
2238
2239 <text style="text_m_accent">
2240 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 </text>
2243
2244 <text style="text_m">
2245 <placement x="%col1_x_right%" y="%row2_y%"/>
2246 <text>%tw_storage_display_name%</text>
2247 </text>
2248
2249 <button>
2250 <fill color="%transparent%"/>
2251 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2252 <actions>
2253 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002254 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002255 </actions>
2256 </button>
2257
2258 <text style="text_m_accent">
2259 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002260 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002261 </text>
2262
2263 <text style="text_m">
2264 <conditions>
2265 <condition var1="tw_include_encrypted_backup" var2="1"/>
2266 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002267 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </conditions>
2269 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002270 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002271 </text>
2272
2273 <text style="text_m">
2274 <conditions>
2275 <condition var1="tw_include_encrypted_backup" var2="1"/>
2276 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002277 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002278 </conditions>
2279 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002280 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002281 </text>
2282
2283 <button>
2284 <fill color="%transparent%"/>
2285 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2286 <actions>
2287 <action function="set">tw_back=backup_confirm</action>
2288 <action function="page">backupencryption</action>
2289 </actions>
2290 </button>
2291
2292 <listbox style="listbox_options">
2293 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002294 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002295 <data variable="tw_use_compression"/>
2296 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002297 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2298 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002299 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002300 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002301 <data variable="tw_disable_free_space"/>
2302 </listitem>
2303 </listbox>
2304
2305 <text style="text_m_accent">
2306 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002307 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002308 </text>
2309
2310 <button>
2311 <fill color="%transparent%"/>
2312 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2313 <actions>
2314 <action function="set">tw_back=backup_confirm</action>
2315 <action function="page">backup_options</action>
2316 </actions>
2317 </button>
2318
2319 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002320 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002321 <action function="page">backup_run</action>
2322 </slider>
2323
2324 <action>
2325 <touch key="home"/>
2326 <action function="page">main</action>
2327 </action>
2328
2329 <action>
2330 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002331 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002332 </action>
2333 </page>
2334
2335 <page name="backup_name1">
2336 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002337 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002338 <action function="generatebackupname"/>
2339 </action>
2340
2341 <action>
2342 <action function="page">backup_name2</action>
2343 </action>
2344 </page>
2345
2346 <page name="backup_name2">
2347 <template name="page"/>
2348
2349 <template name="statusbar"/>
2350
2351 <text style="text_m">
2352 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002353 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002354 </text>
2355
2356 <text style="text_m_accent">
2357 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <input>
2362 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2363 <text>%tw_backup_name%</text>
2364 <data name="tw_backup_name"/>
2365 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2366 <actions>
2367 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2368 <action function="set">tw_existpage=backup_name2</action>
2369 <action function="set">tw_notexistpage=backup_confirm</action>
2370 <action function="page">filecheck</action>
2371 </actions>
2372 </input>
2373
2374 <fill color="%accent_color%">
2375 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2376 </fill>
2377
2378 <fill color="%text_fail_color%">
2379 <condition var1="tw_fileexists" var2="1"/>
2380 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2381 </fill>
2382
2383 <text style="text_m_fail">
2384 <condition var1="tw_fileexists" var2="1"/>
2385 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 </text>
2388
2389 <button style="main_button_half_height">
2390 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002393 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002394 <action function="page">backup_confirm</action>
2395 </actions>
2396 </button>
2397
2398 <button style="main_button_half_height">
2399 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002400 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002401 <action function="appenddatetobackupname"/>
2402 </button>
2403
2404 <template name="keyboardtemplate"/>
2405
2406 <action>
2407 <touch key="home"/>
2408 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002409 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002410 <action function="page">main</action>
2411 </actions>
2412 </action>
2413
2414 <action>
2415 <touch key="back"/>
2416 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002418 <action function="page">backup_confirm</action>
2419 </actions>
2420 </action>
2421 </page>
2422
2423 <page name="backupencryption">
2424 <template name="page"/>
2425
2426 <template name="statusbar"/>
2427
2428 <text style="text_m">
2429 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002430 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002431 </text>
2432
2433 <text style="text_m_accent">
2434 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002435 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002436 </text>
2437
2438 <input>
2439 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2440 <text>%tw_backup_encrypt_display%</text>
2441 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2442 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2443 <action function="page">backupencryption2</action>
2444 </input>
2445
2446 <fill color="%accent_color%">
2447 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2448 </fill>
2449
2450 <fill color="%text_fail_color%">
2451 <condition var1="tw_password_not_match" var2="1"/>
2452 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2453 </fill>
2454
2455 <text style="text_m_fail">
2456 <condition var1="tw_password_not_match" var2="1"/>
2457 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <button style="main_button_half_height">
2462 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002463 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002464 <actions>
2465 <action function="set">tw_encrypt_backup=0</action>
2466 <action function="set">tw_backup_password=</action>
2467 <action function="set">tw_backup_password2=</action>
2468 <action function="set">tw_backup_encrypt_display=</action>
2469 <action function="set">tw_backup_encrypt_display2=</action>
2470 <action function="page">%tw_back%</action>
2471 </actions>
2472 </button>
2473
2474 <template name="keyboardtemplate"/>
2475
2476 <action>
2477 <touch key="home"/>
2478 <action function="page">main</action>
2479 </action>
2480
2481 <action>
2482 <touch key="back"/>
2483 <action function="page">%tw_back%</action>
2484 </action>
2485 </page>
2486
2487 <page name="backupencryption2">
2488 <template name="page"/>
2489
2490 <template name="statusbar"/>
2491
2492 <text style="text_m">
2493 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002494 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002495 </text>
2496
2497 <text style="text_m_accent">
2498 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 </text>
2501
2502 <input>
2503 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2504 <text>%tw_backup_encrypt_display2%</text>
2505 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2506 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2507 <action function="page">checkbackuppassword</action>
2508 </input>
2509
2510 <fill color="%accent_color%">
2511 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2512 </fill>
2513
2514 <button style="main_button_half_height">
2515 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002516 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002517 <actions>
2518 <action function="set">tw_encrypt_backup=0</action>
2519 <action function="set">tw_backup_password=</action>
2520 <action function="set">tw_backup_password2=</action>
2521 <action function="set">tw_backup_encrypt_display=</action>
2522 <action function="set">tw_backup_encrypt_display2=</action>
2523 <action function="page">%tw_back%</action>
2524 </actions>
2525 </button>
2526
2527 <template name="keyboardtemplate"/>
2528
2529 <action>
2530 <touch key="home"/>
2531 <action function="page">main</action>
2532 </action>
2533
2534 <action>
2535 <touch key="back"/>
2536 <action function="page">%tw_back%</action>
2537 </action>
2538 </page>
2539
2540 <page name="checkbackuppassword">
2541 <action>
2542 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2543 <actions>
2544 <action function="set">tw_encrypt_backup=1</action>
2545 <action function="page">%tw_back%</action>
2546 </actions>
2547 </action>
2548
2549 <action>
2550 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2551 <actions>
2552 <action function="set">tw_encrypt_backup=0</action>
2553 <action function="set">tw_password_not_match=1</action>
2554 <action function="set">tw_backup_password=</action>
2555 <action function="set">tw_backup_password2=</action>
2556 <action function="set">tw_backup_encrypt_display=</action>
2557 <action function="set">tw_backup_encrypt_display2=</action>
2558 <action function="page">backupencryption</action>
2559 </actions>
2560 </action>
2561 </page>
2562
2563 <page name="backup_run">
2564 <template name="page"/>
2565
2566 <template name="statusbar"/>
2567
2568 <text style="text_m">
2569 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2570 <text>%tw_operation% %tw_partition%</text>
2571 </text>
2572
2573 <template name="console"/>
2574
2575 <template name="progress_bar"/>
2576
2577 <text style="text_m">
2578 <placement x="%indent%" y="%row13a_y%"/>
2579 <text>%tw_file_progress%</text>
2580 </text>
2581
2582 <text style="text_m">
2583 <placement x="%indent%" y="%row14a_y%"/>
2584 <text>%tw_size_progress%</text>
2585 </text>
2586
2587 <button style="main_button_half_height">
2588 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 <action function="cancelbackup"/>
2591 </button>
2592
2593 <action>
2594 <action function="nandroid">backup</action>
2595 </action>
2596
2597 <action>
2598 <condition var1="tw_operation_state" var2="1"/>
2599 <condition var1="tw_cancel_backup" var2="0"/>
2600 <actions>
2601 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002602 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002603 <action function="set">tw_show_reboot=1</action>
2604 <action function="page">action_complete</action>
2605 </actions>
2606 </action>
2607
2608 <action>
2609 <condition var1="tw_operation_state" var2="1"/>
2610 <condition var1="tw_cancel_backup" var2="1"/>
2611 <actions>
2612 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002614 <action function="set">tw_show_reboot=1</action>
2615 <action function="page">action_complete</action>
2616 </actions>
2617 </action>
2618 </page>
2619
2620 <page name="restore">
2621 <template name="page"/>
2622
Noah Jacobson81d638d2019-04-28 00:10:07 -04002623 <action>
2624 <conditions>
2625 <condition var1="tw_is_fbe" var2="1"/>
2626 <condition var1="tw_all_users_decrypted" var2="0"/>
2627 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2628 </conditions>
2629 <actions>
2630 <action function="set">tw_multiuser_warning_destination=restore</action>
2631 <action function="page">multiuser_warning</action>
2632 </actions>
2633 </action>
2634
z31s1g28f0a922015-11-07 18:50:22 +01002635 <template name="statusbar"/>
2636
2637 <text style="text_m">
2638 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 </text>
2641
2642 <fileselector>
2643 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2644 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002645 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002646 <path name="tw_backups_folder"/>
2647 <data name="tw_restore" default=""/>
2648 <selection name="tw_restore_name"/>
2649 </fileselector>
2650
2651 <button>
2652 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2653 <highlight color="%highlight_color%"/>
2654 <image resource="q_btn_storage"/>
2655 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002656 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002657 <action function="set">tw_back=restore</action>
2658 <action function="page">select_storage</action>
2659 </actions>
2660 </button>
2661
2662 <action>
2663 <condition var1="tw_restore" op="modified"/>
2664 <actions>
2665 <action function="readBackup"/>
2666 <action function="set">tw_back=restore</action>
2667 <action function="page">restore_read</action>
2668 </actions>
2669 </action>
2670
2671 <action>
2672 <touch key="home"/>
2673 <action function="page">main</action>
2674 </action>
2675
2676 <action>
2677 <touch key="back"/>
2678 <action function="page">main</action>
2679 </action>
2680 </page>
2681
2682 <page name="restore_read">
2683 <action>
2684 <condition var1="tw_restore_encrypted" var2="1"/>
2685 <actions>
2686 <action function="set">tw_password_fail=0</action>
2687 <action function="page">restore_decrypt</action>
2688 </actions>
2689 </action>
2690
2691 <action>
2692 <condition var1="tw_restore_encrypted" var2="0"/>
2693 <actions>
2694 <action function="page">restore_select</action>
2695 </actions>
2696 </action>
2697 </page>
2698
2699 <page name="restore_decrypt">
2700 <template name="page"/>
2701
2702 <template name="statusbar"/>
2703
2704 <text style="text_m">
2705 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002706 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </text>
2708
2709 <text style="text_m_accent">
2710 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002711 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002712 </text>
2713
2714 <input>
2715 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2716 <text>%tw_restore_display%</text>
2717 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2718 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2719 <action function="page">try_restore_decrypt</action>
2720 </input>
2721
2722 <fill color="%accent_color%">
2723 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2724 </fill>
2725
2726 <fill color="%text_fail_color%">
2727 <condition var1="tw_password_fail" var2="1"/>
2728 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2729 </fill>
2730
2731 <text style="text_m_fail">
2732 <condition var1="tw_password_fail" var2="1"/>
2733 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002735 </text>
2736
2737 <button style="main_button_half_height">
2738 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002739 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002740 <actions>
2741 <action function="set">tw_page_done=1</action>
2742 <action function="page">restore</action>
2743 </actions>
2744 </button>
2745
2746 <button style="main_button_half_height">
2747 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002748 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002749 <actions>
2750 <action function="set">tw_back=restore</action>
2751 <action function="set">tw_action=cmd</action>
2752 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002753 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2754 <action function="set">tw_text2=%tw_restore_name%</action>
2755 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2756 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2757 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2758 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002759 <action function="page">confirm_action</action>
2760 </actions>
2761 </button>
2762
2763 <template name="keyboardtemplate"/>
2764
2765 <action>
2766 <touch key="home"/>
2767 <action function="page">main</action>
2768 </action>
2769
2770 <action>
2771 <touch key="back"/>
2772 <action function="page">restore</action>
2773 </action>
2774 </page>
2775
2776 <page name="try_restore_decrypt">
2777 <template name="page"/>
2778
2779 <template name="statusbar"/>
2780
2781 <text style="text_m">
2782 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002783 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002784 </text>
2785
2786 <template name="console"/>
2787
2788 <template name="progress_bar"/>
2789
2790 <action>
2791 <action function="decrypt_backup"/>
2792 </action>
2793
2794 <action>
2795 <conditions>
2796 <condition var1="tw_operation_state" var2="1"/>
2797 <condition var1="tw_operation_status" op="!=" var2="0"/>
2798 </conditions>
2799 <actions>
2800 <action function="set">tw_password_fail=1</action>
2801 <action function="page">restore_decrypt</action>
2802 </actions>
2803 </action>
2804
2805 <action>
2806 <conditions>
2807 <condition var1="tw_operation_state" var2="1"/>
2808 <condition var1="tw_operation_status" op="=" var2="0"/>
2809 </conditions>
2810 <actions>
2811 <action function="set">tw_page_done=1</action>
2812 <action function="page">restore_select</action>
2813 </actions>
2814 </action>
2815 </page>
2816
2817 <page name="restore_select">
2818 <template name="page"/>
2819
2820 <template name="statusbar"/>
2821
2822 <text style="text_m">
2823 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002824 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002825 </text>
2826
2827 <partitionlist style="partitionlist_headerless_cb">
2828 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2829 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2830 <listtype name="restore"/>
2831 </partitionlist>
2832
2833 <fill color="%accent_color%">
2834 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2835 </fill>
2836
2837 <button>
2838 <placement x="%col1_x_left%" y="%row11_y%"/>
2839 <highlight color="%highlight_color%"/>
2840 <image resource="q_btn_arrow_left"/>
2841 <action function="page">restore</action>
2842 </button>
2843
2844 <button>
2845 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2846 <highlight color="%highlight_color%"/>
2847 <image resource="q_btn_delete"/>
2848 <actions>
2849 <action function="set">tw_back=restore</action>
2850 <action function="set">tw_action=cmd</action>
2851 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002852 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002853 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002854 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2855 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2856 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2857 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002858 <action function="page">confirm_action</action>
2859 </actions>
2860 </button>
2861
2862 <button>
2863 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2864 <highlight color="%highlight_color%"/>
2865 <image resource="q_btn_accept"/>
2866 <action function="page">restore_confirm</action>
2867 </button>
2868
2869 <button>
2870 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2871 <highlight color="%highlight_color%"/>
2872 <image resource="q_btn_arrow_right"/>
2873 <actions>
2874 <action function="set">tw_back=restore_select</action>
2875 <action function="page">restore_options</action>
2876 </actions>
2877 </button>
2878
2879 <action>
2880 <touch key="home"/>
2881 <action function="page">main</action>
2882 </action>
2883
2884 <action>
2885 <touch key="back"/>
2886 <action function="page">%tw_back%</action>
2887 </action>
2888 </page>
2889
2890 <page name="restore_options">
2891 <template name="page"/>
2892
2893 <template name="statusbar"/>
2894
2895 <text style="text_m">
2896 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002897 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002898 </text>
2899
2900 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002901 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002902 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002903 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2904 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002905 </listitem>
2906 </listbox>
2907
2908 <button>
2909 <placement x="%col1_x_left%" y="%row11_y%"/>
2910 <highlight color="%highlight_color%"/>
2911 <image resource="q_btn_arrow_left"/>
2912 <action function="page">restore_select</action>
2913 </button>
2914
2915 <button>
2916 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2917 <highlight color="%highlight_color%"/>
2918 <image resource="q_btn_accept_transp"/>
2919 <actions>
2920 <action function="set">tw_back=restore_options</action>
2921 <action function="page">restore_confirm</action>
2922 </actions>
2923 </button>
2924
2925 <action>
2926 <touch key="home"/>
2927 <action function="page">main</action>
2928 </action>
2929
2930 <action>
2931 <touch key="back"/>
2932 <action function="page">%tw_back%</action>
2933 </action>
2934
2935 <action>
2936 <touch key="power+voldown"/>
2937 <action function="screenshot"/>
2938 </action>
2939 </page>
2940
2941 <page name="renamebackup">
2942 <template name="page"/>
2943
2944 <template name="statusbar"/>
2945
2946 <text style="text_m">
2947 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 </text>
2950
2951 <text style="text_m_accent">
2952 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 </text>
2955
2956 <input>
2957 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2958 <text>%tw_backup_rename%</text>
2959 <data name="tw_backup_rename"/>
2960 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2961 <actions>
2962 <action function="set">tw_back=restore</action>
2963 <action function="set">tw_action=cmd</action>
2964 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2966 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2967 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2968 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2969 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002970 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2971 <action function="set">tw_existpage=renamebackup</action>
2972 <action function="set">tw_notexistpage=confirm_action</action>
2973 <action function="page">filecheck</action>
2974 </actions>
2975 </input>
2976
2977 <fill color="%accent_color%">
2978 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2979 </fill>
2980
2981 <fill color="%text_fail_color%">
2982 <condition var1="tw_fileexists" var2="1"/>
2983 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2984 </fill>
2985
2986 <text style="text_m_fail">
2987 <condition var1="tw_fileexists" var2="1"/>
2988 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002989 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </text>
2991
2992 <button style="main_button_half_height">
2993 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002994 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002995 <action function="page">restore_confirm</action>
2996 </button>
2997
2998 <template name="keyboardtemplate"/>
2999
3000 <action>
3001 <touch key="home"/>
3002 <action function="page">main</action>
3003 </action>
3004
3005 <action>
3006 <touch key="back"/>
3007 <action function="page">restore_confirm</action>
3008 </action>
3009 </page>
3010
3011 <page name="restore_confirm">
3012 <template name="page"/>
3013
3014 <template name="statusbar"/>
3015
3016 <text style="text_m">
3017 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003019 </text>
3020
3021 <text style="text_m_accent">
3022 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003024 </text>
3025
3026 <text style="text_m">
3027 <placement x="%indent%" y="%row2_y%"/>
3028 <text>%tw_restore_name%</text>
3029 </text>
3030
3031 <fill color="%accent_color%">
3032 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
3033 </fill>
3034
3035 <button>
3036 <fill color="%transparent%"/>
3037 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
3038 <actions>
3039 <action function="set">tw_back=restore_confirm</action>
3040 <action function="set">tw_backup_rename=%tw_restore_name%</action>
3041 <action function="set">tw_fileexists=0</action>
3042 <action function="page">renamebackup</action>
3043 </actions>
3044 </button>
3045
3046 <text style="text_m_accent">
3047 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003049 </text>
3050
3051 <partitionlist style="partitionlist_summary">
3052 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3053 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3054 <listtype name="restore"/>
3055 </partitionlist>
3056
3057 <button>
3058 <fill color="%transparent%"/>
3059 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3060 <actions>
3061 <action function="set">tw_back=restore_confirm</action>
3062 <action function="page">restore_select</action>
3063 </actions>
3064 </button>
3065
3066 <listbox style="listbox_options">
3067 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003068 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3069 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003070 </listitem>
3071 </listbox>
3072
3073 <text style="text_m_accent">
3074 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 </text>
3077
3078 <button>
3079 <fill color="%transparent%"/>
3080 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3081 <actions>
3082 <action function="set">tw_back=restore_confirm</action>
3083 <action function="page">restore_options</action>
3084 </actions>
3085 </button>
3086
3087 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003088 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003089 <action function="page">restore_run</action>
3090 </slider>
3091
3092 <action>
3093 <touch key="home"/>
3094 <action function="page">main</action>
3095 </action>
3096
3097 <action>
3098 <touch key="back"/>
3099 <action function="page">restore_options</action>
3100 </action>
3101 </page>
3102
3103 <page name="restore_run">
3104 <template name="page"/>
3105
3106 <template name="statusbar"/>
3107
3108 <text style="text_m">
3109 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3110 <text>%tw_operation% %tw_partition%</text>
3111 </text>
3112
3113 <template name="console"/>
3114
3115 <template name="progress_bar"/>
3116
3117 <text style="text_m">
3118 <placement x="%indent%" y="%row14a_y%"/>
3119 <text>%tw_size_progress%</text>
3120 </text>
3121
3122 <action>
3123 <condition var1="tw_operation_state" var2="1"/>
3124 <actions>
3125 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003126 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003127 <action function="set">tw_show_reboot=1</action>
3128 <action function="page">action_complete</action>
3129 </actions>
3130 </action>
3131
3132 <action>
3133 <action function="nandroid">restore</action>
3134 </action>
3135 </page>
3136
3137 <page name="mount">
3138 <template name="page"/>
3139
3140 <template name="statusbar"/>
3141
3142 <text style="text_m">
3143 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003145 </text>
3146
3147 <partitionlist style="partitionlist_headerless_cb">
3148 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3149 <listtype name="mount"/>
3150 </partitionlist>
3151
3152 <fill color="%accent_color%">
3153 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3154 </fill>
3155
3156 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003157 <conditions>
3158 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3159 <condition var1="tw_is_super" op="=" var2="0"/>
3160 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003162 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003163 <image resource="checkbox_false"/>
3164 <action function="mountsystemtoggle">1</action>
3165 </button>
3166
3167 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04003168 <conditions>
3169 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3170 <condition var1="tw_is_super" op="=" var2="0"/>
3171 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01003172 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003173 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003174 <image resource="checkbox_true"/>
3175 <actions>
3176 <action function="set">tw_lifetime_writes=2</action>
3177 <action function="page">system_readonly_check</action>
3178 </actions>
3179 </button>
3180
3181 <button style="checkbox">
3182 <conditions>
3183 <condition var1="tw_has_mtp" var2="1"/>
3184 <condition var1="tw_mtp_enabled" var2="0"/>
3185 </conditions>
3186 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3187 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="startmtp"/>
3190 </button>
3191
3192 <button style="checkbox">
3193 <conditions>
3194 <condition var1="tw_has_mtp" var2="1"/>
3195 <condition var1="tw_mtp_enabled" var2="1"/>
3196 </conditions>
3197 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3198 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="stopmtp"/>
3201 </button>
3202
3203 <button>
3204 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3205 <highlight color="%highlight_color%"/>
3206 <image resource="q_btn_storage"/>
3207 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003208 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003209 <action function="set">tw_back=mount</action>
3210 <action function="page">select_storage</action>
3211 </actions>
3212 </button>
3213
3214 <button>
3215 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3216 <highlight color="%highlight_color%"/>
3217 <image resource="q_btn_arrow_right"/>
3218 <action function="page">mount_options</action>
3219 </button>
3220
3221 <action>
3222 <touch key="home"/>
3223 <action function="page">main</action>
3224 </action>
3225
3226 <action>
3227 <touch key="back"/>
3228 <action function="page">main</action>
3229 </action>
3230 </page>
3231
3232 <page name="mount_options">
3233 <template name="page"/>
3234
3235 <template name="statusbar"/>
3236
3237 <text style="text_m">
3238 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003239 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003240 </text>
3241
3242 <button style="main_button_full_width">
3243 <condition var1="tw_has_usb_storage" var2="1"/>
3244 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <action function="page">usb_mount</action>
3247 </button>
3248
3249 <button style="main_button_full_width">
3250 <conditions>
3251 <condition var1="tw_is_encrypted" var2="1"/>
3252 <condition var1="tw_is_decrypted" var2="0"/>
3253 </conditions>
3254 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003256 <action function="set">tw_crypto_user_id=0</action>
3257 <action function="set">tw_crypto_password=</action>
3258 <action function="set">tw_password_fail=0</action>
3259 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01003260 <action function="page">decrypt</action>
3261 </button>
3262
3263 <button>
3264 <placement x="%col1_x_left%" y="%row11_y%"/>
3265 <highlight color="%highlight_color%"/>
3266 <image resource="q_btn_arrow_left"/>
3267 <action function="page">mount</action>
3268 </button>
3269
3270 <action>
3271 <touch key="home"/>
3272 <action function="page">main</action>
3273 </action>
3274
3275 <action>
3276 <touch key="back"/>
3277 <action function="page">mount</action>
3278 </action>
3279 </page>
3280
3281 <page name="usb_mount">
3282 <template name="page"/>
3283
3284 <template name="statusbar"/>
3285
3286 <text style="text_m">
3287 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003288 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 </text>
3290
3291 <text style="text_m_accent">
3292 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m_fail">
3297 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <text style="text_m_fail">
3302 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 </text>
3305
3306 <button style="main_button">
3307 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 <action function="page">usb_umount</action>
3310 </button>
3311
3312 <action>
3313 <action function="mount">usb</action>
3314 <action function="set">tw_busy=1</action>
3315 </action>
3316 </page>
3317
3318 <page name="usb_umount">
3319 <action>
3320 <action function="unmount">usb</action>
3321 </action>
3322
3323 <action>
3324 <action function="page">mount_options</action>
3325 <action function="set">tw_busy=0</action>
3326 </action>
3327 </page>
3328
3329 <page name="system_readonly_check">
3330 <action>
3331 <action function="checkpartitionlifetimewrites">/system</action>
3332 </action>
3333
3334 <action>
3335 <condition var1="tw_lifetime_writes" var2="1"/>
3336 <actions>
3337 <action function="mountsystemtoggle">0</action>
3338 <action function="page">mount</action>
3339 </actions>
3340 </action>
3341
3342 <action>
3343 <condition var1="tw_lifetime_writes" var2="0"/>
3344 <actions>
3345 <action function="set">tw_back=mount</action>
3346 <action function="page">system_readonly</action>
3347 </actions>
3348 </action>
3349 </page>
3350
3351 <page name="reboot">
Ethan Yonker70e0a392020-12-17 14:51:50 -06003352 <action>
3353 <action function="checkforapp"></action>
3354 <action function="page">reboot2</action>
3355 </action>
3356 </page>
3357
3358 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01003359 <template name="page"/>
3360
3361 <template name="statusbar"/>
3362
3363 <text style="text_m">
3364 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003365 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003366 </text>
3367
3368 <button style="main_button">
3369 <condition var1="tw_reboot_system" var2="1"/>
3370 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003371 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003372 <actions>
3373 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003374 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003375 </actions>
3376 </button>
3377
3378 <button style="main_button">
3379 <condition var1="tw_reboot_poweroff" var2="1"/>
3380 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003382 <actions>
3383 <action function="set">tw_back=reboot</action>
3384 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003385 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003386 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3389 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3390 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3391 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3392 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="page">rebootcheck</action>
3394 </actions>
3395 </button>
3396
3397 <button style="main_button">
3398 <condition var1="tw_reboot_recovery" var2="1"/>
3399 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003401 <actions>
3402 <action function="set">tw_back=reboot</action>
3403 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003404 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003405 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003406 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3408 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3409 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3410 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3411 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003412 <action function="page">rebootcheck</action>
3413 </actions>
3414 </button>
3415
3416 <button style="main_button">
3417 <condition var1="tw_reboot_bootloader" var2="1"/>
3418 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003420 <actions>
3421 <action function="set">tw_back=reboot</action>
3422 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003423 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003424 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003426 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3427 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3428 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3429 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3430 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003431 <action function="page">rebootcheck</action>
3432 </actions>
3433 </button>
3434
3435 <button style="main_button">
3436 <condition var1="tw_download_mode" var2="1"/>
3437 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003439 <actions>
3440 <action function="set">tw_back=reboot</action>
3441 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003442 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003443 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003444 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3446 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3447 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3448 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3449 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003450 <action function="page">rebootcheck</action>
3451 </actions>
3452 </button>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003453
mauronofrioe9a49ef2018-10-03 13:38:16 +02003454 <button style="main_button">
3455 <condition var1="tw_edl_mode" var2="1"/>
3456 <placement x="%col1_x_right%" y="%row11_y%"/>
3457 <text>{@rb_edl_btn=Edl}</text>
3458 <actions>
3459 <action function="set">tw_back=reboot</action>
3460 <action function="set">tw_action=reboot</action>
3461 <action function="set">tw_action_param=edl</action>
3462 <action function="set">tw_reboot_param=edl</action>
3463 <action function="set">tw_has_action2=0</action>
3464 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3465 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3466 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3467 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3468 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3469 <action function="page">rebootcheck</action>
3470 </actions>
3471 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003472
3473 <action>
3474 <touch key="home"/>
3475 <action function="page">main</action>
3476 </action>
3477
3478 <action>
3479 <touch key="back"/>
3480 <action function="page">main</action>
3481 </action>
3482 </page>
3483
Ethan Yonker70e0a392020-12-17 14:51:50 -06003484 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003485 <template name="page"/>
3486
3487 <template name="statusbar"/>
3488
3489 <text style="text_m">
3490 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003491 <text>%tw_appinstall_title% &gt; {@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003492 </text>
3493
3494 <text style="text_m_accent">
3495 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3496 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3497 </text>
3498
3499 <text style="text_m">
3500 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3501 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3502 </text>
3503
3504 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003505 <condition var1="tw_mount_system_ro" var2="0"/>
3506 <placement x="%indent%" y="%row5_y%"/>
3507 <text>{@reboot_install_app_system=Install as a System App}</text>
3508 <data variable="tw_app_install_system"/>
3509 </checkbox>
3510
3511 <button style="main_button_half_height">
3512 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003513 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003514 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003515 </button>
3516
Ethan Yonker70e0a392020-12-17 14:51:50 -06003517 <slider>
3518 <text>{@swipe_confirm= Confirm}</text>
3519 <actions>
3520 <action function="set">tw_action=installapp</action>
3521 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3522 <action function="set">tw_action_text2=</action>
3523 <action function="set">tw_complete_text1={@successful=Successful}</action>
3524 <action function="page">action_page</action>
3525 </actions>
3526 </slider>
3527
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003528 <action>
3529 <touch key="home"/>
3530 <actions>
3531 <action function="set">tw_app_install_status=0</action>
3532 <action function="page">main</action>
3533 </actions>
3534 </action>
3535
3536 <action>
3537 <touch key="back"/>
3538 <actions>
3539 <action function="set">tw_app_install_status=0</action>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003540 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003541 </actions>
3542 </action>
3543 </page>
3544
z31s1g28f0a922015-11-07 18:50:22 +01003545 <page name="system_readonly">
3546 <template name="page"/>
3547
3548 <template name="statusbar"/>
3549
3550 <text style="text_m">
3551 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003552 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003553 </text>
3554
3555 <text style="text_m_accent">
3556 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 </text>
3559
3560 <text style="text_m">
3561 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003562 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003563 </text>
3564
3565 <text style="text_m">
3566 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 </text>
3569
3570 <text style="text_m">
3571 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 </text>
3574
3575 <text style="text_m">
3576 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </text>
3579
3580 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003581 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003583 </text>
3584
3585 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003586 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003587 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003588 </text>
3589
z31s1g608d7ff2016-01-18 19:47:25 +01003590 <button style="main_button_half_height">
3591 <placement x="%col1_x_right%" y="%row8a_y%"/>
3592 <text>{@sel_lang_btn=Select Language}</text>
3593 <action function="page">settings_language</action>
3594 </button>
3595
z31s1g28f0a922015-11-07 18:50:22 +01003596 <checkbox>
3597 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003598 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003599 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003600 <data variable="tw_never_show_system_ro_page"/>
3601 </checkbox>
3602
3603 <button style="main_button_half_height">
3604 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 <actions>
3607 <action function="mountsystemtoggle">1</action>
3608 <action function="set">tw_page_done=1</action>
3609 <action function="page">%tw_back%</action>
3610 </actions>
3611 </button>
3612
3613 <button style="main_button_half_height">
3614 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003615 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003616 <actions>
3617 <action function="mountsystemtoggle">0</action>
3618 <action function="set">tw_page_done=1</action>
3619 <action function="page">%tw_back%</action>
3620 </actions>
3621 </button>
3622 </page>
3623
3624 <page name="settings">
3625 <template name="page"/>
3626
3627 <template name="statusbar"/>
3628
3629 <text style="text_m">
3630 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003631 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003632 </text>
3633
3634 <button style="main_button">
3635 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003637 <action function="page">settings_general</action>
3638 </button>
3639
3640 <button style="main_button">
3641 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003642 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003643 <action function="page">settings_timezone</action>
3644 </button>
3645
3646 <button style="main_button">
3647 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003648 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003649 <action function="page">settings_screen</action>
3650 </button>
3651
3652 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003653 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003654 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 <action function="page">settings_vibration</action>
3657 </button>
3658
3659 <button style="main_button">
3660 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003661 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003662 <action function="page">settings_language</action>
3663 </button>
3664
3665 <button>
3666 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3667 <highlight color="%highlight_color%"/>
3668 <image resource="q_btn_reset"/>
3669 <action function="restoredefaultsettings"/>
3670 </button>
3671
3672 <action>
3673 <touch key="home"/>
3674 <action function="page">main</action>
3675 </action>
3676
3677 <action>
3678 <touch key="back"/>
3679 <action function="page">main3</action>
3680 </action>
3681 </page>
3682
3683 <page name="settings_general">
3684 <template name="page"/>
3685
3686 <template name="statusbar"/>
3687
3688 <text style="text_m">
3689 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003691 </text>
3692
3693 <listbox style="scrolllist">
3694 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003695 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003696 <data variable="tw_signed_zip_verify"/>
3697 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003698 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3699 <data variable="tw_install_reboot"/>
3700 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003702 <data variable="tw_rm_rf"/>
3703 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003704 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3705 <data variable="tw_disable_free_space"/>
3706 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003707 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3708 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003710 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3711 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003712 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003714 <data variable="tw_military_time"/>
3715 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003717 <data variable="tw_simulate_actions"/>
3718 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003720 <data variable="tw_simulate_fail"/>
3721 <condition var1="tw_simulate_actions" var2="1"/>
3722 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003723 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3724 <condition var1="tw_no_sha2" var2="0"/>
3725 <data variable="tw_use_sha2"/>
3726 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003727 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3728 <data variable="tw_unmount_system"/>
3729 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003730 </listbox>
3731
3732 <action>
3733 <touch key="home"/>
3734 <action function="page">main</action>
3735 </action>
3736
3737 <action>
3738 <touch key="back"/>
3739 <action function="page">settings</action>
3740 </action>
3741 </page>
3742
3743 <page name="settings_timezone">
3744 <template name="page"/>
3745
3746 <template name="statusbar"/>
3747
3748 <text style="text_m">
3749 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 </text>
3752
3753 <text color="%text_color%">
3754 <font resource="font_m"/>
3755 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3756 <text>%tw_time%</text>
3757 </text>
3758
3759 <listbox style="listbox_headerless">
3760 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3761 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3763 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3764 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3765 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3766 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3767 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3768 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3769 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3770 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3771 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3772 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3773 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3774 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3775 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3776 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3777 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3778 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3779 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3780 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3781 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3782 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3783 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3784 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3785 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </listbox>
3787
3788 <button>
3789 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3790 <highlight color="%highlight_color%"/>
3791 <image resource="q_btn_arrow_right"/>
3792 <actions>
3793 <action function="setguitimezone"/>
3794 <action function="page">settings_timezone2</action>
3795 </actions>
3796 </button>
3797
3798 <action>
3799 <condition var1="tw_time_zone_guisel" op="modified"/>
3800 <action function="setguitimezone"/>
3801 </action>
3802
3803 <action>
3804 <touch key="home"/>
3805 <actions>
3806 <action function="page">main</action>
3807 <action function="setguitimezone"/>
3808 </actions>
3809 </action>
3810
3811 <action>
3812 <touch key="back"/>
3813 <actions>
3814 <action function="page">settings</action>
3815 <action function="setguitimezone"/>
3816 </actions>
3817 </action>
3818
3819 <action>
3820 <touch key="power+voldown"/>
3821 <action function="screenshot"/>
3822 </action>
3823 </page>
3824
3825 <page name="settings_timezone2">
3826 <template name="page"/>
3827
3828 <template name="statusbar"/>
3829
3830 <text style="text_m">
3831 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003832 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003833 </text>
3834
3835 <text color="%text_color%">
3836 <font resource="font_m"/>
3837 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3838 <text>%tw_time%</text>
3839 </text>
3840
3841 <checkbox>
3842 <placement x="%col1_x_left%" y="%row1_y%"/>
3843 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 <data variable="tw_time_zone_guidst"/>
3846 <image checked="checkbox_true" unchecked="checkbox_false"/>
3847 </checkbox>
3848
3849 <text style="text_m_accent">
3850 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003852 </text>
3853
3854 <button style="main_button_quarter_width">
3855 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003857 <actions>
3858 <action function="set">tw_time_zone_guioffset=0</action>
3859 <action function="setguitimezone"/>
3860 </actions>
3861 </button>
3862
3863 <button style="main_button_quarter_width">
3864 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 <actions>
3867 <action function="set">tw_time_zone_guioffset=15</action>
3868 <action function="setguitimezone"/>
3869 </actions>
3870 </button>
3871
3872 <button style="main_button_quarter_width">
3873 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003875 <actions>
3876 <action function="set">tw_time_zone_guioffset=30</action>
3877 <action function="setguitimezone"/>
3878 </actions>
3879 </button>
3880
3881 <button style="main_button_quarter_width">
3882 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 <actions>
3885 <action function="set">tw_time_zone_guioffset=45</action>
3886 <action function="setguitimezone"/>
3887 </actions>
3888 </button>
3889
3890 <button>
3891 <placement x="%col1_x_left%" y="%row11_y%"/>
3892 <highlight color="%highlight_color%"/>
3893 <image resource="q_btn_arrow_left"/>
3894 <actions>
3895 <action function="setguitimezone"/>
3896 <action function="page">settings_timezone</action>
3897 </actions>
3898 </button>
3899
3900 <text style="text_m_accent">
3901 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3907 <text>%tw_time_zone%</text>
3908 </text>
3909
3910 <action>
3911 <condition var1="tw_time_zone_guidst" op="modified"/>
3912 <action function="setguitimezone"/>
3913 </action>
3914
3915 <action>
3916 <touch key="home"/>
3917 <actions>
3918 <action function="setguitimezone"/>
3919 <action function="page">main</action>
3920 </actions>
3921 </action>
3922
3923 <action>
3924 <touch key="back"/>
3925 <actions>
3926 <action function="setguitimezone"/>
3927 <action function="page">settings_timezone</action>
3928 </actions>
3929 </action>
3930 </page>
3931
3932 <page name="settings_screen">
3933 <template name="page"/>
3934
3935 <template name="statusbar"/>
3936
3937 <text style="text_m">
3938 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <button style="checkbox">
3943 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3944 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3945 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003946 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003947 <image resource="checkbox_false"/>
3948 <action function="set">tw_screen_timeout_secs=60</action>
3949 </button>
3950
3951 <button style="checkbox">
3952 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3953 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3954 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <image resource="checkbox_true"/>
3957 <action function="set">tw_screen_timeout_secs=0</action>
3958 </button>
3959
3960 <slidervalue>
3961 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3962 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3965 </slidervalue>
3966
3967 <text style="text_m_fail">
3968 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3969 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003970 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </text>
3972
3973 <button>
3974 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3975 <highlight color="%highlight_color%"/>
3976 <image resource="q_btn_arrow_right"/>
3977 <action function="page">settings_screen2</action>
3978 </button>
3979
3980 <action>
3981 <touch key="home"/>
3982 <action function="page">main</action>
3983 </action>
3984
3985 <action>
3986 <touch key="back"/>
3987 <action function="page">settings</action>
3988 </action>
3989 </page>
3990
3991 <page name="settings_screen2">
3992 <template name="page"/>
3993
3994 <template name="statusbar"/>
3995
3996 <text style="text_m">
3997 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003998 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003999 </text>
4000
4001 <slidervalue>
4002 <condition var1="tw_has_brightnesss_file" var2="1"/>
4003 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004005 <data variable="tw_brightness_pct" min="10" max="100"/>
4006 <actions>
4007 <action function="set">tw_brightness=%tw_brightness_max%</action>
4008 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
4009 <action function="compute">tw_brightness/100</action>
4010 <action function="setbrightness">%tw_brightness%</action>
4011 </actions>
4012 </slidervalue>
4013
4014 <text style="text_m_fail">
4015 <condition var1="tw_has_brightnesss_file" var2="0"/>
4016 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004017 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004018 </text>
4019
4020 <button>
4021 <placement x="%col1_x_left%" y="%row11_y%"/>
4022 <highlight color="%highlight_color%"/>
4023 <image resource="q_btn_arrow_left"/>
4024 <action function="page">settings_screen</action>
4025 </button>
4026
4027 <action>
4028 <touch key="home"/>
4029 <action function="page">main</action>
4030 </action>
4031
4032 <action>
4033 <touch key="back"/>
4034 <action function="page">settings</action>
4035 </action>
4036 </page>
4037
4038 <page name="settings_vibration">
4039 <template name="page"/>
4040
4041 <template name="statusbar"/>
4042
4043 <text style="text_m">
4044 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004045 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </text>
4047
4048 <slidervalue>
4049 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004050 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004051 <data variable="tw_button_vibrate" min="0" max="300"/>
4052 </slidervalue>
4053
4054 <button>
4055 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4056 <highlight color="%highlight_color%"/>
4057 <image resource="q_btn_arrow_right"/>
4058 <action function="page">settings_vibration2</action>
4059 </button>
4060
4061 <action>
4062 <touch key="home"/>
4063 <action function="page">main</action>
4064 </action>
4065
4066 <action>
4067 <touch key="back"/>
4068 <action function="page">settings</action>
4069 </action>
4070 </page>
4071
4072 <page name="settings_vibration2">
4073 <template name="page"/>
4074
4075 <template name="statusbar"/>
4076
4077 <text style="text_m">
4078 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 </text>
4081
4082 <slidervalue>
4083 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4086 </slidervalue>
4087
4088 <button>
4089 <placement x="%col1_x_left%" y="%row11_y%"/>
4090 <highlight color="%highlight_color%"/>
4091 <image resource="q_btn_arrow_left"/>
4092 <action function="page">settings_vibration</action>
4093 </button>
4094
4095 <button>
4096 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4097 <highlight color="%highlight_color%"/>
4098 <image resource="q_btn_arrow_right"/>
4099 <action function="page">settings_vibration3</action>
4100 </button>
4101
4102 <action>
4103 <touch key="home"/>
4104 <action function="page">main</action>
4105 </action>
4106
4107 <action>
4108 <touch key="back"/>
4109 <action function="page">settings</action>
4110 </action>
4111 </page>
4112
4113 <page name="settings_vibration3">
4114 <template name="page"/>
4115
4116 <template name="statusbar"/>
4117
4118 <text style="text_m">
4119 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004121 </text>
4122
4123 <slidervalue>
4124 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004125 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004126 <data variable="tw_action_vibrate" min="0" max="500"/>
4127 </slidervalue>
4128
4129 <button>
4130 <placement x="%col1_x_left%" y="%row11_y%"/>
4131 <highlight color="%highlight_color%"/>
4132 <image resource="q_btn_arrow_left"/>
4133 <action function="page">settings_vibration2</action>
4134 </button>
4135
4136 <action>
4137 <touch key="home"/>
4138 <action function="page">main</action>
4139 </action>
4140
4141 <action>
4142 <touch key="back"/>
4143 <action function="page">settings</action>
4144 </action>
4145 </page>
4146
Ethan Yonker74db1572015-10-28 12:44:49 -05004147 <page name="settings_language">
4148 <template name="page"/>
4149
4150 <template name="statusbar"/>
4151
4152 <text style="text_m">
4153 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4154 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4155 </text>
4156
z31s1g608d7ff2016-01-18 19:47:25 +01004157 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4159 <icon selected="radio_true" unselected="radio_false" />
4160 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004161 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004162
4163 <button>
4164 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4165 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004166 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004167 <action function="setlanguage"></action>
4168 </button>
4169
z31s1g608d7ff2016-01-18 19:47:25 +01004170 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <touch key="home" />
4172 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004173 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004174
z31s1g608d7ff2016-01-18 19:47:25 +01004175 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004176 <touch key="back" />
4177 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004178 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 </page>
4180
z31s1g28f0a922015-11-07 18:50:22 +01004181 <page name="advanced">
4182 <template name="page"/>
4183
4184 <template name="statusbar"/>
4185
4186 <text style="text_m">
4187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004189 </text>
4190
4191 <button style="main_button">
4192 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004194 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004195 </button>
4196
4197 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004198 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004199 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004200 <text>{@fix_context_btn=Fix Contexts}</text>
4201 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004202 </button>
4203
Ethan Yonker64e0a652018-07-25 09:52:17 -05004204 <button>
4205 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4206 <highlight color="%highlight_color%"/>
4207 <image resource="q_btn_arrow_right"/>
4208 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </button>
4210
Ethan Yonker64e0a652018-07-25 09:52:17 -05004211 <action>
4212 <touch key="home"/>
4213 <action function="page">main</action>
4214 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004215
Ethan Yonker64e0a652018-07-25 09:52:17 -05004216 <action>
4217 <touch key="back"/>
4218 <action function="page">main3</action>
4219 </action>
4220 </page>
4221
4222 <page name="advanced2">
4223 <template name="page"/>
4224
4225 <template name="statusbar"/>
4226
4227 <text style="text_m">
4228 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4229 <text>{@advanced_hdr=Advanced}</text>
4230 </text>
4231
4232 <listbox style="advanced_listbox">
4233 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04004234 <listitem name="{@decrypt_users=Decrypt Users}">
4235 <conditions>
4236 <condition var1="tw_is_fbe" var2="1"/>
4237 <condition var1="tw_all_users_decrypted" var2="0"/>
4238 </conditions>
4239 <actions>
4240 <action function="set">tw_crypto_user_id=</action>
4241 <action function="page">decrypt_users</action>
4242 </actions>
4243 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004244 <listitem name="{@reload_theme_btn=Reload Theme}">
4245 <action function="reload"/>
4246 </listitem>
4247 <listitem name="{@part_sd_btn=Partition SD Card}">
4248 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4249 <actions>
4250 <action function="set">partitionlisterror=0</action>
4251 <action function="page">partsdcardsel</action>
4252 </actions>
4253 </listitem>
4254 <listitem name="{@dumlock_btn=HTC Dumlock}">
4255 <condition var1="tw_show_dumlock" var2="1"/>
4256 <action function="page">htcdumlock</action>
4257 </listitem>
4258 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4259 <condition var1="tw_has_injecttwrp" var2="1"/>
4260 <actions>
4261 <action function="set">tw_back=advanced</action>
4262 <action function="set">tw_action=reinjecttwrp</action>
4263 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4264 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4265 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4266 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4267 <action function="page">confirm_action</action>
4268 </actions>
4269 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004270 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4271 <conditions>
4272 <condition var1="tw_has_boot_slots" var2="1"/>
4273 <condition var1="tw_has_repack_tools" var2="1"/>
4274 </conditions>
4275 <actions>
4276 <action function="set">tw_repack_kernel=0</action>
4277 <action function="page">repackselect</action>
4278 </actions>
4279 </listitem>
4280 <listitem name="{@install_kernel=Install Kernel}">
4281 <conditions>
4282 <condition var1="tw_has_boot_slots" var2="1"/>
4283 <condition var1="tw_has_repack_tools" var2="1"/>
4284 </conditions>
4285 <actions>
4286 <action function="set">tw_repack_kernel=1</action>
4287 <action function="page">repackselect</action>
4288 </actions>
4289 </listitem>
4290 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4291 <conditions>
4292 <condition var1="tw_has_boot_slots" var2="1"/>
4293 <condition var1="tw_has_repack_tools" var2="1"/>
4294 </conditions>
4295 <actions>
4296 <action function="set">tw_back=advanced</action>
4297 <action function="set">tw_action=fixabrecoverybootloop</action>
4298 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4299 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4300 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4301 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4302 <action function="page">confirm_action</action>
4303 </actions>
4304 </listitem>
Ethan Yonker70e0a392020-12-17 14:51:50 -06004305 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
4306 <condition var1="tw_app_install_status" var2="1"/>
4307 <actions>
4308 <action function="set">tw_back=advanced2</action>
4309 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
4310 <action function="page">installapp</action>
4311 </actions>
4312 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004313 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4314 <condition var1="tw_app_installed_in_system" var2="1"/>
4315 <actions>
4316 <action function="set">tw_back=advanced</action>
4317 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4318 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4319 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4320 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4321 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4322 <action function="page">confirm_action</action>
4323 </actions>
4324 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004325 </listbox>
4326
4327 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004328 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004329 <highlight color="%highlight_color%"/>
4330 <image resource="q_btn_arrow_left"/>
4331 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004332 </button>
4333
4334 <action>
4335 <touch key="home"/>
4336 <action function="page">main</action>
4337 </action>
4338
4339 <action>
4340 <touch key="back"/>
4341 <action function="page">main3</action>
4342 </action>
4343 </page>
4344
Ethan Yonker483e9f42016-01-11 22:21:18 -06004345 <page name="partsdcardsel">
4346 <template name="page"/>
4347
4348 <template name="statusbar"/>
4349
4350 <text style="text_m">
4351 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4352 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4353 </text>
4354
4355 <partitionlist style="partitionlist_headerless_rb">
4356 <data name="tw_storage_path"/>
4357 <listtype name="storage"/>
4358 </partitionlist>
4359
4360 <text style="text_m_fail">
4361 <condition var1="partitionlisterror" var2="1"/>
4362 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4363 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4364 </text>
4365
4366 <button>
4367 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4368 <highlight color="%highlight_color%"/>
4369 <image resource="q_btn_refresh"/>
4370 <action function="refreshsizes"/>
4371 </button>
4372
4373 <button>
4374 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4375 <highlight color="%highlight_color%"/>
4376 <image resource="q_btn_accept"/>
4377 <actions>
4378 <action function="getpartitiondetails">tw_storage_path</action>
4379 <action function="page">partsdcardcheck</action>
4380 </actions>
4381 </button>
4382
4383 <action>
4384 <touch key="home"/>
4385 <action function="page">main</action>
4386 </action>
4387
4388 <action>
4389 <touch key="back"/>
4390 <action function="page">advanced</action>
4391 </action>
4392 </page>
4393
4394 <page name="partsdcardcheck">
4395 <action>
4396 <condition var1="tw_partition_removable" op="=" var2="1"/>
4397 <actions>
4398 <action function="set">partitionlisterror=0</action>
4399 <action function="page">partsdcard</action>
4400 </actions>
4401 </action>
4402
4403 <action>
4404 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4405 <actions>
4406 <action function="set">partitionlisterror=1</action>
4407 <action function="page">partsdcardsel</action>
4408 </actions>
4409 </action>
4410 </page>
4411
z31s1g28f0a922015-11-07 18:50:22 +01004412 <page name="partsdcard">
4413 <template name="page"/>
4414
4415 <template name="statusbar"/>
4416
4417 <text style="text_m">
4418 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004420 </text>
4421
4422 <text style="text_m_fail">
4423 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 </text>
4426
4427 <text style="text_m_fail">
4428 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m_accent">
4433 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m">
4438 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4439 <text>%tw_sdext_size%</text>
4440 </text>
4441
4442 <button style="main_button_quarter_width">
4443 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004445 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </button>
4447
4448 <button style="main_button_quarter_width">
4449 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004451 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </button>
4453
4454 <button>
4455 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4456 <highlight color="%highlight_color%"/>
4457 <image resource="q_btn_arrow_right"/>
4458 <action function="page">partsdcard2</action>
4459 </button>
4460
4461 <action>
4462 <touch key="home"/>
4463 <action function="page">main</action>
4464 </action>
4465
4466 <action>
4467 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004468 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004469 </action>
4470 </page>
4471
4472 <page name="partsdcard2">
4473 <template name="page"/>
4474
4475 <template name="statusbar"/>
4476
4477 <text style="text_m">
4478 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </text>
4481
4482 <text style="text_m_fail">
4483 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </text>
4486
4487 <text style="text_m_fail">
4488 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004489 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004490 </text>
4491
4492 <text style="text_m_accent">
4493 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004494 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </text>
4496
4497 <text style="text_m">
4498 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4499 <text>%tw_swap_size%</text>
4500 </text>
4501
4502 <button style="main_button_quarter_width">
4503 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004504 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004505 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </button>
4507
4508 <button style="main_button_quarter_width">
4509 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004510 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004511 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </button>
4513
4514 <button>
4515 <placement x="%col1_x_left%" y="%row11_y%"/>
4516 <highlight color="%highlight_color%"/>
4517 <image resource="q_btn_arrow_left"/>
4518 <action function="page">partsdcard</action>
4519 </button>
4520
4521 <button>
4522 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4523 <highlight color="%highlight_color%"/>
4524 <image resource="q_btn_arrow_right"/>
4525 <action function="page">partsdcard3</action>
4526 </button>
4527
4528 <action>
4529 <touch key="home"/>
4530 <action function="page">main</action>
4531 </action>
4532
4533 <action>
4534 <touch key="back"/>
4535 <action function="page">advanced</action>
4536 </action>
4537 </page>
4538
4539 <page name="partsdcard3">
4540 <template name="page"/>
4541
4542 <template name="statusbar"/>
4543
4544 <text style="text_m">
4545 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004546 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004547 </text>
4548
4549 <text style="text_m_fail">
4550 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 </text>
4553
4554 <text style="text_m_fail">
4555 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004556 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004557 </text>
4558
4559 <text style="text_m_accent">
4560 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004562 </text>
4563
4564 <text style="text_m">
4565 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4566 <text>%tw_sdpart_file_system%</text>
4567 </text>
4568
4569 <button style="main_button_quarter_width">
4570 <placement x="%indent%" y="%row6_y%"/>
4571 <text>EXT3</text>
4572 <action function="set">tw_sdpart_file_system=ext3</action>
4573 </button>
4574
4575 <button style="main_button_quarter_width">
4576 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4577 <text>EXT4</text>
4578 <action function="set">tw_sdpart_file_system=ext4</action>
4579 </button>
4580
4581 <button>
4582 <placement x="%col1_x_left%" y="%row11_y%"/>
4583 <highlight color="%highlight_color%"/>
4584 <image resource="q_btn_arrow_left"/>
4585 <action function="page">partsdcard2</action>
4586 </button>
4587
4588 <button>
4589 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4590 <highlight color="%highlight_color%"/>
4591 <image resource="q_btn_arrow_right"/>
4592 <action function="page">partsdcard_confirm</action>
4593 </button>
4594
4595 <action>
4596 <touch key="home"/>
4597 <action function="page">main</action>
4598 </action>
4599
4600 <action>
4601 <touch key="back"/>
4602 <action function="page">advanced</action>
4603 </action>
4604 </page>
4605
4606 <page name="partsdcard_confirm">
4607 <template name="page"/>
4608
4609 <template name="statusbar"/>
4610
4611 <text style="text_m">
4612 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004613 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004614 </text>
4615
4616 <text style="text_m_fail">
4617 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004618 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004619 </text>
4620
4621 <text style="text_m_fail">
4622 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <text style="text_m_accent">
4627 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004628 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004629 </text>
4630
4631 <text style="text_m_accent">
4632 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004633 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 </text>
4635
4636 <text style="text_m_accent">
4637 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004638 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004639 </text>
4640
4641 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004642 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004643 <action function="page">partsdcardaction</action>
4644 <actions>
4645 <action function="set">tw_back=partsdcard</action>
4646 <action function="set">tw_action=partitionsd</action>
4647 <action function="set">tw_has_action2=1</action>
4648 <action function="set">tw_action2=set</action>
4649 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4651 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4652 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004653 <action function="page">action_page</action>
4654 </actions>
4655 </slider>
4656
4657 <action>
4658 <touch key="home"/>
4659 <action function="page">main</action>
4660 </action>
4661
4662 <action>
4663 <touch key="back"/>
4664 <action function="page">advanced</action>
4665 </action>
4666 </page>
4667
4668 <page name="htcdumlock">
4669 <template name="page"/>
4670
4671 <template name="statusbar"/>
4672
4673 <text style="text_m">
4674 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 </text>
4677
4678 <button style="main_button_full_width">
4679 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004680 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004681 <actions>
4682 <action function="set">tw_back=htcdumlock</action>
4683 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004684 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4685 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4686 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4687 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004688 <action function="page">confirm_action</action>
4689 </actions>
4690 </button>
4691
4692 <button style="main_button_full_width">
4693 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004694 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004695 <actions>
4696 <action function="set">tw_back=htcdumlock</action>
4697 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004698 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4699 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4700 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4701 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004702 <action function="page">confirm_action</action>
4703 </actions>
4704 </button>
4705
4706 <button style="main_button_full_width">
4707 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004708 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004709 <actions>
4710 <action function="set">tw_back=htcdumlock</action>
4711 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004712 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4713 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4714 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4715 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004716 <action function="page">confirm_action</action>
4717 </actions>
4718 </button>
4719
4720 <action>
4721 <touch key="home"/>
4722 <action function="page">main</action>
4723 </action>
4724
4725 <action>
4726 <touch key="back"/>
4727 <action function="page">advanced</action>
4728 </action>
4729 </page>
4730
Ethan Yonker53796e72019-01-11 22:49:52 -06004731 <page name="repackselect">
4732 <template name="page"/>
4733
4734 <template name="statusbar"/>
4735
4736 <text style="text_m">
4737 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4738 <text>{@repack_image_hdr=Select Image}</text>
4739 </text>
4740
4741 <fileselector>
4742 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4743 <text>%tw_zip_location%</text>
4744 <filter extn=".img" folders="1" files="1"/>
4745 <path name="tw_zip_location" default="/sdcard"/>
4746 <data name="tw_filename"/>
4747 <selection name="tw_file"/>
4748 </fileselector>
4749
4750 <button>
4751 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4752 <highlight color="%highlight_color%"/>
4753 <image resource="q_btn_storage"/>
4754 <actions>
4755 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4756 <action function="set">tw_back=install</action>
4757 <action function="page">select_storage</action>
4758 </actions>
4759 </button>
4760
4761 <action>
4762 <conditions>
4763 <condition var1="tw_filename" op="modified"/>
4764 </conditions>
4765 <action function="page">repackconfirm</action>
4766 </action>
4767
4768 <action>
4769 <touch key="back"/>
4770 <action function="page">advanced</action>
4771 </action>
4772
4773 <action>
4774 <touch key="home"/>
4775 <action function="page">main</action>
4776 </action>
4777 </page>
4778
4779 <page name="repackconfirm">
4780 <template name="page"/>
4781
4782 <template name="statusbar"/>
4783
4784 <text style="text_m">
4785 <condition var1="tw_repack_kernel" var2="1"/>
4786 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4787 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4788 </text>
4789
4790 <text style="text_m">
4791 <condition var1="tw_repack_kernel" var2="0"/>
4792 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4793 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4794 </text>
4795
4796 <text style="text_m_accent">
4797 <placement x="%indent%" y="%row2_y%"/>
4798 <text>{@folder=Folder:}</text>
4799 </text>
4800
4801 <text style="text_m">
4802 <placement x="%indent%" y="%row3_y%"/>
4803 <text>%tw_zip_location%</text>
4804 </text>
4805
4806 <text style="text_m_accent">
4807 <placement x="%indent%" y="%row4_y%"/>
4808 <text>{@file=File:}</text>
4809 </text>
4810
4811 <text style="text_m">
4812 <placement x="%indent%" y="%row5_y%"/>
4813 <text>%tw_file%</text>
4814 </text>
4815
4816 <checkbox>
4817 <placement x="%indent%" y="%row7_y%"/>
4818 <text>{@repack_backup_first=Back up existing image first}</text>
4819 <data variable="tw_repack_backup_first"/>
4820 </checkbox>
4821
4822 <slider>
4823 <text>{@swipe_to_install=Swipe to Install}</text>
4824 <actions>
4825 <action function="set">tw_back=advanced</action>
4826 <action function="set">tw_action=repackimage</action>
4827 <action function="set">tw_action_param=/boot</action>
4828 <action function="set">tw_action_text1={@installing=Installing...}</action>
4829 <action function="set">tw_action_text2=</action>
4830 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4831 <action function="page">action_page</action>
4832 </actions>
4833 </slider>
4834
4835 <action>
4836 <touch key="back"/>
4837 <action function="page">repackselect</action>
4838 </action>
4839
4840 <action>
4841 <touch key="home"/>
4842 <action function="page">main</action>
4843 </action>
4844 </page>
4845
z31s1g28f0a922015-11-07 18:50:22 +01004846 <page name="lock">
4847 <background color="%semi_transparent%"/>
4848
4849 <image>
4850 <image resource="unlock_icon"/>
4851 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4852 </image>
4853
4854 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004855 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004856 <action function="overlay"/>
4857 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004858
4859 <action>
4860 <touch key="power"/>
4861 <action function="togglebacklight"/>
4862 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004863 </page>
4864
4865 <page name="filemanagerlist">
4866 <template name="page"/>
4867
4868 <template name="statusbar"/>
4869
4870 <text style="text_m">
4871 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004872 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004873 </text>
4874
4875 <fileselector>
4876 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4877 <text>%tw_file_location1%</text>
4878 <filter folders="1" files="1"/>
4879 <path name="tw_file_location1" default="/"/>
4880 <data name="tw_filename1"/>
4881 <selection name="tw_selection1"/>
4882 </fileselector>
4883
4884 <button>
4885 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4886 <highlight color="%highlight_color%"/>
4887 <image resource="q_btn_folder"/>
4888 <actions>
4889 <action function="set">tw_filename1=tw_file_location1</action>
4890 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004891 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004892 <action function="page">filemanageroptions</action>
4893 </actions>
4894 </button>
4895
4896 <action>
4897 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004898 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004899 <action function="set">tw_fm_isfolder=0</action>
4900 </actions>
4901 </action>
4902
4903 <action>
4904 <touch key="home"/>
4905 <action function="page">main</action>
4906 </action>
4907
4908 <action>
4909 <touch key="back"/>
4910 <action function="page">main3</action>
4911 </action>
4912
4913 <action>
4914 <condition var1="tw_filename1" op="modified"/>
4915 <action function="page">filemanageroptions</action>
4916 </action>
4917 </page>
4918
4919 <page name="filemanageroptions">
4920 <template name="page"/>
4921
4922 <template name="statusbar"/>
4923
4924 <text style="text_m">
4925 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004926 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004927 </text>
4928
4929 <button style="main_button">
4930 <condition var1="tw_fm_isfolder" var2="0"/>
4931 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004932 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004933 <actions>
4934 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004935 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004936 <action function="page">choosedestinationfolder</action>
4937 </actions>
4938 </button>
4939
4940 <button style="main_button">
4941 <condition var1="tw_fm_isfolder" var2="1"/>
4942 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004943 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004944 <actions>
4945 <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 -05004946 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004947 <action function="page">choosedestinationfolder</action>
4948 </actions>
4949 </button>
4950
4951 <button style="main_button">
4952 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004953 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004954 <actions>
4955 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004956 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004957 <action function="page">choosedestinationfolder</action>
4958 </actions>
4959 </button>
4960
4961 <button style="main_button">
4962 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004963 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004964 <actions>
4965 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004966 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004967 <action function="set">tw_fm_text2=</action>
4968 <action function="set">tw_fm_text3=</action>
4969 <action function="set">tw_include_text3=0</action>
4970 <action function="set">tw_back=filemanageroptions</action>
4971 <action function="page">filemanagerconfirm</action>
4972 </actions>
4973 </button>
4974
4975 <button style="main_button">
4976 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004977 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004978 <actions>
4979 <action function="set">tw_filemanager_rename=0000</action>
4980 <action function="set">tw_fm_text2=</action>
4981 <action function="set">tw_fm_text3=</action>
4982 <action function="set">tw_include_text3=0</action>
4983 <action function="set">tw_back=filemanageroptions</action>
4984 <action function="page">filemanagerchmod</action>
4985 </actions>
4986 </button>
4987
4988 <button style="main_button">
4989 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004990 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004991 <actions>
4992 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004993 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004994 <action function="set">tw_fm_text2=</action>
4995 <action function="set">tw_fm_text3=</action>
4996 <action function="set">tw_include_text3=0</action>
4997 <action function="set">tw_back=filemanageroptions</action>
4998 <action function="page">filemanagerconfirm</action>
4999 </actions>
5000 </button>
5001
5002 <button style="main_button">
5003 <condition var1="tw_fm_isfolder" var2="0"/>
5004 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005005 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005006 <actions>
5007 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005008 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005009 <action function="set">tw_filemanager_command=mv</action>
5010 <action function="page">filemanagerrenamefile</action>
5011 </actions>
5012 </button>
5013
5014 <button style="main_button">
5015 <condition var1="tw_fm_isfolder" var2="1"/>
5016 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005017 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005018 <actions>
5019 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005020 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005021 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
5022 <action function="page">filemanagerrenamefolder</action>
5023 </actions>
5024 </button>
5025
5026 <action>
5027 <touch key="home"/>
5028 <action function="page">main</action>
5029 </action>
5030
5031 <action>
5032 <touch key="back"/>
5033 <action function="page">filemanagerlist</action>
5034 </action>
5035 </page>
5036
5037 <page name="choosedestinationfolder">
5038 <template name="page"/>
5039
5040 <template name="statusbar"/>
5041
5042 <text style="text_m">
5043 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005044 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005045 </text>
5046
5047 <fileselector>
5048 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
5049 <text>%tw_file_location2%</text>
5050 <filter folders="1" files="0"/>
5051 <path name="tw_file_location2" default="/"/>
5052 <data name="tw_filename2"/>
5053 <selection name="tw_selection2"/>
5054 </fileselector>
5055
5056 <button>
5057 <placement x="%btn4_col4_x%" y="%row11_y%"/>
5058 <highlight color="%highlight_color%"/>
5059 <image resource="q_btn_folder"/>
5060 <actions>
5061 <action function="set">tw_fm_text2=to</action>
5062 <action function="set">tw_fm_text3=%tw_file_location2%</action>
5063 <action function="set">tw_include_text3=1</action>
5064 <action function="set">tw_back=filemanageroptions</action>
5065 <action function="page">filemanagerconfirm</action>
5066 </actions>
5067 </button>
5068
5069 <action>
5070 <touch key="home"/>
5071 <action function="page">main</action>
5072 </action>
5073
5074 <action>
5075 <touch key="back"/>
5076 <action function="page">filemanageroptions</action>
5077 </action>
5078 </page>
5079
5080 <page name="filemanagerrenamefile">
5081 <template name="page"/>
5082
5083 <template name="statusbar"/>
5084
5085 <text style="text_m">
5086 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005087 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005088 </text>
5089
5090 <text style="text_m_accent">
5091 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005092 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005093 </text>
5094
5095 <input>
5096 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5097 <text>%tw_filemanager_rename%</text>
5098 <data name="tw_filemanager_rename"/>
5099 <restrict minlen="1" maxlen="128"/>
5100 <actions>
5101 <action function="set">tw_fm_text2=to</action>
5102 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5103 <action function="set">tw_include_text3=1</action>
5104 <action function="set">tw_back=filemanageroptions</action>
5105 <action function="page">filemanagerconfirm</action>
5106 </actions>
5107 </input>
5108
5109 <fill color="%accent_color%">
5110 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5111 </fill>
5112
5113 <button style="main_button_half_height">
5114 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005115 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005116 <action function="page">filemanageroptions</action>
5117 </button>
5118
5119 <template name="keyboardtemplate"/>
5120
5121 <action>
5122 <touch key="home"/>
5123 <action function="page">main</action>
5124 </action>
5125
5126 <action>
5127 <touch key="back"/>
5128 <action function="page">filemanageroptions</action>
5129 </action>
5130 </page>
5131
5132 <page name="filemanagerrenamefolder">
5133 <template name="page"/>
5134
5135 <template name="statusbar"/>
5136
5137 <text style="text_m">
5138 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005139 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005140 </text>
5141
5142 <text style="text_m_accent">
5143 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005144 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005145 </text>
5146
5147 <input>
5148 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5149 <text>%tw_filemanager_rename%</text>
5150 <data name="tw_filemanager_rename"/>
5151 <restrict minlen="1" maxlen="128"/>
5152 <actions>
5153 <action function="set">tw_fm_text2=to</action>
5154 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5155 <action function="set">tw_include_text3=1</action>
5156 <action function="set">tw_back=filemanageroptions</action>
5157 <action function="page">filemanagerconfirm</action>
5158 </actions>
5159 </input>
5160
5161 <fill color="%accent_color%">
5162 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5163 </fill>
5164
5165 <button style="main_button_half_height">
5166 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005167 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005168 <action function="page">filemanageroptions</action>
5169 </button>
5170
5171 <template name="keyboardtemplate"/>
5172
5173 <action>
5174 <touch key="home"/>
5175 <action function="page">main</action>
5176 </action>
5177
5178 <action>
5179 <touch key="back"/>
5180 <action function="page">filemanageroptions</action>
5181 </action>
5182 </page>
5183
5184 <page name="filemanagerchmod">
5185 <template name="page"/>
5186
5187 <template name="statusbar"/>
5188
5189 <text style="text_m">
5190 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005191 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005192 </text>
5193
5194 <text style="text_m_accent">
5195 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005196 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005197 </text>
5198
5199 <input>
5200 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5201 <text>%tw_filemanager_rename%</text>
5202 <data name="tw_filemanager_rename"/>
5203 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5204 <actions>
5205 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5206 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5207 <action function="set">tw_back=filemanageroptions</action>
5208 <action function="page">filemanagerconfirm</action>
5209 </actions>
5210 </input>
5211
5212 <fill color="%accent_color%">
5213 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5214 </fill>
5215
5216 <button style="main_button_half_height">
5217 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005218 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005219 <action function="page">filemanageroptions</action>
5220 </button>
5221
5222 <template name="keyboardtemplate"/>
5223
5224 <action>
5225 <touch key="home"/>
5226 <action function="page">main</action>
5227 </action>
5228
5229 <action>
5230 <touch key="back"/>
5231 <action function="page">filemanageroptions</action>
5232 </action>
5233 </page>
5234
5235 <page name="filemanagerconfirm">
5236 <template name="page"/>
5237
5238 <template name="statusbar"/>
5239
5240 <text style="text_m">
5241 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005242 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005243 </text>
5244
5245 <text style="text_m_accent">
5246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5247 <text>%tw_fm_text1%</text>
5248 </text>
5249
5250 <text style="text_m">
5251 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5252 <text>%tw_filename1%</text>
5253 </text>
5254
5255 <text style="text_m_accent">
5256 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5257 <text>%tw_fm_text2%</text>
5258 </text>
5259
5260 <text style="text_m">
5261 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5262 <text>%tw_fm_text3%</text>
5263 </text>
5264
5265 <text style="text_m">
5266 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005267 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005268 </text>
5269
5270 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005271 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005272 <action function="page">filemanageraction</action>
5273 </slider>
5274
5275 <action>
5276 <touch key="back"/>
5277 <action function="page">%tw_back%</action>
5278 </action>
5279
5280 <action>
5281 <touch key="home"/>
5282 <action function="page">main</action>
5283 </action>
5284 </page>
5285
5286 <page name="filemanageraction">
5287 <template name="page"/>
5288
5289 <template name="statusbar"/>
5290
5291 <text style="text_m">
5292 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005293 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005294 </text>
5295
5296 <template name="console"/>
5297
5298 <template name="progress_bar"/>
5299
5300 <action>
5301 <conditions>
5302 <condition var1="tw_operation_state" var2="1"/>
5303 <condition var1="tw_operation_status" var2="0"/>
5304 </conditions>
5305 <actions>
5306 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005307 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005308 <action function="page">action_complete</action>
5309 </actions>
5310 </action>
5311
5312 <action>
5313 <conditions>
5314 <condition var1="tw_operation_state" var2="1"/>
5315 <condition var1="tw_operation_status" op="!=" var2="0"/>
5316 </conditions>
5317 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005318 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005319 <action function="page">action_complete</action>
5320 </actions>
5321 </action>
5322
5323 <action>
5324 <condition var1="tw_include_text3" var2="0"/>
5325 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5326 </action>
5327
5328 <action>
5329 <condition var1="tw_include_text3" var2="1"/>
5330 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5331 </action>
5332 </page>
5333
5334 <page name="decrypt">
5335 <template name="page"/>
5336
5337 <template name="statusbar"/>
5338
5339 <action>
5340 <condition var1="tw_crypto_pwtype" var2="2"/>
5341 <action function="page">decrypt_pattern</action>
5342 </action>
5343
5344 <text style="text_m">
5345 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005346 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005347 </text>
5348
5349 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005350 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005351 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005352 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005353 </text>
5354
Noah Jacobson81d638d2019-04-28 00:10:07 -04005355 <text style="text_m_accent">
5356 <condition var1="tw_is_fbe" var2="1"/>
5357 <placement x="%col1_x_left%" y="%row1_y%"/>
5358 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
5359 </text>
5360
z31s1g28f0a922015-11-07 18:50:22 +01005361 <input>
5362 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5363 <text>%tw_crypto_display%</text>
5364 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5365 <restrict minlen="1" maxlen="254"/>
5366 <action function="page">trydecrypt</action>
5367 </input>
5368
5369 <fill color="%accent_color%">
5370 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5371 </fill>
5372
5373 <fill color="%text_fail_color%">
5374 <condition var1="tw_password_fail" var2="1"/>
5375 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5376 </fill>
5377
5378 <text style="text_m_fail">
5379 <condition var1="tw_password_fail" var2="1"/>
5380 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005381 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005382 </text>
5383
5384 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005385 <placement x="%col1_x_left%" y="%row4_y%"/>
5386 <text>{@sel_lang_btn=Select Language}</text>
5387 <action function="page">settings_language</action>
5388 </button>
5389
5390 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005391 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005392 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005393 <actions>
5394 <action function="set">tw_page_done=1</action>
5395 <action function="page">main</action>
5396 </actions>
5397 </button>
5398
5399 <template name="keyboardtemplate"/>
5400 </page>
5401
5402 <page name="decrypt_pattern">
5403 <template name="page"/>
5404
5405 <template name="statusbar"/>
5406
Aleksa Saraib25a1832015-12-31 17:36:00 +01005407 <action>
5408 <action function="set">tw_gui_pattern_grid_size=3</action>
5409 </action>
5410
z31s1g28f0a922015-11-07 18:50:22 +01005411 <text style="text_m">
5412 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005413 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005414 </text>
5415
5416 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04005417 <condition var1="tw_is_fbe" op="!=" var2="1"/>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005418 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005419 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005420 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005421 </text>
5422
Noah Jacobson81d638d2019-04-28 00:10:07 -04005423 <text style="text_m_accent">
5424 <condition var1="tw_is_fbe" var2="1"/>
5425 <condition var1="tw_password_fail" op="!=" var2="1"/>
5426 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5427 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
5428 </text>
5429
Aleksa Saraib25a1832015-12-31 17:36:00 +01005430 <text style="text_m_fail">
5431 <condition var1="tw_password_fail" var2="1"/>
5432 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005433 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005434 </text>
5435
z31s1g28f0a922015-11-07 18:50:22 +01005436 <text style="text_m">
5437 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005438 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005439 </text>
5440
5441 <patternpassword>
5442 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005443 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5444 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5445 <data name="tw_crypto_password"/>
5446 <action function="page">trydecrypt</action>
5447 </patternpassword>
5448
5449 <fill color="#000000">
5450 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5451 </fill>
5452
5453 <button>
5454 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5455 <image resource="back"/>
5456 <condition var1="tw_busy" var2="0"/>
5457 <actions>
5458 <action function="set">tw_page_done=1</action>
5459 <action function="page">main</action>
5460 </actions>
5461 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005462
5463 <button>
5464 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5465 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5466 <image resource="grid_less"/>
5467 <action function="set">tw_gui_pattern_grid_size=3</action>
5468 </button>
5469
5470 <button>
5471 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5472 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5473 <image resource="grid_less"/>
5474 <action function="set">tw_gui_pattern_grid_size=3</action>
5475 </button>
5476
5477 <button>
5478 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5479 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5480 <image resource="grid_less"/>
5481 <action function="set">tw_gui_pattern_grid_size=4</action>
5482 </button>
5483
5484 <button>
5485 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5486 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5487 <image resource="grid_less"/>
5488 <action function="set">tw_gui_pattern_grid_size=5</action>
5489 </button>
5490
5491 <button>
5492 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5493 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5494 <image resource="grid_more"/>
5495 <action function="set">tw_gui_pattern_grid_size=4</action>
5496 </button>
5497
5498 <button>
5499 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5500 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5501 <image resource="grid_more"/>
5502 <action function="set">tw_gui_pattern_grid_size=5</action>
5503 </button>
5504
5505 <button>
5506 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5507 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5508 <image resource="grid_more"/>
5509 <action function="set">tw_gui_pattern_grid_size=6</action>
5510 </button>
5511
5512 <button>
5513 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5514 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5515 <image resource="grid_more"/>
5516 <action function="set">tw_gui_pattern_grid_size=6</action>
5517 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005518 </page>
5519
5520 <page name="trydecrypt">
5521 <template name="page"/>
5522
5523 <template name="statusbar"/>
5524
5525 <text style="text_m">
5526 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005527 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005528 </text>
5529
5530 <template name="console"/>
5531
5532 <template name="progress_bar"/>
5533
5534 <action>
5535 <action function="decrypt"/>
5536 </action>
5537
5538 <action>
5539 <conditions>
5540 <condition var1="tw_operation_state" var2="1"/>
5541 <condition var1="tw_operation_status" op="!=" var2="0"/>
5542 </conditions>
5543 <actions>
5544 <action function="set">tw_password_fail=1</action>
5545 <action function="page">decrypt</action>
5546 </actions>
5547 </action>
5548
5549 <action>
5550 <conditions>
5551 <condition var1="tw_operation_state" var2="1"/>
5552 <condition var1="tw_operation_status" op="=" var2="0"/>
5553 </conditions>
5554 <actions>
5555 <action function="set">tw_page_done=1</action>
5556 <action function="page">main</action>
5557 </actions>
5558 </action>
5559 </page>
5560
z31s1g28f0a922015-11-07 18:50:22 +01005561 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005562 <terminal>
5563 <condition var1="tw_hide_kb" var2="0"/>
5564 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5565 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005566
z31s1g56189522016-01-13 19:12:40 +01005567 <terminal>
5568 <condition var1="tw_hide_kb" var2="1"/>
5569 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5570 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005571
z31s1g56189522016-01-13 19:12:40 +01005572 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005573
5574 <template name="keyboardtemplate"/>
5575
z31s1g608d7ff2016-01-18 19:47:25 +01005576 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005577 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005578 </fill>
z31s1g56189522016-01-13 19:12:40 +01005579
z31s1g608d7ff2016-01-18 19:47:25 +01005580 <button>
z31s1g56189522016-01-13 19:12:40 +01005581 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5582 <image resource="back" />
5583 <condition var1="tw_busy" var2="0" />
5584 <actions>
5585 <action function="set">tw_hide_kb=0</action>
5586 <action function="key">back</action>
5587 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005588 </button>
z31s1g56189522016-01-13 19:12:40 +01005589
z31s1g608d7ff2016-01-18 19:47:25 +01005590 <button>
z31s1g56189522016-01-13 19:12:40 +01005591 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5592 <image resource="home" />
5593 <condition var1="tw_busy" var2="0" />
5594 <actions>
5595 <action function="set">tw_hide_kb=0</action>
5596 <action function="key">home</action>
5597 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005598 </button>
z31s1g56189522016-01-13 19:12:40 +01005599
z31s1g608d7ff2016-01-18 19:47:25 +01005600 <button>
z31s1g56189522016-01-13 19:12:40 +01005601 <condition var1="tw_hide_kb" var2="0"/>
5602 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5603 <image resource="kb_hide" />
5604 <condition var1="tw_busy" var2="0" />
5605 <actions>
5606 <action function="set">tw_hide_kb=1</action>
5607 <action function="page">terminalcommand</action>
5608 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005609 </button>
z31s1g56189522016-01-13 19:12:40 +01005610
z31s1g608d7ff2016-01-18 19:47:25 +01005611 <button>
z31s1g56189522016-01-13 19:12:40 +01005612 <condition var1="tw_hide_kb" var2="1"/>
5613 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5614 <image resource="kb_show" />
5615 <condition var1="tw_busy" var2="0" />
5616 <actions>
5617 <action function="set">tw_hide_kb=0</action>
5618 <action function="page">terminalcommand</action>
5619 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005620 </button>
z31s1g56189522016-01-13 19:12:40 +01005621
z31s1g28f0a922015-11-07 18:50:22 +01005622 <action>
5623 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005624 <actions>
5625 <action function="set">tw_hide_kb=0</action>
5626 <action function="page">main</action>
5627 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005628 </action>
5629
5630 <action>
5631 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005632 <actions>
5633 <action function="set">tw_hide_kb=0</action>
5634 <action function="page">advanced</action>
5635 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005636 </action>
z31s1g56189522016-01-13 19:12:40 +01005637
z31s1g608d7ff2016-01-18 19:47:25 +01005638 <action>
z31s1g56189522016-01-13 19:12:40 +01005639 <touch key="power+voldown" />
5640 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005641 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005642 </page>
5643
5644 <page name="sideload">
5645 <template name="page"/>
5646
5647 <template name="statusbar"/>
5648
5649 <text style="text_m">
5650 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005651 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005652 </text>
5653
5654 <text style="text_m_accent">
5655 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005656 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005657 </text>
5658
5659 <checkbox>
5660 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005661 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005662 <data variable="tw_wipe_dalvik"/>
5663 </checkbox>
5664
5665 <checkbox>
5666 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005667 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005668 <data variable="tw_wipe_cache"/>
5669 </checkbox>
5670
5671 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005672 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005673 <actions>
5674 <action function="set">tw_back=install_type</action>
5675 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005676 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5677 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5678 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005679 <action function="set">tw_has_cancel=1</action>
5680 <action function="set">tw_show_reboot=1</action>
5681 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5682 <action function="page">action_page</action>
5683 </actions>
5684 </slider>
5685
5686 <action>
5687 <touch key="home"/>
5688 <action function="page">main</action>
5689 </action>
5690
5691 <action>
5692 <touch key="back"/>
5693 <action function="page">install_type</action>
5694 </action>
5695 </page>
5696
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005697 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005698 <template name="page"/>
5699
5700 <template name="statusbar"/>
5701
5702 <text style="text_m">
5703 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005704 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005705 </text>
5706
5707 <text style="text_m_accent">
5708 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005709 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005710 </text>
5711
z31s1g28f0a922015-11-07 18:50:22 +01005712 <text style="text_m_fail">
5713 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005714 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005715 </text>
5716
5717 <text style="text_m_fail">
5718 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005719 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005720 </text>
5721
5722 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005723 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005724 <actions>
5725 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005726 <action function="set">tw_action=fixcontexts</action>
5727 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5728 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005729 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005730 <action function="set">tw_show_reboot=1</action>
5731 <action function="page">action_page</action>
5732 </actions>
5733 </slider>
5734
5735 <action>
5736 <touch key="home"/>
5737 <action function="page">main</action>
5738 </action>
5739
5740 <action>
5741 <touch key="back"/>
5742 <action function="page">advanced</action>
5743 </action>
5744 </page>
5745
z31s1g28f0a922015-11-07 18:50:22 +01005746 <page name="slideout">
5747 <fill color="%background_color%">
5748 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5749 </fill>
5750
5751 <console>
5752 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5753 </console>
5754
5755 <fill color="%fileselector_linecolor%">
5756 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5757 </fill>
5758
5759 <fill color="%fileselector_linecolor%">
5760 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5761 </fill>
5762
5763 <button>
5764 <fill color="%transparent%"/>
5765 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5766 <action function="overlay"/>
5767 </button>
5768
5769 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005770 <touch key="power"/>
5771 <action function="togglebacklight"/>
5772 </action>
5773
5774 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005775 <touch key="power+voldown"/>
5776 <action function="screenshot"/>
5777 </action>
5778 </page>
5779
5780 <page name="select_storage">
5781 <template name="page"/>
5782
5783 <template name="statusbar"/>
5784
5785 <text style="text_m">
5786 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5787 <text>%tw_storagetext%</text>
5788 </text>
5789
5790 <partitionlist style="partitionlist_headerless_rb">
5791 <data name="tw_storage_path"/>
5792 <listtype name="storage"/>
5793 </partitionlist>
5794
5795 <button>
5796 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5797 <highlight color="%highlight_color%"/>
5798 <image resource="q_btn_refresh"/>
5799 <actions>
5800 <action function="refreshsizes"/>
5801 <action function="page">select_storage</action>
5802 </actions>
5803 </button>
5804
5805 <button>
5806 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5807 <highlight color="%highlight_color%"/>
5808 <image resource="q_btn_accept"/>
5809 <actions>
5810 <action function="set">tw_clear_destination=%tw_back%</action>
5811 <action function="page">clear_vars</action>
5812 </actions>
5813 </button>
5814
5815 <action>
5816 <touch key="power+voldown"/>
5817 <action function="screenshot"/>
5818 </action>
5819 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005820
5821 <page name="decrypt_users">
5822 <template name="page"/>
5823
5824 <text style="text_l">
5825 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5826 <text>{@decrypt_users=Decrypt Users}</text>
5827 </text>
5828
5829 <text style="text_m_accent">
5830 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5831 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5832 </text>
5833
5834 <listbox>
5835 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
5836 <text>{@select_user=Select User}</text>
5837 <icon selected="radio_true" unselected="radio_false" />
5838 <data name="tw_crypto_user_id" />
5839 </listbox>
5840
5841 <button style="main_button_half_height">
5842 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
5843 <text>{@decrypt_users=Decrypt Users}</text>
5844 <action function="set">tw_crypto_password=</action>
5845 <action function="set">tw_password_fail=0</action>
5846 <action function="page">decrypt</action>
5847 </button>
5848
5849 <action>
5850 <touch key="home"/>
5851 <action function="page">main</action>
5852 </action>
5853
5854 <action>
5855 <touch key="back"/>
5856 <action function="page">advanced</action>
5857 </action>
5858 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005859 </pages>
5860</recovery>