blob: f5d32228d3e73a3af0f40ffc24600a14f16405ba [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">
754 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500755 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100756 <actions>
757 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500758 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100759 </actions>
760 </button>
761
762 <action>
763 <touch key="back"/>
764 <actions>
765 <action function="set">tw_clear_destination=install_type</action>
766 <action function="page">clear_vars</action>
767 </actions>
768 </action>
769
770 <action>
771 <touch key="home"/>
772 <actions>
773 <action function="set">tw_clear_destination=main2</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500777
778 <action>
779 <conditions>
780 <condition var1="tw_install_reboot" var2="1"/>
781 <condition var1="tw_operation_status" var2="0"/>
782 <condition var1="tw_reboot_system" var2="1"/>
783 </conditions>
784 <actions>
785 <action function="set">tw_sleep=%tw_sleep_total%</action>
786 <action function="page">flash_sleep_and_reboot</action>
787 </actions>
788 </action>
789 </page>
790
791 <page name="flash_sleep_and_reboot">
792 <template name="page"/>
793
794 <template name="statusbar"/>
795
796 <text style="text_m">
797 <placement x="%col1_x_left%" y="%row1_header_y%"/>
798 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
799 </text>
800
801 <template name="console"/>
802
803 <template name="progress_bar"/>
804
805 <button style="main_button_half_height">
806 <condition var1="tw_sleep" op="&gt;" var2="0"/>
807 <placement x="%col1_x_right%" y="%row13_y%"/>
808 <text>{@cancel_btn=Cancel}</text>
809 <actions>
810 <action function="set">tw_install_reboot=0</action>
811 <action function="page">flash_done</action>
812 </actions>
813 </button>
814
815 <action>
816 <conditions>
817 <condition var1="tw_sleep" var2="tw_sleep_total"/>
818 <condition var1="tw_install_reboot" var2="1"/>
819 </conditions>
820 <action function="sleepcounter">%tw_sleep_total%</action>
821 </action>
822
823 <action>
824 <conditions>
825 <condition var1="tw_sleep" var2="0"/>
826 <condition var1="tw_install_reboot" var2="1"/>
827 </conditions>
828 <actions>
829 <action function="sleep">50000</action>
830 <action function="set">tw_back=main2</action>
831 <action function="page">reboot_system_routine</action>
832 </actions>
833 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100834 </page>
835
836 <page name="flashimage_type">
837 <template name="page"/>
838
839 <template name="statusbar"/>
840
841 <text style="text_m">
842 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -0600843 <text>{@install_image_hdr=Install Image} &gt; {@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100844 </text>
845
846 <partitionlist style="partitionlist_headerless_rb">
847 <data name="tw_flash_partition"/>
848 <listtype name="flashimg"/>
849 </partitionlist>
850
851 <button>
852 <placement x="%col1_x_left%" y="%row11_y%"/>
853 <highlight color="%highlight_color%"/>
854 <image resource="q_btn_arrow_left"/>
855 <action function="page">install</action>
856 </button>
857
858 <button>
859 <placement x="%btn4_col4_x%" y="%row11_y%"/>
860 <highlight color="%highlight_color%"/>
861 <image resource="q_btn_accept_transp"/>
862 <action function="page">flashimage_confirm</action>
863 </button>
864
865 <action>
866 <touch key="back"/>
867 <action function="page">install</action>
868 </action>
869
870 <action>
871 <touch key="home"/>
872 <action function="page">main</action>
873 </action>
874 </page>
875
876 <page name="flashimage_confirm">
877 <template name="page"/>
878
879 <template name="statusbar"/>
880
881 <text style="text_m">
882 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500883 <text>{@install_image_hdr=Install Image} &gt; {@confirm_flash_hdr=Confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100884 </text>
885
886 <text style="text_m_accent">
887 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500888 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100889 </text>
890
891 <text style="text_m">
892 <placement x="%indent%" y="%row2_y%"/>
893 <text>%tw_file%</text>
894 </text>
895
896 <button>
897 <fill color="%transparent%"/>
898 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
899 <action function="page">install</action>
900 </button>
901
902 <text style="text_m_accent">
903 <placement x="%indent%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500904 <text>{@target_partition=Target Partition:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100905 </text>
906
907 <text style="text_m">
908 <placement x="%indent%" y="%row5_y%"/>
909 <text>%tw_flash_partition%</text>
910 </text>
911
912 <button>
913 <fill color="%transparent%"/>
914 <placement x="0" y="%row3a_y%" w="%screen_width%" h="48"/>
915 <action function="page">flashimage_type</action>
916 </button>
917
918 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500919 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100920 <actions>
921 <action function="set">tw_back=flashimage_confirm</action>
922 <action function="set">tw_action=flashimage</action>
923 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500924 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100925 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500926 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100927 <action function="page">action_page</action>
928 </actions>
929 <action function="flashimage"/>
930 </slider>
931
932 <action>
933 <touch key="back"/>
934 <actions>
935 <action function="set">tw_clear_destination=install</action>
936 <action function="page">clear_vars</action>
937 </actions>
938 </action>
939
940 <action>
941 <touch key="home"/>
942 <actions>
943 <action function="set">tw_clear_destination=main2</action>
944 <action function="page">clear_vars</action>
945 </actions>
946 </action>
947 </page>
948
949 <page name="clear_vars">
950 <action>
951 <action function="set">tw_operation_state=0</action>
952 <action function="set">tw_text1=</action>
953 <action function="set">tw_text2=</action>
954 <action function="set">tw_text3=</action>
955 <action function="set">tw_text4=</action>
956 <action function="set">tw_action_text1=</action>
957 <action function="set">tw_action_text2=</action>
958 <action function="set">tw_action_param=</action>
959 <action function="set">tw_has_action2=0</action>
960 <action function="set">tw_action2=</action>
961 <action function="set">tw_action2_param=</action>
962 <action function="set">tw_has_cancel=0</action>
963 <action function="set">tw_cancel_action=</action>
964 <action function="set">tw_cancel_param=</action>
965 <action function="set">tw_show_exclamation=0</action>
966 <action function="set">tw_show_reboot=0</action>
967 <action function="page">%tw_clear_destination%</action>
968 </action>
969 </page>
970
Matt Mower908dd252016-05-25 02:26:50 -0500971 <page name="reboot_system_routine">
972 <action>
973 <action function="set">tw_back=main2</action>
974 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500975 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500976 <action function="set">tw_has_action2=0</action>
977 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
978 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
979 <action function="set">tw_text3=</action>
980 <action function="set">tw_text4=</action>
981 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
982 <action function="set">tw_action_text2=</action>
983 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
984 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
985 <action function="page">rebootcheck</action>
986 </action>
987 </page>
988
z31s1g28f0a922015-11-07 18:50:22 +0100989 <page name="confirm_action">
990 <template name="page"/>
991
992 <template name="statusbar"/>
993
994 <text style="text_m">
995 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500996 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100997 </text>
998
999 <text style="text_m_accent">
1000 <placement x="%center_x%" y="%row2_y%" placement="5"/>
1001 <text>%tw_text1%</text>
1002 </text>
1003
1004 <text style="text_m_accent">
1005 <placement x="%center_x%" y="%row3_y%" placement="5"/>
1006 <text>%tw_text2%</text>
1007 </text>
1008
1009 <text style="text_m">
1010 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1011 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1012 <text>%tw_text3%</text>
1013 </text>
1014
1015 <text style="text_m">
1016 <condition var1="tw_action" op="!=" var2="changefilesystem"/>
1017 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1018 <text>%tw_text4%</text>
1019 </text>
1020
1021 <text style="text_m_fail">
1022 <condition var1="tw_action" var2="changefilesystem"/>
1023 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1024 <text>%tw_text3%</text>
1025 </text>
1026
1027 <text style="text_m_fail">
1028 <condition var1="tw_action" var2="changefilesystem"/>
1029 <placement x="%center_x%" y="%row6_y%" placement="5"/>
1030 <text>%tw_text4%</text>
1031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <slider>
1039 <text>%tw_slider_text%</text>
1040 <action function="page">action_page</action>
1041 </slider>
1042
1043 <action>
1044 <touch key="back"/>
1045 <actions>
1046 <action function="set">tw_clear_destination=%tw_back%</action>
1047 <action function="page">clear_vars</action>
1048 </actions>
1049 </action>
1050
1051 <action>
1052 <touch key="home"/>
1053 <action function="page">main</action>
1054 </action>
1055 </page>
1056
1057 <page name="action_page">
1058 <template name="page"/>
1059
1060 <template name="statusbar"/>
1061
1062 <text style="text_m">
1063 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1064 <text>%tw_action_text1% %tw_action_text2%</text>
1065 </text>
1066
1067 <template name="console"/>
1068
1069 <template name="progress_bar"/>
1070
1071 <button style="main_button_half_height">
1072 <condition var1="tw_has_cancel" var2="1"/>
1073 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001074 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001075 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
1076 </button>
1077
1078 <action>
1079 <condition var1="tw_operation_state" var2="1"/>
1080 <actions>
1081 <action function="page">action_complete</action>
1082 </actions>
1083 </action>
1084
1085 <action>
1086 <condition var1="tw_has_action2" var2="0"/>
1087 <actions>
1088 <action function="%tw_action%">%tw_action_param%</action>
1089 </actions>
1090 </action>
1091
1092 <action>
1093 <condition var1="tw_has_action2" var2="1"/>
1094 <actions>
1095 <action function="%tw_action%">%tw_action_param%</action>
1096 <action function="%tw_action2%">%tw_action2_param%</action>
1097 </actions>
1098 </action>
1099 </page>
1100
1101 <page name="singleaction_page">
1102 <template name="page"/>
1103
1104 <template name="statusbar"/>
1105
1106 <text style="text_m">
1107 <placement x="%col1_x_left%" y="%row1_header_y%"/>
1108 <text>%tw_action_text1% %tw_action_text2%</text>
1109 </text>
1110
1111 <template name="console"/>
1112
1113 <template name="progress_bar"/>
1114
1115 <action>
1116 <condition var1="tw_operation_state" var2="1"/>
1117 <actions>
1118 <action function="set">tw_page_done=1</action>
1119 </actions>
1120 </action>
1121
1122 <action>
1123 <condition var1="tw_has_action2" var2="0"/>
1124 <actions>
1125 <action function="%tw_action%">%tw_action_param%</action>
1126 </actions>
1127 </action>
1128
1129 <action>
1130 <condition var1="tw_has_action2" var2="1"/>
1131 <actions>
1132 <action function="%tw_action%">%tw_action_param%</action>
1133 <action function="%tw_action2%">%tw_action2_param%</action>
1134 </actions>
1135 </action>
1136 </page>
1137
1138 <page name="action_complete">
1139 <template name="page"/>
1140
1141 <template name="statusbar"/>
1142
1143 <text style="text_m_fail">
1144 <condition var1="tw_operation_status" op="!=" var2="0"/>
1145 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>%tw_complete_text1% {@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 </text>
1148
1149 <text style="text_m">
1150 <condition var1="tw_operation_status" var2="0"/>
1151 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>%tw_complete_text1% {@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 </text>
1154
1155 <template name="console"/>
1156
1157 <button style="main_button_half_height">
1158 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001160 <actions>
1161 <action function="set">tw_clear_destination=%tw_back%</action>
1162 <action function="page">clear_vars</action>
1163 </actions>
1164 </button>
1165
1166 <button style="main_button_half_height">
1167 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 <actions>
1170 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001171 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </actions>
1173 </button>
1174
1175 <action>
1176 <touch key="home"/>
1177 <actions>
1178 <action function="set">tw_clear_destination=main2</action>
1179 <action function="page">clear_vars</action>
1180 </actions>
1181 </action>
1182
1183 <action>
1184 <touch key="back"/>
1185 <actions>
1186 <action function="set">tw_clear_destination=%tw_back%</action>
1187 <action function="page">clear_vars</action>
1188 </actions>
1189 </action>
1190 </page>
1191
1192 <page name="filecheck">
1193 <action>
1194 <action function="fileexists">%tw_filecheck%</action>
1195 </action>
1196
1197 <action>
1198 <conditions>
1199 <condition var1="tw_operation_state" var2="1"/>
1200 <condition var1="tw_operation_status" var2="0"/>
1201 </conditions>
1202 <actions>
1203 <action function="set">tw_fileexists=1</action>
1204 <action function="page">%tw_existpage%</action>
1205 </actions>
1206 </action>
1207
1208 <action>
1209 <conditions>
1210 <condition var1="tw_operation_state" var2="1"/>
1211 <condition var1="tw_operation_status" var2="1"/>
1212 </conditions>
1213 <actions>
1214 <action function="set">tw_fileexists=0</action>
1215 <action function="page">%tw_notexistpage%</action>
1216 </actions>
1217 </action>
1218 </page>
1219
1220 <page name="rebootcheck">
1221 <action>
1222 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001223 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </action>
1225
1226 <action>
1227 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1228 <action function="page">confirm_action</action>
1229 </action>
1230 </page>
1231
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001232 <page name="appcheck">
1233 <action>
1234 <condition var1="tw_app_prompt" var2="1"/>
1235 <action function="checkforapp"></action>
1236 </action>
1237
1238 <action>
1239 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1240 <action function="reboot">%tw_reboot_param%</action>
1241 </action>
1242
1243 <action>
1244 <condition var1="tw_app_install_status" var2="1"/>
1245 <action function="page">rebootapp</action>
1246 </action>
1247
1248 <action>
1249 <condition var1="tw_app_install_status" var2="2"/>
1250 <action function="reboot">%tw_reboot_param%</action>
1251 </action>
1252 </page>
1253
z31s1g28f0a922015-11-07 18:50:22 +01001254 <page name="wipe_type1">
1255 <template name="page"/>
1256
1257 <template name="statusbar"/>
1258
1259 <text style="text_m">
1260 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001261 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001262 </text>
1263
1264 <button style="main_button_full_width">
1265 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001266 <text>{@factory_reset_btn=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001267 <action function="page">wipe</action>
1268 </button>
1269
1270 <button style="main_button_full_width">
1271 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 <actions>
1274 <action function="set">partitionlisterror=0</action>
1275 <action function="page">advancedwipe</action>
1276 </actions>
1277 </button>
1278
1279 <button>
1280 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1281 <highlight color="%highlight_color%"/>
1282 <image resource="q_btn_arrow_right"/>
1283 <action function="page">wipe_type2</action>
1284 </button>
1285
1286 <action>
1287 <touch key="home"/>
1288 <action function="page">main</action>
1289 </action>
1290
1291 <action>
1292 <touch key="back"/>
1293 <action function="page">main</action>
1294 </action>
1295 </page>
1296
1297 <page name="wipe_type2">
1298 <template name="page"/>
1299
1300 <template name="statusbar"/>
1301
1302 <text style="text_m">
1303 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@wipe_hdr=Wipe} &gt; {@select_type_hdr=Select Type}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <button style="main_button_full_width">
1308 <condition var1="tw_has_data_media" var2="1"/>
1309 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001310 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001311 <action function="page">formatdata</action>
1312 </button>
1313
1314 <button style="main_button_full_width">
1315 <conditions>
1316 <condition var1="tw_is_encrypted" var2="1"/>
1317 <condition var1="tw_has_data_media" var2="0"/>
1318 </conditions>
1319 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001320 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001321 <actions>
1322 <action function="set">tw_back=wipe</action>
1323 <action function="set">tw_action=wipe</action>
1324 <action function="set">tw_action_param=DATAMEDIA</action>
1325 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001327 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001328 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1329 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1330 <action function="set">tw_slider_text={@swipe_format_data_s= Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001331 <action function="page">confirm_action</action>
1332 </actions>
1333 </button>
1334
1335 <button style="main_button_full_width">
1336 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@file_sys_opt=File System Options}</text><actions>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <action function="set">partitionlisterror=0</action>
1339 <action function="page">partitionoptions_select</action>
1340 </actions>
1341 </button>
1342
1343 <button>
1344 <placement x="%col1_x_left%" y="%row11_y%"/>
1345 <highlight color="%highlight_color%"/>
1346 <image resource="q_btn_arrow_left"/>
1347 <action function="page">wipe_type1</action>
1348 </button>
1349
1350 <action>
1351 <touch key="home"/>
1352 <action function="page">main</action>
1353 </action>
1354
1355 <action>
1356 <touch key="back"/>
1357 <action function="page">main</action>
1358 </action>
1359 </page>
1360
1361 <page name="wipe">
1362 <template name="page"/>
1363
1364 <template name="statusbar"/>
1365
1366 <text style="text_m">
1367 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <text>{@wipe_hdr=Wipe} &gt; {@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001369 </text>
1370
1371 <text style="text_m_accent">
1372 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <text style="text_m_accent">
1377 <condition var1="tw_has_data_media" var2="1"/>
1378 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m_accent">
1383 <conditions>
1384 <condition var1="tw_has_android_secure" var2="1"/>
1385 <condition var1="fileexists" var2="/and-sec"/>
1386 </conditions>
1387 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001389 </text>
1390
1391 <text style="text_m_accent">
1392 <condition var1="tw_has_sdext_partition" var2="1"/>
1393 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001394 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001395 </text>
1396
1397 <text style="text_m">
1398 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001399 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001400 </text>
1401
1402 <text style="text_m">
1403 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001404 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001405 </text>
1406
1407 <text style="text_m">
1408 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001410 </text>
1411
1412 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 <actions>
1415 <action function="set">tw_back=wipe</action>
1416 <action function="set">tw_action=wipe</action>
1417 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001418 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1419 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001420 <action function="page">action_page</action>
1421 </actions>
1422 </slider>
1423
1424 <action>
1425 <touch key="back"/>
1426 <action function="page">wipe_type1</action>
1427 </action>
1428
1429 <action>
1430 <touch key="home"/>
1431 <action function="page">main</action>
1432 </action>
1433 </page>
1434
1435 <page name="advancedwipe">
1436 <action>
1437 <action function="set">tw_wipe_list=</action>
1438 </action>
1439
1440 <template name="page"/>
1441
1442 <template name="statusbar"/>
1443
1444 <text style="text_m">
1445 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@wipe_hdr=Wipe} &gt; {@advanced_wipe_hdr=Advanced Wipe} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 </text>
1448
1449 <partitionlist style="partitionlist_headerless_cb">
1450 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1451 <data name="tw_wipe_list"/>
1452 <listtype name="wipe"/>
1453 </partitionlist>
1454
1455 <fill color="%accent_color%">
1456 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1457 </fill>
1458
1459 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001460 <text>{@swipe_wipe_s= Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001461 <actions>
1462 <action function="set">tw_back=advancedwipe</action>
1463 <action function="set">tw_action=wipe</action>
1464 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001465 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1466 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1467 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001468 <action function="page">action_page</action>
1469 </actions>
1470 </slider>
1471
1472 <action>
1473 <touch key="home"/>
1474 <action function="page">main</action>
1475 </action>
1476
1477 <action>
1478 <touch key="back"/>
1479 <action function="page">wipe_type1</action>
1480 </action>
1481 </page>
1482
1483 <page name="formatdata">
1484 <template name="page"/>
1485
1486 <template name="statusbar"/>
1487
1488 <text style="text_m">
1489 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@wipe_hdr=Wipe} &gt; {@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 </text>
1492
1493 <text style="text_m_fail">
1494 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@format_data_wtc1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <text style="text_m_fail">
1499 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@format_data_wtc2=backups and media. This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m">
1504 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001506 </text>
1507
1508 <input>
1509 <placement x="%col1_x_left%" y="%row5_y%" w="%content_width%" h="%input_height%"/>
1510 <text>%tw_confirm_formatdata%</text>
1511 <data name="tw_confirm_formatdata"/>
1512 <restrict minlen="3" maxlen="3" allow="yes"/>
1513 <action function="page">formatdata_confirm</action>
1514 </input>
1515
1516 <fill color="%accent_color%">
1517 <placement x="%col1_x_left%" y="row6_input_y" w="%content_width%" h="input_line_width"/>
1518 </fill>
1519
1520 <template name="keyboardtemplate"/>
1521
1522 <action>
1523 <touch key="home"/>
1524 <action function="page">main</action>
1525 </action>
1526
1527 <action>
1528 <touch key="back"/>
1529 <action function="page">wipe_type2</action>
1530 </action>
1531 </page>
1532
1533 <page name="formatdata_confirm">
1534 <action>
1535 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1536 <actions>
1537 <action function="set">tw_back=formatdata</action>
1538 <action function="set">tw_action=wipe</action>
1539 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001540 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1541 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <action function="page">action_page</action>
1543 </actions>
1544 </action>
1545
1546 <action>
1547 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1548 <action function="page">formatdata</action>
1549 </action>
1550 </page>
1551
1552 <page name="checkpartitionlist">
1553 <action>
1554 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1555 <actions>
1556 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001557 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001558 <action function="page">partitionoptions</action>
1559 </actions>
1560 </action>
1561
1562 <action>
1563 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1564 <actions>
1565 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001566 <action function="page">partitionoptions_select</action>
1567 </actions>
1568 </action>
1569 </page>
1570
1571 <page name="partitionoptions_select">
1572 <action>
1573 <action function="set">tw_wipe_list=</action>
1574 </action>
1575
1576 <template name="page"/>
1577
1578 <template name="statusbar"/>
1579
1580 <text style="text_m">
1581 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001582 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001583 </text>
1584
1585 <partitionlist style="partitionlist_headerless_cb">
1586 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1587 <data name="tw_wipe_list"/>
1588 <listtype name="wipe"/>
1589 </partitionlist>
1590
1591 <fill color="%accent_color%">
1592 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1593 </fill>
1594
z31s1g28f0a922015-11-07 18:50:22 +01001595 <text style="text_m_fail">
1596 <condition var1="partitionlisterror" var2="1"/>
1597 <placement x="%col1_x_left%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001598 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001599 </text>
1600
1601 <button>
1602 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1603 <highlight color="%highlight_color%"/>
1604 <image resource="q_btn_arrow_right"/><actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001605 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001606 <action function="page">checkpartitionlist</action>
1607 </actions>
1608 </button>
1609
1610 <action>
1611 <touch key="home"/>
1612 <action function="page">main</action>
1613 </action>
1614
1615 <action>
1616 <touch key="back"/>
1617 <action function="page">wipe_type2</action>
1618 </action>
1619 </page>
1620
1621 <page name="partitionoptions">
1622
1623 <template name="page"/>
1624
1625 <template name="statusbar"/>
1626
1627 <text style="text_m">
1628 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@wipe_hdr=Wipe} &gt; {@file_sys_opt=File System Options} &gt; {@sel_act_hdr=Select Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 </text>
1631
1632 <text style="text_m_accent">
1633 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <text>{@partition=Partition: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001635 </text>
1636
1637 <text style="text_m_accent">
1638 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001639 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001640 </text>
1641
1642 <text style="text_m">
1643 <condition var1="tw_partition_is_present" var2="1"/>
1644 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 </text>
1647
1648 <text style="text_m">
1649 <condition var1="tw_partition_is_present" var2="0"/>
1650 <placement x="%col1_x_left%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001651 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001652 </text>
1653
1654 <text style="text_m">
1655 <condition var1="tw_partition_removable" var2="1"/>
1656 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001657 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001658 </text>
1659
1660 <text style="text_m">
1661 <condition var1="tw_partition_removable" var2="0"/>
1662 <placement x="%col1_x_right%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 </text>
1665
1666 <text style="text_m">
1667 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001673 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001674 </text>
1675
1676 <text style="text_m">
1677 <placement x="%col1_x_left%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <text style="text_m">
1682 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 </text>
1685
1686 <button style="main_button">
1687 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1688 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@resize_btn_s=Resize}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 <actions>
1691 <action function="set">tw_back=partitionoptions</action>
1692 <action function="set">tw_action=resize</action>
1693 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1694 <action function="set">tw_has_action2=1</action>
1695 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001696 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001699 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1700 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1701 <action function="set">tw_slider_text={@swipe_resize_s= Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <action function="page">confirm_action</action>
1703 </actions>
1704 </button>
1705
1706 <button style="main_button">
1707 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1708 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001709 <text>{@repair_btn_s=Repair}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001710 <actions>
1711 <action function="set">tw_back=partitionoptions</action>
1712 <action function="set">tw_action=repair</action>
1713 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1714 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001715 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001716 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001717 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1718 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1719 <action function="set">tw_slider_text={@swipe_repair_s= Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001720 <action function="page">confirm_action</action>
1721 </actions>
1722 </button>
1723
1724 <button>
1725 <placement x="%col1_x_left%" y="%row11_y%"/>
1726 <highlight color="%highlight_color%"/>
1727 <image resource="q_btn_arrow_left"/>
1728 <action function="page">partitionoptions_select</action>
1729 </button>
1730
1731 <button style="main_button">
1732 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@change_fs_btn_s=Change}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <action function="page">selectfilesystem</action>
1735 </button>
1736
1737 <action>
1738 <touch key="home"/>
1739 <action function="page">main</action>
1740 </action>
1741
1742 <action>
1743 <touch key="back"/>
1744 <action function="page">partitionoptions_select</action>
1745 </action>
1746 </page>
1747
1748 <page name="refreshfilesystem">
1749 <action>
1750 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1751 <actions>
1752 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001753 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001754 <action function="page">selectfilesystem</action>
1755 </actions>
1756 </action>
1757
1758 <action>
1759 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1760 <actions>
1761 <action function="set">partitionlisterror=1</action>
1762 <action function="set">tw_wipe_list=</action>
1763 <action function="page">advancedwipe</action>
1764 </actions>
1765 </action>
1766 </page>
1767
1768 <page name="selectfilesystem">
1769 <template name="page"/>
1770
1771 <template name="statusbar"/>
1772
1773 <text style="text_m">
1774 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@change_fs_for_hdr_s=Partition: %tw_partition_name% &gt; Select File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </text>
1777
1778 <button style="main_button">
1779 <condition var1="tw_partition_ext" op="=" var2="1"/>
1780 <placement x="%col1_x_left%" y="%row1_y%"/>
1781 <text>EXT2</text>
1782 <actions>
1783 <action function="set">tw_back=refreshfilesystem</action>
1784 <action function="set">tw_action=changefilesystem</action>
1785 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1786 <action function="set">tw_action_new_file_system=ext2</action>
1787 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001788 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1789 <action function="set">tw_text2=EXT2</action>
1790 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1791 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1792 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1793 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1794 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001795 <action function="page">confirm_action</action>
1796 </actions>
1797 </button>
1798
1799 <button style="main_button">
1800 <condition var1="tw_partition_ext" op="=" var2="1"/>
1801 <placement x="%col1_x_left%" y="%row6_y%"/>
1802 <text>EXT3</text>
1803 <actions>
1804 <action function="set">tw_back=refreshfilesystem</action>
1805 <action function="set">tw_action=changefilesystem</action>
1806 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1807 <action function="set">tw_action_new_file_system=ext3</action>
1808 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001809 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1810 <action function="set">tw_text2=EXT3</action>
1811 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1812 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1813 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1814 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1815 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001816 <action function="page">confirm_action</action>
1817 </actions>
1818 </button>
1819
1820 <button style="main_button">
1821 <condition var1="tw_partition_ext" op="=" var2="1"/>
1822 <placement x="%col1_x_left%" y="%row11_y%"/>
1823 <text>EXT4</text>
1824 <actions>
1825 <action function="set">tw_back=refreshfilesystem</action>
1826 <action function="set">tw_action=changefilesystem</action>
1827 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1828 <action function="set">tw_action_new_file_system=ext4</action>
1829 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001830 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1831 <action function="set">tw_text2=EXT4</action>
1832 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1833 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1834 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1835 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1836 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001837 <action function="page">confirm_action</action>
1838 </actions>
1839 </button>
1840
1841 <button style="main_button">
1842 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1843 <placement x="%col1_x_right%" y="%row1_y%"/>
1844 <text>FAT</text>
1845 <actions>
1846 <action function="set">tw_back=refreshfilesystem</action>
1847 <action function="set">tw_action=changefilesystem</action>
1848 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1849 <action function="set">tw_action_new_file_system=vfat</action>
1850 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001851 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1852 <action function="set">tw_text2=FAT</action>
1853 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1854 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1855 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1856 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1857 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001858 <action function="page">confirm_action</action>
1859 </actions>
1860 </button>
1861
1862 <button style="main_button">
1863 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1864 <placement x="%col1_x_right%" y="%row6_y%"/>
1865 <text>exFAT</text>
1866 <actions>
1867 <action function="set">tw_back=refreshfilesystem</action>
1868 <action function="set">tw_action=changefilesystem</action>
1869 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1870 <action function="set">tw_action_new_file_system=exfat</action>
1871 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001872 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1873 <action function="set">tw_text2=exFAT</action>
1874 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1875 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1876 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1877 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1878 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001879 <action function="page">confirm_action</action>
1880 </actions>
1881 </button>
1882
1883 <button style="main_button">
1884 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1885 <placement x="%col1_x_right%" y="%row11_y%"/>
1886 <text>F2FS</text>
1887 <actions>
1888 <action function="set">tw_back=refreshfilesystem</action>
1889 <action function="set">tw_action=changefilesystem</action>
1890 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1891 <action function="set">tw_action_new_file_system=f2fs</action>
1892 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001893 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1894 <action function="set">tw_text2=F2FS</action>
1895 <action function="set">tw_text3={@change_fs_warn1=Some ROMs or kernels may not support some}</action>
1896 <action function="set">tw_text4={@change_fs_warn2=file systems. Proceed with caution!}</action>
1897 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1898 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1899 <action function="set">tw_slider_text={@swipe_change_s= Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001900 <action function="page">confirm_action</action>
1901 </actions>
1902 </button>
1903
1904 <action>
1905 <touch key="home"/>
1906 <action function="page">main</action>
1907 </action>
1908
1909 <action>
1910 <touch key="back"/>
1911 <action function="page">partitionoptions</action>
1912 </action>
1913 </page>
1914
bigbiffce8f83c2015-12-12 18:30:21 -05001915 <page name="backup">
z31s1g28f0a922015-11-07 18:50:22 +01001916 <template name="page"/>
1917
1918 <template name="statusbar"/>
1919
1920 <text style="text_m">
1921 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <text>{@backup_hdr=Backup} &gt; {@select_storage_hdr=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001923 </text>
1924
1925 <partitionlist style="partitionlist_headerless_rb">
1926 <data name="tw_storage_path"/>
1927 <listtype name="storage"/>
1928 </partitionlist>
1929
1930 <button>
1931 <placement x="%btn4_col2_x%" y="%row11_y%"/>
1932 <highlight color="%highlight_color%"/>
1933 <image resource="q_btn_refresh"/>
1934 <actions>
1935 <action function="refreshsizes"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001936 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001937 </actions>
1938 </button>
1939
1940 <button>
1941 <condition var1="tw_back" var2="backup_confirm"/>
1942 <placement x="%btn4_col3_x%" y="%row11_y%"/>
1943 <highlight color="%highlight_color%"/>
1944 <image resource="q_btn_accept"/>
1945 <action function="page">backup_confirm</action>
1946 </button>
1947
1948 <button>
1949 <placement x="%btn4_col4_x%" y="%row11_y%"/>
1950 <highlight color="%highlight_color%"/>
1951 <image resource="q_btn_arrow_right"/>
1952 <actions>
bigbiffce8f83c2015-12-12 18:30:21 -05001953 <action function="set">tw_back=backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001954 <action function="page">backup_selectpartitions</action>
1955 </actions>
1956 </button>
1957
1958 <action>
1959 <touch key="home"/>
1960 <action function="page">main</action>
1961 </action>
1962
1963 <action>
1964 <touch key="back"/>
1965 <action function="page">%tw_back%</action>
1966 </action>
1967
1968 <action>
1969 <touch key="power+voldown"/>
1970 <action function="screenshot"/>
1971 </action>
1972 </page>
1973
1974 <page name="backup_selectpartitions">
1975 <template name="page"/>
1976
1977 <template name="statusbar"/>
1978
1979 <text style="text_m">
1980 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001981 <text>{@backup_hdr=Backup} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001982 </text>
1983
1984 <partitionlist style="partitionlist_headerless_cb">
1985 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
1986 <data name="tw_backup_list"/>
1987 <listtype name="backup"/>
1988 </partitionlist>
1989
1990 <fill color="%accent_color%">
1991 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
1992 </fill>
1993
1994 <button>
1995 <placement x="%col1_x_left%" y="%row11_y%"/>
1996 <highlight color="%highlight_color%"/>
1997 <image resource="q_btn_arrow_left"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001998 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01001999 </button>
2000
2001 <button>
2002 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2003 <highlight color="%highlight_color%"/>
2004 <image resource="q_btn_refresh"/>
2005 <action function="page">backup_selectpartitions</action>
2006 </button>
2007
2008 <button>
2009 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2010 <highlight color="%highlight_color%"/>
2011 <image resource="q_btn_accept"/>
2012 <action function="page">backup_confirm</action>
2013 </button>
2014
2015 <button>
2016 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2017 <highlight color="%highlight_color%"/>
2018 <image resource="q_btn_arrow_right"/>
2019 <actions>
2020 <action function="set">tw_back=backup_selectpartitions</action>
2021 <action function="page">backup_options</action>
2022 </actions>
2023 </button>
2024
2025 <action>
2026 <touch key="home"/>
2027 <action function="page">main</action>
2028 </action>
2029
2030 <action>
2031 <touch key="back"/>
2032 <action function="page">%tw_back%</action>
2033 </action>
2034
2035 <action>
2036 <touch key="power+voldown"/>
2037 <action function="screenshot"/>
2038 </action>
2039 </page>
2040
2041 <page name="backup_options">
2042 <template name="page"/>
2043
2044 <template name="statusbar"/>
2045
2046 <text style="text_m">
2047 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002048 <text>{@backup_hdr=Backup} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002049 </text>
2050
2051 <listbox style="scrolllist">
2052 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002054 <data variable="tw_use_compression"/>
2055 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002056 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2057 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002058 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002059 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002060 <data variable="tw_disable_free_space"/>
2061 </listitem>
2062 </listbox>
2063
2064 <button>
2065 <placement x="%col1_x_left%" y="%row11_y%"/>
2066 <highlight color="%highlight_color%"/>
2067 <image resource="q_btn_arrow_left"/>
2068 <action function="page">backup_selectpartitions</action>
2069 </button>
2070
2071 <button>
2072 <conditions>
2073 <condition var1="tw_include_encrypted_backup" var2="1"/>
2074 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002075 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002076 </conditions>
2077 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2078 <highlight color="%highlight_color%"/>
2079 <image resource="q_btn_encryption_dis"/>
2080 <actions>
2081 <action function="set">tw_password_not_match=0</action>
2082 <action function="set">tw_back=backup_options</action>
2083 <action function="page">backupencryption</action>
2084 </actions>
2085 </button>
2086
2087 <button>
2088 <conditions>
2089 <condition var1="tw_include_encrypted_backup" var2="1"/>
2090 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002091 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002092 </conditions>
2093 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2094 <highlight color="%highlight_color%"/>
2095 <image resource="q_btn_encryption_en"/>
2096 <actions>
2097 <action function="set">tw_password_not_match=0</action>
2098 <action function="set">tw_back=backup_options</action>
2099 <action function="page">backupencryption</action>
2100 </actions>
2101 </button>
2102
2103 <button>
2104 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2105 <highlight color="%highlight_color%"/>
2106 <image resource="q_btn_accept_transp"/>
2107 <actions>
2108 <action function="set">tw_back=backup_options</action>
2109 <action function="page">backup_confirm</action>
2110 </actions>
2111 </button>
2112
2113 <action>
2114 <touch key="home"/>
2115 <action function="page">main</action>
2116 </action>
2117
2118 <action>
2119 <touch key="back"/>
2120 <action function="page">%tw_back%</action>
2121 </action>
2122
2123 <action>
2124 <touch key="power+voldown"/>
2125 <action function="screenshot"/>
2126 </action>
2127 </page>
2128
2129 <page name="backup_confirm">
2130 <template name="page"/>
2131
2132 <template name="statusbar"/>
2133
2134 <text style="text_m">
2135 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker090751a2016-01-23 16:31:41 -06002136 <text>{@backup_hdr=Backup} &gt; {@backup_confirm_hdr=Confirm Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002137 </text>
2138
2139 <text style="text_m_accent">
2140 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002142 </text>
2143
2144 <text style="text_m">
2145 <placement x="%col1_x_left%" y="%row2_y%"/>
2146 <text>%tw_backup_name%</text>
2147 </text>
2148
2149 <fill color="%accent_color%">
2150 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_half_width%" h="input_line_width" placement="1"/>
2151 </fill>
2152
2153 <button>
2154 <fill color="%transparent%"/>
2155 <placement x="0" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2156 <actions>
2157 <action function="set">tw_back=backup_confirm</action>
2158 <action function="set">tw_fileexists=0</action>
2159 <action function="page">backup_name1</action>
2160 </actions>
2161 </button>
2162
2163 <fill color="%background_color%">
2164 <placement x="%col1_x_left_negative%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2165 </fill>
2166
2167 <text style="text_m_accent">
2168 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002170 </text>
2171
2172 <partitionlist style="partitionlist_summary">
2173 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2174 <data name="tw_backup_list"/>
2175 <listtype name="backup"/>
2176 </partitionlist>
2177
2178 <button>
2179 <fill color="%transparent%"/>
2180 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2181 <actions>
2182 <action function="set">tw_back=backup_confirm</action>
2183 <action function="page">backup_selectpartitions</action>
2184 </actions>
2185 </button>
2186
2187 <text style="text_m_accent">
2188 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002189 <text>{@storage=Storage:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002190 </text>
2191
2192 <text style="text_m">
2193 <placement x="%col1_x_right%" y="%row2_y%"/>
2194 <text>%tw_storage_display_name%</text>
2195 </text>
2196
2197 <button>
2198 <fill color="%transparent%"/>
2199 <placement x="%center_x%" y="%row2_header_y%" w="%screen_half_width%" h="48"/>
2200 <actions>
2201 <action function="set">tw_back=backup_confirm</action>
bigbiffce8f83c2015-12-12 18:30:21 -05002202 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002203 </actions>
2204 </button>
2205
2206 <text style="text_m_accent">
2207 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <text style="text_m">
2212 <conditions>
2213 <condition var1="tw_include_encrypted_backup" var2="1"/>
2214 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002215 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002216 </conditions>
2217 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002218 <text>{@disabled=Disabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002219 </text>
2220
2221 <text style="text_m">
2222 <conditions>
2223 <condition var1="tw_include_encrypted_backup" var2="1"/>
2224 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002225 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </conditions>
2227 <placement x="%col1_x_right%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@enabled=Enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <button>
2232 <fill color="%transparent%"/>
2233 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="48"/>
2234 <actions>
2235 <action function="set">tw_back=backup_confirm</action>
2236 <action function="page">backupencryption</action>
2237 </actions>
2238 </button>
2239
2240 <listbox style="listbox_options">
2241 <placement x="%col1_x_right%" y="%row7_y%" w="%content_half_width%" h="80"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <listitem name="{@enable_backup_comp_chk=Enable compression}">
z31s1g28f0a922015-11-07 18:50:22 +01002243 <data variable="tw_use_compression"/>
2244 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002245 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
2246 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01002247 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05002248 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
z31s1g28f0a922015-11-07 18:50:22 +01002249 <data variable="tw_disable_free_space"/>
2250 </listitem>
2251 </listbox>
2252
2253 <text style="text_m_accent">
2254 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002255 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002256 </text>
2257
2258 <button>
2259 <fill color="%transparent%"/>
2260 <placement x="%center_x%" y="%row6_y%" w="%screen_half_width%" h="64"/>
2261 <actions>
2262 <action function="set">tw_back=backup_confirm</action>
2263 <action function="page">backup_options</action>
2264 </actions>
2265 </button>
2266
2267 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002268 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002269 <action function="page">backup_run</action>
2270 </slider>
2271
2272 <action>
2273 <touch key="home"/>
2274 <action function="page">main</action>
2275 </action>
2276
2277 <action>
2278 <touch key="back"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002279 <action function="page">backup</action>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </action>
2281 </page>
2282
2283 <page name="backup_name1">
2284 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002285 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01002286 <action function="generatebackupname"/>
2287 </action>
2288
2289 <action>
2290 <action function="page">backup_name2</action>
2291 </action>
2292 </page>
2293
2294 <page name="backup_name2">
2295 <template name="page"/>
2296
2297 <template name="statusbar"/>
2298
2299 <text style="text_m">
2300 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002301 <text>{@backup_hdr=Backup} &gt; {@backup_name_hdr=Set Backup Name}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002302 </text>
2303
2304 <text style="text_m_accent">
2305 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <input>
2310 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2311 <text>%tw_backup_name%</text>
2312 <data name="tw_backup_name"/>
2313 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2314 <actions>
2315 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2316 <action function="set">tw_existpage=backup_name2</action>
2317 <action function="set">tw_notexistpage=backup_confirm</action>
2318 <action function="page">filecheck</action>
2319 </actions>
2320 </input>
2321
2322 <fill color="%accent_color%">
2323 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2324 </fill>
2325
2326 <fill color="%text_fail_color%">
2327 <condition var1="tw_fileexists" var2="1"/>
2328 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2329 </fill>
2330
2331 <text style="text_m_fail">
2332 <condition var1="tw_fileexists" var2="1"/>
2333 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002334 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002335 </text>
2336
2337 <button style="main_button_half_height">
2338 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002339 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002340 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002341 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002342 <action function="page">backup_confirm</action>
2343 </actions>
2344 </button>
2345
2346 <button style="main_button_half_height">
2347 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002348 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002349 <action function="appenddatetobackupname"/>
2350 </button>
2351
2352 <template name="keyboardtemplate"/>
2353
2354 <action>
2355 <touch key="home"/>
2356 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002358 <action function="page">main</action>
2359 </actions>
2360 </action>
2361
2362 <action>
2363 <touch key="back"/>
2364 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002366 <action function="page">backup_confirm</action>
2367 </actions>
2368 </action>
2369 </page>
2370
2371 <page name="backupencryption">
2372 <template name="page"/>
2373
2374 <template name="statusbar"/>
2375
2376 <text style="text_m">
2377 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 </text>
2380
2381 <text style="text_m_accent">
2382 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002383 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002384 </text>
2385
2386 <input>
2387 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2388 <text>%tw_backup_encrypt_display%</text>
2389 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2390 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2391 <action function="page">backupencryption2</action>
2392 </input>
2393
2394 <fill color="%accent_color%">
2395 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2396 </fill>
2397
2398 <fill color="%text_fail_color%">
2399 <condition var1="tw_password_not_match" var2="1"/>
2400 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2401 </fill>
2402
2403 <text style="text_m_fail">
2404 <condition var1="tw_password_not_match" var2="1"/>
2405 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </text>
2408
2409 <button style="main_button_half_height">
2410 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <actions>
2413 <action function="set">tw_encrypt_backup=0</action>
2414 <action function="set">tw_backup_password=</action>
2415 <action function="set">tw_backup_password2=</action>
2416 <action function="set">tw_backup_encrypt_display=</action>
2417 <action function="set">tw_backup_encrypt_display2=</action>
2418 <action function="page">%tw_back%</action>
2419 </actions>
2420 </button>
2421
2422 <template name="keyboardtemplate"/>
2423
2424 <action>
2425 <touch key="home"/>
2426 <action function="page">main</action>
2427 </action>
2428
2429 <action>
2430 <touch key="back"/>
2431 <action function="page">%tw_back%</action>
2432 </action>
2433 </page>
2434
2435 <page name="backupencryption2">
2436 <template name="page"/>
2437
2438 <template name="statusbar"/>
2439
2440 <text style="text_m">
2441 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002442 <text>{@backup_hdr=Backup} &gt; {@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002443 </text>
2444
2445 <text style="text_m_accent">
2446 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002448 </text>
2449
2450 <input>
2451 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2452 <text>%tw_backup_encrypt_display2%</text>
2453 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2454 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2455 <action function="page">checkbackuppassword</action>
2456 </input>
2457
2458 <fill color="%accent_color%">
2459 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2460 </fill>
2461
2462 <button style="main_button_half_height">
2463 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002465 <actions>
2466 <action function="set">tw_encrypt_backup=0</action>
2467 <action function="set">tw_backup_password=</action>
2468 <action function="set">tw_backup_password2=</action>
2469 <action function="set">tw_backup_encrypt_display=</action>
2470 <action function="set">tw_backup_encrypt_display2=</action>
2471 <action function="page">%tw_back%</action>
2472 </actions>
2473 </button>
2474
2475 <template name="keyboardtemplate"/>
2476
2477 <action>
2478 <touch key="home"/>
2479 <action function="page">main</action>
2480 </action>
2481
2482 <action>
2483 <touch key="back"/>
2484 <action function="page">%tw_back%</action>
2485 </action>
2486 </page>
2487
2488 <page name="checkbackuppassword">
2489 <action>
2490 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2491 <actions>
2492 <action function="set">tw_encrypt_backup=1</action>
2493 <action function="page">%tw_back%</action>
2494 </actions>
2495 </action>
2496
2497 <action>
2498 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2499 <actions>
2500 <action function="set">tw_encrypt_backup=0</action>
2501 <action function="set">tw_password_not_match=1</action>
2502 <action function="set">tw_backup_password=</action>
2503 <action function="set">tw_backup_password2=</action>
2504 <action function="set">tw_backup_encrypt_display=</action>
2505 <action function="set">tw_backup_encrypt_display2=</action>
2506 <action function="page">backupencryption</action>
2507 </actions>
2508 </action>
2509 </page>
2510
2511 <page name="backup_run">
2512 <template name="page"/>
2513
2514 <template name="statusbar"/>
2515
2516 <text style="text_m">
2517 <placement x="%col1_x_left%" y="%row1_header_y%"/>
2518 <text>%tw_operation% %tw_partition%</text>
2519 </text>
2520
2521 <template name="console"/>
2522
2523 <template name="progress_bar"/>
2524
2525 <text style="text_m">
2526 <placement x="%indent%" y="%row13a_y%"/>
2527 <text>%tw_file_progress%</text>
2528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%indent%" y="%row14a_y%"/>
2532 <text>%tw_size_progress%</text>
2533 </text>
2534
2535 <button style="main_button_half_height">
2536 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="cancelbackup"/>
2539 </button>
2540
2541 <action>
2542 <action function="nandroid">backup</action>
2543 </action>
2544
2545 <action>
2546 <condition var1="tw_operation_state" var2="1"/>
2547 <condition var1="tw_cancel_backup" var2="0"/>
2548 <actions>
2549 <action function="set">tw_back=backup_selectpartitions</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002550 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002551 <action function="set">tw_show_reboot=1</action>
2552 <action function="page">action_complete</action>
2553 </actions>
2554 </action>
2555
2556 <action>
2557 <condition var1="tw_operation_state" var2="1"/>
2558 <condition var1="tw_cancel_backup" var2="1"/>
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_cancel=Backup Cancelled}</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 </page>
2567
2568 <page name="restore">
2569 <template name="page"/>
2570
2571 <template name="statusbar"/>
2572
2573 <text style="text_m">
2574 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002575 <text>{@restore_hdr=Restore} &gt; {@sel_backup_hdr=Select Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002576 </text>
2577
2578 <fileselector>
2579 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
2580 <text>%tw_storage_display_name%</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002581 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002582 <path name="tw_backups_folder"/>
2583 <data name="tw_restore" default=""/>
2584 <selection name="tw_restore_name"/>
2585 </fileselector>
2586
2587 <button>
2588 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2589 <highlight color="%highlight_color%"/>
2590 <image resource="q_btn_storage"/>
2591 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05002592 <action function="set">tw_storagetext={@restore_btn=Restore} &gt; {@select_storage_btn=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002593 <action function="set">tw_back=restore</action>
2594 <action function="page">select_storage</action>
2595 </actions>
2596 </button>
2597
2598 <action>
2599 <condition var1="tw_restore" op="modified"/>
2600 <actions>
2601 <action function="readBackup"/>
2602 <action function="set">tw_back=restore</action>
2603 <action function="page">restore_read</action>
2604 </actions>
2605 </action>
2606
2607 <action>
2608 <touch key="home"/>
2609 <action function="page">main</action>
2610 </action>
2611
2612 <action>
2613 <touch key="back"/>
2614 <action function="page">main</action>
2615 </action>
2616 </page>
2617
2618 <page name="restore_read">
2619 <action>
2620 <condition var1="tw_restore_encrypted" var2="1"/>
2621 <actions>
2622 <action function="set">tw_password_fail=0</action>
2623 <action function="page">restore_decrypt</action>
2624 </actions>
2625 </action>
2626
2627 <action>
2628 <condition var1="tw_restore_encrypted" var2="0"/>
2629 <actions>
2630 <action function="page">restore_select</action>
2631 </actions>
2632 </action>
2633 </page>
2634
2635 <page name="restore_decrypt">
2636 <template name="page"/>
2637
2638 <template name="statusbar"/>
2639
2640 <text style="text_m">
2641 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002642 <text>{@restore_hdr=Restore} &gt; {@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002643 </text>
2644
2645 <text style="text_m_accent">
2646 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002647 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002648 </text>
2649
2650 <input>
2651 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2652 <text>%tw_restore_display%</text>
2653 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2654 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2655 <action function="page">try_restore_decrypt</action>
2656 </input>
2657
2658 <fill color="%accent_color%">
2659 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2660 </fill>
2661
2662 <fill color="%text_fail_color%">
2663 <condition var1="tw_password_fail" var2="1"/>
2664 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
2665 </fill>
2666
2667 <text style="text_m_fail">
2668 <condition var1="tw_password_fail" var2="1"/>
2669 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002670 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002671 </text>
2672
2673 <button style="main_button_half_height">
2674 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002675 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002676 <actions>
2677 <action function="set">tw_page_done=1</action>
2678 <action function="page">restore</action>
2679 </actions>
2680 </button>
2681
2682 <button style="main_button_half_height">
2683 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <actions>
2686 <action function="set">tw_back=restore</action>
2687 <action function="set">tw_action=cmd</action>
2688 <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 -05002689 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2690 <action function="set">tw_text2=%tw_restore_name%</action>
2691 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2692 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2693 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2694 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002695 <action function="page">confirm_action</action>
2696 </actions>
2697 </button>
2698
2699 <template name="keyboardtemplate"/>
2700
2701 <action>
2702 <touch key="home"/>
2703 <action function="page">main</action>
2704 </action>
2705
2706 <action>
2707 <touch key="back"/>
2708 <action function="page">restore</action>
2709 </action>
2710 </page>
2711
2712 <page name="try_restore_decrypt">
2713 <template name="page"/>
2714
2715 <template name="statusbar"/>
2716
2717 <text style="text_m">
2718 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002719 <text>{@restore_hdr=Restore} &gt; {@restore_try_decrypt_s=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002720 </text>
2721
2722 <template name="console"/>
2723
2724 <template name="progress_bar"/>
2725
2726 <action>
2727 <action function="decrypt_backup"/>
2728 </action>
2729
2730 <action>
2731 <conditions>
2732 <condition var1="tw_operation_state" var2="1"/>
2733 <condition var1="tw_operation_status" op="!=" var2="0"/>
2734 </conditions>
2735 <actions>
2736 <action function="set">tw_password_fail=1</action>
2737 <action function="page">restore_decrypt</action>
2738 </actions>
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_page_done=1</action>
2748 <action function="page">restore_select</action>
2749 </actions>
2750 </action>
2751 </page>
2752
2753 <page name="restore_select">
2754 <template name="page"/>
2755
2756 <template name="statusbar"/>
2757
2758 <text style="text_m">
2759 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002760 <text>{@restore_hdr=Restore} &gt; {@sel_part_hdr=Select Partitions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002761 </text>
2762
2763 <partitionlist style="partitionlist_headerless_cb">
2764 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
2765 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2766 <listtype name="restore"/>
2767 </partitionlist>
2768
2769 <fill color="%accent_color%">
2770 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
2771 </fill>
2772
2773 <button>
2774 <placement x="%col1_x_left%" y="%row11_y%"/>
2775 <highlight color="%highlight_color%"/>
2776 <image resource="q_btn_arrow_left"/>
2777 <action function="page">restore</action>
2778 </button>
2779
2780 <button>
2781 <placement x="%btn4_col2_x%" y="%row11_y%"/>
2782 <highlight color="%highlight_color%"/>
2783 <image resource="q_btn_delete"/>
2784 <actions>
2785 <action function="set">tw_back=restore</action>
2786 <action function="set">tw_action=cmd</action>
2787 <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 -05002788 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002789 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002790 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2791 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2792 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2793 <action function="set">tw_slider_text={@swipe_delete_s= Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <action function="page">confirm_action</action>
2795 </actions>
2796 </button>
2797
2798 <button>
2799 <placement x="%btn4_col3_x%" y="%row11_y%"/>
2800 <highlight color="%highlight_color%"/>
2801 <image resource="q_btn_accept"/>
2802 <action function="page">restore_confirm</action>
2803 </button>
2804
2805 <button>
2806 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2807 <highlight color="%highlight_color%"/>
2808 <image resource="q_btn_arrow_right"/>
2809 <actions>
2810 <action function="set">tw_back=restore_select</action>
2811 <action function="page">restore_options</action>
2812 </actions>
2813 </button>
2814
2815 <action>
2816 <touch key="home"/>
2817 <action function="page">main</action>
2818 </action>
2819
2820 <action>
2821 <touch key="back"/>
2822 <action function="page">%tw_back%</action>
2823 </action>
2824 </page>
2825
2826 <page name="restore_options">
2827 <template name="page"/>
2828
2829 <template name="statusbar"/>
2830
2831 <text style="text_m">
2832 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002833 <text>{@restore_hdr=Restore} &gt; {@options_hdr=Options}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002834 </text>
2835
2836 <listbox style="scrolllist">
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002837 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002838 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002839 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
2840 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002841 </listitem>
2842 </listbox>
2843
2844 <button>
2845 <placement x="%col1_x_left%" y="%row11_y%"/>
2846 <highlight color="%highlight_color%"/>
2847 <image resource="q_btn_arrow_left"/>
2848 <action function="page">restore_select</action>
2849 </button>
2850
2851 <button>
2852 <placement x="%btn4_col4_x%" y="%row11_y%"/>
2853 <highlight color="%highlight_color%"/>
2854 <image resource="q_btn_accept_transp"/>
2855 <actions>
2856 <action function="set">tw_back=restore_options</action>
2857 <action function="page">restore_confirm</action>
2858 </actions>
2859 </button>
2860
2861 <action>
2862 <touch key="home"/>
2863 <action function="page">main</action>
2864 </action>
2865
2866 <action>
2867 <touch key="back"/>
2868 <action function="page">%tw_back%</action>
2869 </action>
2870
2871 <action>
2872 <touch key="power+voldown"/>
2873 <action function="screenshot"/>
2874 </action>
2875 </page>
2876
2877 <page name="renamebackup">
2878 <template name="page"/>
2879
2880 <template name="statusbar"/>
2881
2882 <text style="text_m">
2883 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002884 <text>{@restore_hdr=Restore} &gt; {@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 </text>
2886
2887 <text style="text_m_accent">
2888 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002889 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002890 </text>
2891
2892 <input>
2893 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
2894 <text>%tw_backup_rename%</text>
2895 <data name="tw_backup_rename"/>
2896 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2897 <actions>
2898 <action function="set">tw_back=restore</action>
2899 <action function="set">tw_action=cmd</action>
2900 <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 -05002901 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2902 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2903 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2904 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2905 <action function="set">tw_slider_text={@swipe_rename= Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002906 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2907 <action function="set">tw_existpage=renamebackup</action>
2908 <action function="set">tw_notexistpage=confirm_action</action>
2909 <action function="page">filecheck</action>
2910 </actions>
2911 </input>
2912
2913 <fill color="%accent_color%">
2914 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2915 </fill>
2916
2917 <fill color="%text_fail_color%">
2918 <condition var1="tw_fileexists" var2="1"/>
2919 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
2920 </fill>
2921
2922 <text style="text_m_fail">
2923 <condition var1="tw_fileexists" var2="1"/>
2924 <placement x="%col1_x_left%" y="%row3_input_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002925 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002926 </text>
2927
2928 <button style="main_button_half_height">
2929 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002930 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002931 <action function="page">restore_confirm</action>
2932 </button>
2933
2934 <template name="keyboardtemplate"/>
2935
2936 <action>
2937 <touch key="home"/>
2938 <action function="page">main</action>
2939 </action>
2940
2941 <action>
2942 <touch key="back"/>
2943 <action function="page">restore_confirm</action>
2944 </action>
2945 </page>
2946
2947 <page name="restore_confirm">
2948 <template name="page"/>
2949
2950 <template name="statusbar"/>
2951
2952 <text style="text_m">
2953 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@restore_hdr=Restore} &gt; {@confirm_hdr=Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 </text>
2956
2957 <text style="text_m_accent">
2958 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002959 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002960 </text>
2961
2962 <text style="text_m">
2963 <placement x="%indent%" y="%row2_y%"/>
2964 <text>%tw_restore_name%</text>
2965 </text>
2966
2967 <fill color="%accent_color%">
2968 <placement x="%indent%" y="64" w="%content_width%" h="input_line_width" placement="1"/>
2969 </fill>
2970
2971 <button>
2972 <fill color="%transparent%"/>
2973 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="48"/>
2974 <actions>
2975 <action function="set">tw_back=restore_confirm</action>
2976 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2977 <action function="set">tw_fileexists=0</action>
2978 <action function="page">renamebackup</action>
2979 </actions>
2980 </button>
2981
2982 <text style="text_m_accent">
2983 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@partitions=Partitions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <partitionlist style="partitionlist_summary">
2988 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="96"/>
2989 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2990 <listtype name="restore"/>
2991 </partitionlist>
2992
2993 <button>
2994 <fill color="%transparent%"/>
2995 <placement x="0" y="%row3a_y%" w="%screen_half_width%" h="112"/>
2996 <actions>
2997 <action function="set">tw_back=restore_confirm</action>
2998 <action function="page">restore_select</action>
2999 </actions>
3000 </button>
3001
3002 <listbox style="listbox_options">
3003 <placement x="%col1_x_right%" y="%row4a_y%" w="%content_half_width%" h="80"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003004 <listitem name="{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}">
3005 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003006 </listitem>
3007 </listbox>
3008
3009 <text style="text_m_accent">
3010 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003011 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003012 </text>
3013
3014 <button>
3015 <fill color="%transparent%"/>
3016 <placement x="%center_x%" y="%row3a_y%" w="%screen_half_width%" h="64"/>
3017 <actions>
3018 <action function="set">tw_back=restore_confirm</action>
3019 <action function="page">restore_options</action>
3020 </actions>
3021 </button>
3022
3023 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@swipe_restore_s= Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <action function="page">restore_run</action>
3026 </slider>
3027
3028 <action>
3029 <touch key="home"/>
3030 <action function="page">main</action>
3031 </action>
3032
3033 <action>
3034 <touch key="back"/>
3035 <action function="page">restore_options</action>
3036 </action>
3037 </page>
3038
3039 <page name="restore_run">
3040 <template name="page"/>
3041
3042 <template name="statusbar"/>
3043
3044 <text style="text_m">
3045 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3046 <text>%tw_operation% %tw_partition%</text>
3047 </text>
3048
3049 <template name="console"/>
3050
3051 <template name="progress_bar"/>
3052
3053 <text style="text_m">
3054 <placement x="%indent%" y="%row14a_y%"/>
3055 <text>%tw_size_progress%</text>
3056 </text>
3057
3058 <action>
3059 <condition var1="tw_operation_state" var2="1"/>
3060 <actions>
3061 <action function="set">tw_back=restore</action>
Matt Mower3c366972015-12-25 19:28:31 -06003062 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003063 <action function="set">tw_show_reboot=1</action>
3064 <action function="page">action_complete</action>
3065 </actions>
3066 </action>
3067
3068 <action>
3069 <action function="nandroid">restore</action>
3070 </action>
3071 </page>
3072
3073 <page name="mount">
3074 <template name="page"/>
3075
3076 <template name="statusbar"/>
3077
3078 <text style="text_m">
3079 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003080 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003081 </text>
3082
3083 <partitionlist style="partitionlist_headerless_cb">
3084 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
3085 <listtype name="mount"/>
3086 </partitionlist>
3087
3088 <fill color="%accent_color%">
3089 <placement x="%col1_x_left%" y="row10a_y" w="%content_width%" h="input_line_width"/>
3090 </fill>
3091
3092 <button style="checkbox">
3093 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
3094 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003096 <image resource="checkbox_false"/>
3097 <action function="mountsystemtoggle">1</action>
3098 </button>
3099
3100 <button style="checkbox">
3101 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
3102 <placement x="%col1_x_left%" y="%row11_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@mount_sys_ro_s_chk=Mount System RO}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 <image resource="checkbox_true"/>
3105 <actions>
3106 <action function="set">tw_lifetime_writes=2</action>
3107 <action function="page">system_readonly_check</action>
3108 </actions>
3109 </button>
3110
3111 <button style="checkbox">
3112 <conditions>
3113 <condition var1="tw_has_mtp" var2="1"/>
3114 <condition var1="tw_mtp_enabled" var2="0"/>
3115 </conditions>
3116 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3117 <image resource="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003118 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003119 <action function="startmtp"/>
3120 </button>
3121
3122 <button style="checkbox">
3123 <conditions>
3124 <condition var1="tw_has_mtp" var2="1"/>
3125 <condition var1="tw_mtp_enabled" var2="1"/>
3126 </conditions>
3127 <placement x="%col1_x_left%" y="%row13_y%" textplacement="6"/>
3128 <image resource="checkbox_true"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <action function="stopmtp"/>
3131 </button>
3132
3133 <button>
3134 <placement x="%btn4_col3_x%" y="%row11_y%"/>
3135 <highlight color="%highlight_color%"/>
3136 <image resource="q_btn_storage"/>
3137 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <action function="set">tw_storagetext={@mount_hdr=Mount} &gt; {@select_storage_hdr=Select Storage}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003139 <action function="set">tw_back=mount</action>
3140 <action function="page">select_storage</action>
3141 </actions>
3142 </button>
3143
3144 <button>
3145 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3146 <highlight color="%highlight_color%"/>
3147 <image resource="q_btn_arrow_right"/>
3148 <action function="page">mount_options</action>
3149 </button>
3150
3151 <action>
3152 <touch key="home"/>
3153 <action function="page">main</action>
3154 </action>
3155
3156 <action>
3157 <touch key="back"/>
3158 <action function="page">main</action>
3159 </action>
3160 </page>
3161
3162 <page name="mount_options">
3163 <template name="page"/>
3164
3165 <template name="statusbar"/>
3166
3167 <text style="text_m">
3168 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@mount_hdr=Mount} &gt; %tw_storage_display_name%</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 </text>
3171
3172 <button style="main_button_full_width">
3173 <condition var1="tw_has_usb_storage" var2="1"/>
3174 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="page">usb_mount</action>
3177 </button>
3178
3179 <button style="main_button_full_width">
3180 <conditions>
3181 <condition var1="tw_is_encrypted" var2="1"/>
3182 <condition var1="tw_is_decrypted" var2="0"/>
3183 </conditions>
3184 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003185 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003186 <action function="page">decrypt</action>
3187 </button>
3188
3189 <button>
3190 <placement x="%col1_x_left%" y="%row11_y%"/>
3191 <highlight color="%highlight_color%"/>
3192 <image resource="q_btn_arrow_left"/>
3193 <action function="page">mount</action>
3194 </button>
3195
3196 <action>
3197 <touch key="home"/>
3198 <action function="page">main</action>
3199 </action>
3200
3201 <action>
3202 <touch key="back"/>
3203 <action function="page">mount</action>
3204 </action>
3205 </page>
3206
3207 <page name="usb_mount">
3208 <template name="page"/>
3209
3210 <template name="statusbar"/>
3211
3212 <text style="text_m">
3213 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003214 <text>{@mount_hdr=Mount} &gt; {@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </text>
3216
3217 <text style="text_m_accent">
3218 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </text>
3221
3222 <text style="text_m_fail">
3223 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <text style="text_m_fail">
3228 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 </text>
3231
3232 <button style="main_button">
3233 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <action function="page">usb_umount</action>
3236 </button>
3237
3238 <action>
3239 <action function="mount">usb</action>
3240 <action function="set">tw_busy=1</action>
3241 </action>
3242 </page>
3243
3244 <page name="usb_umount">
3245 <action>
3246 <action function="unmount">usb</action>
3247 </action>
3248
3249 <action>
3250 <action function="page">mount_options</action>
3251 <action function="set">tw_busy=0</action>
3252 </action>
3253 </page>
3254
3255 <page name="system_readonly_check">
3256 <action>
3257 <action function="checkpartitionlifetimewrites">/system</action>
3258 </action>
3259
3260 <action>
3261 <condition var1="tw_lifetime_writes" var2="1"/>
3262 <actions>
3263 <action function="mountsystemtoggle">0</action>
3264 <action function="page">mount</action>
3265 </actions>
3266 </action>
3267
3268 <action>
3269 <condition var1="tw_lifetime_writes" var2="0"/>
3270 <actions>
3271 <action function="set">tw_back=mount</action>
3272 <action function="page">system_readonly</action>
3273 </actions>
3274 </action>
3275 </page>
3276
3277 <page name="reboot">
3278 <template name="page"/>
3279
3280 <template name="statusbar"/>
3281
3282 <text style="text_m">
3283 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003284 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003285 </text>
3286
3287 <button style="main_button">
3288 <condition var1="tw_reboot_system" var2="1"/>
3289 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 <actions>
3292 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05003293 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </actions>
3295 </button>
3296
3297 <button style="main_button">
3298 <condition var1="tw_reboot_poweroff" var2="1"/>
3299 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 <actions>
3302 <action function="set">tw_back=reboot</action>
3303 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003304 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003305 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003307 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3308 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3309 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3310 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3311 <action function="set">tw_slider_text={@swipe_power_off_s=Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003312 <action function="page">rebootcheck</action>
3313 </actions>
3314 </button>
3315
3316 <button style="main_button">
3317 <condition var1="tw_reboot_recovery" var2="1"/>
3318 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 <actions>
3321 <action function="set">tw_back=reboot</action>
3322 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003323 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003324 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01003325 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3327 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3328 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3329 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3330 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <action function="page">rebootcheck</action>
3332 </actions>
3333 </button>
3334
3335 <button style="main_button">
3336 <condition var1="tw_reboot_bootloader" var2="1"/>
3337 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <actions>
3340 <action function="set">tw_back=reboot</action>
3341 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003342 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003343 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01003344 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3346 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3347 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3348 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3349 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003350 <action function="page">rebootcheck</action>
3351 </actions>
3352 </button>
3353
3354 <button style="main_button">
3355 <condition var1="tw_download_mode" var2="1"/>
3356 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003357 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003358 <actions>
3359 <action function="set">tw_back=reboot</action>
3360 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05003361 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003362 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01003363 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3365 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3366 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3367 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3368 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003369 <action function="page">rebootcheck</action>
3370 </actions>
3371 </button>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003372 <button style="main_button">
3373 <condition var1="tw_edl_mode" var2="1"/>
3374 <placement x="%col1_x_right%" y="%row11_y%"/>
3375 <text>{@rb_edl_btn=Edl}</text>
3376 <actions>
3377 <action function="set">tw_back=reboot</action>
3378 <action function="set">tw_action=reboot</action>
3379 <action function="set">tw_action_param=edl</action>
3380 <action function="set">tw_reboot_param=edl</action>
3381 <action function="set">tw_has_action2=0</action>
3382 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3383 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3384 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3385 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3386 <action function="set">tw_slider_text={@swipe_reboot_s= Reboot}</action>
3387 <action function="page">rebootcheck</action>
3388 </actions>
3389 </button>
z31s1g28f0a922015-11-07 18:50:22 +01003390
3391 <action>
3392 <touch key="home"/>
3393 <action function="page">main</action>
3394 </action>
3395
3396 <action>
3397 <touch key="back"/>
3398 <action function="page">main</action>
3399 </action>
3400 </page>
3401
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003402 <page name="rebootapp">
3403 <template name="page"/>
3404
3405 <template name="statusbar"/>
3406
3407 <text style="text_m">
3408 <placement x="%col1_x_left%" y="%row1_header_y%"/>
3409 <text>{@reboot_hdr=Reboot} &gt; {@reboot_install_app_hdr=Install TWRP App?}</text>
3410 </text>
3411
3412 <text style="text_m_accent">
3413 <placement x="%center_x%" y="%row1_y%" placement="5"/>
3414 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3415 </text>
3416
3417 <text style="text_m">
3418 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3419 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3420 </text>
3421
3422 <checkbox>
3423 <placement x="%indent%" y="%row3_y%"/>
3424 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3425 <data variable="tw_app_prompt"/>
3426 </checkbox>
3427
3428 <checkbox>
3429 <condition var1="tw_mount_system_ro" var2="0"/>
3430 <placement x="%indent%" y="%row5_y%"/>
3431 <text>{@reboot_install_app_system=Install as a System App}</text>
3432 <data variable="tw_app_install_system"/>
3433 </checkbox>
3434
3435 <button style="main_button_half_height">
3436 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003437 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003438 <action function="reboot">%tw_reboot_param%</action>
3439 </button>
3440
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003441 <action>
3442 <touch key="home"/>
3443 <actions>
3444 <action function="set">tw_app_install_status=0</action>
3445 <action function="page">main</action>
3446 </actions>
3447 </action>
3448
3449 <action>
3450 <touch key="back"/>
3451 <actions>
3452 <action function="set">tw_app_install_status=0</action>
3453 <action function="page">reboot</action>
3454 </actions>
3455 </action>
3456 </page>
3457
z31s1g28f0a922015-11-07 18:50:22 +01003458 <page name="system_readonly">
3459 <template name="page"/>
3460
3461 <template name="statusbar"/>
3462
3463 <text style="text_m">
3464 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 </text>
3467
3468 <text style="text_m_accent">
3469 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 </text>
3472
3473 <text style="text_m">
3474 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003475 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003476 </text>
3477
3478 <text style="text_m">
3479 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 </text>
3482
3483 <text style="text_m">
3484 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <text style="text_m">
3489 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003490 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003491 </text>
3492
3493 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003494 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003495 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003496 </text>
3497
3498 <text style="text_m_fail">
z31s1g608d7ff2016-01-18 19:47:25 +01003499 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003500 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003501 </text>
3502
z31s1g608d7ff2016-01-18 19:47:25 +01003503 <button style="main_button_half_height">
3504 <placement x="%col1_x_right%" y="%row8a_y%"/>
3505 <text>{@sel_lang_btn=Select Language}</text>
3506 <action function="page">settings_language</action>
3507 </button>
3508
z31s1g28f0a922015-11-07 18:50:22 +01003509 <checkbox>
3510 <condition var1="tw_is_encrypted" var2="0"/>
z31s1g608d7ff2016-01-18 19:47:25 +01003511 <placement x="%indent%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <data variable="tw_never_show_system_ro_page"/>
3514 </checkbox>
3515
3516 <button style="main_button_half_height">
3517 <placement x="%col1_x_left%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 <actions>
3520 <action function="mountsystemtoggle">1</action>
3521 <action function="set">tw_page_done=1</action>
3522 <action function="page">%tw_back%</action>
3523 </actions>
3524 </button>
3525
3526 <button style="main_button_half_height">
3527 <placement x="%col1_x_right%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@swipe_allow_mod_s=Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <actions>
3530 <action function="mountsystemtoggle">0</action>
3531 <action function="set">tw_page_done=1</action>
3532 <action function="page">%tw_back%</action>
3533 </actions>
3534 </button>
3535 </page>
3536
3537 <page name="settings">
3538 <template name="page"/>
3539
3540 <template name="statusbar"/>
3541
3542 <text style="text_m">
3543 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003544 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003545 </text>
3546
3547 <button style="main_button">
3548 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@settings_gen_btn=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 <action function="page">settings_general</action>
3551 </button>
3552
3553 <button style="main_button">
3554 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003555 <text>{@settings_tz_btn=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003556 <action function="page">settings_timezone</action>
3557 </button>
3558
3559 <button style="main_button">
3560 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003561 <text>{@settings_screen_btn=Screen}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003562 <action function="page">settings_screen</action>
3563 </button>
3564
3565 <button style="main_button">
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003566 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003567 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003568 <text>{@settings_vibration_btn=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003569 <action function="page">settings_vibration</action>
3570 </button>
3571
3572 <button style="main_button">
3573 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@settings_language_btn=Language}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <action function="page">settings_language</action>
3576 </button>
3577
3578 <button>
3579 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3580 <highlight color="%highlight_color%"/>
3581 <image resource="q_btn_reset"/>
3582 <action function="restoredefaultsettings"/>
3583 </button>
3584
3585 <action>
3586 <touch key="home"/>
3587 <action function="page">main</action>
3588 </action>
3589
3590 <action>
3591 <touch key="back"/>
3592 <action function="page">main3</action>
3593 </action>
3594 </page>
3595
3596 <page name="settings_general">
3597 <template name="page"/>
3598
3599 <template name="statusbar"/>
3600
3601 <text style="text_m">
3602 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003603 <text>{@settings_hdr=Settings} &gt; {@settings_gen_s_hdr=General}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003604 </text>
3605
3606 <listbox style="scrolllist">
3607 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_settings_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003608 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003609 <data variable="tw_signed_zip_verify"/>
3610 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003611 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3612 <data variable="tw_install_reboot"/>
3613 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003615 <data variable="tw_rm_rf"/>
3616 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003617 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3618 <data variable="tw_disable_free_space"/>
3619 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003620 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3621 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003622 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003623 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3624 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003625 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003626 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003627 <data variable="tw_military_time"/>
3628 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003629 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3630 <data variable="tw_app_prompt"/>
3631 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003632 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003633 <data variable="tw_simulate_actions"/>
3634 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003636 <data variable="tw_simulate_fail"/>
3637 <condition var1="tw_simulate_actions" var2="1"/>
3638 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003639 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3640 <condition var1="tw_no_sha2" var2="0"/>
3641 <data variable="tw_use_sha2"/>
3642 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003643 </listbox>
3644
3645 <action>
3646 <touch key="home"/>
3647 <action function="page">main</action>
3648 </action>
3649
3650 <action>
3651 <touch key="back"/>
3652 <action function="page">settings</action>
3653 </action>
3654 </page>
3655
3656 <page name="settings_timezone">
3657 <template name="page"/>
3658
3659 <template name="statusbar"/>
3660
3661 <text style="text_m">
3662 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003663 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003664 </text>
3665
3666 <text color="%text_color%">
3667 <font resource="font_m"/>
3668 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3669 <text>%tw_time%</text>
3670 </text>
3671
3672 <listbox style="listbox_headerless">
3673 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%listbox_timezone_height%"/>
3674 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3676 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3677 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3678 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3679 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3680 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3681 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3682 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3683 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3684 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3685 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3686 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3687 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3688 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3689 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3690 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3691 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3692 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3693 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3694 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3695 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3696 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3697 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3698 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </listbox>
3700
3701 <button>
3702 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3703 <highlight color="%highlight_color%"/>
3704 <image resource="q_btn_arrow_right"/>
3705 <actions>
3706 <action function="setguitimezone"/>
3707 <action function="page">settings_timezone2</action>
3708 </actions>
3709 </button>
3710
3711 <action>
3712 <condition var1="tw_time_zone_guisel" op="modified"/>
3713 <action function="setguitimezone"/>
3714 </action>
3715
3716 <action>
3717 <touch key="home"/>
3718 <actions>
3719 <action function="page">main</action>
3720 <action function="setguitimezone"/>
3721 </actions>
3722 </action>
3723
3724 <action>
3725 <touch key="back"/>
3726 <actions>
3727 <action function="page">settings</action>
3728 <action function="setguitimezone"/>
3729 </actions>
3730 </action>
3731
3732 <action>
3733 <touch key="power+voldown"/>
3734 <action function="screenshot"/>
3735 </action>
3736 </page>
3737
3738 <page name="settings_timezone2">
3739 <template name="page"/>
3740
3741 <template name="statusbar"/>
3742
3743 <text style="text_m">
3744 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@settings_hdr=Settings} &gt; {@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 </text>
3747
3748 <text color="%text_color%">
3749 <font resource="font_m"/>
3750 <placement x="%indent_right%" y="%row1_header_y%" placement="1"/>
3751 <text>%tw_time%</text>
3752 </text>
3753
3754 <checkbox>
3755 <placement x="%col1_x_left%" y="%row1_y%"/>
3756 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003758 <data variable="tw_time_zone_guidst"/>
3759 <image checked="checkbox_true" unchecked="checkbox_false"/>
3760 </checkbox>
3761
3762 <text style="text_m_accent">
3763 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003765 </text>
3766
3767 <button style="main_button_quarter_width">
3768 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003769 <text>{@tz_offset_0=0}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003770 <actions>
3771 <action function="set">tw_time_zone_guioffset=0</action>
3772 <action function="setguitimezone"/>
3773 </actions>
3774 </button>
3775
3776 <button style="main_button_quarter_width">
3777 <placement x="%btn4_col2_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003779 <actions>
3780 <action function="set">tw_time_zone_guioffset=15</action>
3781 <action function="setguitimezone"/>
3782 </actions>
3783 </button>
3784
3785 <button style="main_button_quarter_width">
3786 <placement x="%btn4_col3_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003787 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003788 <actions>
3789 <action function="set">tw_time_zone_guioffset=30</action>
3790 <action function="setguitimezone"/>
3791 </actions>
3792 </button>
3793
3794 <button style="main_button_quarter_width">
3795 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003796 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003797 <actions>
3798 <action function="set">tw_time_zone_guioffset=45</action>
3799 <action function="setguitimezone"/>
3800 </actions>
3801 </button>
3802
3803 <button>
3804 <placement x="%col1_x_left%" y="%row11_y%"/>
3805 <highlight color="%highlight_color%"/>
3806 <image resource="q_btn_arrow_left"/>
3807 <actions>
3808 <action function="setguitimezone"/>
3809 <action function="page">settings_timezone</action>
3810 </actions>
3811 </button>
3812
3813 <text style="text_m_accent">
3814 <placement x="%btn4_col2_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003815 <text>{@curr_tz_s=Current Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003816 </text>
3817
3818 <text style="text_m">
3819 <placement x="%btn4_col2_x%" y="%row12a_y%"/>
3820 <text>%tw_time_zone%</text>
3821 </text>
3822
3823 <action>
3824 <condition var1="tw_time_zone_guidst" op="modified"/>
3825 <action function="setguitimezone"/>
3826 </action>
3827
3828 <action>
3829 <touch key="home"/>
3830 <actions>
3831 <action function="setguitimezone"/>
3832 <action function="page">main</action>
3833 </actions>
3834 </action>
3835
3836 <action>
3837 <touch key="back"/>
3838 <actions>
3839 <action function="setguitimezone"/>
3840 <action function="page">settings_timezone</action>
3841 </actions>
3842 </action>
3843 </page>
3844
3845 <page name="settings_screen">
3846 <template name="page"/>
3847
3848 <template name="statusbar"/>
3849
3850 <text style="text_m">
3851 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@settings_hdr=Settings} &gt; {@settings_screen_timeout_hdr=Screen Timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 </text>
3854
3855 <button style="checkbox">
3856 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3857 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3858 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 <image resource="checkbox_false"/>
3861 <action function="set">tw_screen_timeout_secs=60</action>
3862 </button>
3863
3864 <button style="checkbox">
3865 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3866 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3867 <placement x="%indent%" y="%row1_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 <image resource="checkbox_true"/>
3870 <action function="set">tw_screen_timeout_secs=0</action>
3871 </button>
3872
3873 <slidervalue>
3874 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3875 <placement x="col1_x_left" y="%row2a_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003876 <text>{@screen_to_slider_s=Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003877 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3878 </slidervalue>
3879
3880 <text style="text_m_fail">
3881 <condition var1="tw_no_screen_timeout" op="=" var2="1"/>
3882 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003883 <text>{@screen_to_na=Screen timeout setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003884 </text>
3885
3886 <button>
3887 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3888 <highlight color="%highlight_color%"/>
3889 <image resource="q_btn_arrow_right"/>
3890 <action function="page">settings_screen2</action>
3891 </button>
3892
3893 <action>
3894 <touch key="home"/>
3895 <action function="page">main</action>
3896 </action>
3897
3898 <action>
3899 <touch key="back"/>
3900 <action function="page">settings</action>
3901 </action>
3902 </page>
3903
3904 <page name="settings_screen2">
3905 <template name="page"/>
3906
3907 <template name="statusbar"/>
3908
3909 <text style="text_m">
3910 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003911 <text>{@settings_hdr=Settings} &gt; {@settings_screen_bright_btn=Screen Brightness}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003912 </text>
3913
3914 <slidervalue>
3915 <condition var1="tw_has_brightnesss_file" var2="1"/>
3916 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003917 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003918 <data variable="tw_brightness_pct" min="10" max="100"/>
3919 <actions>
3920 <action function="set">tw_brightness=%tw_brightness_max%</action>
3921 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3922 <action function="compute">tw_brightness/100</action>
3923 <action function="setbrightness">%tw_brightness%</action>
3924 </actions>
3925 </slidervalue>
3926
3927 <text style="text_m_fail">
3928 <condition var1="tw_has_brightnesss_file" var2="0"/>
3929 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003930 <text>{@screen_bright_na=Brightness setting unavailable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003931 </text>
3932
3933 <button>
3934 <placement x="%col1_x_left%" y="%row11_y%"/>
3935 <highlight color="%highlight_color%"/>
3936 <image resource="q_btn_arrow_left"/>
3937 <action function="page">settings_screen</action>
3938 </button>
3939
3940 <action>
3941 <touch key="home"/>
3942 <action function="page">main</action>
3943 </action>
3944
3945 <action>
3946 <touch key="back"/>
3947 <action function="page">settings</action>
3948 </action>
3949 </page>
3950
3951 <page name="settings_vibration">
3952 <template name="page"/>
3953
3954 <template name="statusbar"/>
3955
3956 <text style="text_m">
3957 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003958 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@button_vibration_hdr=Button Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003959 </text>
3960
3961 <slidervalue>
3962 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003963 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003964 <data variable="tw_button_vibrate" min="0" max="300"/>
3965 </slidervalue>
3966
3967 <button>
3968 <placement x="%btn4_col4_x%" y="%row11_y%"/>
3969 <highlight color="%highlight_color%"/>
3970 <image resource="q_btn_arrow_right"/>
3971 <action function="page">settings_vibration2</action>
3972 </button>
3973
3974 <action>
3975 <touch key="home"/>
3976 <action function="page">main</action>
3977 </action>
3978
3979 <action>
3980 <touch key="back"/>
3981 <action function="page">settings</action>
3982 </action>
3983 </page>
3984
3985 <page name="settings_vibration2">
3986 <template name="page"/>
3987
3988 <template name="statusbar"/>
3989
3990 <text style="text_m">
3991 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@kb_vibration_hdr=Keyboard Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 </text>
3994
3995 <slidervalue>
3996 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003997 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003998 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3999 </slidervalue>
4000
4001 <button>
4002 <placement x="%col1_x_left%" y="%row11_y%"/>
4003 <highlight color="%highlight_color%"/>
4004 <image resource="q_btn_arrow_left"/>
4005 <action function="page">settings_vibration</action>
4006 </button>
4007
4008 <button>
4009 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4010 <highlight color="%highlight_color%"/>
4011 <image resource="q_btn_arrow_right"/>
4012 <action function="page">settings_vibration3</action>
4013 </button>
4014
4015 <action>
4016 <touch key="home"/>
4017 <action function="page">main</action>
4018 </action>
4019
4020 <action>
4021 <touch key="back"/>
4022 <action function="page">settings</action>
4023 </action>
4024 </page>
4025
4026 <page name="settings_vibration3">
4027 <template name="page"/>
4028
4029 <template name="statusbar"/>
4030
4031 <text style="text_m">
4032 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@settings_hdr=Settings} &gt; {@vibration_hdr=Vibration} - {@act_vibration_hdr=Action Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 </text>
4035
4036 <slidervalue>
4037 <placement x="col1_x_left" y="%row1_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004038 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004039 <data variable="tw_action_vibrate" min="0" max="500"/>
4040 </slidervalue>
4041
4042 <button>
4043 <placement x="%col1_x_left%" y="%row11_y%"/>
4044 <highlight color="%highlight_color%"/>
4045 <image resource="q_btn_arrow_left"/>
4046 <action function="page">settings_vibration2</action>
4047 </button>
4048
4049 <action>
4050 <touch key="home"/>
4051 <action function="page">main</action>
4052 </action>
4053
4054 <action>
4055 <touch key="back"/>
4056 <action function="page">settings</action>
4057 </action>
4058 </page>
4059
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <page name="settings_language">
4061 <template name="page"/>
4062
4063 <template name="statusbar"/>
4064
4065 <text style="text_m">
4066 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4067 <text>{@settings_hdr=Settings} &gt; {@language_hdr=Language} - %tw_language_display%</text>
4068 </text>
4069
z31s1g608d7ff2016-01-18 19:47:25 +01004070 <listbox style="scrolllist">
Ethan Yonker74db1572015-10-28 12:44:49 -05004071 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4072 <icon selected="radio_true" unselected="radio_false" />
4073 <data name="tw_language" />
z31s1g608d7ff2016-01-18 19:47:25 +01004074 </listbox>
Ethan Yonker74db1572015-10-28 12:44:49 -05004075
4076 <button>
4077 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4078 <highlight color="%highlight_color%"/>
z31s1g608d7ff2016-01-18 19:47:25 +01004079 <image resource="q_btn_accept_transp"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <action function="setlanguage"></action>
4081 </button>
4082
z31s1g608d7ff2016-01-18 19:47:25 +01004083 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <touch key="home" />
4085 <action function="page">main</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004086 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004087
z31s1g608d7ff2016-01-18 19:47:25 +01004088 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <touch key="back" />
4090 <action function="page">settings</action>
z31s1g608d7ff2016-01-18 19:47:25 +01004091 </action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 </page>
4093
z31s1g28f0a922015-11-07 18:50:22 +01004094 <page name="advanced">
4095 <template name="page"/>
4096
4097 <template name="statusbar"/>
4098
4099 <text style="text_m">
4100 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <button style="main_button">
4105 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01004107 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01004108 </button>
4109
4110 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004111 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004112 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004113 <text>{@fix_context_btn=Fix Contexts}</text>
4114 <action function="page">fixcontexts</action>
z31s1g28f0a922015-11-07 18:50:22 +01004115 </button>
4116
Ethan Yonker64e0a652018-07-25 09:52:17 -05004117 <button>
4118 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4119 <highlight color="%highlight_color%"/>
4120 <image resource="q_btn_arrow_right"/>
4121 <action function="page">advanced2</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </button>
4123
Ethan Yonker64e0a652018-07-25 09:52:17 -05004124 <action>
4125 <touch key="home"/>
4126 <action function="page">main</action>
4127 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004128
Ethan Yonker64e0a652018-07-25 09:52:17 -05004129 <action>
4130 <touch key="back"/>
4131 <action function="page">main3</action>
4132 </action>
4133 </page>
4134
4135 <page name="advanced2">
4136 <template name="page"/>
4137
4138 <template name="statusbar"/>
4139
4140 <text style="text_m">
4141 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4142 <text>{@advanced_hdr=Advanced}</text>
4143 </text>
4144
4145 <listbox style="advanced_listbox">
4146 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4147 <listitem name="{@reload_theme_btn=Reload Theme}">
4148 <action function="reload"/>
4149 </listitem>
4150 <listitem name="{@part_sd_btn=Partition SD Card}">
4151 <condition var1="tw_allow_partition_sdcard" var2="1"/>
4152 <actions>
4153 <action function="set">partitionlisterror=0</action>
4154 <action function="page">partsdcardsel</action>
4155 </actions>
4156 </listitem>
4157 <listitem name="{@dumlock_btn=HTC Dumlock}">
4158 <condition var1="tw_show_dumlock" var2="1"/>
4159 <action function="page">htcdumlock</action>
4160 </listitem>
4161 <listitem name="{@inject_twrp_btn=Inject TWRP}">
4162 <condition var1="tw_has_injecttwrp" var2="1"/>
4163 <actions>
4164 <action function="set">tw_back=advanced</action>
4165 <action function="set">tw_action=reinjecttwrp</action>
4166 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
4167 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
4168 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
4169 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4170 <action function="page">confirm_action</action>
4171 </actions>
4172 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06004173 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
4174 <conditions>
4175 <condition var1="tw_has_boot_slots" var2="1"/>
4176 <condition var1="tw_has_repack_tools" var2="1"/>
4177 </conditions>
4178 <actions>
4179 <action function="set">tw_repack_kernel=0</action>
4180 <action function="page">repackselect</action>
4181 </actions>
4182 </listitem>
4183 <listitem name="{@install_kernel=Install Kernel}">
4184 <conditions>
4185 <condition var1="tw_has_boot_slots" var2="1"/>
4186 <condition var1="tw_has_repack_tools" var2="1"/>
4187 </conditions>
4188 <actions>
4189 <action function="set">tw_repack_kernel=1</action>
4190 <action function="page">repackselect</action>
4191 </actions>
4192 </listitem>
4193 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
4194 <conditions>
4195 <condition var1="tw_has_boot_slots" var2="1"/>
4196 <condition var1="tw_has_repack_tools" var2="1"/>
4197 </conditions>
4198 <actions>
4199 <action function="set">tw_back=advanced</action>
4200 <action function="set">tw_action=fixabrecoverybootloop</action>
4201 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
4202 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
4203 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
4204 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4205 <action function="page">confirm_action</action>
4206 </actions>
4207 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05004208 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
4209 <condition var1="tw_app_installed_in_system" var2="1"/>
4210 <actions>
4211 <action function="set">tw_back=advanced</action>
4212 <action function="set">tw_action=uninstalltwrpsystemapp</action>
4213 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
4214 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
4215 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
4216 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
4217 <action function="page">confirm_action</action>
4218 </actions>
4219 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004220 </listbox>
4221
4222 <button>
z31s1g28f0a922015-11-07 18:50:22 +01004223 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05004224 <highlight color="%highlight_color%"/>
4225 <image resource="q_btn_arrow_left"/>
4226 <action function="page">advanced</action>
z31s1g28f0a922015-11-07 18:50:22 +01004227 </button>
4228
4229 <action>
4230 <touch key="home"/>
4231 <action function="page">main</action>
4232 </action>
4233
4234 <action>
4235 <touch key="back"/>
4236 <action function="page">main3</action>
4237 </action>
4238 </page>
4239
Ethan Yonker483e9f42016-01-11 22:21:18 -06004240 <page name="partsdcardsel">
4241 <template name="page"/>
4242
4243 <template name="statusbar"/>
4244
4245 <text style="text_m">
4246 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4247 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
4248 </text>
4249
4250 <partitionlist style="partitionlist_headerless_rb">
4251 <data name="tw_storage_path"/>
4252 <listtype name="storage"/>
4253 </partitionlist>
4254
4255 <text style="text_m_fail">
4256 <condition var1="partitionlisterror" var2="1"/>
4257 <placement x="%center_x%" y="%row9_y%" placement="5"/>
4258 <text>{@invalid_partsd_sel=You must select a removable device}</text>
4259 </text>
4260
4261 <button>
4262 <placement x="%btn4_col2_x%" y="%row11_y%"/>
4263 <highlight color="%highlight_color%"/>
4264 <image resource="q_btn_refresh"/>
4265 <action function="refreshsizes"/>
4266 </button>
4267
4268 <button>
4269 <placement x="%btn4_col3_x%" y="%row11_y%"/>
4270 <highlight color="%highlight_color%"/>
4271 <image resource="q_btn_accept"/>
4272 <actions>
4273 <action function="getpartitiondetails">tw_storage_path</action>
4274 <action function="page">partsdcardcheck</action>
4275 </actions>
4276 </button>
4277
4278 <action>
4279 <touch key="home"/>
4280 <action function="page">main</action>
4281 </action>
4282
4283 <action>
4284 <touch key="back"/>
4285 <action function="page">advanced</action>
4286 </action>
4287 </page>
4288
4289 <page name="partsdcardcheck">
4290 <action>
4291 <condition var1="tw_partition_removable" op="=" var2="1"/>
4292 <actions>
4293 <action function="set">partitionlisterror=0</action>
4294 <action function="page">partsdcard</action>
4295 </actions>
4296 </action>
4297
4298 <action>
4299 <condition var1="tw_partition_removable" op="!=" var2="1"/>
4300 <actions>
4301 <action function="set">partitionlisterror=1</action>
4302 <action function="page">partsdcardsel</action>
4303 </actions>
4304 </action>
4305 </page>
4306
z31s1g28f0a922015-11-07 18:50:22 +01004307 <page name="partsdcard">
4308 <template name="page"/>
4309
4310 <template name="statusbar"/>
4311
4312 <text style="text_m">
4313 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004314 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004315 </text>
4316
4317 <text style="text_m_fail">
4318 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004319 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004320 </text>
4321
4322 <text style="text_m_fail">
4323 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004324 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004325 </text>
4326
4327 <text style="text_m_accent">
4328 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </text>
4331
4332 <text style="text_m">
4333 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4334 <text>%tw_sdext_size%</text>
4335 </text>
4336
4337 <button style="main_button_quarter_width">
4338 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004340 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004341 </button>
4342
4343 <button style="main_button_quarter_width">
4344 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004346 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01004347 </button>
4348
4349 <button>
4350 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4351 <highlight color="%highlight_color%"/>
4352 <image resource="q_btn_arrow_right"/>
4353 <action function="page">partsdcard2</action>
4354 </button>
4355
4356 <action>
4357 <touch key="home"/>
4358 <action function="page">main</action>
4359 </action>
4360
4361 <action>
4362 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004363 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004364 </action>
4365 </page>
4366
4367 <page name="partsdcard2">
4368 <template name="page"/>
4369
4370 <template name="statusbar"/>
4371
4372 <text style="text_m">
4373 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 </text>
4376
4377 <text style="text_m_fail">
4378 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </text>
4381
4382 <text style="text_m_fail">
4383 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004384 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004385 </text>
4386
4387 <text style="text_m_accent">
4388 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004389 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 </text>
4391
4392 <text style="text_m">
4393 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4394 <text>%tw_swap_size%</text>
4395 </text>
4396
4397 <button style="main_button_quarter_width">
4398 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004400 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004401 </button>
4402
4403 <button style="main_button_quarter_width">
4404 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004406 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01004407 </button>
4408
4409 <button>
4410 <placement x="%col1_x_left%" y="%row11_y%"/>
4411 <highlight color="%highlight_color%"/>
4412 <image resource="q_btn_arrow_left"/>
4413 <action function="page">partsdcard</action>
4414 </button>
4415
4416 <button>
4417 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4418 <highlight color="%highlight_color%"/>
4419 <image resource="q_btn_arrow_right"/>
4420 <action function="page">partsdcard3</action>
4421 </button>
4422
4423 <action>
4424 <touch key="home"/>
4425 <action function="page">main</action>
4426 </action>
4427
4428 <action>
4429 <touch key="back"/>
4430 <action function="page">advanced</action>
4431 </action>
4432 </page>
4433
4434 <page name="partsdcard3">
4435 <template name="page"/>
4436
4437 <template name="statusbar"/>
4438
4439 <text style="text_m">
4440 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m_fail">
4445 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <text style="text_m_fail">
4450 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m_accent">
4455 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m">
4460 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
4461 <text>%tw_sdpart_file_system%</text>
4462 </text>
4463
4464 <button style="main_button_quarter_width">
4465 <placement x="%indent%" y="%row6_y%"/>
4466 <text>EXT3</text>
4467 <action function="set">tw_sdpart_file_system=ext3</action>
4468 </button>
4469
4470 <button style="main_button_quarter_width">
4471 <placement x="%btn4_col4_x%" y="%row6_y%"/>
4472 <text>EXT4</text>
4473 <action function="set">tw_sdpart_file_system=ext4</action>
4474 </button>
4475
4476 <button>
4477 <placement x="%col1_x_left%" y="%row11_y%"/>
4478 <highlight color="%highlight_color%"/>
4479 <image resource="q_btn_arrow_left"/>
4480 <action function="page">partsdcard2</action>
4481 </button>
4482
4483 <button>
4484 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4485 <highlight color="%highlight_color%"/>
4486 <image resource="q_btn_arrow_right"/>
4487 <action function="page">partsdcard_confirm</action>
4488 </button>
4489
4490 <action>
4491 <touch key="home"/>
4492 <action function="page">main</action>
4493 </action>
4494
4495 <action>
4496 <touch key="back"/>
4497 <action function="page">advanced</action>
4498 </action>
4499 </page>
4500
4501 <page name="partsdcard_confirm">
4502 <template name="page"/>
4503
4504 <template name="statusbar"/>
4505
4506 <text style="text_m">
4507 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004508 <text>{@advanced_hdr=Advanced} &gt; {@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004509 </text>
4510
4511 <text style="text_m_fail">
4512 <placement x="%center_x%" y="%row1_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004513 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004514 </text>
4515
4516 <text style="text_m_fail">
4517 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004518 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004519 </text>
4520
4521 <text style="text_m_accent">
4522 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004523 <text>{@part_sd_ext_sz=EXT Size:} %tw_sdext_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004524 </text>
4525
4526 <text style="text_m_accent">
4527 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@part_sd_swap_sz=Swap Size:} %tw_swap_size%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 </text>
4530
4531 <text style="text_m_accent">
4532 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004533 <text>{@file_system=File System:} %tw_sdpart_file_system%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004534 </text>
4535
4536 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@swipe_part_sd_s=Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 <action function="page">partsdcardaction</action>
4539 <actions>
4540 <action function="set">tw_back=partsdcard</action>
4541 <action function="set">tw_action=partitionsd</action>
4542 <action function="set">tw_has_action2=1</action>
4543 <action function="set">tw_action2=set</action>
4544 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004545 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4546 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4547 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004548 <action function="page">action_page</action>
4549 </actions>
4550 </slider>
4551
4552 <action>
4553 <touch key="home"/>
4554 <action function="page">main</action>
4555 </action>
4556
4557 <action>
4558 <touch key="back"/>
4559 <action function="page">advanced</action>
4560 </action>
4561 </page>
4562
4563 <page name="htcdumlock">
4564 <template name="page"/>
4565
4566 <template name="statusbar"/>
4567
4568 <text style="text_m">
4569 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004570 <text>{@advanced_hdr=Advanced} &gt; {@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004571 </text>
4572
4573 <button style="main_button_full_width">
4574 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004575 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004576 <actions>
4577 <action function="set">tw_back=htcdumlock</action>
4578 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004579 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4580 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4581 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4582 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004583 <action function="page">confirm_action</action>
4584 </actions>
4585 </button>
4586
4587 <button style="main_button_full_width">
4588 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004589 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004590 <actions>
4591 <action function="set">tw_back=htcdumlock</action>
4592 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4594 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4595 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to 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="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004603 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 <actions>
4605 <action function="set">tw_back=htcdumlock</action>
4606 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004607 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4608 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4609 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</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 <action>
4616 <touch key="home"/>
4617 <action function="page">main</action>
4618 </action>
4619
4620 <action>
4621 <touch key="back"/>
4622 <action function="page">advanced</action>
4623 </action>
4624 </page>
4625
Ethan Yonker53796e72019-01-11 22:49:52 -06004626 <page name="repackselect">
4627 <template name="page"/>
4628
4629 <template name="statusbar"/>
4630
4631 <text style="text_m">
4632 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4633 <text>{@repack_image_hdr=Select Image}</text>
4634 </text>
4635
4636 <fileselector>
4637 <placement x="%indent%" y="%row2_header_y%" w="%content_width%" h="%fileselector_install_height%"/>
4638 <text>%tw_zip_location%</text>
4639 <filter extn=".img" folders="1" files="1"/>
4640 <path name="tw_zip_location" default="/sdcard"/>
4641 <data name="tw_filename"/>
4642 <selection name="tw_file"/>
4643 </fileselector>
4644
4645 <button>
4646 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4647 <highlight color="%highlight_color%"/>
4648 <image resource="q_btn_storage"/>
4649 <actions>
4650 <action function="set">tw_storagetext={@install_hdr=Install} &gt; {@select_storage_hdr=Select Storage}</action>
4651 <action function="set">tw_back=install</action>
4652 <action function="page">select_storage</action>
4653 </actions>
4654 </button>
4655
4656 <action>
4657 <conditions>
4658 <condition var1="tw_filename" op="modified"/>
4659 </conditions>
4660 <action function="page">repackconfirm</action>
4661 </action>
4662
4663 <action>
4664 <touch key="back"/>
4665 <action function="page">advanced</action>
4666 </action>
4667
4668 <action>
4669 <touch key="home"/>
4670 <action function="page">main</action>
4671 </action>
4672 </page>
4673
4674 <page name="repackconfirm">
4675 <template name="page"/>
4676
4677 <template name="statusbar"/>
4678
4679 <text style="text_m">
4680 <condition var1="tw_repack_kernel" var2="1"/>
4681 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4682 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4683 </text>
4684
4685 <text style="text_m">
4686 <condition var1="tw_repack_kernel" var2="0"/>
4687 <placement x="%col1_x_left%" y="%row1_header_y%"/>
4688 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4689 </text>
4690
4691 <text style="text_m_accent">
4692 <placement x="%indent%" y="%row2_y%"/>
4693 <text>{@folder=Folder:}</text>
4694 </text>
4695
4696 <text style="text_m">
4697 <placement x="%indent%" y="%row3_y%"/>
4698 <text>%tw_zip_location%</text>
4699 </text>
4700
4701 <text style="text_m_accent">
4702 <placement x="%indent%" y="%row4_y%"/>
4703 <text>{@file=File:}</text>
4704 </text>
4705
4706 <text style="text_m">
4707 <placement x="%indent%" y="%row5_y%"/>
4708 <text>%tw_file%</text>
4709 </text>
4710
4711 <checkbox>
4712 <placement x="%indent%" y="%row7_y%"/>
4713 <text>{@repack_backup_first=Back up existing image first}</text>
4714 <data variable="tw_repack_backup_first"/>
4715 </checkbox>
4716
4717 <slider>
4718 <text>{@swipe_to_install=Swipe to Install}</text>
4719 <actions>
4720 <action function="set">tw_back=advanced</action>
4721 <action function="set">tw_action=repackimage</action>
4722 <action function="set">tw_action_param=/boot</action>
4723 <action function="set">tw_action_text1={@installing=Installing...}</action>
4724 <action function="set">tw_action_text2=</action>
4725 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4726 <action function="page">action_page</action>
4727 </actions>
4728 </slider>
4729
4730 <action>
4731 <touch key="back"/>
4732 <action function="page">repackselect</action>
4733 </action>
4734
4735 <action>
4736 <touch key="home"/>
4737 <action function="page">main</action>
4738 </action>
4739 </page>
4740
z31s1g28f0a922015-11-07 18:50:22 +01004741 <page name="lock">
4742 <background color="%semi_transparent%"/>
4743
4744 <image>
4745 <image resource="unlock_icon"/>
4746 <placement x="%center_x%" y="%row6_y%" placement="4"/>
4747 </image>
4748
4749 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004750 <text>{@swipe_unlock= Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004751 <action function="overlay"/>
4752 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004753
4754 <action>
4755 <touch key="power"/>
4756 <action function="togglebacklight"/>
4757 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004758 </page>
4759
4760 <page name="filemanagerlist">
4761 <template name="page"/>
4762
4763 <template name="statusbar"/>
4764
4765 <text style="text_m">
4766 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004767 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004768 </text>
4769
4770 <fileselector>
4771 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4772 <text>%tw_file_location1%</text>
4773 <filter folders="1" files="1"/>
4774 <path name="tw_file_location1" default="/"/>
4775 <data name="tw_filename1"/>
4776 <selection name="tw_selection1"/>
4777 </fileselector>
4778
4779 <button>
4780 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4781 <highlight color="%highlight_color%"/>
4782 <image resource="q_btn_folder"/>
4783 <actions>
4784 <action function="set">tw_filename1=tw_file_location1</action>
4785 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004786 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004787 <action function="page">filemanageroptions</action>
4788 </actions>
4789 </button>
4790
4791 <action>
4792 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004793 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004794 <action function="set">tw_fm_isfolder=0</action>
4795 </actions>
4796 </action>
4797
4798 <action>
4799 <touch key="home"/>
4800 <action function="page">main</action>
4801 </action>
4802
4803 <action>
4804 <touch key="back"/>
4805 <action function="page">main3</action>
4806 </action>
4807
4808 <action>
4809 <condition var1="tw_filename1" op="modified"/>
4810 <action function="page">filemanageroptions</action>
4811 </action>
4812 </page>
4813
4814 <page name="filemanageroptions">
4815 <template name="page"/>
4816
4817 <template name="statusbar"/>
4818
4819 <text style="text_m">
4820 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004821 <text>%tw_fm_type% &gt; %tw_filename1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004822 </text>
4823
4824 <button style="main_button">
4825 <condition var1="tw_fm_isfolder" var2="0"/>
4826 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004827 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004828 <actions>
4829 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004830 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004831 <action function="page">choosedestinationfolder</action>
4832 </actions>
4833 </button>
4834
4835 <button style="main_button">
4836 <condition var1="tw_fm_isfolder" var2="1"/>
4837 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004838 <text>{@fm_copy_btn=Copy}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004839 <actions>
4840 <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 -05004841 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004842 <action function="page">choosedestinationfolder</action>
4843 </actions>
4844 </button>
4845
4846 <button style="main_button">
4847 <placement x="%col1_x_right%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004848 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004849 <actions>
4850 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004851 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004852 <action function="page">choosedestinationfolder</action>
4853 </actions>
4854 </button>
4855
4856 <button style="main_button">
4857 <placement x="%col1_x_left%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004858 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004859 <actions>
4860 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004861 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004862 <action function="set">tw_fm_text2=</action>
4863 <action function="set">tw_fm_text3=</action>
4864 <action function="set">tw_include_text3=0</action>
4865 <action function="set">tw_back=filemanageroptions</action>
4866 <action function="page">filemanagerconfirm</action>
4867 </actions>
4868 </button>
4869
4870 <button style="main_button">
4871 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004872 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004873 <actions>
4874 <action function="set">tw_filemanager_rename=0000</action>
4875 <action function="set">tw_fm_text2=</action>
4876 <action function="set">tw_fm_text3=</action>
4877 <action function="set">tw_include_text3=0</action>
4878 <action function="set">tw_back=filemanageroptions</action>
4879 <action function="page">filemanagerchmod</action>
4880 </actions>
4881 </button>
4882
4883 <button style="main_button">
4884 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004885 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004886 <actions>
4887 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004888 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004889 <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">filemanagerconfirm</action>
4894 </actions>
4895 </button>
4896
4897 <button style="main_button">
4898 <condition var1="tw_fm_isfolder" var2="0"/>
4899 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004900 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004901 <actions>
4902 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004903 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004904 <action function="set">tw_filemanager_command=mv</action>
4905 <action function="page">filemanagerrenamefile</action>
4906 </actions>
4907 </button>
4908
4909 <button style="main_button">
4910 <condition var1="tw_fm_isfolder" var2="1"/>
4911 <placement x="%col1_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004912 <text>{@fm_rename_btn=Rename}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004913 <actions>
4914 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004915 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004916 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4917 <action function="page">filemanagerrenamefolder</action>
4918 </actions>
4919 </button>
4920
4921 <action>
4922 <touch key="home"/>
4923 <action function="page">main</action>
4924 </action>
4925
4926 <action>
4927 <touch key="back"/>
4928 <action function="page">filemanagerlist</action>
4929 </action>
4930 </page>
4931
4932 <page name="choosedestinationfolder">
4933 <template name="page"/>
4934
4935 <template name="statusbar"/>
4936
4937 <text style="text_m">
4938 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004939 <text>{@fm_hdr=File Manager} &gt; {@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004940 </text>
4941
4942 <fileselector>
4943 <placement x="%col1_x_left%" y="%row2_header_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4944 <text>%tw_file_location2%</text>
4945 <filter folders="1" files="0"/>
4946 <path name="tw_file_location2" default="/"/>
4947 <data name="tw_filename2"/>
4948 <selection name="tw_selection2"/>
4949 </fileselector>
4950
4951 <button>
4952 <placement x="%btn4_col4_x%" y="%row11_y%"/>
4953 <highlight color="%highlight_color%"/>
4954 <image resource="q_btn_folder"/>
4955 <actions>
4956 <action function="set">tw_fm_text2=to</action>
4957 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4958 <action function="set">tw_include_text3=1</action>
4959 <action function="set">tw_back=filemanageroptions</action>
4960 <action function="page">filemanagerconfirm</action>
4961 </actions>
4962 </button>
4963
4964 <action>
4965 <touch key="home"/>
4966 <action function="page">main</action>
4967 </action>
4968
4969 <action>
4970 <touch key="back"/>
4971 <action function="page">filemanageroptions</action>
4972 </action>
4973 </page>
4974
4975 <page name="filemanagerrenamefile">
4976 <template name="page"/>
4977
4978 <template name="statusbar"/>
4979
4980 <text style="text_m">
4981 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004982 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004983 </text>
4984
4985 <text style="text_m_accent">
4986 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004987 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004988 </text>
4989
4990 <input>
4991 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
4992 <text>%tw_filemanager_rename%</text>
4993 <data name="tw_filemanager_rename"/>
4994 <restrict minlen="1" maxlen="128"/>
4995 <actions>
4996 <action function="set">tw_fm_text2=to</action>
4997 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4998 <action function="set">tw_include_text3=1</action>
4999 <action function="set">tw_back=filemanageroptions</action>
5000 <action function="page">filemanagerconfirm</action>
5001 </actions>
5002 </input>
5003
5004 <fill color="%accent_color%">
5005 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_line_width%" placement="1"/>
5006 </fill>
5007
5008 <button style="main_button_half_height">
5009 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005010 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005011 <action function="page">filemanageroptions</action>
5012 </button>
5013
5014 <template name="keyboardtemplate"/>
5015
5016 <action>
5017 <touch key="home"/>
5018 <action function="page">main</action>
5019 </action>
5020
5021 <action>
5022 <touch key="back"/>
5023 <action function="page">filemanageroptions</action>
5024 </action>
5025 </page>
5026
5027 <page name="filemanagerrenamefolder">
5028 <template name="page"/>
5029
5030 <template name="statusbar"/>
5031
5032 <text style="text_m">
5033 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005034 <text>{@fm_hdr=File Manager} &gt; {@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005035 </text>
5036
5037 <text style="text_m_accent">
5038 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005039 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005040 </text>
5041
5042 <input>
5043 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5044 <text>%tw_filemanager_rename%</text>
5045 <data name="tw_filemanager_rename"/>
5046 <restrict minlen="1" maxlen="128"/>
5047 <actions>
5048 <action function="set">tw_fm_text2=to</action>
5049 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
5050 <action function="set">tw_include_text3=1</action>
5051 <action function="set">tw_back=filemanageroptions</action>
5052 <action function="page">filemanagerconfirm</action>
5053 </actions>
5054 </input>
5055
5056 <fill color="%accent_color%">
5057 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5058 </fill>
5059
5060 <button style="main_button_half_height">
5061 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005062 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005063 <action function="page">filemanageroptions</action>
5064 </button>
5065
5066 <template name="keyboardtemplate"/>
5067
5068 <action>
5069 <touch key="home"/>
5070 <action function="page">main</action>
5071 </action>
5072
5073 <action>
5074 <touch key="back"/>
5075 <action function="page">filemanageroptions</action>
5076 </action>
5077 </page>
5078
5079 <page name="filemanagerchmod">
5080 <template name="page"/>
5081
5082 <template name="statusbar"/>
5083
5084 <text style="text_m">
5085 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005086 <text>{@fm_hdr=File Manager} &gt; {@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005087 </text>
5088
5089 <text style="text_m_accent">
5090 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005091 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </text>
5093
5094 <input>
5095 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5096 <text>%tw_filemanager_rename%</text>
5097 <data name="tw_filemanager_rename"/>
5098 <restrict minlen="3" maxlen="4" allow="0123456789"/>
5099 <actions>
5100 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
5101 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
5102 <action function="set">tw_back=filemanageroptions</action>
5103 <action function="page">filemanagerconfirm</action>
5104 </actions>
5105 </input>
5106
5107 <fill color="%accent_color%">
5108 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5109 </fill>
5110
5111 <button style="main_button_half_height">
5112 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005113 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005114 <action function="page">filemanageroptions</action>
5115 </button>
5116
5117 <template name="keyboardtemplate"/>
5118
5119 <action>
5120 <touch key="home"/>
5121 <action function="page">main</action>
5122 </action>
5123
5124 <action>
5125 <touch key="back"/>
5126 <action function="page">filemanageroptions</action>
5127 </action>
5128 </page>
5129
5130 <page name="filemanagerconfirm">
5131 <template name="page"/>
5132
5133 <template name="statusbar"/>
5134
5135 <text style="text_m">
5136 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005137 <text>{@fm_hdr=File Manager} &gt; {@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005138 </text>
5139
5140 <text style="text_m_accent">
5141 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5142 <text>%tw_fm_text1%</text>
5143 </text>
5144
5145 <text style="text_m">
5146 <placement x="%center_x%" y="%row3_y%" placement="5"/>
5147 <text>%tw_filename1%</text>
5148 </text>
5149
5150 <text style="text_m_accent">
5151 <placement x="%center_x%" y="%row5_y%" placement="5"/>
5152 <text>%tw_fm_text2%</text>
5153 </text>
5154
5155 <text style="text_m">
5156 <placement x="%center_x%" y="%row6_y%" placement="5"/>
5157 <text>%tw_fm_text3%</text>
5158 </text>
5159
5160 <text style="text_m">
5161 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005162 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005163 </text>
5164
5165 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005166 <text>{@swipe_confirm= Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005167 <action function="page">filemanageraction</action>
5168 </slider>
5169
5170 <action>
5171 <touch key="back"/>
5172 <action function="page">%tw_back%</action>
5173 </action>
5174
5175 <action>
5176 <touch key="home"/>
5177 <action function="page">main</action>
5178 </action>
5179 </page>
5180
5181 <page name="filemanageraction">
5182 <template name="page"/>
5183
5184 <template name="statusbar"/>
5185
5186 <text style="text_m">
5187 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005188 <text>{@fm_hdr=File Manager} &gt; %tw_fm_text1%</text>
z31s1g28f0a922015-11-07 18:50:22 +01005189 </text>
5190
5191 <template name="console"/>
5192
5193 <template name="progress_bar"/>
5194
5195 <action>
5196 <conditions>
5197 <condition var1="tw_operation_state" var2="1"/>
5198 <condition var1="tw_operation_status" var2="0"/>
5199 </conditions>
5200 <actions>
5201 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005202 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005203 <action function="page">action_complete</action>
5204 </actions>
5205 </action>
5206
5207 <action>
5208 <conditions>
5209 <condition var1="tw_operation_state" var2="1"/>
5210 <condition var1="tw_operation_status" op="!=" var2="0"/>
5211 </conditions>
5212 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05005213 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005214 <action function="page">action_complete</action>
5215 </actions>
5216 </action>
5217
5218 <action>
5219 <condition var1="tw_include_text3" var2="0"/>
5220 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
5221 </action>
5222
5223 <action>
5224 <condition var1="tw_include_text3" var2="1"/>
5225 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
5226 </action>
5227 </page>
5228
5229 <page name="decrypt">
5230 <template name="page"/>
5231
5232 <template name="statusbar"/>
5233
5234 <action>
5235 <condition var1="tw_crypto_pwtype" var2="2"/>
5236 <action function="page">decrypt_pattern</action>
5237 </action>
5238
5239 <text style="text_m">
5240 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005241 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005242 </text>
5243
5244 <text style="text_m_accent">
5245 <placement x="%col1_x_left%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005246 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005247 </text>
5248
5249 <input>
5250 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%input_height%"/>
5251 <text>%tw_crypto_display%</text>
5252 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
5253 <restrict minlen="1" maxlen="254"/>
5254 <action function="page">trydecrypt</action>
5255 </input>
5256
5257 <fill color="%accent_color%">
5258 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5259 </fill>
5260
5261 <fill color="%text_fail_color%">
5262 <condition var1="tw_password_fail" var2="1"/>
5263 <placement x="%col1_x_left%" y="row3_input_y" w="%content_width%" h="input_line_width" placement="1"/>
5264 </fill>
5265
5266 <text style="text_m_fail">
5267 <condition var1="tw_password_fail" var2="1"/>
5268 <placement x="%col1_x_left%" y="%row3_input_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08005269 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005270 </text>
5271
5272 <button style="main_button_half_height">
z31s1g608d7ff2016-01-18 19:47:25 +01005273 <placement x="%col1_x_left%" y="%row4_y%"/>
5274 <text>{@sel_lang_btn=Select Language}</text>
5275 <action function="page">settings_language</action>
5276 </button>
5277
5278 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01005279 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005280 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005281 <actions>
5282 <action function="set">tw_page_done=1</action>
5283 <action function="page">main</action>
5284 </actions>
5285 </button>
5286
5287 <template name="keyboardtemplate"/>
5288 </page>
5289
5290 <page name="decrypt_pattern">
5291 <template name="page"/>
5292
5293 <template name="statusbar"/>
5294
Aleksa Saraib25a1832015-12-31 17:36:00 +01005295 <action>
5296 <action function="set">tw_gui_pattern_grid_size=3</action>
5297 </action>
5298
z31s1g28f0a922015-11-07 18:50:22 +01005299 <text style="text_m">
5300 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005301 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005302 </text>
5303
5304 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01005305 <condition var1="tw_password_fail" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01005306 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005307 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005308 </text>
5309
Aleksa Saraib25a1832015-12-31 17:36:00 +01005310 <text style="text_m_fail">
5311 <condition var1="tw_password_fail" var2="1"/>
5312 <placement x="%center_x%" y="%row5_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08005313 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005314 </text>
5315
z31s1g28f0a922015-11-07 18:50:22 +01005316 <text style="text_m">
5317 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005318 <text>{@back_cancel=Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005319 </text>
5320
5321 <patternpassword>
5322 <placement x="%pattern_x%" y="%row2_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005323 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
5324 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
5325 <data name="tw_crypto_password"/>
5326 <action function="page">trydecrypt</action>
5327 </patternpassword>
5328
5329 <fill color="#000000">
5330 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5331 </fill>
5332
5333 <button>
5334 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5335 <image resource="back"/>
5336 <condition var1="tw_busy" var2="0"/>
5337 <actions>
5338 <action function="set">tw_page_done=1</action>
5339 <action function="page">main</action>
5340 </actions>
5341 </button>
Aleksa Saraib25a1832015-12-31 17:36:00 +01005342
5343 <button>
5344 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5345 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5346 <image resource="grid_less"/>
5347 <action function="set">tw_gui_pattern_grid_size=3</action>
5348 </button>
5349
5350 <button>
5351 <condition var1="tw_gui_pattern_grid_size" var2="4"/>
5352 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5353 <image resource="grid_less"/>
5354 <action function="set">tw_gui_pattern_grid_size=3</action>
5355 </button>
5356
5357 <button>
5358 <condition var1="tw_gui_pattern_grid_size" var2="5"/>
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=4</action>
5362 </button>
5363
5364 <button>
5365 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
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=5</action>
5369 </button>
5370
5371 <button>
5372 <condition var1="tw_gui_pattern_grid_size" var2="3"/>
5373 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5374 <image resource="grid_more"/>
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="4"/>
5380 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5381 <image resource="grid_more"/>
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="5"/>
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=6</action>
5390 </button>
5391
5392 <button>
5393 <condition var1="tw_gui_pattern_grid_size" var2="6"/>
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=6</action>
5397 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005398 </page>
5399
5400 <page name="trydecrypt">
5401 <template name="page"/>
5402
5403 <template name="statusbar"/>
5404
5405 <text style="text_m">
5406 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005407 <text>{@mount_hdr=Mount} &gt; {@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005408 </text>
5409
5410 <template name="console"/>
5411
5412 <template name="progress_bar"/>
5413
5414 <action>
5415 <action function="decrypt"/>
5416 </action>
5417
5418 <action>
5419 <conditions>
5420 <condition var1="tw_operation_state" var2="1"/>
5421 <condition var1="tw_operation_status" op="!=" var2="0"/>
5422 </conditions>
5423 <actions>
5424 <action function="set">tw_password_fail=1</action>
5425 <action function="page">decrypt</action>
5426 </actions>
5427 </action>
5428
5429 <action>
5430 <conditions>
5431 <condition var1="tw_operation_state" var2="1"/>
5432 <condition var1="tw_operation_status" op="=" var2="0"/>
5433 </conditions>
5434 <actions>
5435 <action function="set">tw_page_done=1</action>
5436 <action function="page">main</action>
5437 </actions>
5438 </action>
5439 </page>
5440
z31s1g28f0a922015-11-07 18:50:22 +01005441 <page name="terminalcommand">
z31s1g56189522016-01-13 19:12:40 +01005442 <terminal>
5443 <condition var1="tw_hide_kb" var2="0"/>
5444 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_s_height%"/>
5445 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005446
z31s1g56189522016-01-13 19:12:40 +01005447 <terminal>
5448 <condition var1="tw_hide_kb" var2="1"/>
5449 <placement x="0" y="0" w="%screen_width%" h="%console_terminal_l_height%"/>
5450 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01005451
z31s1g56189522016-01-13 19:12:40 +01005452 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005453
5454 <template name="keyboardtemplate"/>
5455
z31s1g608d7ff2016-01-18 19:47:25 +01005456 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005457 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005458 </fill>
z31s1g56189522016-01-13 19:12:40 +01005459
z31s1g608d7ff2016-01-18 19:47:25 +01005460 <button>
z31s1g56189522016-01-13 19:12:40 +01005461 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5462 <image resource="back" />
5463 <condition var1="tw_busy" var2="0" />
5464 <actions>
5465 <action function="set">tw_hide_kb=0</action>
5466 <action function="key">back</action>
5467 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005468 </button>
z31s1g56189522016-01-13 19:12:40 +01005469
z31s1g608d7ff2016-01-18 19:47:25 +01005470 <button>
z31s1g56189522016-01-13 19:12:40 +01005471 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5472 <image resource="home" />
5473 <condition var1="tw_busy" var2="0" />
5474 <actions>
5475 <action function="set">tw_hide_kb=0</action>
5476 <action function="key">home</action>
5477 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005478 </button>
z31s1g56189522016-01-13 19:12:40 +01005479
z31s1g608d7ff2016-01-18 19:47:25 +01005480 <button>
z31s1g56189522016-01-13 19:12:40 +01005481 <condition var1="tw_hide_kb" var2="0"/>
5482 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5483 <image resource="kb_hide" />
5484 <condition var1="tw_busy" var2="0" />
5485 <actions>
5486 <action function="set">tw_hide_kb=1</action>
5487 <action function="page">terminalcommand</action>
5488 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005489 </button>
z31s1g56189522016-01-13 19:12:40 +01005490
z31s1g608d7ff2016-01-18 19:47:25 +01005491 <button>
z31s1g56189522016-01-13 19:12:40 +01005492 <condition var1="tw_hide_kb" var2="1"/>
5493 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5494 <image resource="kb_show" />
5495 <condition var1="tw_busy" var2="0" />
5496 <actions>
5497 <action function="set">tw_hide_kb=0</action>
5498 <action function="page">terminalcommand</action>
5499 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005500 </button>
z31s1g56189522016-01-13 19:12:40 +01005501
z31s1g28f0a922015-11-07 18:50:22 +01005502 <action>
5503 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005504 <actions>
5505 <action function="set">tw_hide_kb=0</action>
5506 <action function="page">main</action>
5507 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005508 </action>
5509
5510 <action>
5511 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005512 <actions>
5513 <action function="set">tw_hide_kb=0</action>
5514 <action function="page">advanced</action>
5515 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005516 </action>
z31s1g56189522016-01-13 19:12:40 +01005517
z31s1g608d7ff2016-01-18 19:47:25 +01005518 <action>
z31s1g56189522016-01-13 19:12:40 +01005519 <touch key="power+voldown" />
5520 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005521 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005522 </page>
5523
5524 <page name="sideload">
5525 <template name="page"/>
5526
5527 <template name="statusbar"/>
5528
5529 <text style="text_m">
5530 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005531 <text>{@install_hdr=Install} &gt; {@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005532 </text>
5533
5534 <text style="text_m_accent">
5535 <placement x="%indent%" y="%row1_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005536 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005537 </text>
5538
5539 <checkbox>
5540 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005541 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005542 <data variable="tw_wipe_dalvik"/>
5543 </checkbox>
5544
5545 <checkbox>
5546 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005547 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005548 <data variable="tw_wipe_cache"/>
5549 </checkbox>
5550
5551 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005552 <text>{@swipe_sideload= Start}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005553 <actions>
5554 <action function="set">tw_back=install_type</action>
5555 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005556 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5557 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5558 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005559 <action function="set">tw_has_cancel=1</action>
5560 <action function="set">tw_show_reboot=1</action>
5561 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5562 <action function="page">action_page</action>
5563 </actions>
5564 </slider>
5565
5566 <action>
5567 <touch key="home"/>
5568 <action function="page">main</action>
5569 </action>
5570
5571 <action>
5572 <touch key="back"/>
5573 <action function="page">install_type</action>
5574 </action>
5575 </page>
5576
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005577 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005578 <template name="page"/>
5579
5580 <template name="statusbar"/>
5581
5582 <text style="text_m">
5583 <placement x="%col1_x_left%" y="%row1_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005584 <text>{@advanced_hdr=Advanced} &gt; {@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005585 </text>
5586
5587 <text style="text_m_accent">
5588 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005589 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005590 </text>
5591
z31s1g28f0a922015-11-07 18:50:22 +01005592 <text style="text_m_fail">
5593 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005594 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005595 </text>
5596
5597 <text style="text_m_fail">
5598 <placement x="%center_x%" y="%row7a_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005599 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005600 </text>
5601
5602 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005603 <text>{@swipe_fix_contexts= Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005604 <actions>
5605 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005606 <action function="set">tw_action=fixcontexts</action>
5607 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5608 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005609 <action function="set">tw_slider_text={@swipe_confirm= Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005610 <action function="set">tw_show_reboot=1</action>
5611 <action function="page">action_page</action>
5612 </actions>
5613 </slider>
5614
5615 <action>
5616 <touch key="home"/>
5617 <action function="page">main</action>
5618 </action>
5619
5620 <action>
5621 <touch key="back"/>
5622 <action function="page">advanced</action>
5623 </action>
5624 </page>
5625
z31s1g28f0a922015-11-07 18:50:22 +01005626 <page name="slideout">
5627 <fill color="%background_color%">
5628 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5629 </fill>
5630
5631 <console>
5632 <placement x="%indent%" y="%row1_y%" w="%content_width%" h="%slideout_height%"/>
5633 </console>
5634
5635 <fill color="%fileselector_linecolor%">
5636 <placement x="%indent%" y="row1_y" w="%content_width%" h="input_line_width" placement="1"/>
5637 </fill>
5638
5639 <fill color="%fileselector_linecolor%">
5640 <placement x="%indent%" y="row15a_y" w="%content_width%" h="input_line_width"/>
5641 </fill>
5642
5643 <button>
5644 <fill color="%transparent%"/>
5645 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5646 <action function="overlay"/>
5647 </button>
5648
5649 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005650 <touch key="power"/>
5651 <action function="togglebacklight"/>
5652 </action>
5653
5654 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005655 <touch key="power+voldown"/>
5656 <action function="screenshot"/>
5657 </action>
5658 </page>
5659
5660 <page name="select_storage">
5661 <template name="page"/>
5662
5663 <template name="statusbar"/>
5664
5665 <text style="text_m">
5666 <placement x="%col1_x_left%" y="%row1_header_y%"/>
5667 <text>%tw_storagetext%</text>
5668 </text>
5669
5670 <partitionlist style="partitionlist_headerless_rb">
5671 <data name="tw_storage_path"/>
5672 <listtype name="storage"/>
5673 </partitionlist>
5674
5675 <button>
5676 <placement x="%btn4_col2_x%" y="%row11_y%"/>
5677 <highlight color="%highlight_color%"/>
5678 <image resource="q_btn_refresh"/>
5679 <actions>
5680 <action function="refreshsizes"/>
5681 <action function="page">select_storage</action>
5682 </actions>
5683 </button>
5684
5685 <button>
5686 <placement x="%btn4_col3_x%" y="%row11_y%"/>
5687 <highlight color="%highlight_color%"/>
5688 <image resource="q_btn_accept"/>
5689 <actions>
5690 <action function="set">tw_clear_destination=%tw_back%</action>
5691 <action function="page">clear_vars</action>
5692 </actions>
5693 </button>
5694
5695 <action>
5696 <touch key="power+voldown"/>
5697 <action function="screenshot"/>
5698 </action>
5699 </page>
5700 </pages>
5701</recovery>