blob: 70ccf3816b64827cc96c478be53c3d773e647cad [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>
401 <filter extn=".zip" folders="1" files="1"/>
402 <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>
978 <action function="page">%tw_clear_destination%</action>
979 </action>
980 </page>
981
Matt Mower908dd252016-05-25 02:26:50 -0500982 <page name="reboot_system_routine">
983 <action>
984 <action function="set">tw_back=main2</action>
985 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500986 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500987 <action function="set">tw_has_action2=0</action>
988 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
989 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
990 <action function="set">tw_text3=</action>
991 <action function="set">tw_text4=</action>
992 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
993 <action function="set">tw_action_text2=</action>
994 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
995 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
996 <action function="page">rebootcheck</action>
997 </action>
998 </page>
999
z31s1g28f0a922015-11-07 18:50:22 +01001000 <page name="confirm_action">
1001 <template name="page"/>
1002
1003 <template name="statusbar"/>
1004
1005 <text style="text_m">
1006 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001008 </text>
1009
1010 <text style="text_m_accent">
1011 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1012 <text>%tw_text1%</text>
1013 </text>
1014
1015 <text style="text_m_accent">
1016 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1017 <text>%tw_text2%</text>
1018 </text>
1019
1020 <text style="text_m">
1021 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1022 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1023 <text>%tw_text3%</text>
1024 </text>
1025
1026 <text style="text_m">
1027 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1028 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1029 <text>%tw_text4%</text>
1030 </text>
1031
1032 <text style="text_m_fail">
1033 <condition var1="tw_action" var2="changefilesystem"/>
1034 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1035 <text>%tw_text3%</text>
1036 </text>
1037
1038 <text style="text_m_fail">
1039 <condition var1="tw_action" var2="changefilesystem"/>
1040 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1041 <text>%tw_text4%</text>
1042 </text>
1043
1044 <text style="text_m">
1045 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <slider>
1050 <text>%tw_slider_text%</text>
1051 <action function="page">action_page</action>
1052 </slider>
1053
1054 <action>
1055 <touch key="back"/>
1056 <actions>
1057 <action function="set">tw_clear_destination=%tw_back%</action>
1058 <action function="page">clear_vars</action>
1059 </actions>
1060 </action>
1061
1062 <action>
1063 <touch key="home"/>
1064 <action function="page">main</action>
1065 </action>
1066 </page>
1067
1068 <page name="action_page">
1069 <template name="page"/>
1070
1071 <template name="statusbar"/>
1072
1073 <text style="text_m">
1074 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1075 <text>%tw_action_text1% %tw_action_text2%</text>
1076 </text>
1077
1078 <template name="console"/>
1079
1080 <template name="progress_bar"/>
1081
1082 <button style="main_button_half_height">
1083 <condition var1="tw_has_cancel" var2="1"/>
1084 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1087 </button>
1088
1089 <action>
1090 <condition var1="tw_operation_state" var2="1"/>
1091 <actions>
1092 <action function="page">action_complete</action>
1093 </actions>
1094 </action>
1095
1096 <action>
1097 <condition var1="tw_has_action2" var2="0"/>
1098 <actions>
1099 <action function="%tw_action%">%tw_action_param%</action>
1100 </actions>
1101 </action>
1102
1103 <action>
1104 <condition var1="tw_has_action2" var2="1"/>
1105 <actions>
1106 <action function="%tw_action%">%tw_action_param%</action>
1107 <action function="%tw_action2%">%tw_action2_param%</action>
1108 </actions>
1109 </action>
1110 </page>
1111
1112 <page name="singleaction_page">
1113 <template name="page"/>
1114
1115 <template name="statusbar"/>
1116
1117 <text style="text_m">
1118 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1119 <text>%tw_action_text1% %tw_action_text2%</text>
1120 </text>
1121
1122 <template name="console"/>
1123
1124 <template name="progress_bar"/>
1125
1126 <action>
1127 <condition var1="tw_operation_state" var2="1"/>
1128 <actions>
1129 <action function="set">tw_page_done=1</action>
1130 </actions>
1131 </action>
1132
1133 <action>
1134 <condition var1="tw_has_action2" var2="0"/>
1135 <actions>
1136 <action function="%tw_action%">%tw_action_param%</action>
1137 </actions>
1138 </action>
1139
1140 <action>
1141 <condition var1="tw_has_action2" var2="1"/>
1142 <actions>
1143 <action function="%tw_action%">%tw_action_param%</action>
1144 <action function="%tw_action2%">%tw_action2_param%</action>
1145 </actions>
1146 </action>
1147 </page>
1148
1149 <page name="action_complete">
1150 <template name="page"/>
1151
1152 <template name="statusbar"/>
1153
1154 <text style="text_m_fail">
1155 <condition var1="tw_operation_status" op="!=" var2="0"/>
1156 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001158 </text>
1159
1160 <text style="text_m">
1161 <condition var1="tw_operation_status" var2="0"/>
1162 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001163 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001164 </text>
1165
1166 <template name="console"/>
1167
1168 <button style="main_button_half_height">
1169 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 <actions>
1172 <action function="set">tw_clear_destination=%tw_back%</action>
1173 <action function="page">clear_vars</action>
1174 </actions>
1175 </button>
1176
1177 <button style="main_button_half_height">
1178 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 <actions>
1181 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001182 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001183 </actions>
1184 </button>
1185
1186 <action>
1187 <touch key="home"/>
1188 <actions>
1189 <action function="set">tw_clear_destination=main2</action>
1190 <action function="page">clear_vars</action>
1191 </actions>
1192 </action>
1193
1194 <action>
1195 <touch key="back"/>
1196 <actions>
1197 <action function="set">tw_clear_destination=%tw_back%</action>
1198 <action function="page">clear_vars</action>
1199 </actions>
1200 </action>
1201 </page>
1202
1203 <page name="filecheck">
1204 <action>
1205 <action function="fileexists">%tw_filecheck%</action>
1206 </action>
1207
1208 <action>
1209 <conditions>
1210 <condition var1="tw_operation_state" var2="1"/>
1211 <condition var1="tw_operation_status" var2="0"/>
1212 </conditions>
1213 <actions>
1214 <action function="set">tw_fileexists=1</action>
1215 <action function="page">%tw_existpage%</action>
1216 </actions>
1217 </action>
1218
1219 <action>
1220 <conditions>
1221 <condition var1="tw_operation_state" var2="1"/>
1222 <condition var1="tw_operation_status" var2="1"/>
1223 </conditions>
1224 <actions>
1225 <action function="set">tw_fileexists=0</action>
1226 <action function="page">%tw_notexistpage%</action>
1227 </actions>
1228 </action>
1229 </page>
1230
1231 <page name="rebootcheck">
1232 <action>
1233 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001234 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001235 </action>
1236
1237 <action>
1238 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1239 <action function="page">confirm_action</action>
1240 </action>
1241 </page>
1242
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001243 <page name="appcheck">
1244 <action>
1245 <condition var1="tw_app_prompt" var2="1"/>
1246 <action function="checkforapp"></action>
1247 </action>
1248
1249 <action>
1250 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1251 <action function="reboot">%tw_reboot_param%</action>
1252 </action>
1253
1254 <action>
1255 <condition var1="tw_app_install_status" var2="1"/>
1256 <action function="page">rebootapp</action>
1257 </action>
1258
1259 <action>
1260 <condition var1="tw_app_install_status" var2="2"/>
1261 <action function="reboot">%tw_reboot_param%</action>
1262 </action>
1263 </page>
1264
z31s1g28f0a922015-11-07 18:50:22 +01001265 <page name="wipe_type1">
1266 <template name="page"/>
1267
1268 <template name="statusbar"/>
1269
1270 <text style="text_m">
1271 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <button style="main_button_full_width">
1276 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 <action function="page">wipe</action>
1279 </button>
1280
1281 <button style="main_button_full_width">
1282 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 <actions>
1285 <action function="set">partitionlisterror=0</action>
1286 <action function="page">advancedwipe</action>
1287 </actions>
1288 </button>
1289
1290 <button>
1291 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1292 <highlight color="%highlight_color%"/>
1293 <image resource="q_btn_arrow_right"/>
1294 <action function="page">wipe_type2</action>
1295 </button>
1296
1297 <action>
1298 <touch key="home"/>
1299 <action function="page">main</action>
1300 </action>
1301
1302 <action>
1303 <touch key="back"/>
1304 <action function="page">main</action>
1305 </action>
1306 </page>
1307
1308 <page name="wipe_type2">
1309 <template name="page"/>
1310
1311 <template name="statusbar"/>
1312
1313 <text style="text_m">
1314 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <button style="main_button_full_width">
1319 <condition var1="tw_has_data_media" var2="1"/>
1320 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 <action function="page">formatdata</action>
1323 </button>
1324
1325 <button style="main_button_full_width">
1326 <conditions>
1327 <condition var1="tw_is_encrypted" var2="1"/>
1328 <condition var1="tw_has_data_media" var2="0"/>
1329 </conditions>
1330 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 <actions>
1333 <action function="set">tw_back=wipe</action>
1334 <action function="set">tw_action=wipe</action>
1335 <action function="set">tw_action_param=DATAMEDIA</action>
1336 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001339 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1340 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1341 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="page">confirm_action</action>
1343 </actions>
1344 </button>
1345
1346 <button style="main_button_full_width">
1347 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <action function="set">partitionlisterror=0</action>
1350 <action function="page">partitionoptions_select</action>
1351 </actions>
1352 </button>
1353
1354 <button>
1355 <placement x="%col1_x_left%" y="%row11_y%"/>
1356 <highlight color="%highlight_color%"/>
1357 <image resource="q_btn_arrow_left"/>
1358 <action function="page">wipe_type1</action>
1359 </button>
1360
1361 <action>
1362 <touch key="home"/>
1363 <action function="page">main</action>
1364 </action>
1365
1366 <action>
1367 <touch key="back"/>
1368 <action function="page">main</action>
1369 </action>
1370 </page>
1371
1372 <page name="wipe">
1373 <template name="page"/>
1374
1375 <template name="statusbar"/>
1376
1377 <text style="text_m">
1378 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m_accent">
1383 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001384 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001385 </text>
1386
1387 <text style="text_m_accent">
Noah Jacobson0b25b1d2019-04-28 00:10:07 -04001388 <condition var1="tw_has_data_media" var2="1"/>
bigbiffadc599e2020-05-28 19:36:30 +00001389 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001391 </text>
1392
1393 <text style="text_m_accent">
1394 <conditions>
1395 <condition var1="tw_has_android_secure" var2="1"/>
1396 <condition var1="fileexists" var2="/and-sec"/>
1397 </conditions>
1398 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m_accent">
1403 <condition var1="tw_has_sdext_partition" var2="1"/>
1404 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001405 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001406 </text>
1407
1408 <text style="text_m">
1409 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001411 </text>
1412
1413 <text style="text_m">
1414 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m">
1419 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 <actions>
1426 <action function="set">tw_back=wipe</action>
1427 <action function="set">tw_action=wipe</action>
1428 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1430 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001431 <action function="page">action_page</action>
1432 </actions>
1433 </slider>
1434
1435 <action>
1436 <touch key="back"/>
1437 <action function="page">wipe_type1</action>
1438 </action>
1439
1440 <action>
1441 <touch key="home"/>
1442 <action function="page">main</action>
1443 </action>
1444 </page>
1445
1446 <page name="advancedwipe">
1447 <action>
1448 <action function="set">tw_wipe_list=</action>
1449 </action>
1450
1451 <template name="page"/>
1452
1453 <template name="statusbar"/>
1454
1455 <text style="text_m">
1456 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001457 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001458 </text>
1459
1460 <partitionlist style="partitionlist_headerless_cb">
1461 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1462 <data name="tw_wipe_list"/>
1463 <listtype name="wipe"/>
1464 </partitionlist>
1465
1466 <fill color="%accent_color%">
1467 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1468 </fill>
1469
1470 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001472 <actions>
1473 <action function="set">tw_back=advancedwipe</action>
1474 <action function="set">tw_action=wipe</action>
1475 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001476 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1477 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1478 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <action function="page">action_page</action>
1480 </actions>
1481 </slider>
1482
1483 <action>
1484 <touch key="home"/>
1485 <action function="page">main</action>
1486 </action>
1487
1488 <action>
1489 <touch key="back"/>
1490 <action function="page">wipe_type1</action>
1491 </action>
1492 </page>
1493
1494 <page name="formatdata">
1495 <template name="page"/>
1496
1497 <template name="statusbar"/>
1498
1499 <text style="text_m">
1500 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m_fail">
1505 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_fail">
1510 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <text style="text_m">
1515 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001516 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001517 </text>
1518
1519 <input>
1520 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1521 <text>%tw_confirm_formatdata%</text>
1522 <data name="tw_confirm_formatdata"/>
1523 <restrict minlen="3" maxlen="3" allow="yes"/>
1524 <action function="page">formatdata_confirm</action>
1525 </input>
1526
1527 <fill color="%accent_color%">
1528 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1529 </fill>
1530
1531 <template name="keyboardtemplate"/>
1532
1533 <action>
1534 <touch key="home"/>
1535 <action function="page">main</action>
1536 </action>
1537
1538 <action>
1539 <touch key="back"/>
1540 <action function="page">wipe_type2</action>
1541 </action>
1542 </page>
1543
1544 <page name="formatdata_confirm">
1545 <action>
1546 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1547 <actions>
1548 <action function="set">tw_back=formatdata</action>
1549 <action function="set">tw_action=wipe</action>
1550 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1552 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">action_page</action>
1554 </actions>
1555 </action>
1556
1557 <action>
1558 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1559 <action function="page">formatdata</action>
1560 </action>
1561 </page>
1562
1563 <page name="checkpartitionlist">
1564 <action>
1565 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1566 <actions>
1567 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001568 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001569 <action function="page">partitionoptions</action>
1570 </actions>
1571 </action>
1572
1573 <action>
1574 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1575 <actions>
1576 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001577 <action function="page">partitionoptions_select</action>
1578 </actions>
1579 </action>
1580 </page>
1581
1582 <page name="partitionoptions_select">
1583 <action>
1584 <action function="set">tw_wipe_list=</action>
1585 </action>
1586
1587 <template name="page"/>
1588
1589 <template name="statusbar"/>
1590
1591 <text style="text_m">
1592 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001593 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001594 </text>
1595
1596 <partitionlist style="partitionlist_headerless_cb">
1597 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1598 <data name="tw_wipe_list"/>
1599 <listtype name="wipe"/>
1600 </partitionlist>
1601
1602 <fill color="%accent_color%">
1603 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1604 </fill>
1605
z31s1g28f0a922015-11-07 18:50:22 +01001606 <text style="text_m_fail">
1607 <condition var1="partitionlisterror" var2="1"/>
1608 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001609 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001610 </text>
1611
1612 <button>
1613 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1614 <highlight color="%highlight_color%"/>
1615 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001616 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001617 <action function="page">checkpartitionlist</action>
1618 </actions>
1619 </button>
1620
1621 <action>
1622 <touch key="home"/>
1623 <action function="page">main</action>
1624 </action>
1625
1626 <action>
1627 <touch key="back"/>
1628 <action function="page">wipe_type2</action>
1629 </action>
1630 </page>
1631
1632 <page name="partitionoptions">
1633
1634 <template name="page"/>
1635
1636 <template name="statusbar"/>
1637
1638 <text style="text_m">
1639 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001640 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001641 </text>
1642
1643 <text style="text_m_accent">
1644 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <text style="text_m_accent">
1649 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <text style="text_m">
1654 <condition var1="tw_partition_is_present" var2="1"/>
1655 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <condition var1="tw_partition_is_present" var2="0"/>
1661 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 </text>
1664
1665 <text style="text_m">
1666 <condition var1="tw_partition_removable" var2="1"/>
1667 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <condition var1="tw_partition_removable" var2="0"/>
1673 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <text style="text_m">
1678 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 </text>
1681
1682 <text style="text_m">
1683 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 </text>
1686
1687 <text style="text_m">
1688 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 </text>
1691
1692 <text style="text_m">
1693 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001694 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001695 </text>
1696
1697 <button style="main_button">
1698 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1699 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 <actions>
1702 <action function="set">tw_back=partitionoptions</action>
1703 <action function="set">tw_action=resize</action>
1704 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1705 <action function="set">tw_has_action2=1</action>
1706 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001707 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001708 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001709 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1711 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1712 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <action function="page">confirm_action</action>
1714 </actions>
1715 </button>
1716
1717 <button style="main_button">
1718 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1719 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001720 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001721 <actions>
1722 <action function="set">tw_back=partitionoptions</action>
1723 <action function="set">tw_action=repair</action>
1724 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1725 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1729 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1730 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <action function="page">confirm_action</action>
1732 </actions>
1733 </button>
1734
1735 <button>
1736 <placement x="%col1_x_left%" y="%row11_y%"/>
1737 <highlight color="%highlight_color%"/>
1738 <image resource="q_btn_arrow_left"/>
1739 <action function="page">partitionoptions_select</action>
1740 </button>
1741
1742 <button style="main_button">
1743 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001744 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001745 <action function="page">selectfilesystem</action>
1746 </button>
1747
1748 <action>
1749 <touch key="home"/>
1750 <action function="page">main</action>
1751 </action>
1752
1753 <action>
1754 <touch key="back"/>
1755 <action function="page">partitionoptions_select</action>
1756 </action>
1757 </page>
1758
1759 <page name="refreshfilesystem">
1760 <action>
1761 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1762 <actions>
1763 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001764 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001765 <action function="page">selectfilesystem</action>
1766 </actions>
1767 </action>
1768
1769 <action>
1770 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1771 <actions>
1772 <action function="set">partitionlisterror=1</action>
1773 <action function="set">tw_wipe_list=</action>
1774 <action function="page">advancedwipe</action>
1775 </actions>
1776 </action>
1777 </page>
1778
1779 <page name="selectfilesystem">
1780 <template name="page"/>
1781
1782 <template name="statusbar"/>
1783
1784 <text style="text_m">
1785 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001786 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001787 </text>
1788
1789 <button style="main_button">
1790 <condition var1="tw_partition_ext" op="=" var2="1"/>
1791 <placement x="%col1_x_left%" y="%row1_y%"/>
1792 <text>EXT2</text>
1793 <actions>
1794 <action function="set">tw_back=refreshfilesystem</action>
1795 <action function="set">tw_action=changefilesystem</action>
1796 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1797 <action function="set">tw_action_new_file_system=ext2</action>
1798 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001799 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1800 <action function="set">tw_text2=EXT2</action>
1801 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1802 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1803 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1804 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1805 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001806 <action function="page">confirm_action</action>
1807 </actions>
1808 </button>
1809
1810 <button style="main_button">
1811 <condition var1="tw_partition_ext" op="=" var2="1"/>
1812 <placement x="%col1_x_left%" y="%row6_y%"/>
1813 <text>EXT3</text>
1814 <actions>
1815 <action function="set">tw_back=refreshfilesystem</action>
1816 <action function="set">tw_action=changefilesystem</action>
1817 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1818 <action function="set">tw_action_new_file_system=ext3</action>
1819 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001820 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1821 <action function="set">tw_text2=EXT3</action>
1822 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1823 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1824 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1825 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1826 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001827 <action function="page">confirm_action</action>
1828 </actions>
1829 </button>
1830
1831 <button style="main_button">
1832 <condition var1="tw_partition_ext" op="=" var2="1"/>
1833 <placement x="%col1_x_left%" y="%row11_y%"/>
1834 <text>EXT4</text>
1835 <actions>
1836 <action function="set">tw_back=refreshfilesystem</action>
1837 <action function="set">tw_action=changefilesystem</action>
1838 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1839 <action function="set">tw_action_new_file_system=ext4</action>
1840 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001841 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1842 <action function="set">tw_text2=EXT4</action>
1843 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1844 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1845 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1846 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1847 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001848 <action function="page">confirm_action</action>
1849 </actions>
1850 </button>
1851
1852 <button style="main_button">
1853 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1854 <placement x="%col1_x_right%" y="%row1_y%"/>
1855 <text>FAT</text>
1856 <actions>
1857 <action function="set">tw_back=refreshfilesystem</action>
1858 <action function="set">tw_action=changefilesystem</action>
1859 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1860 <action function="set">tw_action_new_file_system=vfat</action>
1861 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1863 <action function="set">tw_text2=FAT</action>
1864 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1865 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1866 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1867 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1868 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001869 <action function="page">confirm_action</action>
1870 </actions>
1871 </button>
1872
1873 <button style="main_button">
1874 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1875 <placement x="%col1_x_right%" y="%row6_y%"/>
1876 <text>exFAT</text>
1877 <actions>
1878 <action function="set">tw_back=refreshfilesystem</action>
1879 <action function="set">tw_action=changefilesystem</action>
1880 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1881 <action function="set">tw_action_new_file_system=exfat</action>
1882 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1884 <action function="set">tw_text2=exFAT</action>
1885 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1886 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1887 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1888 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1889 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001890 <action function="page">confirm_action</action>
1891 </actions>
1892 </button>
1893
1894 <button style="main_button">
1895 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1896 <placement x="%col1_x_right%" y="%row11_y%"/>
1897 <text>F2FS</text>
1898 <actions>
1899 <action function="set">tw_back=refreshfilesystem</action>
1900 <action function="set">tw_action=changefilesystem</action>
1901 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1902 <action function="set">tw_action_new_file_system=f2fs</action>
1903 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1905 <action function="set">tw_text2=F2FS</action>
1906 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1907 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1908 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1909 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1910 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001911 <action function="page">confirm_action</action>
1912 </actions>
1913 </button>
1914
1915 <action>
1916 <touch key="home"/>
1917 <action function="page">main</action>
1918 </action>
1919
1920 <action>
1921 <touch key="back"/>
1922 <action function="page">partitionoptions</action>
1923 </action>
1924 </page>
1925
bigbiffce8f83c2015-12-12 18:30:21 -05001926 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001927 <template name="page"/>
1928
1929 <template name="statusbar"/>
1930
1931 <text style="text_m">
1932 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001934 </text>
1935
1936 <partitionlist style="partitionlist_headerless_rb">
1937 <data name="tw_storage_path"/>
1938 <listtype name="storage"/>
1939 </partitionlist>
1940
1941 <button>
1942 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1943 <highlight color="%highlight_color%"/>
1944 <image resource="q_btn_refresh"/>
1945 <actions>
1946 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001947 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001948 </actions>
1949 </button>
1950
1951 <button>
1952 <condition var1="tw_back" var2="backup_confirm"/>
1953 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1954 <highlight color="%highlight_color%"/>
1955 <image resource="q_btn_accept"/>
1956 <action function="page">backup_confirm</action>
1957 </button>
1958
1959 <button>
1960 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1961 <highlight color="%highlight_color%"/>
1962 <image resource="q_btn_arrow_right"/>
1963 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001964 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001965 <action function="page">backup_selectpartitions</action>
1966 </actions>
1967 </button>
1968
1969 <action>
1970 <touch key="home"/>
1971 <action function="page">main</action>
1972 </action>
1973
1974 <action>
1975 <touch key="back"/>
1976 <action function="page">%tw_back%</action>
1977 </action>
1978
1979 <action>
1980 <touch key="power+voldown"/>
1981 <action function="screenshot"/>
1982 </action>
1983 </page>
1984
1985 <page name="backup_selectpartitions">
1986 <template name="page"/>
1987
1988 <template name="statusbar"/>
1989
1990 <text style="text_m">
1991 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001992 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001993 </text>
1994
1995 <partitionlist style="partitionlist_headerless_cb">
1996 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1997 <data name="tw_backup_list"/>
1998 <listtype name="backup"/>
1999 </partitionlist>
2000
2001 <fill color="%accent_color%">
2002 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2003 </fill>
2004
2005 <button>
2006 <placement x="%col1_x_left%" y="%row11_y%"/>
2007 <highlight color="%highlight_color%"/>
2008 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002009 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002010 </button>
2011
2012 <button>
2013 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2014 <highlight color="%highlight_color%"/>
2015 <image resource="q_btn_refresh"/>
2016 <action function="page">backup_selectpartitions</action>
2017 </button>
2018
2019 <button>
2020 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2021 <highlight color="%highlight_color%"/>
2022 <image resource="q_btn_accept"/>
2023 <action function="page">backup_confirm</action>
2024 </button>
2025
2026 <button>
2027 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2028 <highlight color="%highlight_color%"/>
2029 <image resource="q_btn_arrow_right"/>
2030 <actions>
2031 <action function="set">tw_back=backup_selectpartitions</action>
2032 <action function="page">backup_options</action>
2033 </actions>
2034 </button>
2035
2036 <action>
2037 <touch key="home"/>
2038 <action function="page">main</action>
2039 </action>
2040
2041 <action>
2042 <touch key="back"/>
2043 <action function="page">%tw_back%</action>
2044 </action>
2045
2046 <action>
2047 <touch key="power+voldown"/>
2048 <action function="screenshot"/>
2049 </action>
2050 </page>
2051
2052 <page name="backup_options">
2053 <template name="page"/>
2054
2055 <template name="statusbar"/>
2056
2057 <text style="text_m">
2058 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <listbox style="scrolllist">
2063 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002065 <data variable="tw_use_compression"/>
2066 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002067 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2068 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002069 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002070 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002071 <data variable="tw_disable_free_space"/>
2072 </listitem>
2073 </listbox>
2074
2075 <button>
2076 <placement x="%col1_x_left%" y="%row11_y%"/>
2077 <highlight color="%highlight_color%"/>
2078 <image resource="q_btn_arrow_left"/>
2079 <action function="page">backup_selectpartitions</action>
2080 </button>
2081
2082 <button>
2083 <conditions>
2084 <condition var1="tw_include_encrypted_backup" var2="1"/>
2085 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002086 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002087 </conditions>
2088 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2089 <highlight color="%highlight_color%"/>
2090 <image resource="q_btn_encryption_dis"/>
2091 <actions>
2092 <action function="set">tw_password_not_match=0</action>
2093 <action function="set">tw_back=backup_options</action>
2094 <action function="page">backupencryption</action>
2095 </actions>
2096 </button>
2097
2098 <button>
2099 <conditions>
2100 <condition var1="tw_include_encrypted_backup" var2="1"/>
2101 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002102 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002103 </conditions>
2104 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2105 <highlight color="%highlight_color%"/>
2106 <image resource="q_btn_encryption_en"/>
2107 <actions>
2108 <action function="set">tw_password_not_match=0</action>
2109 <action function="set">tw_back=backup_options</action>
2110 <action function="page">backupencryption</action>
2111 </actions>
2112 </button>
2113
2114 <button>
2115 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2116 <highlight color="%highlight_color%"/>
2117 <image resource="q_btn_accept_transp"/>
2118 <actions>
2119 <action function="set">tw_back=backup_options</action>
2120 <action function="page">backup_confirm</action>
2121 </actions>
2122 </button>
2123
2124 <action>
2125 <touch key="home"/>
2126 <action function="page">main</action>
2127 </action>
2128
2129 <action>
2130 <touch key="back"/>
2131 <action function="page">%tw_back%</action>
2132 </action>
2133
2134 <action>
2135 <touch key="power+voldown"/>
2136 <action function="screenshot"/>
2137 </action>
2138 </page>
2139
2140 <page name="backup_confirm">
2141 <template name="page"/>
2142
2143 <template name="statusbar"/>
2144
2145 <text style="text_m">
2146 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002147 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 </text>
2149
2150 <text style="text_m_accent">
2151 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002152 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002153 </text>
2154
2155 <text style="text_m">
2156 <placement x="%col1_x_left%" y="%row2_y%"/>
2157 <text>%tw_backup_name%</text>
2158 </text>
2159
2160 <fill color="%accent_color%">
2161 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2162 </fill>
2163
2164 <button>
2165 <fill color="%transparent%"/>
2166 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2167 <actions>
2168 <action function="set">tw_back=backup_confirm</action>
2169 <action function="set">tw_fileexists=0</action>
2170 <action function="page">backup_name1</action>
2171 </actions>
2172 </button>
2173
2174 <fill color="%background_color%">
2175 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2176 </fill>
2177
2178 <text style="text_m_accent">
2179 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002180 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002181 </text>
2182
2183 <partitionlist style="partitionlist_summary">
2184 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2185 <data name="tw_backup_list"/>
2186 <listtype name="backup"/>
2187 </partitionlist>
2188
2189 <button>
2190 <fill color="%transparent%"/>
2191 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2192 <actions>
2193 <action function="set">tw_back=backup_confirm</action>
2194 <action function="page">backup_selectpartitions</action>
2195 </actions>
2196 </button>
2197
2198 <text style="text_m_accent">
2199 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002200 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002201 </text>
2202
2203 <text style="text_m">
2204 <placement x="%col1_x_right%" y="%row2_y%"/>
2205 <text>%tw_storage_display_name%</text>
2206 </text>
2207
2208 <button>
2209 <fill color="%transparent%"/>
2210 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2211 <actions>
2212 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002213 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002214 </actions>
2215 </button>
2216
2217 <text style="text_m_accent">
2218 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002219 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002220 </text>
2221
2222 <text style="text_m">
2223 <conditions>
2224 <condition var1="tw_include_encrypted_backup" var2="1"/>
2225 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002226 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002227 </conditions>
2228 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002229 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002230 </text>
2231
2232 <text style="text_m">
2233 <conditions>
2234 <condition var1="tw_include_encrypted_backup" var2="1"/>
2235 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002236 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </conditions>
2238 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <button>
2243 <fill color="%transparent%"/>
2244 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2245 <actions>
2246 <action function="set">tw_back=backup_confirm</action>
2247 <action function="page">backupencryption</action>
2248 </actions>
2249 </button>
2250
2251 <listbox style="listbox_options">
2252 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002254 <data variable="tw_use_compression"/>
2255 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002256 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2257 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002258 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002259 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002260 <data variable="tw_disable_free_space"/>
2261 </listitem>
2262 </listbox>
2263
2264 <text style="text_m_accent">
2265 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002267 </text>
2268
2269 <button>
2270 <fill color="%transparent%"/>
2271 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2272 <actions>
2273 <action function="set">tw_back=backup_confirm</action>
2274 <action function="page">backup_options</action>
2275 </actions>
2276 </button>
2277
2278 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 <action function="page">backup_run</action>
2281 </slider>
2282
2283 <action>
2284 <touch key="home"/>
2285 <action function="page">main</action>
2286 </action>
2287
2288 <action>
2289 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002290 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </action>
2292 </page>
2293
2294 <page name="backup_name1">
2295 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002297 <action function="generatebackupname"/>
2298 </action>
2299
2300 <action>
2301 <action function="page">backup_name2</action>
2302 </action>
2303 </page>
2304
2305 <page name="backup_name2">
2306 <template name="page"/>
2307
2308 <template name="statusbar"/>
2309
2310 <text style="text_m">
2311 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 </text>
2314
2315 <text style="text_m_accent">
2316 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <input>
2321 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2322 <text>%tw_backup_name%</text>
2323 <data name="tw_backup_name"/>
2324 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2325 <actions>
2326 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2327 <action function="set">tw_existpage=backup_name2</action>
2328 <action function="set">tw_notexistpage=backup_confirm</action>
2329 <action function="page">filecheck</action>
2330 </actions>
2331 </input>
2332
2333 <fill color="%accent_color%">
2334 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2335 </fill>
2336
2337 <fill color="%text_fail_color%">
2338 <condition var1="tw_fileexists" var2="1"/>
2339 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2340 </fill>
2341
2342 <text style="text_m_fail">
2343 <condition var1="tw_fileexists" var2="1"/>
2344 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002345 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002346 </text>
2347
2348 <button style="main_button_half_height">
2349 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002350 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002351 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002352 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002353 <action function="page">backup_confirm</action>
2354 </actions>
2355 </button>
2356
2357 <button style="main_button_half_height">
2358 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 <action function="appenddatetobackupname"/>
2361 </button>
2362
2363 <template name="keyboardtemplate"/>
2364
2365 <action>
2366 <touch key="home"/>
2367 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002369 <action function="page">main</action>
2370 </actions>
2371 </action>
2372
2373 <action>
2374 <touch key="back"/>
2375 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <action function="page">backup_confirm</action>
2378 </actions>
2379 </action>
2380 </page>
2381
2382 <page name="backupencryption">
2383 <template name="page"/>
2384
2385 <template name="statusbar"/>
2386
2387 <text style="text_m">
2388 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002389 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002390 </text>
2391
2392 <text style="text_m_accent">
2393 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002394 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002395 </text>
2396
2397 <input>
2398 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2399 <text>%tw_backup_encrypt_display%</text>
2400 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2401 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2402 <action function="page">backupencryption2</action>
2403 </input>
2404
2405 <fill color="%accent_color%">
2406 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2407 </fill>
2408
2409 <fill color="%text_fail_color%">
2410 <condition var1="tw_password_not_match" var2="1"/>
2411 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2412 </fill>
2413
2414 <text style="text_m_fail">
2415 <condition var1="tw_password_not_match" var2="1"/>
2416 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002418 </text>
2419
2420 <button style="main_button_half_height">
2421 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 <actions>
2424 <action function="set">tw_encrypt_backup=0</action>
2425 <action function="set">tw_backup_password=</action>
2426 <action function="set">tw_backup_password2=</action>
2427 <action function="set">tw_backup_encrypt_display=</action>
2428 <action function="set">tw_backup_encrypt_display2=</action>
2429 <action function="page">%tw_back%</action>
2430 </actions>
2431 </button>
2432
2433 <template name="keyboardtemplate"/>
2434
2435 <action>
2436 <touch key="home"/>
2437 <action function="page">main</action>
2438 </action>
2439
2440 <action>
2441 <touch key="back"/>
2442 <action function="page">%tw_back%</action>
2443 </action>
2444 </page>
2445
2446 <page name="backupencryption2">
2447 <template name="page"/>
2448
2449 <template name="statusbar"/>
2450
2451 <text style="text_m">
2452 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002453 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002454 </text>
2455
2456 <text style="text_m_accent">
2457 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <input>
2462 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2463 <text>%tw_backup_encrypt_display2%</text>
2464 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2465 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2466 <action function="page">checkbackuppassword</action>
2467 </input>
2468
2469 <fill color="%accent_color%">
2470 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2471 </fill>
2472
2473 <button style="main_button_half_height">
2474 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002475 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002476 <actions>
2477 <action function="set">tw_encrypt_backup=0</action>
2478 <action function="set">tw_backup_password=</action>
2479 <action function="set">tw_backup_password2=</action>
2480 <action function="set">tw_backup_encrypt_display=</action>
2481 <action function="set">tw_backup_encrypt_display2=</action>
2482 <action function="page">%tw_back%</action>
2483 </actions>
2484 </button>
2485
2486 <template name="keyboardtemplate"/>
2487
2488 <action>
2489 <touch key="home"/>
2490 <action function="page">main</action>
2491 </action>
2492
2493 <action>
2494 <touch key="back"/>
2495 <action function="page">%tw_back%</action>
2496 </action>
2497 </page>
2498
2499 <page name="checkbackuppassword">
2500 <action>
2501 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2502 <actions>
2503 <action function="set">tw_encrypt_backup=1</action>
2504 <action function="page">%tw_back%</action>
2505 </actions>
2506 </action>
2507
2508 <action>
2509 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2510 <actions>
2511 <action function="set">tw_encrypt_backup=0</action>
2512 <action function="set">tw_password_not_match=1</action>
2513 <action function="set">tw_backup_password=</action>
2514 <action function="set">tw_backup_password2=</action>
2515 <action function="set">tw_backup_encrypt_display=</action>
2516 <action function="set">tw_backup_encrypt_display2=</action>
2517 <action function="page">backupencryption</action>
2518 </actions>
2519 </action>
2520 </page>
2521
2522 <page name="backup_run">
2523 <template name="page"/>
2524
2525 <template name="statusbar"/>
2526
2527 <text style="text_m">
2528 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2529 <text>%tw_operation% %tw_partition%</text>
2530 </text>
2531
2532 <template name="console"/>
2533
2534 <template name="progress_bar"/>
2535
2536 <text style="text_m">
2537 <placement x="%indent%" y="%row13a_y%"/>
2538 <text>%tw_file_progress%</text>
2539 </text>
2540
2541 <text style="text_m">
2542 <placement x="%indent%" y="%row14a_y%"/>
2543 <text>%tw_size_progress%</text>
2544 </text>
2545
2546 <button style="main_button_half_height">
2547 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <action function="cancelbackup"/>
2550 </button>
2551
2552 <action>
2553 <action function="nandroid">backup</action>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_operation_state" var2="1"/>
2558 <condition var1="tw_cancel_backup" var2="0"/>
2559 <actions>
2560 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002561 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002562 <action function="set">tw_show_reboot=1</action>
2563 <action function="page">action_complete</action>
2564 </actions>
2565 </action>
2566
2567 <action>
2568 <condition var1="tw_operation_state" var2="1"/>
2569 <condition var1="tw_cancel_backup" var2="1"/>
2570 <actions>
2571 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002573 <action function="set">tw_show_reboot=1</action>
2574 <action function="page">action_complete</action>
2575 </actions>
2576 </action>
2577 </page>
2578
2579 <page name="restore">
2580 <template name="page"/>
2581
2582 <template name="statusbar"/>
2583
2584 <text style="text_m">
2585 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002586 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002587 </text>
2588
2589 <fileselector>
2590 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2591 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002592 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <path name="tw_backups_folder"/>
2594 <data name="tw_restore" default=""/>
2595 <selection name="tw_restore_name"/>
2596 </fileselector>
2597
2598 <button>
2599 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2600 <highlight color="%highlight_color%"/>
2601 <image resource="q_btn_storage"/>
2602 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002603 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002604 <action function="set">tw_back=restore</action>
2605 <action function="page">select_storage</action>
2606 </actions>
2607 </button>
2608
2609 <action>
2610 <condition var1="tw_restore" op="modified"/>
2611 <actions>
2612 <action function="readBackup"/>
2613 <action function="set">tw_back=restore</action>
2614 <action function="page">restore_read</action>
2615 </actions>
2616 </action>
2617
2618 <action>
2619 <touch key="home"/>
2620 <action function="page">main</action>
2621 </action>
2622
2623 <action>
2624 <touch key="back"/>
2625 <action function="page">main</action>
2626 </action>
2627 </page>
2628
2629 <page name="restore_read">
2630 <action>
2631 <condition var1="tw_restore_encrypted" var2="1"/>
2632 <actions>
2633 <action function="set">tw_password_fail=0</action>
2634 <action function="page">restore_decrypt</action>
2635 </actions>
2636 </action>
2637
2638 <action>
2639 <condition var1="tw_restore_encrypted" var2="0"/>
2640 <actions>
2641 <action function="page">restore_select</action>
2642 </actions>
2643 </action>
2644 </page>
2645
2646 <page name="restore_decrypt">
2647 <template name="page"/>
2648
2649 <template name="statusbar"/>
2650
2651 <text style="text_m">
2652 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 </text>
2655
2656 <text style="text_m_accent">
2657 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002658 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002659 </text>
2660
2661 <input>
2662 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2663 <text>%tw_restore_display%</text>
2664 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2665 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2666 <action function="page">try_restore_decrypt</action>
2667 </input>
2668
2669 <fill color="%accent_color%">
2670 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2671 </fill>
2672
2673 <fill color="%text_fail_color%">
2674 <condition var1="tw_password_fail" var2="1"/>
2675 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2676 </fill>
2677
2678 <text style="text_m_fail">
2679 <condition var1="tw_password_fail" var2="1"/>
2680 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002681 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002682 </text>
2683
2684 <button style="main_button_half_height">
2685 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002686 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002687 <actions>
2688 <action function="set">tw_page_done=1</action>
2689 <action function="page">restore</action>
2690 </actions>
2691 </button>
2692
2693 <button style="main_button_half_height">
2694 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002695 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002696 <actions>
2697 <action function="set">tw_back=restore</action>
2698 <action function="set">tw_action=cmd</action>
2699 <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 -05002700 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2701 <action function="set">tw_text2=%tw_restore_name%</action>
2702 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2703 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2704 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2705 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002706 <action function="page">confirm_action</action>
2707 </actions>
2708 </button>
2709
2710 <template name="keyboardtemplate"/>
2711
2712 <action>
2713 <touch key="home"/>
2714 <action function="page">main</action>
2715 </action>
2716
2717 <action>
2718 <touch key="back"/>
2719 <action function="page">restore</action>
2720 </action>
2721 </page>
2722
2723 <page name="try_restore_decrypt">
2724 <template name="page"/>
2725
2726 <template name="statusbar"/>
2727
2728 <text style="text_m">
2729 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002730 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002731 </text>
2732
2733 <template name="console"/>
2734
2735 <template name="progress_bar"/>
2736
2737 <action>
2738 <action function="decrypt_backup"/>
2739 </action>
2740
2741 <action>
2742 <conditions>
2743 <condition var1="tw_operation_state" var2="1"/>
2744 <condition var1="tw_operation_status" op="!=" var2="0"/>
2745 </conditions>
2746 <actions>
2747 <action function="set">tw_password_fail=1</action>
2748 <action function="page">restore_decrypt</action>
2749 </actions>
2750 </action>
2751
2752 <action>
2753 <conditions>
2754 <condition var1="tw_operation_state" var2="1"/>
2755 <condition var1="tw_operation_status" op="=" var2="0"/>
2756 </conditions>
2757 <actions>
2758 <action function="set">tw_page_done=1</action>
2759 <action function="page">restore_select</action>
2760 </actions>
2761 </action>
2762 </page>
2763
2764 <page name="restore_select">
2765 <template name="page"/>
2766
2767 <template name="statusbar"/>
2768
2769 <text style="text_m">
2770 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002771 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002772 </text>
2773
2774 <partitionlist style="partitionlist_headerless_cb">
2775 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2776 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2777 <listtype name="restore"/>
2778 </partitionlist>
2779
2780 <fill color="%accent_color%">
2781 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2782 </fill>
2783
2784 <button>
2785 <placement x="%col1_x_left%" y="%row11_y%"/>
2786 <highlight color="%highlight_color%"/>
2787 <image resource="q_btn_arrow_left"/>
2788 <action function="page">restore</action>
2789 </button>
2790
2791 <button>
2792 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2793 <highlight color="%highlight_color%"/>
2794 <image resource="q_btn_delete"/>
2795 <actions>
2796 <action function="set">tw_back=restore</action>
2797 <action function="set">tw_action=cmd</action>
2798 <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 -05002799 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002800 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2802 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2803 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2804 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <action function="page">confirm_action</action>
2806 </actions>
2807 </button>
2808
2809 <button>
2810 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2811 <highlight color="%highlight_color%"/>
2812 <image resource="q_btn_accept"/>
2813 <action function="page">restore_confirm</action>
2814 </button>
2815
2816 <button>
2817 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2818 <highlight color="%highlight_color%"/>
2819 <image resource="q_btn_arrow_right"/>
2820 <actions>
2821 <action function="set">tw_back=restore_select</action>
2822 <action function="page">restore_options</action>
2823 </actions>
2824 </button>
2825
2826 <action>
2827 <touch key="home"/>
2828 <action function="page">main</action>
2829 </action>
2830
2831 <action>
2832 <touch key="back"/>
2833 <action function="page">%tw_back%</action>
2834 </action>
2835 </page>
2836
2837 <page name="restore_options">
2838 <template name="page"/>
2839
2840 <template name="statusbar"/>
2841
2842 <text style="text_m">
2843 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002844 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002845 </text>
2846
2847 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002848 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002849 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002850 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2851 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002852 </listitem>
2853 </listbox>
2854
2855 <button>
2856 <placement x="%col1_x_left%" y="%row11_y%"/>
2857 <highlight color="%highlight_color%"/>
2858 <image resource="q_btn_arrow_left"/>
2859 <action function="page">restore_select</action>
2860 </button>
2861
2862 <button>
2863 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2864 <highlight color="%highlight_color%"/>
2865 <image resource="q_btn_accept_transp"/>
2866 <actions>
2867 <action function="set">tw_back=restore_options</action>
2868 <action function="page">restore_confirm</action>
2869 </actions>
2870 </button>
2871
2872 <action>
2873 <touch key="home"/>
2874 <action function="page">main</action>
2875 </action>
2876
2877 <action>
2878 <touch key="back"/>
2879 <action function="page">%tw_back%</action>
2880 </action>
2881
2882 <action>
2883 <touch key="power+voldown"/>
2884 <action function="screenshot"/>
2885 </action>
2886 </page>
2887
2888 <page name="renamebackup">
2889 <template name="page"/>
2890
2891 <template name="statusbar"/>
2892
2893 <text style="text_m">
2894 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002895 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002896 </text>
2897
2898 <text style="text_m_accent">
2899 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002900 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002901 </text>
2902
2903 <input>
2904 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2905 <text>%tw_backup_rename%</text>
2906 <data name="tw_backup_rename"/>
2907 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2908 <actions>
2909 <action function="set">tw_back=restore</action>
2910 <action function="set">tw_action=cmd</action>
2911 <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 -05002912 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2913 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2914 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2915 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2916 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002917 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2918 <action function="set">tw_existpage=renamebackup</action>
2919 <action function="set">tw_notexistpage=confirm_action</action>
2920 <action function="page">filecheck</action>
2921 </actions>
2922 </input>
2923
2924 <fill color="%accent_color%">
2925 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2926 </fill>
2927
2928 <fill color="%text_fail_color%">
2929 <condition var1="tw_fileexists" var2="1"/>
2930 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2931 </fill>
2932
2933 <text style="text_m_fail">
2934 <condition var1="tw_fileexists" var2="1"/>
2935 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002936 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002937 </text>
2938
2939 <button style="main_button_half_height">
2940 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002941 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002942 <action function="page">restore_confirm</action>
2943 </button>
2944
2945 <template name="keyboardtemplate"/>
2946
2947 <action>
2948 <touch key="home"/>
2949 <action function="page">main</action>
2950 </action>
2951
2952 <action>
2953 <touch key="back"/>
2954 <action function="page">restore_confirm</action>
2955 </action>
2956 </page>
2957
2958 <page name="restore_confirm">
2959 <template name="page"/>
2960
2961 <template name="statusbar"/>
2962
2963 <text style="text_m">
2964 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 </text>
2967
2968 <text style="text_m_accent">
2969 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m">
2974 <placement x="%indent%" y="%row2_y%"/>
2975 <text>%tw_restore_name%</text>
2976 </text>
2977
2978 <fill color="%accent_color%">
2979 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2980 </fill>
2981
2982 <button>
2983 <fill color="%transparent%"/>
2984 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2985 <actions>
2986 <action function="set">tw_back=restore_confirm</action>
2987 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2988 <action function="set">tw_fileexists=0</action>
2989 <action function="page">renamebackup</action>
2990 </actions>
2991 </button>
2992
2993 <text style="text_m_accent">
2994 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
2998 <partitionlist style="partitionlist_summary">
2999 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
3000 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
3001 <listtype name="restore"/>
3002 </partitionlist>
3003
3004 <button>
3005 <fill color="%transparent%"/>
3006 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
3007 <actions>
3008 <action function="set">tw_back=restore_confirm</action>
3009 <action function="page">restore_select</action>
3010 </actions>
3011 </button>
3012
3013 <listbox style="listbox_options">
3014 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003015 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3016 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003017 </listitem>
3018 </listbox>
3019
3020 <text style="text_m_accent">
3021 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 </text>
3024
3025 <button>
3026 <fill color="%transparent%"/>
3027 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3028 <actions>
3029 <action function="set">tw_back=restore_confirm</action>
3030 <action function="page">restore_options</action>
3031 </actions>
3032 </button>
3033
3034 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003035 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <action function="page">restore_run</action>
3037 </slider>
3038
3039 <action>
3040 <touch key="home"/>
3041 <action function="page">main</action>
3042 </action>
3043
3044 <action>
3045 <touch key="back"/>
3046 <action function="page">restore_options</action>
3047 </action>
3048 </page>
3049
3050 <page name="restore_run">
3051 <template name="page"/>
3052
3053 <template name="statusbar"/>
3054
3055 <text style="text_m">
3056 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3057 <text>%tw_operation% %tw_partition%</text>
3058 </text>
3059
3060 <template name="console"/>
3061
3062 <template name="progress_bar"/>
3063
3064 <text style="text_m">
3065 <placement x="%indent%" y="%row14a_y%"/>
3066 <text>%tw_size_progress%</text>
3067 </text>
3068
3069 <action>
3070 <condition var1="tw_operation_state" var2="1"/>
3071 <actions>
3072 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003073 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003074 <action function="set">tw_show_reboot=1</action>
3075 <action function="page">action_complete</action>
3076 </actions>
3077 </action>
3078
3079 <action>
3080 <action function="nandroid">restore</action>
3081 </action>
3082 </page>
3083
3084 <page name="mount">
3085 <template name="page"/>
3086
3087 <template name="statusbar"/>
3088
3089 <text style="text_m">
3090 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 </text>
3093
3094 <partitionlist style="partitionlist_headerless_cb">
3095 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3096 <listtype name="mount"/>
3097 </partitionlist>
3098
3099 <fill color="%accent_color%">
3100 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3101 </fill>
3102
3103 <button style="checkbox">
3104 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3105 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003106 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003107 <image resource="checkbox_false"/>
3108 <action function="mountsystemtoggle">1</action>
3109 </button>
3110
3111 <button style="checkbox">
3112 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3113 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003115 <image resource="checkbox_true"/>
3116 <actions>
3117 <action function="set">tw_lifetime_writes=2</action>
3118 <action function="page">system_readonly_check</action>
3119 </actions>
3120 </button>
3121
3122 <button style="checkbox">
3123 <conditions>
3124 <condition var1="tw_has_mtp" var2="1"/>
3125 <condition var1="tw_mtp_enabled" var2="0"/>
3126 </conditions>
3127 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3128 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <action function="startmtp"/>
3131 </button>
3132
3133 <button style="checkbox">
3134 <conditions>
3135 <condition var1="tw_has_mtp" var2="1"/>
3136 <condition var1="tw_mtp_enabled" var2="1"/>
3137 </conditions>
3138 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3139 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003140 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003141 <action function="stopmtp"/>
3142 </button>
3143
3144 <button>
3145 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3146 <highlight color="%highlight_color%"/>
3147 <image resource="q_btn_storage"/>
3148 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003149 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003150 <action function="set">tw_back=mount</action>
3151 <action function="page">select_storage</action>
3152 </actions>
3153 </button>
3154
3155 <button>
3156 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3157 <highlight color="%highlight_color%"/>
3158 <image resource="q_btn_arrow_right"/>
3159 <action function="page">mount_options</action>
3160 </button>
3161
3162 <action>
3163 <touch key="home"/>
3164 <action function="page">main</action>
3165 </action>
3166
3167 <action>
3168 <touch key="back"/>
3169 <action function="page">main</action>
3170 </action>
3171 </page>
3172
3173 <page name="mount_options">
3174 <template name="page"/>
3175
3176 <template name="statusbar"/>
3177
3178 <text style="text_m">
3179 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 </text>
3182
3183 <button style="main_button_full_width">
3184 <condition var1="tw_has_usb_storage" var2="1"/>
3185 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 <action function="page">usb_mount</action>
3188 </button>
3189
3190 <button style="main_button_full_width">
3191 <conditions>
3192 <condition var1="tw_is_encrypted" var2="1"/>
3193 <condition var1="tw_is_decrypted" var2="0"/>
3194 </conditions>
3195 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 <action function="page">decrypt</action>
3198 </button>
3199
3200 <button>
3201 <placement x="%col1_x_left%" y="%row11_y%"/>
3202 <highlight color="%highlight_color%"/>
3203 <image resource="q_btn_arrow_left"/>
3204 <action function="page">mount</action>
3205 </button>
3206
3207 <action>
3208 <touch key="home"/>
3209 <action function="page">main</action>
3210 </action>
3211
3212 <action>
3213 <touch key="back"/>
3214 <action function="page">mount</action>
3215 </action>
3216 </page>
3217
3218 <page name="usb_mount">
3219 <template name="page"/>
3220
3221 <template name="statusbar"/>
3222
3223 <text style="text_m">
3224 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003225 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003226 </text>
3227
3228 <text style="text_m_accent">
3229 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003231 </text>
3232
3233 <text style="text_m_fail">
3234 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 </text>
3237
3238 <text style="text_m_fail">
3239 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003240 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003241 </text>
3242
3243 <button style="main_button">
3244 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <action function="page">usb_umount</action>
3247 </button>
3248
3249 <action>
3250 <action function="mount">usb</action>
3251 <action function="set">tw_busy=1</action>
3252 </action>
3253 </page>
3254
3255 <page name="usb_umount">
3256 <action>
3257 <action function="unmount">usb</action>
3258 </action>
3259
3260 <action>
3261 <action function="page">mount_options</action>
3262 <action function="set">tw_busy=0</action>
3263 </action>
3264 </page>
3265
3266 <page name="system_readonly_check">
3267 <action>
3268 <action function="checkpartitionlifetimewrites">/system</action>
3269 </action>
3270
3271 <action>
3272 <condition var1="tw_lifetime_writes" var2="1"/>
3273 <actions>
3274 <action function="mountsystemtoggle">0</action>
3275 <action function="page">mount</action>
3276 </actions>
3277 </action>
3278
3279 <action>
3280 <condition var1="tw_lifetime_writes" var2="0"/>
3281 <actions>
3282 <action function="set">tw_back=mount</action>
3283 <action function="page">system_readonly</action>
3284 </actions>
3285 </action>
3286 </page>
3287
3288 <page name="reboot">
3289 <template name="page"/>
3290
3291 <template name="statusbar"/>
3292
3293 <text style="text_m">
3294 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003295 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <button style="main_button">
3299 <condition var1="tw_reboot_system" var2="1"/>
3300 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003302 <actions>
3303 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003304 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </actions>
3306 </button>
3307
3308 <button style="main_button">
3309 <condition var1="tw_reboot_poweroff" var2="1"/>
3310 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003312 <actions>
3313 <action function="set">tw_back=reboot</action>
3314 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003315 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003316 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003317 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3319 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3320 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3321 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3322 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <action function="page">rebootcheck</action>
3324 </actions>
3325 </button>
3326
3327 <button style="main_button">
3328 <condition var1="tw_reboot_recovery" var2="1"/>
3329 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <actions>
3332 <action function="set">tw_back=reboot</action>
3333 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003334 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003335 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003336 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003337 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3338 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3339 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3340 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3341 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003342 <action function="page">rebootcheck</action>
3343 </actions>
3344 </button>
3345
3346 <button style="main_button">
3347 <condition var1="tw_reboot_bootloader" var2="1"/>
3348 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003349 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <actions>
3351 <action function="set">tw_back=reboot</action>
3352 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003353 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003354 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003355 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3357 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3358 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3359 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3360 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <action function="page">rebootcheck</action>
3362 </actions>
3363 </button>
3364
3365 <button style="main_button">
3366 <condition var1="tw_download_mode" var2="1"/>
3367 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003368 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003369 <actions>
3370 <action function="set">tw_back=reboot</action>
3371 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003372 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003373 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003374 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3376 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3377 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3378 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3379 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003380 <action function="page">rebootcheck</action>
3381 </actions>
3382 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003383 <button style="main_button">
3384 <condition var1="tw_edl_mode" var2="1"/>
3385 <placement x="%col1_x_right%" y="%row11_y%"/>
3386 <text>{@rb_edl_btn=Edl}</text>
3387 <actions>
3388 <action function="set">tw_back=reboot</action>
3389 <action function="set">tw_action=reboot</action>
3390 <action function="set">tw_action_param=edl</action>
3391 <action function="set">tw_reboot_param=edl</action>
3392 <action function="set">tw_has_action2=0</action>
3393 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3394 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3395 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3396 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3397 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3398 <action function="page">rebootcheck</action>
3399 </actions>
3400 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003401
3402 <action>
3403 <touch key="home"/>
3404 <action function="page">main</action>
3405 </action>
3406
3407 <action>
3408 <touch key="back"/>
3409 <action function="page">main</action>
3410 </action>
3411 </page>
3412
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003413 <page name="rebootapp">
3414 <template name="page"/>
3415
3416 <template name="statusbar"/>
3417
3418 <text style="text_m">
3419 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3420 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3421 </text>
3422
3423 <text style="text_m_accent">
3424 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3425 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3426 </text>
3427
3428 <text style="text_m">
3429 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3430 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3431 </text>
3432
3433 <checkbox>
3434 <placement x="%indent%" y="%row3_y%"/>
3435 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3436 <data variable="tw_app_prompt"/>
3437 </checkbox>
3438
3439 <checkbox>
3440 <condition var1="tw_mount_system_ro" var2="0"/>
3441 <placement x="%indent%" y="%row5_y%"/>
3442 <text>{@reboot_install_app_system=Install as a System App}</text>
3443 <data variable="tw_app_install_system"/>
3444 </checkbox>
3445
3446 <button style="main_button_half_height">
3447 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003448 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003449 <action function="reboot">%tw_reboot_param%</action>
3450 </button>
3451
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003452 <action>
3453 <touch key="home"/>
3454 <actions>
3455 <action function="set">tw_app_install_status=0</action>
3456 <action function="page">main</action>
3457 </actions>
3458 </action>
3459
3460 <action>
3461 <touch key="back"/>
3462 <actions>
3463 <action function="set">tw_app_install_status=0</action>
3464 <action function="page">reboot</action>
3465 </actions>
3466 </action>
3467 </page>
3468
z31s1g28f0a922015-11-07 18:50:22 +01003469 <page name="system_readonly">
3470 <template name="page"/>
3471
3472 <template name="statusbar"/>
3473
3474 <text style="text_m">
3475 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </text>
3478
3479 <text style="text_m_accent">
3480 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 </text>
3483
3484 <text style="text_m">
3485 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 </text>
3488
3489 <text style="text_m">
3490 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 </text>
3493
3494 <text style="text_m">
3495 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003496 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003497 </text>
3498
3499 <text style="text_m">
3500 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003505 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 </text>
3508
3509 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003510 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003512 </text>
3513
z31s1g608d7ff2016-01-18 19:47:25 +01003514 <button style="main_button_half_height">
3515 <placement x="%col1_x_right%" y="%row8a_y%"/>
3516 <text>{@sel_lang_btn=Select Language}</text>
3517 <action function="page">settings_language</action>
3518 </button>
3519
z31s1g28f0a922015-11-07 18:50:22 +01003520 <checkbox>
3521 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003522 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003524 <data variable="tw_never_show_system_ro_page"/>
3525 </checkbox>
3526
3527 <button style="main_button_half_height">
3528 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003529 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003530 <actions>
3531 <action function="mountsystemtoggle">1</action>
3532 <action function="set">tw_page_done=1</action>
3533 <action function="page">%tw_back%</action>
3534 </actions>
3535 </button>
3536
3537 <button style="main_button_half_height">
3538 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003540 <actions>
3541 <action function="mountsystemtoggle">0</action>
3542 <action function="set">tw_page_done=1</action>
3543 <action function="page">%tw_back%</action>
3544 </actions>
3545 </button>
3546 </page>
3547
3548 <page name="settings">
3549 <template name="page"/>
3550
3551 <template name="statusbar"/>
3552
3553 <text style="text_m">
3554 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 </text>
3557
3558 <button style="main_button">
3559 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003561 <action function="page">settings_general</action>
3562 </button>
3563
3564 <button style="main_button">
3565 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003566 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <action function="page">settings_timezone</action>
3568 </button>
3569
3570 <button style="main_button">
3571 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003572 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003573 <action function="page">settings_screen</action>
3574 </button>
3575
3576 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003577 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003578 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003579 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003580 <action function="page">settings_vibration</action>
3581 </button>
3582
3583 <button style="main_button">
3584 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003586 <action function="page">settings_language</action>
3587 </button>
3588
3589 <button>
3590 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3591 <highlight color="%highlight_color%"/>
3592 <image resource="q_btn_reset"/>
3593 <action function="restoredefaultsettings"/>
3594 </button>
3595
3596 <action>
3597 <touch key="home"/>
3598 <action function="page">main</action>
3599 </action>
3600
3601 <action>
3602 <touch key="back"/>
3603 <action function="page">main3</action>
3604 </action>
3605 </page>
3606
3607 <page name="settings_general">
3608 <template name="page"/>
3609
3610 <template name="statusbar"/>
3611
3612 <text style="text_m">
3613 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003615 </text>
3616
3617 <listbox style="scrolllist">
3618 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003619 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003620 <data variable="tw_signed_zip_verify"/>
3621 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003622 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3623 <data variable="tw_install_reboot"/>
3624 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003625 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003626 <data variable="tw_rm_rf"/>
3627 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003628 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3629 <data variable="tw_disable_free_space"/>
3630 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003631 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3632 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003633 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003634 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3635 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003638 <data variable="tw_military_time"/>
3639 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003640 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3641 <data variable="tw_app_prompt"/>
3642 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003643 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003644 <data variable="tw_simulate_actions"/>
3645 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003646 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003647 <data variable="tw_simulate_fail"/>
3648 <condition var1="tw_simulate_actions" var2="1"/>
3649 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003650 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3651 <condition var1="tw_no_sha2" var2="0"/>
3652 <data variable="tw_use_sha2"/>
3653 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003654 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3655 <data variable="tw_unmount_system"/>
3656 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003657 </listbox>
3658
3659 <action>
3660 <touch key="home"/>
3661 <action function="page">main</action>
3662 </action>
3663
3664 <action>
3665 <touch key="back"/>
3666 <action function="page">settings</action>
3667 </action>
3668 </page>
3669
3670 <page name="settings_timezone">
3671 <template name="page"/>
3672
3673 <template name="statusbar"/>
3674
3675 <text style="text_m">
3676 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003678 </text>
3679
3680 <text color="%text_color%">
3681 <font resource="font_m"/>
3682 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3683 <text>%tw_time%</text>
3684 </text>
3685
3686 <listbox style="listbox_headerless">
3687 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3688 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003689 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3690 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3691 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3692 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3693 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3694 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3695 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3696 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3697 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3698 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3699 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3700 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3701 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3702 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3703 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3704 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3705 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3706 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3707 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3708 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3709 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3710 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3711 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3712 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003713 </listbox>
3714
3715 <button>
3716 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3717 <highlight color="%highlight_color%"/>
3718 <image resource="q_btn_arrow_right"/>
3719 <actions>
3720 <action function="setguitimezone"/>
3721 <action function="page">settings_timezone2</action>
3722 </actions>
3723 </button>
3724
3725 <action>
3726 <condition var1="tw_time_zone_guisel" op="modified"/>
3727 <action function="setguitimezone"/>
3728 </action>
3729
3730 <action>
3731 <touch key="home"/>
3732 <actions>
3733 <action function="page">main</action>
3734 <action function="setguitimezone"/>
3735 </actions>
3736 </action>
3737
3738 <action>
3739 <touch key="back"/>
3740 <actions>
3741 <action function="page">settings</action>
3742 <action function="setguitimezone"/>
3743 </actions>
3744 </action>
3745
3746 <action>
3747 <touch key="power+voldown"/>
3748 <action function="screenshot"/>
3749 </action>
3750 </page>
3751
3752 <page name="settings_timezone2">
3753 <template name="page"/>
3754
3755 <template name="statusbar"/>
3756
3757 <text style="text_m">
3758 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003759 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003760 </text>
3761
3762 <text color="%text_color%">
3763 <font resource="font_m"/>
3764 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3765 <text>%tw_time%</text>
3766 </text>
3767
3768 <checkbox>
3769 <placement x="%col1_x_left%" y="%row1_y%"/>
3770 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 <data variable="tw_time_zone_guidst"/>
3773 <image checked="checkbox_true" unchecked="checkbox_false"/>
3774 </checkbox>
3775
3776 <text style="text_m_accent">
3777 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 </text>
3780
3781 <button style="main_button_quarter_width">
3782 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 <actions>
3785 <action function="set">tw_time_zone_guioffset=0</action>
3786 <action function="setguitimezone"/>
3787 </actions>
3788 </button>
3789
3790 <button style="main_button_quarter_width">
3791 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 <actions>
3794 <action function="set">tw_time_zone_guioffset=15</action>
3795 <action function="setguitimezone"/>
3796 </actions>
3797 </button>
3798
3799 <button style="main_button_quarter_width">
3800 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003801 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003802 <actions>
3803 <action function="set">tw_time_zone_guioffset=30</action>
3804 <action function="setguitimezone"/>
3805 </actions>
3806 </button>
3807
3808 <button style="main_button_quarter_width">
3809 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003810 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003811 <actions>
3812 <action function="set">tw_time_zone_guioffset=45</action>
3813 <action function="setguitimezone"/>
3814 </actions>
3815 </button>
3816
3817 <button>
3818 <placement x="%col1_x_left%" y="%row11_y%"/>
3819 <highlight color="%highlight_color%"/>
3820 <image resource="q_btn_arrow_left"/>
3821 <actions>
3822 <action function="setguitimezone"/>
3823 <action function="page">settings_timezone</action>
3824 </actions>
3825 </button>
3826
3827 <text style="text_m_accent">
3828 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003829 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003830 </text>
3831
3832 <text style="text_m">
3833 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3834 <text>%tw_time_zone%</text>
3835 </text>
3836
3837 <action>
3838 <condition var1="tw_time_zone_guidst" op="modified"/>
3839 <action function="setguitimezone"/>
3840 </action>
3841
3842 <action>
3843 <touch key="home"/>
3844 <actions>
3845 <action function="setguitimezone"/>
3846 <action function="page">main</action>
3847 </actions>
3848 </action>
3849
3850 <action>
3851 <touch key="back"/>
3852 <actions>
3853 <action function="setguitimezone"/>
3854 <action function="page">settings_timezone</action>
3855 </actions>
3856 </action>
3857 </page>
3858
3859 <page name="settings_screen">
3860 <template name="page"/>
3861
3862 <template name="statusbar"/>
3863
3864 <text style="text_m">
3865 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003866 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003867 </text>
3868
3869 <button style="checkbox">
3870 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3871 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3872 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003874 <image resource="checkbox_false"/>
3875 <action function="set">tw_screen_timeout_secs=60</action>
3876 </button>
3877
3878 <button style="checkbox">
3879 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3880 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3881 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 <image resource="checkbox_true"/>
3884 <action function="set">tw_screen_timeout_secs=0</action>
3885 </button>
3886
3887 <slidervalue>
3888 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3889 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003891 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3892 </slidervalue>
3893
3894 <text style="text_m_fail">
3895 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3896 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </text>
3899
3900 <button>
3901 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3902 <highlight color="%highlight_color%"/>
3903 <image resource="q_btn_arrow_right"/>
3904 <action function="page">settings_screen2</action>
3905 </button>
3906
3907 <action>
3908 <touch key="home"/>
3909 <action function="page">main</action>
3910 </action>
3911
3912 <action>
3913 <touch key="back"/>
3914 <action function="page">settings</action>
3915 </action>
3916 </page>
3917
3918 <page name="settings_screen2">
3919 <template name="page"/>
3920
3921 <template name="statusbar"/>
3922
3923 <text style="text_m">
3924 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003925 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003926 </text>
3927
3928 <slidervalue>
3929 <condition var1="tw_has_brightnesss_file" var2="1"/>
3930 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 <data variable="tw_brightness_pct" min="10" max="100"/>
3933 <actions>
3934 <action function="set">tw_brightness=%tw_brightness_max%</action>
3935 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3936 <action function="compute">tw_brightness/100</action>
3937 <action function="setbrightness">%tw_brightness%</action>
3938 </actions>
3939 </slidervalue>
3940
3941 <text style="text_m_fail">
3942 <condition var1="tw_has_brightnesss_file" var2="0"/>
3943 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 </text>
3946
3947 <button>
3948 <placement x="%col1_x_left%" y="%row11_y%"/>
3949 <highlight color="%highlight_color%"/>
3950 <image resource="q_btn_arrow_left"/>
3951 <action function="page">settings_screen</action>
3952 </button>
3953
3954 <action>
3955 <touch key="home"/>
3956 <action function="page">main</action>
3957 </action>
3958
3959 <action>
3960 <touch key="back"/>
3961 <action function="page">settings</action>
3962 </action>
3963 </page>
3964
3965 <page name="settings_vibration">
3966 <template name="page"/>
3967
3968 <template name="statusbar"/>
3969
3970 <text style="text_m">
3971 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003972 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003973 </text>
3974
3975 <slidervalue>
3976 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003977 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 <data variable="tw_button_vibrate" min="0" max="300"/>
3979 </slidervalue>
3980
3981 <button>
3982 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3983 <highlight color="%highlight_color%"/>
3984 <image resource="q_btn_arrow_right"/>
3985 <action function="page">settings_vibration2</action>
3986 </button>
3987
3988 <action>
3989 <touch key="home"/>
3990 <action function="page">main</action>
3991 </action>
3992
3993 <action>
3994 <touch key="back"/>
3995 <action function="page">settings</action>
3996 </action>
3997 </page>
3998
3999 <page name="settings_vibration2">
4000 <template name="page"/>
4001
4002 <template name="statusbar"/>
4003
4004 <text style="text_m">
4005 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004006 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004007 </text>
4008
4009 <slidervalue>
4010 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
4013 </slidervalue>
4014
4015 <button>
4016 <placement x="%col1_x_left%" y="%row11_y%"/>
4017 <highlight color="%highlight_color%"/>
4018 <image resource="q_btn_arrow_left"/>
4019 <action function="page">settings_vibration</action>
4020 </button>
4021
4022 <button>
4023 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4024 <highlight color="%highlight_color%"/>
4025 <image resource="q_btn_arrow_right"/>
4026 <action function="page">settings_vibration3</action>
4027 </button>
4028
4029 <action>
4030 <touch key="home"/>
4031 <action function="page">main</action>
4032 </action>
4033
4034 <action>
4035 <touch key="back"/>
4036 <action function="page">settings</action>
4037 </action>
4038 </page>
4039
4040 <page name="settings_vibration3">
4041 <template name="page"/>
4042
4043 <template name="statusbar"/>
4044
4045 <text style="text_m">
4046 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004047 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </text>
4049
4050 <slidervalue>
4051 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004052 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004053 <data variable="tw_action_vibrate" min="0" max="500"/>
4054 </slidervalue>
4055
4056 <button>
4057 <placement x="%col1_x_left%" y="%row11_y%"/>
4058 <highlight color="%highlight_color%"/>
4059 <image resource="q_btn_arrow_left"/>
4060 <action function="page">settings_vibration2</action>
4061 </button>
4062
4063 <action>
4064 <touch key="home"/>
4065 <action function="page">main</action>
4066 </action>
4067
4068 <action>
4069 <touch key="back"/>
4070 <action function="page">settings</action>
4071 </action>
4072 </page>
4073
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <page name="settings_language">
4075 <template name="page"/>
4076
4077 <template name="statusbar"/>
4078
4079 <text style="text_m">
4080 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4081 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4082 </text>
4083
z31s1g608d7ff2016-01-18 19:47:25 +01004084 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4086 <icon selected="radio_true" unselected="radio_false" />
4087 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004088 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089
4090 <button>
4091 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4092 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004093 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <action function="setlanguage"></action>
4095 </button>
4096
z31s1g608d7ff2016-01-18 19:47:25 +01004097 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004098 <touch key="home" />
4099 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004100 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101
z31s1g608d7ff2016-01-18 19:47:25 +01004102 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004103 <touch key="back" />
4104 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004105 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 </page>
4107
z31s1g28f0a922015-11-07 18:50:22 +01004108 <page name="advanced">
4109 <template name="page"/>
4110
4111 <template name="statusbar"/>
4112
4113 <text style="text_m">
4114 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004116 </text>
4117
4118 <button style="main_button">
4119 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004120 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004121 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </button>
4123
4124 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004125 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004126 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004127 <text>{@fix_context_btn=Fix Contexts}</text>
4128 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004129 </button>
4130
Ethan Yonker64e0a652018-07-25 09:52:17 -05004131 <button>
4132 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4133 <highlight color="%highlight_color%"/>
4134 <image resource="q_btn_arrow_right"/>
4135 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004136 </button>
4137
Ethan Yonker64e0a652018-07-25 09:52:17 -05004138 <action>
4139 <touch key="home"/>
4140 <action function="page">main</action>
4141 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004142
Ethan Yonker64e0a652018-07-25 09:52:17 -05004143 <action>
4144 <touch key="back"/>
4145 <action function="page">main3</action>
4146 </action>
4147 </page>
4148
4149 <page name="advanced2">
4150 <template name="page"/>
4151
4152 <template name="statusbar"/>
4153
4154 <text style="text_m">
4155 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4156 <text>{@advanced_hdr=Advanced}</text>
4157 </text>
4158
4159 <listbox style="advanced_listbox">
4160 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4161 <listitem name="{@reload_theme_btn=Reload Theme}">
4162 <action function="reload"/>
4163 </listitem>
4164 <listitem name="{@part_sd_btn=Partition SD Card}">
4165 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4166 <actions>
4167 <action function="set">partitionlisterror=0</action>
4168 <action function="page">partsdcardsel</action>
4169 </actions>
4170 </listitem>
4171 <listitem name="{@dumlock_btn=HTC Dumlock}">
4172 <condition var1="tw_show_dumlock" var2="1"/>
4173 <action function="page">htcdumlock</action>
4174 </listitem>
4175 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4176 <condition var1="tw_has_injecttwrp" var2="1"/>
4177 <actions>
4178 <action function="set">tw_back=advanced</action>
4179 <action function="set">tw_action=reinjecttwrp</action>
4180 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4181 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4182 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4183 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4184 <action function="page">confirm_action</action>
4185 </actions>
4186 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004187 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4188 <conditions>
4189 <condition var1="tw_has_boot_slots" var2="1"/>
4190 <condition var1="tw_has_repack_tools" var2="1"/>
4191 </conditions>
4192 <actions>
4193 <action function="set">tw_repack_kernel=0</action>
4194 <action function="page">repackselect</action>
4195 </actions>
4196 </listitem>
4197 <listitem name="{@install_kernel=Install Kernel}">
4198 <conditions>
4199 <condition var1="tw_has_boot_slots" var2="1"/>
4200 <condition var1="tw_has_repack_tools" var2="1"/>
4201 </conditions>
4202 <actions>
4203 <action function="set">tw_repack_kernel=1</action>
4204 <action function="page">repackselect</action>
4205 </actions>
4206 </listitem>
4207 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4208 <conditions>
4209 <condition var1="tw_has_boot_slots" var2="1"/>
4210 <condition var1="tw_has_repack_tools" var2="1"/>
4211 </conditions>
4212 <actions>
4213 <action function="set">tw_back=advanced</action>
4214 <action function="set">tw_action=fixabrecoverybootloop</action>
4215 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4216 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4217 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4218 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4219 <action function="page">confirm_action</action>
4220 </actions>
4221 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004222 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4223 <condition var1="tw_app_installed_in_system" var2="1"/>
4224 <actions>
4225 <action function="set">tw_back=advanced</action>
4226 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4227 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4228 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4229 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4230 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4231 <action function="page">confirm_action</action>
4232 </actions>
4233 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004234 </listbox>
4235
4236 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004237 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004238 <highlight color="%highlight_color%"/>
4239 <image resource="q_btn_arrow_left"/>
4240 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </button>
4242
4243 <action>
4244 <touch key="home"/>
4245 <action function="page">main</action>
4246 </action>
4247
4248 <action>
4249 <touch key="back"/>
4250 <action function="page">main3</action>
4251 </action>
4252 </page>
4253
Ethan Yonker483e9f42016-01-11 22:21:18 -06004254 <page name="partsdcardsel">
4255 <template name="page"/>
4256
4257 <template name="statusbar"/>
4258
4259 <text style="text_m">
4260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4261 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4262 </text>
4263
4264 <partitionlist style="partitionlist_headerless_rb">
4265 <data name="tw_storage_path"/>
4266 <listtype name="storage"/>
4267 </partitionlist>
4268
4269 <text style="text_m_fail">
4270 <condition var1="partitionlisterror" var2="1"/>
4271 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4272 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4273 </text>
4274
4275 <button>
4276 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4277 <highlight color="%highlight_color%"/>
4278 <image resource="q_btn_refresh"/>
4279 <action function="refreshsizes"/>
4280 </button>
4281
4282 <button>
4283 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4284 <highlight color="%highlight_color%"/>
4285 <image resource="q_btn_accept"/>
4286 <actions>
4287 <action function="getpartitiondetails">tw_storage_path</action>
4288 <action function="page">partsdcardcheck</action>
4289 </actions>
4290 </button>
4291
4292 <action>
4293 <touch key="home"/>
4294 <action function="page">main</action>
4295 </action>
4296
4297 <action>
4298 <touch key="back"/>
4299 <action function="page">advanced</action>
4300 </action>
4301 </page>
4302
4303 <page name="partsdcardcheck">
4304 <action>
4305 <condition var1="tw_partition_removable" op="=" var2="1"/>
4306 <actions>
4307 <action function="set">partitionlisterror=0</action>
4308 <action function="page">partsdcard</action>
4309 </actions>
4310 </action>
4311
4312 <action>
4313 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4314 <actions>
4315 <action function="set">partitionlisterror=1</action>
4316 <action function="page">partsdcardsel</action>
4317 </actions>
4318 </action>
4319 </page>
4320
z31s1g28f0a922015-11-07 18:50:22 +01004321 <page name="partsdcard">
4322 <template name="page"/>
4323
4324 <template name="statusbar"/>
4325
4326 <text style="text_m">
4327 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004328 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004329 </text>
4330
4331 <text style="text_m_fail">
4332 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004333 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004334 </text>
4335
4336 <text style="text_m_fail">
4337 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004338 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004339 </text>
4340
4341 <text style="text_m_accent">
4342 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <text style="text_m">
4347 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4348 <text>%tw_sdext_size%</text>
4349 </text>
4350
4351 <button style="main_button_quarter_width">
4352 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004354 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004355 </button>
4356
4357 <button style="main_button_quarter_width">
4358 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004360 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004361 </button>
4362
4363 <button>
4364 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4365 <highlight color="%highlight_color%"/>
4366 <image resource="q_btn_arrow_right"/>
4367 <action function="page">partsdcard2</action>
4368 </button>
4369
4370 <action>
4371 <touch key="home"/>
4372 <action function="page">main</action>
4373 </action>
4374
4375 <action>
4376 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004377 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004378 </action>
4379 </page>
4380
4381 <page name="partsdcard2">
4382 <template name="page"/>
4383
4384 <template name="statusbar"/>
4385
4386 <text style="text_m">
4387 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004388 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004389 </text>
4390
4391 <text style="text_m_fail">
4392 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004393 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 </text>
4395
4396 <text style="text_m_fail">
4397 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004398 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004399 </text>
4400
4401 <text style="text_m_accent">
4402 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 </text>
4405
4406 <text style="text_m">
4407 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4408 <text>%tw_swap_size%</text>
4409 </text>
4410
4411 <button style="main_button_quarter_width">
4412 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004413 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004414 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004415 </button>
4416
4417 <button style="main_button_quarter_width">
4418 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004420 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </button>
4422
4423 <button>
4424 <placement x="%col1_x_left%" y="%row11_y%"/>
4425 <highlight color="%highlight_color%"/>
4426 <image resource="q_btn_arrow_left"/>
4427 <action function="page">partsdcard</action>
4428 </button>
4429
4430 <button>
4431 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4432 <highlight color="%highlight_color%"/>
4433 <image resource="q_btn_arrow_right"/>
4434 <action function="page">partsdcard3</action>
4435 </button>
4436
4437 <action>
4438 <touch key="home"/>
4439 <action function="page">main</action>
4440 </action>
4441
4442 <action>
4443 <touch key="back"/>
4444 <action function="page">advanced</action>
4445 </action>
4446 </page>
4447
4448 <page name="partsdcard3">
4449 <template name="page"/>
4450
4451 <template name="statusbar"/>
4452
4453 <text style="text_m">
4454 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004455 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004456 </text>
4457
4458 <text style="text_m_fail">
4459 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004460 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004461 </text>
4462
4463 <text style="text_m_fail">
4464 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004465 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004466 </text>
4467
4468 <text style="text_m_accent">
4469 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004470 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004471 </text>
4472
4473 <text style="text_m">
4474 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4475 <text>%tw_sdpart_file_system%</text>
4476 </text>
4477
4478 <button style="main_button_quarter_width">
4479 <placement x="%indent%" y="%row6_y%"/>
4480 <text>EXT3</text>
4481 <action function="set">tw_sdpart_file_system=ext3</action>
4482 </button>
4483
4484 <button style="main_button_quarter_width">
4485 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4486 <text>EXT4</text>
4487 <action function="set">tw_sdpart_file_system=ext4</action>
4488 </button>
4489
4490 <button>
4491 <placement x="%col1_x_left%" y="%row11_y%"/>
4492 <highlight color="%highlight_color%"/>
4493 <image resource="q_btn_arrow_left"/>
4494 <action function="page">partsdcard2</action>
4495 </button>
4496
4497 <button>
4498 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4499 <highlight color="%highlight_color%"/>
4500 <image resource="q_btn_arrow_right"/>
4501 <action function="page">partsdcard_confirm</action>
4502 </button>
4503
4504 <action>
4505 <touch key="home"/>
4506 <action function="page">main</action>
4507 </action>
4508
4509 <action>
4510 <touch key="back"/>
4511 <action function="page">advanced</action>
4512 </action>
4513 </page>
4514
4515 <page name="partsdcard_confirm">
4516 <template name="page"/>
4517
4518 <template name="statusbar"/>
4519
4520 <text style="text_m">
4521 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004522 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004523 </text>
4524
4525 <text style="text_m_fail">
4526 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004527 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004528 </text>
4529
4530 <text style="text_m_fail">
4531 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004532 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004533 </text>
4534
4535 <text style="text_m_accent">
4536 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </text>
4539
4540 <text style="text_m_accent">
4541 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </text>
4544
4545 <text style="text_m_accent">
4546 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004551 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004552 <action function="page">partsdcardaction</action>
4553 <actions>
4554 <action function="set">tw_back=partsdcard</action>
4555 <action function="set">tw_action=partitionsd</action>
4556 <action function="set">tw_has_action2=1</action>
4557 <action function="set">tw_action2=set</action>
4558 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004559 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4560 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4561 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004562 <action function="page">action_page</action>
4563 </actions>
4564 </slider>
4565
4566 <action>
4567 <touch key="home"/>
4568 <action function="page">main</action>
4569 </action>
4570
4571 <action>
4572 <touch key="back"/>
4573 <action function="page">advanced</action>
4574 </action>
4575 </page>
4576
4577 <page name="htcdumlock">
4578 <template name="page"/>
4579
4580 <template name="statusbar"/>
4581
4582 <text style="text_m">
4583 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004584 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004585 </text>
4586
4587 <button style="main_button_full_width">
4588 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004589 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004590 <actions>
4591 <action function="set">tw_back=htcdumlock</action>
4592 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4594 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4595 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4596 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004597 <action function="page">confirm_action</action>
4598 </actions>
4599 </button>
4600
4601 <button style="main_button_full_width">
4602 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004603 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 <actions>
4605 <action function="set">tw_back=htcdumlock</action>
4606 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004607 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4608 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4609 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4610 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004611 <action function="page">confirm_action</action>
4612 </actions>
4613 </button>
4614
4615 <button style="main_button_full_width">
4616 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 <actions>
4619 <action function="set">tw_back=htcdumlock</action>
4620 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004621 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4622 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4623 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4624 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004625 <action function="page">confirm_action</action>
4626 </actions>
4627 </button>
4628
4629 <action>
4630 <touch key="home"/>
4631 <action function="page">main</action>
4632 </action>
4633
4634 <action>
4635 <touch key="back"/>
4636 <action function="page">advanced</action>
4637 </action>
4638 </page>
4639
Ethan Yonker53796e72019-01-11 22:49:52 -06004640 <page name="repackselect">
4641 <template name="page"/>
4642
4643 <template name="statusbar"/>
4644
4645 <text style="text_m">
4646 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4647 <text>{@repack_image_hdr=Select Image}</text>
4648 </text>
4649
4650 <fileselector>
4651 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4652 <text>%tw_zip_location%</text>
4653 <filter extn=".img" folders="1" files="1"/>
4654 <path name="tw_zip_location" default="/sdcard"/>
4655 <data name="tw_filename"/>
4656 <selection name="tw_file"/>
4657 </fileselector>
4658
4659 <button>
4660 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4661 <highlight color="%highlight_color%"/>
4662 <image resource="q_btn_storage"/>
4663 <actions>
4664 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4665 <action function="set">tw_back=install</action>
4666 <action function="page">select_storage</action>
4667 </actions>
4668 </button>
4669
4670 <action>
4671 <conditions>
4672 <condition var1="tw_filename" op="modified"/>
4673 </conditions>
4674 <action function="page">repackconfirm</action>
4675 </action>
4676
4677 <action>
4678 <touch key="back"/>
4679 <action function="page">advanced</action>
4680 </action>
4681
4682 <action>
4683 <touch key="home"/>
4684 <action function="page">main</action>
4685 </action>
4686 </page>
4687
4688 <page name="repackconfirm">
4689 <template name="page"/>
4690
4691 <template name="statusbar"/>
4692
4693 <text style="text_m">
4694 <condition var1="tw_repack_kernel" var2="1"/>
4695 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4696 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4697 </text>
4698
4699 <text style="text_m">
4700 <condition var1="tw_repack_kernel" var2="0"/>
4701 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4702 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4703 </text>
4704
4705 <text style="text_m_accent">
4706 <placement x="%indent%" y="%row2_y%"/>
4707 <text>{@folder=Folder:}</text>
4708 </text>
4709
4710 <text style="text_m">
4711 <placement x="%indent%" y="%row3_y%"/>
4712 <text>%tw_zip_location%</text>
4713 </text>
4714
4715 <text style="text_m_accent">
4716 <placement x="%indent%" y="%row4_y%"/>
4717 <text>{@file=File:}</text>
4718 </text>
4719
4720 <text style="text_m">
4721 <placement x="%indent%" y="%row5_y%"/>
4722 <text>%tw_file%</text>
4723 </text>
4724
4725 <checkbox>
4726 <placement x="%indent%" y="%row7_y%"/>
4727 <text>{@repack_backup_first=Back up existing image first}</text>
4728 <data variable="tw_repack_backup_first"/>
4729 </checkbox>
4730
4731 <slider>
4732 <text>{@swipe_to_install=Swipe to Install}</text>
4733 <actions>
4734 <action function="set">tw_back=advanced</action>
4735 <action function="set">tw_action=repackimage</action>
4736 <action function="set">tw_action_param=/boot</action>
4737 <action function="set">tw_action_text1={@installing=Installing...}</action>
4738 <action function="set">tw_action_text2=</action>
4739 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4740 <action function="page">action_page</action>
4741 </actions>
4742 </slider>
4743
4744 <action>
4745 <touch key="back"/>
4746 <action function="page">repackselect</action>
4747 </action>
4748
4749 <action>
4750 <touch key="home"/>
4751 <action function="page">main</action>
4752 </action>
4753 </page>
4754
z31s1g28f0a922015-11-07 18:50:22 +01004755 <page name="lock">
4756 <background color="%semi_transparent%"/>
4757
4758 <image>
4759 <image resource="unlock_icon"/>
4760 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4761 </image>
4762
4763 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004764 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004765 <action function="overlay"/>
4766 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004767
4768 <action>
4769 <touch key="power"/>
4770 <action function="togglebacklight"/>
4771 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004772 </page>
4773
4774 <page name="filemanagerlist">
4775 <template name="page"/>
4776
4777 <template name="statusbar"/>
4778
4779 <text style="text_m">
4780 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004781 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004782 </text>
4783
4784 <fileselector>
4785 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4786 <text>%tw_file_location1%</text>
4787 <filter folders="1" files="1"/>
4788 <path name="tw_file_location1" default="/"/>
4789 <data name="tw_filename1"/>
4790 <selection name="tw_selection1"/>
4791 </fileselector>
4792
4793 <button>
4794 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4795 <highlight color="%highlight_color%"/>
4796 <image resource="q_btn_folder"/>
4797 <actions>
4798 <action function="set">tw_filename1=tw_file_location1</action>
4799 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004800 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004801 <action function="page">filemanageroptions</action>
4802 </actions>
4803 </button>
4804
4805 <action>
4806 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004807 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004808 <action function="set">tw_fm_isfolder=0</action>
4809 </actions>
4810 </action>
4811
4812 <action>
4813 <touch key="home"/>
4814 <action function="page">main</action>
4815 </action>
4816
4817 <action>
4818 <touch key="back"/>
4819 <action function="page">main3</action>
4820 </action>
4821
4822 <action>
4823 <condition var1="tw_filename1" op="modified"/>
4824 <action function="page">filemanageroptions</action>
4825 </action>
4826 </page>
4827
4828 <page name="filemanageroptions">
4829 <template name="page"/>
4830
4831 <template name="statusbar"/>
4832
4833 <text style="text_m">
4834 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004835 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004836 </text>
4837
4838 <button style="main_button">
4839 <condition var1="tw_fm_isfolder" var2="0"/>
4840 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004841 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004842 <actions>
4843 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004844 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004845 <action function="page">choosedestinationfolder</action>
4846 </actions>
4847 </button>
4848
4849 <button style="main_button">
4850 <condition var1="tw_fm_isfolder" var2="1"/>
4851 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004852 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004853 <actions>
4854 <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 -05004855 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004856 <action function="page">choosedestinationfolder</action>
4857 </actions>
4858 </button>
4859
4860 <button style="main_button">
4861 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004862 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004863 <actions>
4864 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004865 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004866 <action function="page">choosedestinationfolder</action>
4867 </actions>
4868 </button>
4869
4870 <button style="main_button">
4871 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004872 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004873 <actions>
4874 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004875 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004876 <action function="set">tw_fm_text2=</action>
4877 <action function="set">tw_fm_text3=</action>
4878 <action function="set">tw_include_text3=0</action>
4879 <action function="set">tw_back=filemanageroptions</action>
4880 <action function="page">filemanagerconfirm</action>
4881 </actions>
4882 </button>
4883
4884 <button style="main_button">
4885 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004886 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004887 <actions>
4888 <action function="set">tw_filemanager_rename=0000</action>
4889 <action function="set">tw_fm_text2=</action>
4890 <action function="set">tw_fm_text3=</action>
4891 <action function="set">tw_include_text3=0</action>
4892 <action function="set">tw_back=filemanageroptions</action>
4893 <action function="page">filemanagerchmod</action>
4894 </actions>
4895 </button>
4896
4897 <button style="main_button">
4898 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004899 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004900 <actions>
4901 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004902 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004903 <action function="set">tw_fm_text2=</action>
4904 <action function="set">tw_fm_text3=</action>
4905 <action function="set">tw_include_text3=0</action>
4906 <action function="set">tw_back=filemanageroptions</action>
4907 <action function="page">filemanagerconfirm</action>
4908 </actions>
4909 </button>
4910
4911 <button style="main_button">
4912 <condition var1="tw_fm_isfolder" var2="0"/>
4913 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004914 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004915 <actions>
4916 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004917 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004918 <action function="set">tw_filemanager_command=mv</action>
4919 <action function="page">filemanagerrenamefile</action>
4920 </actions>
4921 </button>
4922
4923 <button style="main_button">
4924 <condition var1="tw_fm_isfolder" var2="1"/>
4925 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004926 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004927 <actions>
4928 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004929 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004930 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4931 <action function="page">filemanagerrenamefolder</action>
4932 </actions>
4933 </button>
4934
4935 <action>
4936 <touch key="home"/>
4937 <action function="page">main</action>
4938 </action>
4939
4940 <action>
4941 <touch key="back"/>
4942 <action function="page">filemanagerlist</action>
4943 </action>
4944 </page>
4945
4946 <page name="choosedestinationfolder">
4947 <template name="page"/>
4948
4949 <template name="statusbar"/>
4950
4951 <text style="text_m">
4952 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004953 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004954 </text>
4955
4956 <fileselector>
4957 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4958 <text>%tw_file_location2%</text>
4959 <filter folders="1" files="0"/>
4960 <path name="tw_file_location2" default="/"/>
4961 <data name="tw_filename2"/>
4962 <selection name="tw_selection2"/>
4963 </fileselector>
4964
4965 <button>
4966 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4967 <highlight color="%highlight_color%"/>
4968 <image resource="q_btn_folder"/>
4969 <actions>
4970 <action function="set">tw_fm_text2=to</action>
4971 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4972 <action function="set">tw_include_text3=1</action>
4973 <action function="set">tw_back=filemanageroptions</action>
4974 <action function="page">filemanagerconfirm</action>
4975 </actions>
4976 </button>
4977
4978 <action>
4979 <touch key="home"/>
4980 <action function="page">main</action>
4981 </action>
4982
4983 <action>
4984 <touch key="back"/>
4985 <action function="page">filemanageroptions</action>
4986 </action>
4987 </page>
4988
4989 <page name="filemanagerrenamefile">
4990 <template name="page"/>
4991
4992 <template name="statusbar"/>
4993
4994 <text style="text_m">
4995 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004996 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004997 </text>
4998
4999 <text style="text_m_accent">
5000 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005001 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005002 </text>
5003
5004 <input>
5005 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5006 <text>%tw_filemanager_rename%</text>
5007 <data name="tw_filemanager_rename"/>
5008 <restrict minlen="1" maxlen="128"/>
5009 <actions>
5010 <action function="set">tw_fm_text2=to</action>
5011 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
5012 <action function="set">tw_include_text3=1</action>
5013 <action function="set">tw_back=filemanageroptions</action>
5014 <action function="page">filemanagerconfirm</action>
5015 </actions>
5016 </input>
5017
5018 <fill color="%accent_color%">
5019 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5020 </fill>
5021
5022 <button style="main_button_half_height">
5023 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005024 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005025 <action function="page">filemanageroptions</action>
5026 </button>
5027
5028 <template name="keyboardtemplate"/>
5029
5030 <action>
5031 <touch key="home"/>
5032 <action function="page">main</action>
5033 </action>
5034
5035 <action>
5036 <touch key="back"/>
5037 <action function="page">filemanageroptions</action>
5038 </action>
5039 </page>
5040
5041 <page name="filemanagerrenamefolder">
5042 <template name="page"/>
5043
5044 <template name="statusbar"/>
5045
5046 <text style="text_m">
5047 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005048 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005049 </text>
5050
5051 <text style="text_m_accent">
5052 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005053 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005054 </text>
5055
5056 <input>
5057 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5058 <text>%tw_filemanager_rename%</text>
5059 <data name="tw_filemanager_rename"/>
5060 <restrict minlen="1" maxlen="128"/>
5061 <actions>
5062 <action function="set">tw_fm_text2=to</action>
5063 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5064 <action function="set">tw_include_text3=1</action>
5065 <action function="set">tw_back=filemanageroptions</action>
5066 <action function="page">filemanagerconfirm</action>
5067 </actions>
5068 </input>
5069
5070 <fill color="%accent_color%">
5071 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5072 </fill>
5073
5074 <button style="main_button_half_height">
5075 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005076 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005077 <action function="page">filemanageroptions</action>
5078 </button>
5079
5080 <template name="keyboardtemplate"/>
5081
5082 <action>
5083 <touch key="home"/>
5084 <action function="page">main</action>
5085 </action>
5086
5087 <action>
5088 <touch key="back"/>
5089 <action function="page">filemanageroptions</action>
5090 </action>
5091 </page>
5092
5093 <page name="filemanagerchmod">
5094 <template name="page"/>
5095
5096 <template name="statusbar"/>
5097
5098 <text style="text_m">
5099 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005100 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005101 </text>
5102
5103 <text style="text_m_accent">
5104 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005105 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005106 </text>
5107
5108 <input>
5109 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5110 <text>%tw_filemanager_rename%</text>
5111 <data name="tw_filemanager_rename"/>
5112 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5113 <actions>
5114 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5115 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5116 <action function="set">tw_back=filemanageroptions</action>
5117 <action function="page">filemanagerconfirm</action>
5118 </actions>
5119 </input>
5120
5121 <fill color="%accent_color%">
5122 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5123 </fill>
5124
5125 <button style="main_button_half_height">
5126 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005127 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005128 <action function="page">filemanageroptions</action>
5129 </button>
5130
5131 <template name="keyboardtemplate"/>
5132
5133 <action>
5134 <touch key="home"/>
5135 <action function="page">main</action>
5136 </action>
5137
5138 <action>
5139 <touch key="back"/>
5140 <action function="page">filemanageroptions</action>
5141 </action>
5142 </page>
5143
5144 <page name="filemanagerconfirm">
5145 <template name="page"/>
5146
5147 <template name="statusbar"/>
5148
5149 <text style="text_m">
5150 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005151 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005152 </text>
5153
5154 <text style="text_m_accent">
5155 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5156 <text>%tw_fm_text1%</text>
5157 </text>
5158
5159 <text style="text_m">
5160 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5161 <text>%tw_filename1%</text>
5162 </text>
5163
5164 <text style="text_m_accent">
5165 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5166 <text>%tw_fm_text2%</text>
5167 </text>
5168
5169 <text style="text_m">
5170 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5171 <text>%tw_fm_text3%</text>
5172 </text>
5173
5174 <text style="text_m">
5175 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005176 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005177 </text>
5178
5179 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005180 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005181 <action function="page">filemanageraction</action>
5182 </slider>
5183
5184 <action>
5185 <touch key="back"/>
5186 <action function="page">%tw_back%</action>
5187 </action>
5188
5189 <action>
5190 <touch key="home"/>
5191 <action function="page">main</action>
5192 </action>
5193 </page>
5194
5195 <page name="filemanageraction">
5196 <template name="page"/>
5197
5198 <template name="statusbar"/>
5199
5200 <text style="text_m">
5201 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005202 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005203 </text>
5204
5205 <template name="console"/>
5206
5207 <template name="progress_bar"/>
5208
5209 <action>
5210 <conditions>
5211 <condition var1="tw_operation_state" var2="1"/>
5212 <condition var1="tw_operation_status" var2="0"/>
5213 </conditions>
5214 <actions>
5215 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005216 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005217 <action function="page">action_complete</action>
5218 </actions>
5219 </action>
5220
5221 <action>
5222 <conditions>
5223 <condition var1="tw_operation_state" var2="1"/>
5224 <condition var1="tw_operation_status" op="!=" var2="0"/>
5225 </conditions>
5226 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005227 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005228 <action function="page">action_complete</action>
5229 </actions>
5230 </action>
5231
5232 <action>
5233 <condition var1="tw_include_text3" var2="0"/>
5234 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5235 </action>
5236
5237 <action>
5238 <condition var1="tw_include_text3" var2="1"/>
5239 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5240 </action>
5241 </page>
5242
5243 <page name="decrypt">
5244 <template name="page"/>
5245
5246 <template name="statusbar"/>
5247
5248 <action>
5249 <condition var1="tw_crypto_pwtype" var2="2"/>
5250 <action function="page">decrypt_pattern</action>
5251 </action>
5252
5253 <text style="text_m">
5254 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005255 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005256 </text>
5257
5258 <text style="text_m_accent">
5259 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005260 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005261 </text>
5262
5263 <input>
5264 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5265 <text>%tw_crypto_display%</text>
5266 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5267 <restrict minlen="1" maxlen="254"/>
5268 <action function="page">trydecrypt</action>
5269 </input>
5270
5271 <fill color="%accent_color%">
5272 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5273 </fill>
5274
5275 <fill color="%text_fail_color%">
5276 <condition var1="tw_password_fail" var2="1"/>
5277 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5278 </fill>
5279
5280 <text style="text_m_fail">
5281 <condition var1="tw_password_fail" var2="1"/>
5282 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005283 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005284 </text>
5285
5286 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005287 <placement x="%col1_x_left%" y="%row4_y%"/>
5288 <text>{@sel_lang_btn=Select Language}</text>
5289 <action function="page">settings_language</action>
5290 </button>
5291
5292 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005293 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005294 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005295 <actions>
5296 <action function="set">tw_page_done=1</action>
5297 <action function="page">main</action>
5298 </actions>
5299 </button>
5300
5301 <template name="keyboardtemplate"/>
5302 </page>
5303
5304 <page name="decrypt_pattern">
5305 <template name="page"/>
5306
5307 <template name="statusbar"/>
5308
Aleksa Saraib25a1832015-12-31 17:36:00 +01005309 <action>
5310 <action function="set">tw_gui_pattern_grid_size=3</action>
5311 </action>
5312
z31s1g28f0a922015-11-07 18:50:22 +01005313 <text style="text_m">
5314 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005315 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005316 </text>
5317
5318 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005319 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005320 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005321 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005322 </text>
5323
Aleksa Saraib25a1832015-12-31 17:36:00 +01005324 <text style="text_m_fail">
5325 <condition var1="tw_password_fail" var2="1"/>
5326 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005327 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005328 </text>
5329
z31s1g28f0a922015-11-07 18:50:22 +01005330 <text style="text_m">
5331 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005332 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005333 </text>
5334
5335 <patternpassword>
5336 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005337 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5338 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5339 <data name="tw_crypto_password"/>
5340 <action function="page">trydecrypt</action>
5341 </patternpassword>
5342
5343 <fill color="#000000">
5344 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5345 </fill>
5346
5347 <button>
5348 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5349 <image resource="back"/>
5350 <condition var1="tw_busy" var2="0"/>
5351 <actions>
5352 <action function="set">tw_page_done=1</action>
5353 <action function="page">main</action>
5354 </actions>
5355 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005356
5357 <button>
5358 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5359 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5360 <image resource="grid_less"/>
5361 <action function="set">tw_gui_pattern_grid_size=3</action>
5362 </button>
5363
5364 <button>
5365 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5366 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5367 <image resource="grid_less"/>
5368 <action function="set">tw_gui_pattern_grid_size=3</action>
5369 </button>
5370
5371 <button>
5372 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5373 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5374 <image resource="grid_less"/>
5375 <action function="set">tw_gui_pattern_grid_size=4</action>
5376 </button>
5377
5378 <button>
5379 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5380 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5381 <image resource="grid_less"/>
5382 <action function="set">tw_gui_pattern_grid_size=5</action>
5383 </button>
5384
5385 <button>
5386 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5387 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5388 <image resource="grid_more"/>
5389 <action function="set">tw_gui_pattern_grid_size=4</action>
5390 </button>
5391
5392 <button>
5393 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5394 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5395 <image resource="grid_more"/>
5396 <action function="set">tw_gui_pattern_grid_size=5</action>
5397 </button>
5398
5399 <button>
5400 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
5401 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5402 <image resource="grid_more"/>
5403 <action function="set">tw_gui_pattern_grid_size=6</action>
5404 </button>
5405
5406 <button>
5407 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
5408 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5409 <image resource="grid_more"/>
5410 <action function="set">tw_gui_pattern_grid_size=6</action>
5411 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005412 </page>
5413
5414 <page name="trydecrypt">
5415 <template name="page"/>
5416
5417 <template name="statusbar"/>
5418
5419 <text style="text_m">
5420 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005421 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005422 </text>
5423
5424 <template name="console"/>
5425
5426 <template name="progress_bar"/>
5427
5428 <action>
5429 <action function="decrypt"/>
5430 </action>
5431
5432 <action>
5433 <conditions>
5434 <condition var1="tw_operation_state" var2="1"/>
5435 <condition var1="tw_operation_status" op="!=" var2="0"/>
5436 </conditions>
5437 <actions>
5438 <action function="set">tw_password_fail=1</action>
5439 <action function="page">decrypt</action>
5440 </actions>
5441 </action>
5442
5443 <action>
5444 <conditions>
5445 <condition var1="tw_operation_state" var2="1"/>
5446 <condition var1="tw_operation_status" op="=" var2="0"/>
5447 </conditions>
5448 <actions>
5449 <action function="set">tw_page_done=1</action>
5450 <action function="page">main</action>
5451 </actions>
5452 </action>
5453 </page>
5454
z31s1g28f0a922015-11-07 18:50:22 +01005455 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005456 <terminal>
5457 <condition var1="tw_hide_kb" var2="0"/>
5458 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5459 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005460
z31s1g56189522016-01-13 19:12:40 +01005461 <terminal>
5462 <condition var1="tw_hide_kb" var2="1"/>
5463 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5464 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005465
z31s1g56189522016-01-13 19:12:40 +01005466 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005467
5468 <template name="keyboardtemplate"/>
5469
z31s1g608d7ff2016-01-18 19:47:25 +01005470 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005471 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005472 </fill>
z31s1g56189522016-01-13 19:12:40 +01005473
z31s1g608d7ff2016-01-18 19:47:25 +01005474 <button>
z31s1g56189522016-01-13 19:12:40 +01005475 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5476 <image resource="back" />
5477 <condition var1="tw_busy" var2="0" />
5478 <actions>
5479 <action function="set">tw_hide_kb=0</action>
5480 <action function="key">back</action>
5481 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005482 </button>
z31s1g56189522016-01-13 19:12:40 +01005483
z31s1g608d7ff2016-01-18 19:47:25 +01005484 <button>
z31s1g56189522016-01-13 19:12:40 +01005485 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5486 <image resource="home" />
5487 <condition var1="tw_busy" var2="0" />
5488 <actions>
5489 <action function="set">tw_hide_kb=0</action>
5490 <action function="key">home</action>
5491 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005492 </button>
z31s1g56189522016-01-13 19:12:40 +01005493
z31s1g608d7ff2016-01-18 19:47:25 +01005494 <button>
z31s1g56189522016-01-13 19:12:40 +01005495 <condition var1="tw_hide_kb" var2="0"/>
5496 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5497 <image resource="kb_hide" />
5498 <condition var1="tw_busy" var2="0" />
5499 <actions>
5500 <action function="set">tw_hide_kb=1</action>
5501 <action function="page">terminalcommand</action>
5502 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005503 </button>
z31s1g56189522016-01-13 19:12:40 +01005504
z31s1g608d7ff2016-01-18 19:47:25 +01005505 <button>
z31s1g56189522016-01-13 19:12:40 +01005506 <condition var1="tw_hide_kb" var2="1"/>
5507 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5508 <image resource="kb_show" />
5509 <condition var1="tw_busy" var2="0" />
5510 <actions>
5511 <action function="set">tw_hide_kb=0</action>
5512 <action function="page">terminalcommand</action>
5513 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005514 </button>
z31s1g56189522016-01-13 19:12:40 +01005515
z31s1g28f0a922015-11-07 18:50:22 +01005516 <action>
5517 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005518 <actions>
5519 <action function="set">tw_hide_kb=0</action>
5520 <action function="page">main</action>
5521 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005522 </action>
5523
5524 <action>
5525 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005526 <actions>
5527 <action function="set">tw_hide_kb=0</action>
5528 <action function="page">advanced</action>
5529 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005530 </action>
z31s1g56189522016-01-13 19:12:40 +01005531
z31s1g608d7ff2016-01-18 19:47:25 +01005532 <action>
z31s1g56189522016-01-13 19:12:40 +01005533 <touch key="power+voldown" />
5534 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005535 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005536 </page>
5537
5538 <page name="sideload">
5539 <template name="page"/>
5540
5541 <template name="statusbar"/>
5542
5543 <text style="text_m">
5544 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005545 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005546 </text>
5547
5548 <text style="text_m_accent">
5549 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005550 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005551 </text>
5552
5553 <checkbox>
5554 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005555 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005556 <data variable="tw_wipe_dalvik"/>
5557 </checkbox>
5558
5559 <checkbox>
5560 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005561 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005562 <data variable="tw_wipe_cache"/>
5563 </checkbox>
5564
5565 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005566 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005567 <actions>
5568 <action function="set">tw_back=install_type</action>
5569 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005570 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5571 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5572 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005573 <action function="set">tw_has_cancel=1</action>
5574 <action function="set">tw_show_reboot=1</action>
5575 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5576 <action function="page">action_page</action>
5577 </actions>
5578 </slider>
5579
5580 <action>
5581 <touch key="home"/>
5582 <action function="page">main</action>
5583 </action>
5584
5585 <action>
5586 <touch key="back"/>
5587 <action function="page">install_type</action>
5588 </action>
5589 </page>
5590
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005591 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005592 <template name="page"/>
5593
5594 <template name="statusbar"/>
5595
5596 <text style="text_m">
5597 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005598 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005599 </text>
5600
5601 <text style="text_m_accent">
5602 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005603 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005604 </text>
5605
z31s1g28f0a922015-11-07 18:50:22 +01005606 <text style="text_m_fail">
5607 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005608 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005609 </text>
5610
5611 <text style="text_m_fail">
5612 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005613 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005614 </text>
5615
5616 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005617 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005618 <actions>
5619 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005620 <action function="set">tw_action=fixcontexts</action>
5621 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5622 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005623 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005624 <action function="set">tw_show_reboot=1</action>
5625 <action function="page">action_page</action>
5626 </actions>
5627 </slider>
5628
5629 <action>
5630 <touch key="home"/>
5631 <action function="page">main</action>
5632 </action>
5633
5634 <action>
5635 <touch key="back"/>
5636 <action function="page">advanced</action>
5637 </action>
5638 </page>
5639
z31s1g28f0a922015-11-07 18:50:22 +01005640 <page name="slideout">
5641 <fill color="%background_color%">
5642 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5643 </fill>
5644
5645 <console>
5646 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5647 </console>
5648
5649 <fill color="%fileselector_linecolor%">
5650 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5651 </fill>
5652
5653 <fill color="%fileselector_linecolor%">
5654 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5655 </fill>
5656
5657 <button>
5658 <fill color="%transparent%"/>
5659 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5660 <action function="overlay"/>
5661 </button>
5662
5663 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005664 <touch key="power"/>
5665 <action function="togglebacklight"/>
5666 </action>
5667
5668 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005669 <touch key="power+voldown"/>
5670 <action function="screenshot"/>
5671 </action>
5672 </page>
5673
5674 <page name="select_storage">
5675 <template name="page"/>
5676
5677 <template name="statusbar"/>
5678
5679 <text style="text_m">
5680 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5681 <text>%tw_storagetext%</text>
5682 </text>
5683
5684 <partitionlist style="partitionlist_headerless_rb">
5685 <data name="tw_storage_path"/>
5686 <listtype name="storage"/>
5687 </partitionlist>
5688
5689 <button>
5690 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5691 <highlight color="%highlight_color%"/>
5692 <image resource="q_btn_refresh"/>
5693 <actions>
5694 <action function="refreshsizes"/>
5695 <action function="page">select_storage</action>
5696 </actions>
5697 </button>
5698
5699 <button>
5700 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5701 <highlight color="%highlight_color%"/>
5702 <image resource="q_btn_accept"/>
5703 <actions>
5704 <action function="set">tw_clear_destination=%tw_back%</action>
5705 <action function="page">clear_vars</action>
5706 </actions>
5707 </button>
5708
5709 <action>
5710 <touch key="power+voldown"/>
5711 <action function="screenshot"/>
5712 </action>
5713 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005714 </pages>
5715</recovery>