blob: 711139f410bd782eebe10f4edac97813d7c61e67 [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_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300113 <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 +0100114 </style>
115
116 <style name="partitionlist">
117 <highlight color="%fileselector_highlight_color%"/>
118 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
119 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
120 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
121 <icon selected="checkbox_true" unselected="checkbox_false"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <background color="%background_color%"/>
124 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
125 </style>
126
127 <style name="partitionlist_storage">
128 <highlight color="%fileselector_highlight_color%"/>
129 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
130 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
131 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
132 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
133 <icon selected="radio_true" unselected="radio_false"/>
134 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 </style>
138
Ethan Yonker64e0a652018-07-25 09:52:17 -0500139 <style name="advanced_listbox">
140 <highlight color="%fileselector_highlight_color%"/>
141 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
142 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
143 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
144 <icon selected="handle" unselected="handle"/>
145 <background color="%background_color%"/>
146 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
147 </style>
148
z31s1g28f0a922015-11-07 18:50:22 +0100149 <style name="slider">
150 <placement x="%center_x%" y="%row23_y%"/>
151 <font resource="font_s" color="%text_color%"/>
152 <resource base="slider" used="slider_used" touch="slider_touch"/>
153 </style>
154
155 <style name="slidervalue">
156 <resource handle="handle"/>
157 <font resource="font_m" color="%text_color%"/>
158 <colors line="%fileselector_linecolor%"/>
159 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
160 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100161
162 <style name="patternpassword">
163 <size name="tw_gui_pattern_grid_size" default="3"/>
164 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100165 </styles>
166
167 <pages>
168 <page name="main">
169 <action>
170 <actions>
171 <action function="set">tw_clear_destination=main2</action>
172 <action function="page">clear_vars</action>
173 </actions>
174 </action>
175 </page>
176
177 <page name="main2">
178 <template name="page"/>
179
180 <text style="text_l">
181 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 </text>
184
185 <text style="text_m">
186 <condition var1="tw_no_cpu_temp" var2="0"/>
187 <placement x="%col1_x_header%" y="%row4_header_y%"/>
188 <text>%tw_version%</text>
189 </text>
190
191 <button style="main_button">
192 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500193 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100194 <actions>
195 <action function="queueclear"/>
196 <action function="set">tw_selectimage=0</action>
197 <action function="page">install</action>
198 </actions>
199 </button>
200
201 <button style="main_button">
202 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500203 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100204 <action function="page">wipe</action>
205 </button>
206
207 <button style="main_button">
208 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500209 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100210 <action function="page">backup</action>
211 </button>
212
213 <button style="main_button">
214 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500215 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100216 <action function="page">restore</action>
217 </button>
218
219 <button style="main_button">
220 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500221 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100222 <action function="page">mount</action>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">settings</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">advanced</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row19_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 </page>
243
244 <page name="install">
245 <template name="page"/>
246
247 <text style="text_l">
248 <condition var1="tw_selectimage" var2="0"/>
249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <text style="text_l">
254 <condition var1="tw_selectimage" var2="1"/>
255 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500256 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100257 </text>
258
259 <text style="text_m">
260 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500261 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100262 </text>
263
264 <template name="sort_options"/>
265
266 <fileselector>
267 <condition var1="tw_selectimage" var2="0"/>
268 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
269 <text>%tw_zip_location%</text>
mauronofrio0ff59842019-10-26 19:47:55 +0200270 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100271 <path name="tw_zip_location" default="/sdcard"/>
272 <data name="tw_filename"/>
273 <selection name="tw_file"/>
274 </fileselector>
275
276 <fileselector>
277 <condition var1="tw_selectimage" var2="1"/>
278 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
279 <text>%tw_zip_location%</text>
280 <filter extn=".img" folders="1" files="1"/>
281 <path name="tw_zip_location" default="/sdcard"/>
282 <data name="tw_filename"/>
283 <selection name="tw_file"/>
284 </fileselector>
285
286 <button style="main_button_half_height">
287 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500288 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100289 <actions>
290 <action function="set">tw_back=install</action>
291 <action function="overlay">select_storage</action>
292 </actions>
293 </button>
294
295 <button style="main_button_half_height">
296 <condition var1="tw_selectimage" var2="0"/>
297 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500298 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100299 <actions>
300 <action function="set">tw_selectimage=1</action>
301 <action function="page">install</action>
302 </actions>
303 </button>
304
305 <button style="main_button_half_height">
306 <condition var1="tw_selectimage" var2="1"/>
307 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500308 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100309 <actions>
310 <action function="set">tw_selectimage=0</action>
311 <action function="page">install</action>
312 </actions>
313 </button>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="0"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <actions>
321 <action function="queuezip"/>
322 <action function="page">flash_confirm</action>
323 </actions>
324 </action>
325
326 <action>
327 <conditions>
328 <condition var1="tw_selectimage" var2="1"/>
329 <condition var1="tw_filename" op="modified"/>
330 </conditions>
331 <action function="page">flashimage_confirm</action>
332 </action>
333
334 <action>
335 <touch key="back"/>
336 <action function="page">main</action>
337 </action>
338
339 <action>
340 <touch key="home"/>
341 <action function="page">main</action>
342 </action>
343 </page>
344
345 <page name="flash_confirm">
346 <template name="page"/>
347
348 <text style="text_l">
349 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500350 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100351 </text>
352
353 <text style="text_m">
354 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 </text>
357
358 <text style="text_m_accent">
359 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <text style="text_m_accent">
364 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 </text>
367
368 <text style="text_m">
369 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500370 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100371 </text>
372
373 <text style="text_m_accent">
374 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500375 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100376 </text>
377
378 <text style="text_m">
379 <placement x="%indent%" y="%row8_y%"/>
380 <text>%tw_zip_location%</text>
381 </text>
382
383 <text style="text_m_accent">
384 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500385 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100386 </text>
387
388 <text style="text_m">
389 <placement x="%indent%" y="%row10a_y%"/>
390 <text>%tw_file%</text>
391 </text>
392
393 <checkbox>
394 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500395 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100396 <data variable="tw_signed_zip_verify"/>
397 </checkbox>
398
399 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600400 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500401 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600402 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500403 </checkbox>
404
405 <checkbox>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500406 <condition var1="tw_has_injecttwrp" var2="1"/>
nkk71b4c35912017-10-11 23:39:10 +0300407 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 <data variable="tw_inject_after_zip"/>
410 </checkbox>
411
412 <button style="main_button_half_height">
413 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500414 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100415 <action function="page">install</action>
416 </button>
417
418 <button style="main_button_half_height">
419 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500420 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100421 <actions>
422 <action function="queueclear"/>
423 <action function="page">install</action>
424 </actions>
425 </button>
426
427 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 <action function="flash">flash_zip</action>
430 </slider>
431
432 <action>
433 <touch key="back"/>
434 <actions>
435 <action function="cancelzip"/>
436 <action function="page">install</action>
437 </actions>
438 </action>
439
440 <action>
441 <touch key="home"/>
442 <action function="page">main</action>
443 </action>
444 </page>
445
446 <page name="flash_zip">
447 <template name="page"/>
448
449 <text style="text_l">
450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 </text>
453
454 <text style="text_m">
455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
456 <text>%tw_file%</text>
457 </text>
458
459 <template name="console"/>
460
461 <template name="progress_bar"/>
462
463 <action>
464 <condition var1="tw_operation_state" var2="1"/>
465 <action function="page">flash_done</action>
466 </action>
467 </page>
468
469 <page name="flash_done">
470 <template name="page"/>
471
472 <text style="text_l">
473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 </text>
476
477 <text style="text_m_fail">
478 <condition var1="tw_operation_status" op="!=" var2="0"/>
479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <text style="text_m">
484 <condition var1="tw_operation_status" var2="0"/>
485 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500486 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100487 </text>
488
489 <template name="console"/>
490
491 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500492 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100493 <placement x="%indent%" y="%row21a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500494 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <actions>
496 <action function="set">tw_back=flash_done</action>
497 <action function="set">tw_action=wipe</action>
498 <action function="set">tw_action_param=/cache</action>
499 <action function="set">tw_has_action2=1</action>
500 <action function="set">tw_action2=wipe</action>
501 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500502 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
503 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
504 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
505 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100506 <action function="page">confirm_action</action>
507 </actions>
508 </button>
509
510 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500511 <condition var1="tw_ab_device" var2="1"/>
512 <placement x="%indent%" y="%row21a_y%"/>
513 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
514 <actions>
515 <action function="set">tw_back=flash_done</action>
516 <action function="set">tw_action=wipe</action>
517 <action function="set">tw_action_param=dalvik</action>
518 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
519 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
520 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
521 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
522 <action function="page">confirm_action</action>
523 </actions>
524 </button>
525
526 <button style="main_button_half_height">
Chaosmaster90df3de2020-02-07 20:33:43 +0100527 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100528 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500529 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100530 <actions>
531 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500532 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100533 </actions>
534 </button>
535
Chaosmaster90df3de2020-02-07 20:33:43 +0100536 <button style="main_button_half_height">
537 <condition var1="tw_ab_device" var2="1"/>
538 <placement x="%center_x%" y="%row21a_y%"/>
539 <text>{@reboot_btn=Reboot}</text>
540 <actions>
541 <action function="set">tw_back=main2</action>
542 <action function="page">reboot</action>
543 </actions>
544 </button>
545
z31s1g28f0a922015-11-07 18:50:22 +0100546 <action>
547 <touch key="back"/>
548 <actions>
549 <action function="set">tw_clear_destination=install</action>
550 <action function="page">clear_vars</action>
551 </actions>
552 </action>
553
554 <action>
555 <touch key="home"/>
556 <actions>
557 <action function="set">tw_clear_destination=main2</action>
558 <action function="page">clear_vars</action>
559 </actions>
560 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500561
562 <action>
563 <conditions>
564 <condition var1="tw_install_reboot" var2="1"/>
565 <condition var1="tw_operation_status" var2="0"/>
566 <condition var1="tw_reboot_system" var2="1"/>
567 </conditions>
568 <actions>
569 <action function="set">tw_sleep=%tw_sleep_total%</action>
570 <action function="page">flash_sleep_and_reboot</action>
571 </actions>
572 </action>
573 </page>
574
575 <page name="flash_sleep_and_reboot">
576 <template name="page"/>
577
578 <text style="text_l">
579 <placement x="%col1_x_header%" y="%row3_header_y%"/>
580 <text>{@install_zip_hdr=Install Zip}</text>
581 </text>
582
583 <text style="text_m">
584 <placement x="%col1_x_header%" y="%row4_header_y%"/>
585 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
586 </text>
587
588 <template name="console"/>
589
590 <template name="progress_bar"/>
591
592 <button style="main_button_half_height">
593 <condition var1="tw_sleep" op="&gt;" var2="0"/>
594 <placement x="%center_x%" y="%row21a_y%"/>
595 <text>{@cancel_btn=Cancel}</text>
596 <actions>
597 <action function="set">tw_install_reboot=0</action>
598 <action function="page">flash_done</action>
599 </actions>
600 </button>
601
602 <action>
603 <conditions>
604 <condition var1="tw_sleep" var2="tw_sleep_total"/>
605 <condition var1="tw_install_reboot" var2="1"/>
606 </conditions>
607 <action function="sleepcounter">%tw_sleep_total%</action>
608 </action>
609
610 <action>
611 <conditions>
612 <condition var1="tw_sleep" var2="0"/>
613 <condition var1="tw_install_reboot" var2="1"/>
614 </conditions>
615 <actions>
616 <action function="sleep">50000</action>
617 <action function="set">tw_back=main2</action>
618 <action function="page">reboot_system_routine</action>
619 </actions>
620 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100621 </page>
622
623 <page name="flashimage_confirm">
624 <template name="page"/>
625
626 <text style="text_l">
627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500628 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100629 </text>
630
631 <text style="text_m">
632 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100634 </text>
635
636 <text style="text_m_accent">
637 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <text style="text_m">
642 <placement x="%indent%" y="%row3_y%"/>
643 <text>%tw_zip_location%</text>
644 </text>
645
646 <text style="text_m_accent">
647 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%indent%" y="%row5a_y%"/>
653 <text>%tw_file%</text>
654 </text>
655
656 <partitionlist>
657 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
658 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500659 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100660 <data name="tw_flash_partition"/>
661 <listtype name="flashimg"/>
662 </partitionlist>
663
664 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 <actions>
667 <action function="set">tw_back=flashimage_confirm</action>
668 <action function="set">tw_action=flashimage</action>
669 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500670 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100671 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500672 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100673 <action function="page">action_page</action>
674 </actions>
675 <action function="flashimage"/>
676 </slider>
677
678 <action>
679 <touch key="back"/>
680 <actions>
681 <action function="set">tw_clear_destination=install</action>
682 <action function="page">clear_vars</action>
683 </actions>
684 </action>
685
686 <action>
687 <touch key="home"/>
688 <actions>
689 <action function="set">tw_clear_destination=main2</action>
690 <action function="page">clear_vars</action>
691 </actions>
692 </action>
693 </page>
694
695 <page name="clear_vars">
696 <action>
697 <action function="set">tw_operation_state=0</action>
698 <action function="set">tw_text1=</action>
699 <action function="set">tw_text2=</action>
700 <action function="set">tw_text3=</action>
701 <action function="set">tw_text4=</action>
702 <action function="set">tw_action_text1=</action>
703 <action function="set">tw_action_text2=</action>
704 <action function="set">tw_action_param=</action>
705 <action function="set">tw_has_action2=0</action>
706 <action function="set">tw_action2=</action>
707 <action function="set">tw_action2_param=</action>
708 <action function="set">tw_has_cancel=0</action>
709 <action function="set">tw_cancel_action=</action>
710 <action function="set">tw_cancel_param=</action>
711 <action function="set">tw_show_exclamation=0</action>
712 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400713 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400714 <action function="set">tw_multiuser_warning_accepted=</action>
715 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100716 <action function="page">%tw_clear_destination%</action>
717 </action>
718 </page>
719
Matt Mower908dd252016-05-25 02:26:50 -0500720 <page name="reboot_system_routine">
721 <action>
722 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500723 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500724 <action function="set">tw_has_action2=0</action>
725 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
726 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
727 <action function="set">tw_text3=</action>
728 <action function="set">tw_text4=</action>
729 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
730 <action function="set">tw_action_text2=</action>
731 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
732 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
733 <action function="page">rebootcheck</action>
734 </action>
735 </page>
736
z31s1g28f0a922015-11-07 18:50:22 +0100737 <page name="confirm_action">
738 <template name="page"/>
739
740 <text style="text_l">
741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 </text>
744
745 <text style="text_m">
746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
747 <text/>
748 </text>
749
750 <text style="text_m_accent">
751 <placement x="%center_x%" y="%row2_y%" placement="5"/>
752 <text>%tw_text1%</text>
753 </text>
754
755 <text style="text_m_accent">
756 <placement x="%center_x%" y="%row3_y%" placement="5"/>
757 <text>%tw_text2%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%center_x%" y="%row4_y%" placement="5"/>
762 <text>%tw_text3%</text>
763 </text>
764
765 <text style="text_m">
766 <placement x="%center_x%" y="%row5_y%" placement="5"/>
767 <text>%tw_text4%</text>
768 </text>
769
770 <text style="text_m">
771 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 </text>
774
775 <slider>
776 <text>%tw_slider_text%</text>
777 <action function="page">action_page</action>
778 </slider>
779
780 <action>
781 <touch key="back"/>
782 <actions>
783 <action function="set">tw_clear_destination=%tw_back%</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </action>
787
788 <action>
789 <touch key="home"/>
790 <action function="page">main</action>
791 </action>
792 </page>
793
794 <page name="action_page">
795 <template name="page"/>
796
797 <text style="text_l">
798 <placement x="%col1_x_header%" y="%row3_header_y%"/>
799 <text>%tw_action_text1%</text>
800 </text>
801
802 <text style="text_m">
803 <placement x="%col1_x_header%" y="%row4_header_y%"/>
804 <text>%tw_action_text2%</text>
805 </text>
806
807 <template name="console"/>
808
809 <template name="progress_bar"/>
810
811 <button style="main_button_half_height">
812 <condition var1="tw_has_cancel" var2="1"/>
813 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500814 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100815 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
816 </button>
817
818 <action>
819 <condition var1="tw_operation_state" var2="1"/>
820 <actions>
821 <action function="page">action_complete</action>
822 </actions>
823 </action>
824
825 <action>
826 <condition var1="tw_has_action2" var2="0"/>
827 <actions>
828 <action function="%tw_action%">%tw_action_param%</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="1"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 <action function="%tw_action2%">%tw_action2_param%</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="singleaction_page">
842 <template name="page"/>
843
844 <text style="text_l">
845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
846 <text>%tw_action_text1%</text>
847 </text>
848
849 <text style="text_m">
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
851 <text>%tw_action_text2%</text>
852 </text>
853
854 <template name="console"/>
855
856 <template name="progress_bar"/>
857
858 <action>
859 <condition var1="tw_operation_state" var2="1"/>
860 <actions>
861 <action function="set">tw_page_done=1</action>
862 </actions>
863 </action>
864
865 <action>
866 <condition var1="tw_has_action2" var2="0"/>
867 <actions>
868 <action function="%tw_action%">%tw_action_param%</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="1"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 <action function="%tw_action2%">%tw_action2_param%</action>
877 </actions>
878 </action>
879 </page>
880
881 <page name="action_complete">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
886 <text>%tw_complete_text1%</text>
887 </text>
888
889 <text style="text_m_fail">
890 <condition var1="tw_operation_status" op="!=" var2="0"/>
891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500892 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100893 </text>
894
895 <text style="text_m">
896 <condition var1="tw_operation_status" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <template name="console"/>
902
903 <button style="main_button_half_height">
904 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 <actions>
907 <action function="set">tw_clear_destination=%tw_back%</action>
908 <action function="page">clear_vars</action>
909 </actions>
910 </button>
911
912 <button style="main_button_half_height">
913 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 <actions>
916 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500917 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100918 </actions>
919 </button>
920
921 <action>
922 <touch key="home"/>
923 <actions>
924 <action function="set">tw_clear_destination=main2</action>
925 <action function="page">clear_vars</action>
926 </actions>
927 </action>
928
929 <action>
930 <touch key="back"/>
931 <actions>
932 <action function="set">tw_clear_destination=%tw_back%</action>
933 <action function="page">clear_vars</action>
934 </actions>
935 </action>
936 </page>
937
938 <page name="filecheck">
939 <action>
940 <action function="fileexists">%tw_filecheck%</action>
941 </action>
942
943 <action>
944 <conditions>
945 <condition var1="tw_operation_state" var2="1"/>
946 <condition var1="tw_operation_status" var2="0"/>
947 </conditions>
948 <actions>
949 <action function="set">tw_fileexists=1</action>
950 <action function="page">%tw_existpage%</action>
951 </actions>
952 </action>
953
954 <action>
955 <conditions>
956 <condition var1="tw_operation_state" var2="1"/>
957 <condition var1="tw_operation_status" var2="1"/>
958 </conditions>
959 <actions>
960 <action function="set">tw_fileexists=0</action>
961 <action function="page">%tw_notexistpage%</action>
962 </actions>
963 </action>
964 </page>
965
966 <page name="rebootcheck">
967 <action>
968 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -0600969 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </action>
971
972 <action>
973 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
974 <action function="page">confirm_action</action>
975 </action>
976 </page>
977
978 <page name="wipe">
979 <template name="page"/>
980
981 <text style="text_l">
982 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500983 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100984 </text>
985
986 <text style="text_m">
987 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500988 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100989 </text>
990
991 <text style="text_m_accent">
992 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500993 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100994 </text>
995
996 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +0100997 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400998 <text>{@factory_reset5=(not including users/lockscreen)}</text>
999 </text>
1000
1001 <text style="text_m_accent">
1002 <condition var1="tw_has_data_media" var2="1"/>
1003 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m_accent">
1008 <conditions>
1009 <condition var1="tw_has_android_secure" var2="1"/>
1010 <condition var1="fileexists" var2="/and-sec"/>
1011 </conditions>
1012 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001013 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001014 </text>
1015
1016 <text style="text_m_accent">
1017 <condition var1="tw_has_sdext_partition" var2="1"/>
1018 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001019 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </text>
1021
1022 <text style="text_m">
1023 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001024 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001025 </text>
1026
1027 <text style="text_m">
1028 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 </text>
1031
1032 <text style="text_m">
1033 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001035 </text>
1036
1037 <button style="main_button_half_height">
1038 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001039 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001040 <actions>
1041 <action function="set">partitionlisterror=0</action>
1042 <action function="page">advancedwipe</action>
1043 </actions>
1044 </button>
1045
1046 <button style="main_button_half_height">
1047 <condition var1="tw_has_data_media" var2="1"/>
1048 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001049 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001050 <action function="page">formatdata</action>
1051 </button>
1052
1053 <button style="main_button_half_height">
1054 <conditions>
1055 <condition var1="tw_is_encrypted" var2="1"/>
1056 <condition var1="tw_has_data_media" var2="0"/>
1057 </conditions>
1058 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 <actions>
1061 <action function="set">tw_back=wipe</action>
1062 <action function="set">tw_action=wipe</action>
1063 <action function="set">tw_action_param=DATAMEDIA</action>
1064 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001066 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1068 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1069 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <action function="page">confirm_action</action>
1071 </actions>
1072 </button>
1073
1074 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 <actions>
1077 <action function="set">tw_back=wipe</action>
1078 <action function="set">tw_action=wipe</action>
1079 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001080 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1081 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001082 <action function="page">action_page</action>
1083 </actions>
1084 </slider>
1085
1086 <action>
1087 <touch key="back"/>
1088 <action function="page">main</action>
1089 </action>
1090
1091 <action>
1092 <touch key="home"/>
1093 <action function="page">main</action>
1094 </action>
1095 </page>
1096
1097 <page name="advancedwipe">
1098 <template name="page"/>
1099
1100 <action>
1101 <action function="set">tw_wipe_list=</action>
1102 </action>
1103
1104 <text style="text_l">
1105 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001106 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001107 </text>
1108
1109 <text style="text_m">
1110 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 </text>
1113
1114 <partitionlist>
1115 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <data name="tw_wipe_list"/>
1118 <listtype name="wipe"/>
1119 </partitionlist>
1120
1121 <text style="text_m_fail">
1122 <condition var1="partitionlisterror" var2="1"/>
1123 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 </text>
1126
1127 <button style="main_button_half_height_full_width">
1128 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001131 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001132 <action function="page">checkpartitionlist</action>
1133 </actions>
1134 </button>
1135
1136 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001137 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001138 <actions>
1139 <action function="set">tw_back=advancedwipe</action>
1140 <action function="set">tw_action=wipe</action>
1141 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001142 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1143 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1144 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001145 <action function="page">action_page</action>
1146 </actions>
1147 </slider>
1148
1149 <action>
1150 <touch key="home"/>
1151 <action function="page">main</action>
1152 </action>
1153
1154 <action>
1155 <touch key="back"/>
1156 <action function="page">wipe</action>
1157 </action>
1158 </page>
1159
1160 <page name="formatdata">
1161 <template name="page"/>
1162
1163 <text style="text_l">
1164 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001166 </text>
1167
1168 <text style="text_m">
1169 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 </text>
1172
1173 <text style="text_m_fail">
1174 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001175 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001176 </text>
1177
1178 <text style="text_m_fail">
1179 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m_fail">
1184 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
Ethan Yonker66a19492015-12-10 10:19:45 -06001188 <text style="text_m_fail">
1189 <condition var1="tw_has_adopted_storage" var2="1"/>
1190 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1191 <text>{@format_data_adopted=Including Adopted Storage}</text>
1192 </text>
1193
z31s1g28f0a922015-11-07 18:50:22 +01001194 <text style="text_m">
1195 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <text style="text_m">
1200 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <input>
1205 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1206 <text>%tw_confirm_formatdata%</text>
1207 <data name="tw_confirm_formatdata"/>
1208 <restrict minlen="3" maxlen="3" allow="yes"/>
1209 <action function="page">formatdata_confirm</action>
1210 </input>
1211
1212 <fill color="%accent_color%">
1213 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1214 </fill>
1215
1216 <template name="keyboardtemplate"/>
1217
1218 <action>
1219 <touch key="home"/>
1220 <action function="page">main</action>
1221 </action>
1222
1223 <action>
1224 <touch key="back"/>
1225 <action function="page">wipe</action>
1226 </action>
1227 </page>
1228
1229 <page name="formatdata_confirm">
1230 <action>
1231 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1232 <actions>
1233 <action function="set">tw_back=formatdata</action>
1234 <action function="set">tw_action=wipe</action>
1235 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1237 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="page">action_page</action>
1239 </actions>
1240 </action>
1241
1242 <action>
1243 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1244 <action function="page">formatdata</action>
1245 </action>
1246 </page>
1247
1248 <page name="checkpartitionlist">
1249 <action>
1250 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1251 <actions>
1252 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001253 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="page">partitionoptions</action>
1255 </actions>
1256 </action>
1257
1258 <action>
1259 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1260 <actions>
1261 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <action function="page">advancedwipe</action>
1263 </actions>
1264 </action>
1265 </page>
1266
1267 <page name="partitionoptions">
1268 <template name="page"/>
1269
1270 <text style="text_l">
1271 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <text style="text_m">
1276 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 </text>
1279
1280 <text style="text_m_accent">
1281 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001282 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001283 </text>
1284
1285 <text style="text_m_accent">
1286 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 </text>
1289
1290 <text style="text_m">
1291 <condition var1="tw_partition_is_present" var2="1"/>
1292 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001293 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001294 </text>
1295
1296 <text style="text_m">
1297 <condition var1="tw_partition_is_present" var2="0"/>
1298 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001300 </text>
1301
1302 <text style="text_m">
1303 <condition var1="tw_partition_removable" var2="1"/>
1304 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m">
1309 <condition var1="tw_partition_removable" var2="0"/>
1310 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m">
1315 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001317 </text>
1318
1319 <text style="text_m">
1320 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m">
1325 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001327 </text>
1328
1329 <text style="text_m">
1330 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 </text>
1333
1334 <button style="main_button_half_height">
1335 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1336 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <actions>
1339 <action function="set">tw_back=partitionoptions</action>
1340 <action function="set">tw_action=resize</action>
1341 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1342 <action function="set">tw_has_action2=1</action>
1343 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001344 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001346 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1348 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1349 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001350 <action function="page">confirm_action</action>
1351 </actions>
1352 </button>
1353
1354 <button style="main_button_half_height">
1355 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1356 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 <actions>
1359 <action function="set">tw_back=partitionoptions</action>
1360 <action function="set">tw_action=repair</action>
1361 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1362 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1366 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_height">
1373 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 <action function="page">selectfilesystem</action>
1376 </button>
1377
1378 <action>
1379 <touch key="home"/>
1380 <action function="page">main</action>
1381 </action>
1382
1383 <action>
1384 <touch key="back"/>
1385 <action function="page">advancedwipe</action>
1386 </action>
1387 </page>
1388
1389 <page name="refreshfilesystem">
1390 <action>
1391 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1392 <actions>
1393 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001394 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001395 <action function="page">selectfilesystem</action>
1396 </actions>
1397 </action>
1398
1399 <action>
1400 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1401 <actions>
1402 <action function="set">partitionlisterror=1</action>
1403 <action function="set">tw_wipe_list=</action>
1404 <action function="page">advancedwipe</action>
1405 </actions>
1406 </action>
1407 </page>
1408
1409 <page name="selectfilesystem">
1410 <template name="page"/>
1411
1412 <text style="text_l">
1413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001415 </text>
1416
1417 <text style="text_m">
1418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 </text>
1421
1422 <text style="text_m_accent">
1423 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 </text>
1426
1427 <text style="text_m_accent">
1428 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001430 </text>
1431
1432 <text style="text_m_fail">
1433 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001435 </text>
1436
1437 <text style="text_m_fail">
1438 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001439 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001440 </text>
1441
1442 <button style="main_button_half_height">
1443 <condition var1="tw_partition_ext" op="=" var2="1"/>
1444 <placement x="%indent%" y="%row15a_y%"/>
1445 <text>EXT2</text>
1446 <actions>
1447 <action function="set">tw_back=refreshfilesystem</action>
1448 <action function="set">tw_action=changefilesystem</action>
1449 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1450 <action function="set">tw_action_new_file_system=ext2</action>
1451 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1453 <action function="set">tw_text2=EXT2</action>
1454 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1455 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1456 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001457 <action function="page">confirm_action</action>
1458 </actions>
1459 </button>
1460
1461 <button style="main_button_half_height">
1462 <condition var1="tw_partition_ext" op="=" var2="1"/>
1463 <placement x="%indent%" y="%row18a_y%"/>
1464 <text>EXT3</text>
1465 <actions>
1466 <action function="set">tw_back=refreshfilesystem</action>
1467 <action function="set">tw_action=changefilesystem</action>
1468 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1469 <action function="set">tw_action_new_file_system=ext3</action>
1470 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1472 <action function="set">tw_text2=EXT3</action>
1473 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1474 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1475 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001476 <action function="page">confirm_action</action>
1477 </actions>
1478 </button>
1479
1480 <button style="main_button_half_height">
1481 <condition var1="tw_partition_ext" op="=" var2="1"/>
1482 <placement x="%indent%" y="%row21a_y%"/>
1483 <text>EXT4</text>
1484 <actions>
1485 <action function="set">tw_back=refreshfilesystem</action>
1486 <action function="set">tw_action=changefilesystem</action>
1487 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1488 <action function="set">tw_action_new_file_system=ext4</action>
1489 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1491 <action function="set">tw_text2=EXT4</action>
1492 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1493 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1494 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001495 <action function="page">confirm_action</action>
1496 </actions>
1497 </button>
1498
1499 <button style="main_button_half_height">
1500 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1501 <placement x="%center_x%" y="%row15a_y%"/>
1502 <text>FAT</text>
1503 <actions>
1504 <action function="set">tw_back=refreshfilesystem</action>
1505 <action function="set">tw_action=changefilesystem</action>
1506 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1507 <action function="set">tw_action_new_file_system=vfat</action>
1508 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1510 <action function="set">tw_text2=FAT</action>
1511 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1512 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1513 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001514 <action function="page">confirm_action</action>
1515 </actions>
1516 </button>
1517
1518 <button style="main_button_half_height">
1519 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1520 <placement x="%center_x%" y="%row18a_y%"/>
1521 <text>exFAT</text>
1522 <actions>
1523 <action function="set">tw_back=refreshfilesystem</action>
1524 <action function="set">tw_action=changefilesystem</action>
1525 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1526 <action function="set">tw_action_new_file_system=exfat</action>
1527 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1529 <action function="set">tw_text2=exFAT</action>
1530 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1531 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1532 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <action function="page">confirm_action</action>
1534 </actions>
1535 </button>
1536
1537 <button style="main_button_half_height">
1538 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1539 <placement x="%center_x%" y="%row21a_y%"/>
1540 <text>F2FS</text>
1541 <actions>
1542 <action function="set">tw_back=refreshfilesystem</action>
1543 <action function="set">tw_action=changefilesystem</action>
1544 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1545 <action function="set">tw_action_new_file_system=f2fs</action>
1546 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1548 <action function="set">tw_text2=F2FS</action>
1549 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1550 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1551 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <action function="page">confirm_action</action>
1553 </actions>
1554 </button>
1555
1556 <action>
1557 <touch key="home"/>
1558 <action function="page">main</action>
1559 </action>
1560
1561 <action>
1562 <touch key="back"/>
1563 <action function="page">partitionoptions</action>
1564 </action>
1565 </page>
1566
1567 <page name="backup">
1568 <template name="page"/>
1569
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001570 <action>
1571 <conditions>
1572 <condition var1="tw_is_fbe" var2="1"/>
1573 <condition var1="tw_all_users_decrypted" var2="0"/>
1574 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1575 </conditions>
1576 <actions>
1577 <action function="set">tw_multiuser_warning_destination=backup</action>
1578 <action function="page">multiuser_warning</action>
1579 </actions>
1580 </action>
1581
z31s1g28f0a922015-11-07 18:50:22 +01001582 <text style="text_l">
1583 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 </text>
1586
1587 <text style="text_m">
1588 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 </text>
1591
1592 <template name="tabs_backup"/>
1593
1594 <fill color="%text_color%">
1595 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1596 </fill>
1597
1598 <button style="tab">
1599 <conditions>
1600 <condition var1="tw_include_encrypted_backup" var2="1"/>
1601 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001602 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001603 </conditions>
1604 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001605 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001606 <font resource="font_s" color="%text_color%"/>
1607 <actions>
1608 <action function="set">tw_password_not_match=0</action>
1609 <action function="page">backupencryption</action>
1610 </actions>
1611 </button>
1612
1613 <button style="tab">
1614 <conditions>
1615 <condition var1="tw_include_encrypted_backup" var2="1"/>
1616 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001617 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001618 </conditions>
1619 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001620 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001621 <font resource="font_s" color="%text_success_color%"/>
1622 <actions>
1623 <action function="set">tw_password_not_match=0</action>
1624 <action function="page">backupencryption</action>
1625 </actions>
1626 </button>
1627
1628 <text style="text_m_accent">
1629 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <placement x="%indent%" y="%row4a_y%"/>
1635 <text>%tw_backup_name%</text>
1636 </text>
1637
1638 <fill color="%fileselector_linecolor%">
1639 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1640 </fill>
1641
1642 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001643 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1645 <fill color="%transparent%"/>
1646 <actions>
1647 <action function="set">tw_fileexists=0</action>
1648 <action function="page">backupname1</action>
1649 </actions>
1650 </button>
1651
1652 <partitionlist>
1653 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 <data name="tw_backup_list"/>
1656 <listtype name="backup"/>
1657 </partitionlist>
1658
1659 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001660 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001661 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <actions>
1664 <action function="set">tw_back=backup</action>
1665 <action function="overlay">select_storage</action>
1666 </actions>
1667 </button>
1668
1669 <button style="main_button_half_height">
1670 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001671 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001672 <actions>
1673 <action function="refreshsizes"/>
1674 <action function="page">backup</action>
1675 </actions>
1676 </button>
1677
1678 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <action function="page">backup_run</action>
1681 </slider>
1682
1683 <action>
1684 <touch key="home"/>
1685 <action function="page">main</action>
1686 </action>
1687
1688 <action>
1689 <touch key="back"/>
1690 <action function="page">main</action>
1691 </action>
1692 </page>
1693
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001694 <page name="multiuser_warning">
1695 <template name="page"/>
1696
1697 <text style="text_l">
1698 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1699 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1700 </text>
1701
1702 <text style="text_m_fail">
1703 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1704 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1705 </text>
1706
1707 <text style="text_m_fail">
1708 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1709 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1710 </text>
1711
1712 <button style="main_button_half_height_full_width">
1713 <placement x="%indent%" y="%row18a_y%"/>
1714 <text>{@decrypt_users=Decrypt Users}</text>
1715 <action function="page">decrypt_users</action>
1716 </button>
1717
1718 <slider>>
1719 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1720 <actions>
1721 <action function="set">tw_multiuser_warning_accepted=1</action>
1722 <action function="page">%tw_multiuser_warning_destination%</action>
1723 </actions>
1724 </slider>
1725
1726 <action>
1727 <touch key="home"/>
1728 <action function="page">main</action>
1729 </action>
1730
1731 <action>
1732 <touch key="back"/>
1733 <action function="page">main</action>
1734 </action>
1735 </page>
1736
z31s1g28f0a922015-11-07 18:50:22 +01001737 <page name="backup_options">
1738 <template name="page"/>
1739
1740 <text style="text_l">
1741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 </text>
1744
1745 <text style="text_m">
1746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001748 </text>
1749
1750 <template name="tabs_backup"/>
1751
1752 <fill color="%text_color%">
1753 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1754 </fill>
1755
1756 <button style="tab">
1757 <conditions>
1758 <condition var1="tw_include_encrypted_backup" var2="1"/>
1759 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001760 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001761 </conditions>
1762 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <font resource="font_s" color="%text_color%"/>
1765 <actions>
1766 <action function="set">tw_password_not_match=0</action>
1767 <action function="page">backupencryption</action>
1768 </actions>
1769 </button>
1770
1771 <button style="tab">
1772 <conditions>
1773 <condition var1="tw_include_encrypted_backup" var2="1"/>
1774 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001775 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </conditions>
1777 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 <font resource="font_s" color="%text_success_color%"/>
1780 <actions>
1781 <action function="set">tw_password_not_match=0</action>
1782 <action function="page">backupencryption</action>
1783 </actions>
1784 </button>
1785
1786 <checkbox>
1787 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001788 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001789 <data variable="tw_use_compression"/>
1790 </checkbox>
1791
1792 <checkbox>
1793 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001794 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1795 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </checkbox>
1797
1798 <checkbox>
1799 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001800 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <data variable="tw_disable_free_space"/>
1802 </checkbox>
1803
Ethan Yonker1b190162016-12-05 15:25:19 -06001804 <text style="text_m">
1805 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01001806 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06001807 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1808 </text>
1809
1810 <button style="main_button">
1811 <condition var1="tw_has_boot_slots" var2="1"/>
1812 <placement x="%indent%" y="%row19_y%"/>
1813 <text>{@boot_slot_a=Slot A}</text>
1814 <actions>
1815 <action function="set">tw_back=backup_options</action>
1816 <action function="set">tw_action=setbootslot</action>
1817 <action function="set">tw_action_param=A</action>
1818 <action function="set">tw_has_action2=0</action>
1819 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1820 <action function="set">tw_action_text2=</action>
1821 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1822 <action function="page">action_page</action>
1823 </actions>
1824 </button>
1825
1826 <button style="main_button">
1827 <condition var1="tw_has_boot_slots" var2="1"/>
1828 <placement x="%center_x%" y="%row19_y%"/>
1829 <text>{@boot_slot_b=Slot B}</text>
1830 <actions>
1831 <action function="set">tw_back=backup_options</action>
1832 <action function="set">tw_action=setbootslot</action>
1833 <action function="set">tw_action_param=B</action>
1834 <action function="set">tw_has_action2=0</action>
1835 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1836 <action function="set">tw_action_text2=</action>
1837 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1838 <action function="page">action_page</action>
1839 </actions>
1840 </button>
1841
z31s1g28f0a922015-11-07 18:50:22 +01001842 <action>
1843 <touch key="home"/>
1844 <action function="page">main</action>
1845 </action>
1846
1847 <action>
1848 <touch key="back"/>
1849 <action function="page">backup</action>
1850 </action>
1851 </page>
1852
1853 <page name="backupname1">
1854 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001856 <action function="generatebackupname"/>
1857 </action>
1858
1859 <action>
1860 <action function="page">backupname2</action>
1861 </action>
1862 </page>
1863
1864 <page name="backupname2">
1865 <template name="page"/>
1866
1867 <text style="text_l">
1868 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 </text>
1871
1872 <text style="text_m">
1873 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001874 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001875 </text>
1876
1877 <template name="tabs_backup"/>
1878
1879 <fill color="%text_color%">
1880 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1881 </fill>
1882
1883 <button style="tab">
1884 <conditions>
1885 <condition var1="tw_include_encrypted_backup" var2="1"/>
1886 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001887 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </conditions>
1889 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001890 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001891 <font resource="font_s" color="%text_color%"/>
1892 <actions>
1893 <action function="set">tw_password_not_match=0</action>
1894 <action function="page">backupencryption</action>
1895 </actions>
1896 </button>
1897
1898 <button style="tab">
1899 <conditions>
1900 <condition var1="tw_include_encrypted_backup" var2="1"/>
1901 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001902 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001903 </conditions>
1904 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 <font resource="font_s" color="%text_success_color%"/>
1907 <actions>
1908 <action function="set">tw_password_not_match=0</action>
1909 <action function="page">backupencryption</action>
1910 </actions>
1911 </button>
1912
1913 <text style="text_m_accent">
1914 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <input>
1919 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1920 <text>%tw_backup_name%</text>
1921 <data name="tw_backup_name"/>
1922 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1923 <actions>
1924 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1925 <action function="set">tw_existpage=backupname2</action>
1926 <action function="set">tw_notexistpage=backup</action>
1927 <action function="page">filecheck</action>
1928 </actions>
1929 </input>
1930
1931 <fill color="%accent_color%">
1932 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1933 </fill>
1934
1935 <fill color="%text_fail_color%">
1936 <condition var1="tw_fileexists" var2="1"/>
1937 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <text style="text_m_fail">
1941 <condition var1="tw_fileexists" var2="1"/>
1942 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001943 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001944 </text>
1945
1946 <button style="main_button_half_height">
1947 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001948 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001949 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001950 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001951 <action function="page">backup</action>
1952 </actions>
1953 </button>
1954
1955 <button style="main_button_half_height">
1956 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001957 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001958 <action function="appenddatetobackupname"/>
1959 </button>
1960
1961 <template name="keyboardtemplate"/>
1962
1963 <action>
1964 <touch key="home"/>
1965 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001966 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001967 <action function="page">main</action>
1968 </actions>
1969 </action>
1970
1971 <action>
1972 <touch key="back"/>
1973 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001974 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001975 <action function="page">backup</action>
1976 </actions>
1977 </action>
1978 </page>
1979
1980 <page name="backupencryption">
1981 <template name="page"/>
1982
1983 <text style="text_l">
1984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 </text>
1987
1988 <text style="text_m">
1989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <template name="tabs_backup"/>
1994
1995 <button style="tab">
1996 <conditions>
1997 <condition var1="tw_include_encrypted_backup" var2="1"/>
1998 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001999 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002000 </conditions>
2001 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 <font resource="font_s" color="%text_color%"/>
2004 <actions>
2005 <action function="set">tw_password_not_match=0</action>
2006 <action function="page">backupencryption</action>
2007 </actions>
2008 </button>
2009
2010 <button style="tab">
2011 <conditions>
2012 <condition var1="tw_include_encrypted_backup" var2="1"/>
2013 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002014 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </conditions>
2016 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 <font resource="font_s" color="%text_success_color%"/>
2019 <actions>
2020 <action function="set">tw_password_not_match=0</action>
2021 <action function="page">backupencryption</action>
2022 </actions>
2023 </button>
2024
2025 <fill color="%text_color%">
2026 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2027 </fill>
2028
2029 <text style="text_m_accent">
2030 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 </text>
2033
2034 <text style="text_m">
2035 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <input>
2040 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2041 <text>%tw_backup_encrypt_display%</text>
2042 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2043 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2044 <action function="page">backupencryption2</action>
2045 </input>
2046
2047 <fill color="%accent_color%">
2048 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2049 </fill>
2050
2051 <fill color="%text_fail_color%">
2052 <condition var1="tw_password_not_match" var2="1"/>
2053 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2054 </fill>
2055
2056 <text style="text_m_fail">
2057 <condition var1="tw_password_not_match" var2="1"/>
2058 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <button style="main_button_half_height">
2063 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 <actions>
2066 <action function="set">tw_encrypt_backup=0</action>
2067 <action function="set">tw_backup_password=</action>
2068 <action function="set">tw_backup_password2=</action>
2069 <action function="set">tw_backup_encrypt_display=</action>
2070 <action function="set">tw_backup_encrypt_display2=</action>
2071 <action function="page">backup</action>
2072 </actions>
2073 </button>
2074
2075 <template name="keyboardtemplate"/>
2076
2077 <action>
2078 <touch key="home"/>
2079 <action function="page">main</action>
2080 </action>
2081
2082 <action>
2083 <touch key="back"/>
2084 <action function="page">backup</action>
2085 </action>
2086 </page>
2087
2088 <page name="backupencryption2">
2089 <template name="page"/>
2090
2091 <text style="text_l">
2092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <template name="tabs_backup"/>
2102
2103 <button style="tab">
2104 <conditions>
2105 <condition var1="tw_include_encrypted_backup" var2="1"/>
2106 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002107 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002108 </conditions>
2109 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 <font resource="font_s" color="%text_color%"/>
2112 <actions>
2113 <action function="set">tw_password_not_match=0</action>
2114 <action function="page">backupencryption</action>
2115 </actions>
2116 </button>
2117
2118 <button style="tab">
2119 <conditions>
2120 <condition var1="tw_include_encrypted_backup" var2="1"/>
2121 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002122 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002123 </conditions>
2124 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002125 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002126 <font resource="font_s" color="%text_success_color%"/>
2127 <actions>
2128 <action function="set">tw_password_not_match=0</action>
2129 <action function="page">backupencryption</action>
2130 </actions>
2131 </button>
2132
2133 <fill color="%text_color%">
2134 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2135 </fill>
2136
2137 <text style="text_m_accent">
2138 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <text style="text_m">
2143 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002144 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002145 </text>
2146
2147 <input>
2148 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2149 <text>%tw_backup_encrypt_display2%</text>
2150 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2151 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2152 <action function="page">checkbackuppassword</action>
2153 </input>
2154
2155 <fill color="%accent_color%">
2156 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2157 </fill>
2158
2159 <button style="main_button_half_height">
2160 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 <actions>
2163 <action function="set">tw_encrypt_backup=0</action>
2164 <action function="set">tw_backup_password=</action>
2165 <action function="set">tw_backup_password2=</action>
2166 <action function="set">tw_backup_encrypt_display=</action>
2167 <action function="set">tw_backup_encrypt_display2=</action>
2168 <action function="page">backup</action>
2169 </actions>
2170 </button>
2171
2172 <template name="keyboardtemplate"/>
2173
2174 <action>
2175 <touch key="home"/>
2176 <action function="page">main</action>
2177 </action>
2178
2179 <action>
2180 <touch key="back"/>
2181 <action function="page">backup</action>
2182 </action>
2183 </page>
2184
2185 <page name="checkbackuppassword">
2186 <action>
2187 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2188 <actions>
2189 <action function="set">tw_encrypt_backup=1</action>
2190 <action function="page">backup</action>
2191 </actions>
2192 </action>
2193
2194 <action>
2195 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2196 <actions>
2197 <action function="set">tw_encrypt_backup=0</action>
2198 <action function="set">tw_password_not_match=1</action>
2199 <action function="set">tw_backup_password=</action>
2200 <action function="set">tw_backup_password2=</action>
2201 <action function="set">tw_backup_encrypt_display=</action>
2202 <action function="set">tw_backup_encrypt_display2=</action>
2203 <action function="page">backupencryption</action>
2204 </actions>
2205 </action>
2206 </page>
2207
2208 <page name="backup_run">
2209 <template name="page"/>
2210
2211 <text style="text_l">
2212 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2213 <text>%tw_operation%</text>
2214 </text>
2215
2216 <text style="text_m">
2217 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2218 <text>%tw_partition% Partition</text>
2219 </text>
2220
2221 <template name="console"/>
2222
2223 <template name="progress_bar"/>
2224
2225 <text style="text_m_accent">
2226 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002227 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002228 </text>
2229
2230 <text style="text_m">
2231 <placement x="%indent%" y="%row20_y%"/>
2232 <text>%tw_file_progress%</text>
2233 </text>
2234
2235 <text style="text_m">
2236 <placement x="%indent%" y="%row21_y%"/>
2237 <text>%tw_size_progress%</text>
2238 </text>
2239
2240 <button style="main_button_half_height">
2241 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 <action function="cancelbackup"/>
2244 </button>
2245
2246 <action>
2247 <action function="nandroid">backup</action>
2248 </action>
2249
2250 <action>
2251 <condition var1="tw_operation_state" var2="1"/>
2252 <condition var1="tw_cancel_backup" var2="0"/>
2253 <actions>
2254 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002255 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002256 <action function="set">tw_show_reboot=1</action>
2257 <action function="page">action_complete</action>
2258 </actions>
2259 </action>
2260
2261 <action>
2262 <condition var1="tw_operation_state" var2="1"/>
2263 <condition var1="tw_cancel_backup" var2="1"/>
2264 <actions>
2265 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002267 <action function="set">tw_show_reboot=1</action>
2268 <action function="page">action_complete</action>
2269 </actions>
2270 </action>
2271 </page>
2272
2273 <page name="restore">
2274 <template name="page"/>
2275
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002276 <action>
2277 <conditions>
2278 <condition var1="tw_is_fbe" var2="1"/>
2279 <condition var1="tw_all_users_decrypted" var2="0"/>
2280 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2281 </conditions>
2282 <actions>
2283 <action function="set">tw_multiuser_warning_destination=restore</action>
2284 <action function="page">multiuser_warning</action>
2285 </actions>
2286 </action>
2287
z31s1g28f0a922015-11-07 18:50:22 +01002288 <text style="text_l">
2289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002290 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </text>
2292
2293 <text style="text_m">
2294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <template name="sort_options"/>
2299
2300 <fileselector>
2301 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002302 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002303 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002304 <path name="tw_backups_folder"/>
2305 <data name="tw_restore" default=""/>
2306 <selection name="tw_restore_name"/>
2307 </fileselector>
2308
2309 <button style="main_button_half_height">
2310 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 <actions>
2313 <action function="set">tw_back=restore</action>
2314 <action function="overlay">select_storage</action>
2315 </actions>
2316 </button>
2317
2318 <action>
2319 <condition var1="tw_restore" op="modified"/>
2320 <actions>
2321 <action function="readBackup"/>
2322 <action function="page">restore_read</action>
2323 </actions>
2324 </action>
2325
2326 <action>
2327 <touch key="home"/>
2328 <action function="page">main</action>
2329 </action>
2330
2331 <action>
2332 <touch key="back"/>
2333 <action function="page">main</action>
2334 </action>
2335 </page>
2336
2337 <page name="restore_read">
2338 <action>
2339 <condition var1="tw_restore_encrypted" var2="1"/>
2340 <actions>
2341 <action function="set">tw_password_fail=0</action>
2342 <action function="page">restore_decrypt</action>
2343 </actions>
2344 </action>
2345
2346 <action>
2347 <condition var1="tw_restore_encrypted" var2="0"/>
2348 <actions>
2349 <action function="page">restore_select</action>
2350 </actions>
2351 </action>
2352 </page>
2353
2354 <page name="restore_decrypt">
2355 <template name="page"/>
2356
2357 <text style="text_l">
2358 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </text>
2361
2362 <text style="text_m">
2363 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002364 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002365 </text>
2366
2367 <text style="text_m_accent">
2368 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 </text>
2371
2372 <input>
2373 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2374 <text>%tw_restore_display%</text>
2375 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2376 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2377 <action function="page">try_restore_decrypt</action>
2378 </input>
2379
2380 <fill color="%accent_color%">
2381 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2382 </fill>
2383
2384 <fill color="%text_fail_color%">
2385 <condition var1="tw_password_fail" var2="1"/>
2386 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2387 </fill>
2388
2389 <text style="text_m_fail">
2390 <condition var1="tw_password_fail" var2="1"/>
2391 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <button style="main_button_half_height">
2396 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 <actions>
2399 <action function="set">tw_page_done=1</action>
2400 <action function="page">restore</action>
2401 </actions>
2402 </button>
2403
2404 <button style="main_button_half_height">
2405 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 <actions>
2408 <action function="set">tw_back=restore</action>
2409 <action function="set">tw_action=cmd</action>
2410 <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 -05002411 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2412 <action function="set">tw_text2=%tw_restore_name%</action>
2413 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2414 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2415 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2416 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="page">confirm_action</action>
2418 </actions>
2419 </button>
2420
2421 <template name="keyboardtemplate"/>
2422
2423 <action>
2424 <touch key="home"/>
2425 <action function="page">main</action>
2426 </action>
2427
2428 <action>
2429 <touch key="back"/>
2430 <action function="page">restore</action>
2431 </action>
2432 </page>
2433
2434 <page name="try_restore_decrypt">
2435 <template name="page"/>
2436
2437 <text style="text_l">
2438 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <text style="text_m">
2443 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 </text>
2446
2447 <template name="console"/>
2448
2449 <template name="progress_bar"/>
2450
2451 <action>
2452 <action function="decrypt_backup"/>
2453 </action>
2454
2455 <action>
2456 <conditions>
2457 <condition var1="tw_operation_state" var2="1"/>
2458 <condition var1="tw_operation_status" op="!=" var2="0"/>
2459 </conditions>
2460 <actions>
2461 <action function="set">tw_password_fail=1</action>
2462 <action function="page">restore_decrypt</action>
2463 </actions>
2464 </action>
2465
2466 <action>
2467 <conditions>
2468 <condition var1="tw_operation_state" var2="1"/>
2469 <condition var1="tw_operation_status" op="=" var2="0"/>
2470 </conditions>
2471 <actions>
2472 <action function="set">tw_page_done=1</action>
2473 <action function="page">restore_select</action>
2474 </actions>
2475 </action>
2476 </page>
2477
2478 <page name="restore_select">
2479 <template name="page"/>
2480
2481 <text style="text_l">
2482 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002483 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002484 </text>
2485
2486 <text style="text_m">
2487 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002488 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002489 </text>
2490
2491 <text style="text_m_accent">
2492 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 </text>
2495
2496 <text style="text_m">
2497 <placement x="%indent%" y="%row3_y%"/>
2498 <text>%tw_restore_name%</text>
2499 </text>
2500
2501 <fill color="%fileselector_linecolor%">
2502 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2503 </fill>
2504
2505 <button>
2506 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2507 <fill color="%transparent%"/>
2508 <actions>
2509 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2510 <action function="set">tw_fileexists=0</action>
2511 <action function="page">renamebackup</action>
2512 </actions>
2513 </button>
2514
2515 <partitionlist>
2516 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002517 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002518 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2519 <listtype name="restore"/>
2520 </partitionlist>
2521
2522 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002523 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002524 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002525 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2526 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002527 </checkbox>
2528
2529 <button style="main_button_half_height">
2530 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002531 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002532 <actions>
2533 <action function="set">tw_back=restore</action>
2534 <action function="set">tw_action=cmd</action>
2535 <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 -05002536 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002537 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002538 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2539 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2540 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2541 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002542 <action function="page">confirm_action</action>
2543 </actions>
2544 </button>
2545
2546 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 <action function="page">restore_run</action>
2549 </slider>
2550
2551 <action>
2552 <touch key="home"/>
2553 <action function="page">main</action>
2554 </action>
2555
2556 <action>
2557 <touch key="back"/>
2558 <action function="page">restore</action>
2559 </action>
2560 </page>
2561
2562 <page name="renamebackup">
2563 <template name="page"/>
2564
2565 <text style="text_l">
2566 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <text style="text_m">
2571 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 </text>
2574
2575 <text style="text_m_accent">
2576 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 </text>
2579
2580 <input>
2581 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2582 <text>%tw_backup_rename%</text>
2583 <data name="tw_backup_rename"/>
2584 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2585 <actions>
2586 <action function="set">tw_back=restore</action>
2587 <action function="set">tw_action=cmd</action>
2588 <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 -05002589 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2590 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2591 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2592 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2593 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002594 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2595 <action function="set">tw_existpage=renamebackup</action>
2596 <action function="set">tw_notexistpage=confirm_action</action>
2597 <action function="page">filecheck</action>
2598 </actions>
2599 </input>
2600
2601 <fill color="%accent_color%">
2602 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2603 </fill>
2604
2605 <fill color="%text_fail_color%">
2606 <condition var1="tw_fileexists" var2="1"/>
2607 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2608 </fill>
2609
2610 <text style="text_m_fail">
2611 <condition var1="tw_fileexists" var2="1"/>
2612 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 </text>
2615
2616 <button style="main_button_half_height">
2617 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <action function="page">restore_select</action>
2620 </button>
2621
2622 <template name="keyboardtemplate"/>
2623
2624 <action>
2625 <touch key="home"/>
2626 <action function="page">main</action>
2627 </action>
2628
2629 <action>
2630 <touch key="back"/>
2631 <action function="page">restore_select</action>
2632 </action>
2633 </page>
2634
2635 <page name="restore_run">
2636 <template name="page"/>
2637
2638 <text style="text_l">
2639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 </text>
2642
2643 <text style="text_m">
2644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2645 <text>%tw_operation% %tw_partition%</text>
2646 </text>
2647
2648 <template name="console"/>
2649
2650 <template name="progress_bar"/>
2651
2652 <text style="text_m_accent">
2653 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 </text>
2656
2657 <text style="text_m">
2658 <placement x="%indent%" y="%row20_y%"/>
2659 <text>%tw_size_progress%</text>
2660 </text>
2661
2662 <action>
2663 <condition var1="tw_operation_state" var2="1"/>
2664 <actions>
2665 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002666 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <action function="set">tw_show_reboot=1</action>
2668 <action function="page">action_complete</action>
2669 </actions>
2670 </action>
2671
2672 <action>
2673 <action function="nandroid">restore</action>
2674 </action>
2675 </page>
2676
2677 <page name="mount">
2678 <template name="page"/>
2679
2680 <text style="text_l">
2681 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002683 </text>
2684
2685 <text style="text_m">
2686 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002688 </text>
2689
2690 <partitionlist>
2691 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <listtype name="mount"/>
2694 </partitionlist>
2695
2696 <button style="checkbox">
2697 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2698 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 <image resource="checkbox_false"/>
2701 <action function="mountsystemtoggle">1</action>
2702 </button>
2703
2704 <button style="checkbox">
2705 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2706 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002707 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002708 <image resource="checkbox_true"/>
2709 <actions>
2710 <action function="set">tw_lifetime_writes=2</action>
2711 <action function="page">system_readonly_check</action>
2712 </actions>
2713 </button>
2714
2715 <button style="main_button_half_height">
2716 <condition var1="tw_has_usb_storage" var2="1"/>
2717 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002718 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002719 <action function="page">usb_mount</action>
2720 </button>
2721
2722 <button style="main_button_half_height">
2723 <conditions>
2724 <condition var1="tw_is_encrypted" var2="1"/>
2725 <condition var1="tw_is_decrypted" var2="0"/>
2726 </conditions>
2727 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002728 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002729 <action function="set">tw_crypto_user_id=0</action>
2730 <action function="set">tw_crypto_password=</action>
2731 <action function="set">tw_password_fail=0</action>
2732 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002733 <action function="page">decrypt</action>
2734 </button>
2735
2736 <button style="main_button_half_height">
2737 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002738 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002739 <actions>
2740 <action function="set">tw_back=mount</action>
2741 <action function="overlay">select_storage</action>
2742 </actions>
2743 </button>
2744
2745 <button style="main_button_half_height">
2746 <conditions>
2747 <condition var1="tw_has_mtp" var2="1"/>
2748 <condition var1="tw_mtp_enabled" var2="0"/>
2749 </conditions>
2750 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002751 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002752 <action function="startmtp"/>
2753 </button>
2754
2755 <button style="main_button_half_height">
2756 <conditions>
2757 <condition var1="tw_has_mtp" var2="1"/>
2758 <condition var1="tw_mtp_enabled" var2="1"/>
2759 </conditions>
2760 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002761 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002762 <action function="stopmtp"/>
2763 </button>
2764
2765 <action>
2766 <touch key="home"/>
2767 <action function="page">main</action>
2768 </action>
2769
2770 <action>
2771 <touch key="back"/>
2772 <action function="page">main</action>
2773 </action>
2774 </page>
2775
2776 <page name="usb_mount">
2777 <template name="page"/>
2778
2779 <text style="text_l">
2780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002782 </text>
2783
2784 <text style="text_m">
2785 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002786 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 </text>
2788
2789 <text style="text_m_accent">
2790 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002791 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002792 </text>
2793
2794 <text style="text_m">
2795 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002796 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002797 </text>
2798
2799 <text style="text_m">
2800 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002801 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002802 </text>
2803
2804 <button style="main_button_half_height">
2805 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002806 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002807 <action function="page">usb_umount</action>
2808 </button>
2809
2810 <action>
2811 <action function="mount">usb</action>
2812 <action function="set">tw_busy=1</action>
2813 </action>
2814 </page>
2815
2816 <page name="usb_umount">
2817 <action>
2818 <action function="unmount">usb</action>
2819 </action>
2820
2821 <action>
2822 <action function="page">mount</action>
2823 <action function="set">tw_busy=0</action>
2824 </action>
2825 </page>
2826
2827 <page name="system_readonly_check">
2828 <action>
2829 <action function="checkpartitionlifetimewrites">/system</action>
2830 </action>
2831
2832 <action>
2833 <condition var1="tw_lifetime_writes" var2="1"/>
2834 <actions>
2835 <action function="mountsystemtoggle">0</action>
2836 <action function="page">mount</action>
2837 </actions>
2838 </action>
2839
2840 <action>
2841 <condition var1="tw_lifetime_writes" var2="0"/>
2842 <actions>
2843 <action function="set">tw_back=mount</action>
2844 <action function="page">system_readonly</action>
2845 </actions>
2846 </action>
2847 </page>
2848
2849 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002850 <action>
2851 <action function="checkforapp"></action>
2852 <action function="page">reboot2</action>
2853 </action>
2854 </page>
2855
2856 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002857 <template name="page"/>
2858
2859 <text style="text_l">
2860 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002861 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002862 </text>
2863
bigbiff97829df2020-12-20 12:26:15 -05002864 <listbox style="advanced_listbox">
2865 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002866
bigbiff97829df2020-12-20 12:26:15 -05002867 <listitem name="{@rb_system_btn=System}">
2868 <condition var1="tw_reboot_system" var2="1"/>
2869 <actions>
2870 <action function="set">tw_back=reboot</action>
2871 <action function="page">reboot_system_routine</action>
2872 </actions>
2873 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002874
bigbiff97829df2020-12-20 12:26:15 -05002875 <listitem name="{@rb_poweroff_btn=Power Off}">
2876 <condition var1="tw_reboot_poweroff" var2="1"/>
2877 <actions>
2878 <action function="set">tw_back=reboot</action>
2879 <action function="set">tw_action=reboot</action>
2880 <action function="set">tw_action_param=poweroff</action>
2881 <action function="set">tw_reboot_param=poweroff</action>
2882 <action function="set">tw_has_action2=0</action>
2883 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2884 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2885 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2886 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2887 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2888 <action function="page">rebootcheck</action>
2889 </actions>
2890 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002891
bigbiff97829df2020-12-20 12:26:15 -05002892 <listitem name="{@rb_recovery_btn=Recovery}">
2893 <condition var1="tw_reboot_recovery" var2="1"/>
2894 <actions>
2895 <action function="set">tw_back=reboot</action>
2896 <action function="set">tw_action=reboot</action>
2897 <action function="set">tw_action_param=recovery</action>
2898 <action function="set">tw_reboot_param=recovery</action>
2899 <action function="set">tw_has_action2=0</action>
2900 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2901 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2902 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2903 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2904 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2905 <action function="page">rebootcheck</action>
2906 </actions>
2907 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002908
bigbiff97829df2020-12-20 12:26:15 -05002909 <listitem name="{@rb_bootloader_btn=Bootloader}">
2910 <condition var1="tw_reboot_bootloader" var2="1"/>
2911 <actions>
2912 <action function="set">tw_back=reboot</action>
2913 <action function="set">tw_action=reboot</action>
2914 <action function="set">tw_action_param=bootloader</action>
2915 <action function="set">tw_reboot_param=bootloader</action>
2916 <action function="set">tw_has_action2=0</action>
2917 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2918 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2919 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2920 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2921 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2922 <action function="page">rebootcheck</action>
2923 </actions>
2924 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01002925
bigbiff97829df2020-12-20 12:26:15 -05002926 <listitem name="{@rb_download_btn=Download}">
2927 <condition var1="tw_download_mode" var2="1"/>
2928 <actions>
2929 <action function="set">tw_back=reboot</action>
2930 <action function="set">tw_action=reboot</action>
2931 <action function="set">tw_action_param=download</action>
2932 <action function="set">tw_reboot_param=download</action>
2933 <action function="set">tw_has_action2=0</action>
2934 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2935 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2936 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2937 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2938 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2939 <action function="page">rebootcheck</action>
2940 </actions>
2941 </listitem>
2942
2943 <listitem name="{@rb_edl_btn=Edl}">
2944 <condition var1="tw_edl_mode" var2="1"/>
2945 <actions>
2946 <action function="set">tw_back=reboot</action>
2947 <action function="set">tw_action=reboot</action>
2948 <action function="set">tw_action_param=edl</action>
2949 <action function="set">tw_reboot_param=edl</action>
2950 <action function="set">tw_has_action2=0</action>
2951 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2952 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2953 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2954 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2955 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2956 <action function="page">rebootcheck</action>
2957 </actions>
2958 </button>
2959 </listbox>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002960
Ethan Yonker1b190162016-12-05 15:25:19 -06002961 <text style="text_m">
2962 <condition var1="tw_has_boot_slots" var2="1"/>
bigbiff97829df2020-12-20 12:26:15 -05002963 <placement x="%center_x%" y="%row15_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06002964 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2965 </text>
2966
bigbiff97829df2020-12-20 12:26:15 -05002967 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06002968 <condition var1="tw_has_boot_slots" var2="1"/>
2969 <placement x="%indent%" y="%row19_y%"/>
2970 <text>{@boot_slot_a=Slot A}</text>
2971 <actions>
2972 <action function="set">tw_back=reboot</action>
2973 <action function="set">tw_action=setbootslot</action>
2974 <action function="set">tw_action_param=A</action>
2975 <action function="set">tw_has_action2=0</action>
2976 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2977 <action function="set">tw_action_text2=</action>
2978 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2979 <action function="page">action_page</action>
2980 </actions>
2981 </button>
2982
bigbiff97829df2020-12-20 12:26:15 -05002983 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06002984 <condition var1="tw_has_boot_slots" var2="1"/>
2985 <placement x="%center_x%" y="%row19_y%"/>
2986 <text>{@boot_slot_b=Slot B}</text>
2987 <actions>
2988 <action function="set">tw_back=reboot</action>
2989 <action function="set">tw_action=setbootslot</action>
2990 <action function="set">tw_action_param=B</action>
2991 <action function="set">tw_has_action2=0</action>
2992 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2993 <action function="set">tw_action_text2=</action>
2994 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2995 <action function="page">action_page</action>
2996 </actions>
2997 </button>
2998
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002999 <button style="main_button_half_height">
3000 <condition var1="tw_app_install_status" var2="1"/>
3001 <placement x="%indent%" y="%row22_y%"/>
3002 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
3003 <actions>
3004 <action function="set">tw_back=reboot</action>
3005 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
3006 <action function="page">installapp</action>
3007 </actions>
3008 </button>
3009
z31s1g28f0a922015-11-07 18:50:22 +01003010 <action>
3011 <touch key="home"/>
3012 <action function="page">main</action>
3013 </action>
3014
3015 <action>
3016 <touch key="back"/>
3017 <action function="page">main</action>
3018 </action>
3019 </page>
3020
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003021 <page name="installapp">
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003022 <template name="page"/>
3023
3024 <text style="text_l">
3025 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003026 <text>%tw_appinstall_title%</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003027 </text>
3028
3029 <text style="text_m">
3030 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003031 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003032 </text>
3033
3034 <text style="text_m_accent">
3035 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3036 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3037 </text>
3038
3039 <text style="text_m_accent">
3040 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3041 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3042 </text>
3043
3044 <checkbox>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003045 <condition var1="tw_mount_system_ro" var2="0"/>
3046 <placement x="%indent%" y="%row7_y%"/>
3047 <text>{@reboot_install_app_system=Install as a System App}</text>
3048 <data variable="tw_app_install_system"/>
3049 </checkbox>
3050
3051 <button style="main_button_half_height">
3052 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003053 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003054 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003055 </button>
3056
3057 <slider>
3058 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3059 <actions>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003060 <action function="set">tw_action=installapp</action>
3061 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3062 <action function="set">tw_action_text2=</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003063 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003064 <action function="page">action_page</action>
3065 </actions>
3066 </slider>
3067
3068 <action>
3069 <touch key="home"/>
3070 <actions>
3071 <action function="set">tw_app_install_status=0</action>
3072 <action function="page">main</action>
3073 </actions>
3074 </action>
3075
3076 <action>
3077 <touch key="back"/>
3078 <actions>
3079 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003080 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003081 </actions>
3082 </action>
3083 </page>
3084
z31s1g28f0a922015-11-07 18:50:22 +01003085 <page name="system_readonly">
3086 <template name="page"/>
3087
3088 <text style="text_l">
3089 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 </text>
3092
3093 <text style="text_m_accent">
3094 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003095 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003096 </text>
3097
3098 <text style="text_m">
3099 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003100 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003101 </text>
3102
3103 <text style="text_m">
3104 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 </text>
3107
3108 <text style="text_m">
3109 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003110 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003111 </text>
3112
3113 <text style="text_m">
3114 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 </text>
3117
3118 <text style="text_m_fail">
3119 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003120 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003121 </text>
3122
3123 <text style="text_m_fail">
3124 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003126 </text>
3127
3128 <checkbox>
3129 <condition var1="tw_is_encrypted" var2="0"/>
3130 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 <data variable="tw_never_show_system_ro_page"/>
3133 </checkbox>
3134
3135 <button style="main_button_half_height">
3136 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003137 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003138 <actions>
3139 <action function="mountsystemtoggle">1</action>
3140 <action function="set">tw_page_done=1</action>
3141 <action function="page">%tw_back%</action>
3142 </actions>
3143 </button>
3144
z31s1g608d7ff2016-01-18 19:47:25 +01003145 <button style="main_button_half_height">
3146 <placement x="%center_x%" y="%row18a_y%"/>
3147 <text>{@sel_lang_btn=Select Language}</text>
3148 <action function="overlay">select_language</action>
3149 </button>
3150
z31s1g28f0a922015-11-07 18:50:22 +01003151 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003152 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003153 <actions>
3154 <action function="mountsystemtoggle">0</action>
3155 <action function="set">tw_page_done=1</action>
3156 <action function="page">%tw_back%</action>
3157 </actions>
3158 </slider>
3159 </page>
3160
3161 <page name="settings">
3162 <template name="page"/>
3163
3164 <text style="text_l">
3165 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003166 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </text>
3168
3169 <text style="text_m">
3170 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </text>
3173
3174 <template name="tabs_settings"/>
3175
3176 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003178 </fill>
3179
3180 <listbox style="scrolllist">
3181 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3182 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003184 <data variable="tw_signed_zip_verify"/>
3185 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003186 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3187 <data variable="tw_install_reboot"/>
3188 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003190 <data variable="tw_rm_rf"/>
3191 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003192 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3193 <data variable="tw_disable_free_space"/>
3194 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003195 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3196 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003197 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003198 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3199 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003200 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003202 <data variable="tw_military_time"/>
3203 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003205 <data variable="tw_samsung_navbar"/>
3206 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003207 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003208 <data variable="tw_simulate_actions"/>
3209 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003211 <condition var1="tw_simulate_actions" var2="1"/>
3212 <data variable="tw_simulate_fail"/>
3213 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003214 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3215 <condition var1="tw_no_sha2" var2="0"/>
3216 <data variable="tw_use_sha2"/>
3217 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003218 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3219 <data variable="tw_unmount_system"/>
3220 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003221 </listbox>
3222
3223 <button style="main_button_half_height">
3224 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003225 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003226 <actions>
3227 <action function="set">tw_samsung_navbar=0</action>
3228 <action function="set">tw_tab_icons=0</action>
3229 <action function="restoredefaultsettings"/>
3230 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003231 </button>
3232
3233 <action>
3234 <touch key="home"/>
3235 <action function="page">main</action>
3236 </action>
3237
3238 <action>
3239 <touch key="back"/>
3240 <action function="page">main</action>
3241 </action>
3242 </page>
3243
3244 <page name="settings_timezone">
3245 <template name="page"/>
3246
3247 <text style="text_l">
3248 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003250 </text>
3251
3252 <text style="text_m">
3253 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003255 </text>
3256
3257 <template name="tabs_settings"/>
3258
3259 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003261 </fill>
3262
3263 <listbox>
3264 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3268 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3269 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3270 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3271 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3272 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3273 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3274 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3275 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3276 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3277 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3278 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3279 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3280 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3281 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3282 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3283 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3284 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3285 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3286 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3287 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3288 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3289 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3290 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </listbox>
3292
3293 <text style="text_m_accent">
3294 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <button style="button_quarter_width">
3299 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 <action function="set">tw_time_zone_guioffset=0</action>
3302 </button>
3303
3304 <button style="button_quarter_width">
3305 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003306 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003307 <action function="set">tw_time_zone_guioffset=15</action>
3308 </button>
3309
3310 <button style="button_quarter_width">
3311 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003312 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003313 <action function="set">tw_time_zone_guioffset=30</action>
3314 </button>
3315
3316 <button style="button_quarter_width">
3317 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 <action function="set">tw_time_zone_guioffset=45</action>
3320 </button>
3321
3322 <checkbox>
3323 <placement x="%indent%" y="%row18a_y%"/>
3324 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 <data variable="tw_time_zone_guidst"/>
3327 <image checked="checkbox_true" unchecked="checkbox_false"/>
3328 </checkbox>
3329
3330 <text color="%text_color%">
3331 <font resource="font_m"/>
3332 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003334 </text>
3335
3336 <button>
3337 <highlight color="%highlight_color%"/>
3338 <placement x="%center_x%" y="%row21a_y%"/>
3339 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003341 <image resource="main_button_half_height"/>
3342 <action function="setguitimezone"/>
3343 </button>
3344
3345 <action>
3346 <touch key="home"/>
3347 <action function="page">main</action>
3348 </action>
3349
3350 <action>
3351 <touch key="back"/>
3352 <action function="page">main</action>
3353 </action>
3354 </page>
3355
3356 <page name="settings_screen">
3357 <template name="page"/>
3358
3359 <text style="text_l">
3360 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </text>
3363
3364 <text style="text_m">
3365 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 </text>
3368
3369 <template name="tabs_settings"/>
3370
3371 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </fill>
3374
3375 <button>
3376 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3377 <font resource="font_m" color="%text_color%"/>
3378 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3379 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <image resource="checkbox_false"/>
3382 <action function="set">tw_screen_timeout_secs=60</action>
3383 </button>
3384
3385 <button>
3386 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3387 <font resource="font_m" color="%text_color%"/>
3388 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3389 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003390 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003391 <image resource="checkbox_true"/>
3392 <action function="set">tw_screen_timeout_secs=0</action>
3393 </button>
3394
3395 <slidervalue>
3396 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3397 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3398 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3401 </slidervalue>
3402
3403 <slidervalue>
3404 <condition var1="tw_has_brightnesss_file" var2="1"/>
3405 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <data variable="tw_brightness_pct" min="10" max="100"/>
3408 <actions>
3409 <action function="set">tw_brightness=%tw_brightness_max%</action>
3410 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3411 <action function="compute">tw_brightness/100</action>
3412 <action function="setbrightness">%tw_brightness%</action>
3413 </actions>
3414 </slidervalue>
3415
3416 <action>
3417 <touch key="home"/>
3418 <action function="page">main</action>
3419 </action>
3420
3421 <action>
3422 <touch key="back"/>
3423 <action function="page">main</action>
3424 </action>
3425 </page>
3426
3427 <page name="settings_vibration">
3428 <template name="page"/>
3429
3430 <text style="text_l">
3431 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 </text>
3434
3435 <text style="text_m">
3436 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003437 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003438 </text>
3439
3440 <template name="tabs_settings"/>
3441
3442 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003444 </fill>
3445
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003446 <text style="text_m">
3447 <condition var1="tw_disable_haptics" var2="1"/>
3448 <placement x="%indent%" y="%row4_y%"/>
3449 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3450 </text>
3451
z31s1g28f0a922015-11-07 18:50:22 +01003452 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003453 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003454 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003456 <data variable="tw_button_vibrate" min="0" max="300"/>
3457 </slidervalue>
3458
3459 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003460 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003462 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003463 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3464 </slidervalue>
3465
3466 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003467 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003468 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <data variable="tw_action_vibrate" min="0" max="500"/>
3471 </slidervalue>
3472
3473 <action>
3474 <touch key="home"/>
3475 <action function="page">main</action>
3476 </action>
3477
3478 <action>
3479 <touch key="back"/>
3480 <action function="page">main</action>
3481 </action>
3482 </page>
3483
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <page name="settings_language">
3485 <template name="page"/>
3486
3487 <text style="text_l">
3488 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3489 <text>{@settings_hdr=Settings}</text>
3490 </text>
3491
3492 <text style="text_m">
3493 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3494 <text>{@language_hdr=Language - %tw_language_display%}</text>
3495 </text>
3496
3497 <template name="tabs_settings"/>
3498
3499 <fill color="%text_color%">
3500 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3501 </fill>
3502
3503 <listbox>
3504 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3505 <text>{@select_language=Select Language:}</text>
3506 <icon selected="radio_true" unselected="radio_false" />
3507 <data name="tw_language" />
3508 </listbox>
3509
3510 <button style="main_button_half_height">
3511 <placement x="%center_x%" y="%row21a_y%"/>
3512 <text>{@set_language_btn=Set Language}</text>
3513 <action function="setlanguage"></action>
3514 </button>
3515
3516 <action>
3517 <touch key="home" />
3518 <action function="page">main</action>
3519 </action>
3520
3521 <action>
3522 <touch key="back" />
3523 <action function="page">settings</action>
3524 </action>
3525 </page>
3526
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003527 <page name="copylog">
3528 <template name="page"/>
3529
3530 <text style="text_l">
3531 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3532 <text>{@copying_log=Copy Logs to SD Card}</text>
3533 </text>
3534
3535 <checkbox>
3536 <placement x="%indent%" y="%row4_y%"/>
3537 <text>{@include_kernel_log=Include Kernel Log}</text>
3538 <data variable="tw_include_kernel_log" value="1"/>
3539 </checkbox>
3540
3541 <slider>
3542 <text>{@copying_log=Copy Logs to SD Card}</text>
3543 <actions>
3544 <action function="set">tw_back=advanced</action>
3545 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003546 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3547 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003548 <action function="page">action_page</action>
3549 </actions>
3550 </slider>
3551
3552 <action>
3553 <touch key="home"/>
3554 <action function="page">main</action>
3555 </action>
3556
3557 <action>
3558 <touch key="back"/>
3559 <actions>
3560 <action function="page">advanced</action>
3561 </actions>
3562 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003563 </page>
3564
z31s1g28f0a922015-11-07 18:50:22 +01003565 <page name="advanced">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003566 <action>
3567 <action function="checkforapp"></action>
3568 <action function="page">advanced1</action>
3569 </action>
3570 </page>
3571
3572 <page name="advanced1">
z31s1g28f0a922015-11-07 18:50:22 +01003573 <template name="page"/>
3574
3575 <text style="text_l">
3576 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003577 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003578 </text>
3579
3580 <button style="main_button">
3581 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003583 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003584 </button>
3585
3586 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003587 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003588 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003589 <text>{@adb_sideload_btn=ADB Sideload}</text>
3590 <action function="page">sideload</action>
z31s1g28f0a922015-11-07 18:50:22 +01003591 </button>
3592
3593 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003594 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003595 <text>{@terminal_btn=Terminal}</text>
3596 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003597 </button>
3598
3599 <button style="main_button">
3600 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003601 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003602 <action function="page">filemanagerlist</action>
3603 </button>
3604
Ethan Yonker64e0a652018-07-25 09:52:17 -05003605 <listbox style="advanced_listbox">
3606 <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003607 <listitem name="{@decrypt_users=Decrypt Users}">
3608 <conditions>
3609 <condition var1="tw_is_fbe" var2="1"/>
3610 <condition var1="tw_all_users_decrypted" var2="0"/>
3611 </conditions>
3612 <actions>
3613 <action function="set">tw_crypto_user_id=</action>
3614 <action function="page">decrypt_users</action>
3615 </actions>
3616 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003617 <listitem name="{@reload_theme_btn=Reload Theme}">
3618 <action function="reload"/>
3619 </listitem>
3620 <listitem name="{@part_sd_btn=Partition SD Card}">
3621 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3622 <actions>
3623 <action function="set">partitionlisterror=0</action>
3624 <action function="page">partsdcardsel</action>
3625 </actions>
3626 </listitem>
3627 <listitem name="{@fix_context_btn=Fix Contexts}">
3628 <condition var1="tw_has_data_media" var2="1"/>
3629 <action function="page">fixcontexts</action>
3630 </listitem>
3631 <listitem name="{@dumlock_btn=HTC Dumlock}">
3632 <condition var1="tw_show_dumlock" var2="1"/>
3633 <action function="page">htcdumlock</action>
3634 </listitem>
3635 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3636 <condition var1="tw_has_injecttwrp" var2="1"/>
3637 <actions>
3638 <action function="set">tw_back=advanced</action>
3639 <action function="set">tw_action=reinjecttwrp</action>
3640 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3641 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3642 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3643 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3644 <action function="page">confirm_action</action>
3645 </actions>
3646 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003647 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3648 <conditions>
3649 <condition var1="tw_has_boot_slots" var2="1"/>
3650 <condition var1="tw_has_repack_tools" var2="1"/>
3651 </conditions>
3652 <actions>
3653 <action function="set">tw_repack_kernel=0</action>
3654 <action function="page">repackselect</action>
3655 </actions>
3656 </listitem>
3657 <listitem name="{@install_kernel=Install Kernel}">
3658 <conditions>
3659 <condition var1="tw_has_boot_slots" var2="1"/>
3660 <condition var1="tw_has_repack_tools" var2="1"/>
3661 </conditions>
3662 <actions>
3663 <action function="set">tw_repack_kernel=1</action>
3664 <action function="page">repackselect</action>
3665 </actions>
3666 </listitem>
3667 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3668 <conditions>
3669 <condition var1="tw_has_boot_slots" var2="1"/>
3670 <condition var1="tw_has_repack_tools" var2="1"/>
3671 </conditions>
3672 <actions>
3673 <action function="set">tw_back=advanced</action>
3674 <action function="set">tw_action=fixabrecoverybootloop</action>
3675 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3676 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3677 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3678 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3679 <action function="page">confirm_action</action>
3680 </actions>
3681 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003682 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3683 <condition var1="tw_app_install_status" var2="1"/>
3684 <actions>
3685 <action function="set">tw_back=advanced</action>
3686 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3687 <action function="page">installapp</action>
3688 </actions>
3689 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003690 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3691 <condition var1="tw_app_installed_in_system" var2="1"/>
3692 <actions>
3693 <action function="set">tw_back=advanced</action>
3694 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3695 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3696 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3697 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3698 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3699 <action function="page">confirm_action</action>
3700 </actions>
3701 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003702 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003703
3704 <action>
3705 <touch key="home"/>
3706 <action function="page">main</action>
3707 </action>
3708
3709 <action>
3710 <touch key="back"/>
3711 <action function="page">main</action>
3712 </action>
3713 </page>
3714
Ethan Yonker483e9f42016-01-11 22:21:18 -06003715 <page name="partsdcardsel">
3716 <template name="page"/>
3717
3718 <text style="text_l">
3719 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3720 <text>{@advanced_hdr=Advanced}</text>
3721 </text>
3722
3723 <text style="text_m">
3724 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3725 <text>{@part_sd_hdr=Partition SD Card}</text>
3726 </text>
3727
z31s1g782e1c92016-01-30 16:50:09 +01003728 <partitionlist>
3729 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003730 <text>{@sel_storage_list=Select Storage}</text>
3731 <data name="tw_storage_path"/>
3732 <listtype name="storage"/>
3733 </partitionlist>
3734
3735 <text style="text_m_fail">
3736 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003737 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003738 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3739 </text>
3740
z31s1g782e1c92016-01-30 16:50:09 +01003741 <button style="main_button_half_height">
3742 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003743 <text>{@ok_btn=OK}</text>
3744 <actions>
3745 <action function="getpartitiondetails">tw_storage_path</action>
3746 <action function="page">partsdcardcheck</action>
3747 </actions>
3748 </button>
3749
3750 <action>
3751 <touch key="home"/>
3752 <action function="page">main</action>
3753 </action>
3754
3755 <action>
3756 <touch key="back"/>
3757 <action function="page">advanced</action>
3758 </action>
3759 </page>
3760
3761 <page name="partsdcardcheck">
3762 <action>
3763 <condition var1="tw_partition_removable" op="=" var2="1"/>
3764 <actions>
3765 <action function="set">partitionlisterror=0</action>
3766 <action function="page">partsdcard</action>
3767 </actions>
3768 </action>
3769
3770 <action>
3771 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3772 <actions>
3773 <action function="set">partitionlisterror=1</action>
3774 <action function="page">partsdcardsel</action>
3775 </actions>
3776 </action>
3777 </page>
3778
z31s1g28f0a922015-11-07 18:50:22 +01003779 <page name="partsdcard">
3780 <template name="page"/>
3781
3782 <text style="text_l">
3783 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003785 </text>
3786
3787 <text style="text_m">
3788 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003789 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003790 </text>
3791
3792 <text style="text_m_fail">
3793 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003794 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003795 </text>
3796
3797 <text style="text_m_fail">
3798 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003800 </text>
3801
3802 <text style="text_m_accent">
3803 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003805 </text>
3806
3807 <text style="text_m">
3808 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3809 <text>%tw_sdext_size%</text>
3810 </text>
3811
3812 <button style="button_quarter_width">
3813 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003814 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003815 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003816 </button>
3817
3818 <button style="button_quarter_width">
3819 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003821 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 </button>
3823
3824 <text style="text_m_accent">
3825 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003826 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003827 </text>
3828
3829 <text style="text_m">
3830 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3831 <text>%tw_swap_size%</text>
3832 </text>
3833
3834 <button style="button_quarter_width">
3835 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003836 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003837 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003838 </button>
3839
3840 <button style="button_quarter_width">
3841 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003842 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003843 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003844 </button>
3845
3846 <text style="text_m_accent">
3847 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <text style="text_m">
3852 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3853 <text>%tw_sdpart_file_system%</text>
3854 </text>
3855
3856 <button style="button_quarter_width">
3857 <placement x="%indent%" y="%row14_y%"/>
3858 <text>EXT3</text>
3859 <action function="set">tw_sdpart_file_system=ext3</action>
3860 </button>
3861
3862 <button style="button_quarter_width">
3863 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3864 <text>EXT4</text>
3865 <action function="set">tw_sdpart_file_system=ext4</action>
3866 </button>
3867
3868 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 <action function="page">partsdcardaction</action>
3871 <actions>
3872 <action function="set">tw_back=partsdcard</action>
3873 <action function="set">tw_action=partitionsd</action>
3874 <action function="set">tw_has_action2=1</action>
3875 <action function="set">tw_action2=set</action>
3876 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003877 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3878 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3879 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003880 <action function="page">action_page</action>
3881 </actions>
3882 </slider>
3883
3884 <action>
3885 <touch key="home"/>
3886 <action function="page">main</action>
3887 </action>
3888
3889 <action>
3890 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003891 <actions>
3892 <action function="set">partitionlisterror=0</action>
3893 <action function="page">partsdcardsel</action>
3894 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003895 </action>
3896 </page>
3897
3898 <page name="htcdumlock">
3899 <template name="page"/>
3900
3901 <text style="text_l">
3902 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003903 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003904 </text>
3905
3906 <text style="text_m">
3907 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003909 </text>
3910
3911 <button style="main_button_half_height_full_width">
3912 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003914 <actions>
3915 <action function="set">tw_back=htcdumlock</action>
3916 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003917 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3918 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3919 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3920 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003921 <action function="page">confirm_action</action>
3922 </actions>
3923 </button>
3924
3925 <button style="main_button_half_height_full_width">
3926 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003928 <actions>
3929 <action function="set">tw_back=htcdumlock</action>
3930 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3932 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3933 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3934 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003935 <action function="page">confirm_action</action>
3936 </actions>
3937 </button>
3938
3939 <button style="main_button_half_height_full_width">
3940 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <actions>
3943 <action function="set">tw_back=htcdumlock</action>
3944 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3946 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3947 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3948 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003949 <action function="page">confirm_action</action>
3950 </actions>
3951 </button>
3952
3953 <action>
3954 <touch key="home"/>
3955 <action function="page">main</action>
3956 </action>
3957
3958 <action>
3959 <touch key="back"/>
3960 <action function="page">advanced</action>
3961 </action>
3962 </page>
3963
Ethan Yonker53796e72019-01-11 22:49:52 -06003964 <page name="repackselect">
3965 <template name="page"/>
3966
3967 <text style="text_l">
3968 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3969 <text>{@repack_image_hdr=Select Image}</text>
3970 </text>
3971
3972 <text style="text_m">
3973 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3974 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3975 </text>
3976
3977 <template name="sort_options"/>
3978
3979 <fileselector>
3980 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
3981 <text>%tw_zip_location%</text>
3982 <filter extn=".img" folders="1" files="1"/>
3983 <path name="tw_zip_location" default="/sdcard"/>
3984 <data name="tw_filename"/>
3985 <selection name="tw_file"/>
3986 </fileselector>
3987
3988 <button style="main_button_half_height">
3989 <placement x="%indent%" y="%row21a_y%"/>
3990 <text>{@select_storage_btn=Select Storage}</text>
3991 <actions>
3992 <action function="set">tw_back=repackselect</action>
3993 <action function="overlay">select_storage</action>
3994 </actions>
3995 </button>
3996
3997 <action>
3998 <conditions>
3999 <condition var1="tw_filename" op="modified"/>
4000 </conditions>
4001 <action function="page">repackconfirm</action>
4002 </action>
4003
4004 <action>
4005 <touch key="back"/>
4006 <action function="page">advanced</action>
4007 </action>
4008
4009 <action>
4010 <touch key="home"/>
4011 <action function="page">main</action>
4012 </action>
4013 </page>
4014
4015 <page name="repackconfirm">
4016 <template name="page"/>
4017
4018 <text style="text_l">
4019 <condition var1="tw_repack_kernel" var2="1"/>
4020 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4021 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4022 </text>
4023
4024 <text style="text_l">
4025 <condition var1="tw_repack_kernel" var2="0"/>
4026 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4027 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4028 </text>
4029
4030 <text style="text_m">
4031 <condition var1="tw_repack_kernel" var2="1"/>
4032 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4033 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4034 </text>
4035
4036 <text style="text_m">
4037 <condition var1="tw_repack_kernel" var2="0"/>
4038 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4039 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4040 </text>
4041
4042 <text style="text_m_accent">
4043 <placement x="%indent%" y="%row2_y%"/>
4044 <text>{@folder=Folder:}</text>
4045 </text>
4046
4047 <text style="text_m">
4048 <placement x="%indent%" y="%row3_y%"/>
4049 <text>%tw_zip_location%</text>
4050 </text>
4051
4052 <text style="text_m_accent">
4053 <placement x="%indent%" y="%row4_y%"/>
4054 <text>{@file=File:}</text>
4055 </text>
4056
4057 <text style="text_m">
4058 <placement x="%indent%" y="%row5_y%"/>
4059 <text>%tw_file%</text>
4060 </text>
4061
4062 <checkbox>
4063 <placement x="%indent%" y="%row7_y%"/>
4064 <text>{@repack_backup_first=Back up existing image first}</text>
4065 <data variable="tw_repack_backup_first"/>
4066 </checkbox>
4067
4068 <button style="main_button_half_height">
4069 <placement x="%indent%" y="%row16_y%"/>
4070 <text>{@install_cancel=Do not Install}</text>
4071 <action function="page">repackselect</action>
4072 </button>
4073
4074 <slider>
4075 <text>{@swipe_to_install=Swipe to Install}</text>
4076 <actions>
4077 <action function="set">tw_back=advanced</action>
4078 <action function="set">tw_action=repackimage</action>
4079 <action function="set">tw_action_param=/boot</action>
4080 <action function="set">tw_action_text1={@installing=Installing...}</action>
4081 <action function="set">tw_action_text2=</action>
4082 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4083 <action function="page">action_page</action>
4084 </actions>
4085 </slider>
4086
4087 <action>
4088 <touch key="back"/>
4089 <action function="page">repackselect</action>
4090 </action>
4091
4092 <action>
4093 <touch key="home"/>
4094 <action function="page">main</action>
4095 </action>
4096 </page>
4097
z31s1g28f0a922015-11-07 18:50:22 +01004098 <page name="lock">
4099 <background color="%semi_transparent%"/>
4100
4101 <image>
4102 <image resource="unlock_icon"/>
4103 <placement x="%center_x%" y="%row10_y%" placement="4"/>
4104 </image>
4105
4106 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 <action function="overlay"/>
4109 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004110
4111 <action>
4112 <touch key="power"/>
4113 <action function="togglebacklight"/>
4114 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004115 </page>
4116
4117 <page name="filemanagerlist">
4118 <template name="page"/>
4119
4120 <text style="text_l">
4121 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004122 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004123 </text>
4124
4125 <text style="text_m">
4126 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004127 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004128 </text>
4129
4130 <template name="sort_options"/>
4131
4132 <fileselector>
4133 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4134 <text>%tw_file_location1%</text>
4135 <filter folders="1" files="1"/>
4136 <path name="tw_file_location1" default="/"/>
4137 <data name="tw_filename1"/>
4138 <selection name="tw_selection1"/>
4139 </fileselector>
4140
4141 <button style="fab">
4142 <image resource="fab_selectfolder"/>
4143 <actions>
4144 <action function="set">tw_filename1=tw_file_location1</action>
4145 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004147 <action function="page">filemanageroptions</action>
4148 </actions>
4149 </button>
4150
4151 <action>
4152 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004154 <action function="set">tw_fm_isfolder=0</action>
4155 </actions>
4156 </action>
4157
4158 <action>
4159 <touch key="home"/>
4160 <action function="page">main</action>
4161 </action>
4162
4163 <action>
4164 <touch key="back"/>
4165 <action function="page">advanced</action>
4166 </action>
4167
4168 <action>
4169 <condition var1="tw_filename1" op="modified"/>
4170 <action function="page">filemanageroptions</action>
4171 </action>
4172 </page>
4173
4174 <page name="filemanageroptions">
4175 <template name="page"/>
4176
4177 <text style="text_l">
4178 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004180 </text>
4181
4182 <text style="text_m">
4183 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004184 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004185 </text>
4186
4187 <text style="text_m_accent">
4188 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004189 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004190 </text>
4191
4192 <text style="text_m">
4193 <placement x="%indent%" y="%row3_y%"/>
4194 <text>%tw_filename1%</text>
4195 </text>
4196
4197 <button style="main_button_half_height">
4198 <condition var1="tw_fm_isfolder" var2="0"/>
4199 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 <actions>
4202 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004203 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004204 <action function="page">choosedestinationfolder</action>
4205 </actions>
4206 </button>
4207
4208 <button style="main_button_half_height">
4209 <condition var1="tw_fm_isfolder" var2="1"/>
4210 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004211 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004212 <actions>
4213 <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 -05004214 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004215 <action function="page">choosedestinationfolder</action>
4216 </actions>
4217 </button>
4218
4219 <button style="main_button_half_height">
4220 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004221 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004222 <actions>
4223 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004224 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004225 <action function="page">choosedestinationfolder</action>
4226 </actions>
4227 </button>
4228
4229 <button style="main_button_half_height">
4230 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004231 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 <actions>
4233 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004234 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004235 <action function="set">tw_fm_text2=</action>
4236 <action function="set">tw_fm_text3=</action>
4237 <action function="set">tw_include_text3=0</action>
4238 <action function="set">tw_back=filemanageroptions</action>
4239 <action function="page">filemanagerconfirm</action>
4240 </actions>
4241 </button>
4242
4243 <button style="main_button_half_height">
4244 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004245 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004246 <actions>
4247 <action function="set">tw_filemanager_rename=0000</action>
4248 <action function="set">tw_fm_text2=</action>
4249 <action function="set">tw_fm_text3=</action>
4250 <action function="set">tw_include_text3=0</action>
4251 <action function="set">tw_back=filemanageroptions</action>
4252 <action function="page">filemanagerchmod</action>
4253 </actions>
4254 </button>
4255
4256 <button style="main_button_half_height">
4257 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 <actions>
4260 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004261 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004262 <action function="set">tw_fm_text2=</action>
4263 <action function="set">tw_fm_text3=</action>
4264 <action function="set">tw_include_text3=0</action>
4265 <action function="set">tw_back=filemanageroptions</action>
4266 <action function="page">filemanagerconfirm</action>
4267 </actions>
4268 </button>
4269
4270 <button style="main_button_half_height">
4271 <condition var1="tw_fm_isfolder" var2="0"/>
4272 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004274 <actions>
4275 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004276 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004277 <action function="set">tw_filemanager_command=mv</action>
4278 <action function="page">filemanagerrenamefile</action>
4279 </actions>
4280 </button>
4281
4282 <button style="main_button_half_height">
4283 <condition var1="tw_fm_isfolder" var2="1"/>
4284 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 <actions>
4287 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004288 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004289 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4290 <action function="page">filemanagerrenamefolder</action>
4291 </actions>
4292 </button>
4293
4294 <action>
4295 <touch key="home"/>
4296 <action function="page">main</action>
4297 </action>
4298
4299 <action>
4300 <touch key="back"/>
4301 <action function="page">filemanagerlist</action>
4302 </action>
4303 </page>
4304
4305 <page name="choosedestinationfolder">
4306 <template name="page"/>
4307
4308 <text style="text_l">
4309 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 </text>
4312
4313 <text style="text_m">
4314 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 </text>
4317
4318 <template name="sort_options"/>
4319
4320 <fileselector>
4321 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4322 <text>%tw_file_location2%</text>
4323 <filter folders="1" files="0"/>
4324 <path name="tw_file_location2" default="/"/>
4325 <data name="tw_filename2"/>
4326 <selection name="tw_selection2"/>
4327 </fileselector>
4328
4329 <button style="fab">
4330 <image resource="fab_selectfolder"/>
4331 <actions>
4332 <action function="set">tw_fm_text2=to</action>
4333 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4334 <action function="set">tw_include_text3=1</action>
4335 <action function="set">tw_back=filemanageroptions</action>
4336 <action function="page">filemanagerconfirm</action>
4337 </actions>
4338 </button>
4339
4340 <action>
4341 <touch key="home"/>
4342 <action function="page">main</action>
4343 </action>
4344
4345 <action>
4346 <touch key="back"/>
4347 <action function="page">filemanageroptions</action>
4348 </action>
4349 </page>
4350
4351 <page name="filemanagerrenamefile">
4352 <template name="page"/>
4353
4354 <text style="text_l">
4355 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 </text>
4358
4359 <text style="text_m">
4360 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 </text>
4363
4364 <text style="text_m_accent">
4365 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </text>
4368
4369 <input>
4370 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4371 <text>%tw_filemanager_rename%</text>
4372 <data name="tw_filemanager_rename"/>
4373 <restrict minlen="1" maxlen="128"/>
4374 <actions>
4375 <action function="set">tw_fm_text2=to</action>
4376 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4377 <action function="set">tw_include_text3=1</action>
4378 <action function="set">tw_back=filemanageroptions</action>
4379 <action function="page">filemanagerconfirm</action>
4380 </actions>
4381 </input>
4382
4383 <fill color="%accent_color%">
4384 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4385 </fill>
4386
4387 <button style="main_button_half_height">
4388 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004389 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 <action function="page">filemanageroptions</action>
4391 </button>
4392
4393 <template name="keyboardtemplate"/>
4394
4395 <action>
4396 <touch key="home"/>
4397 <action function="page">main</action>
4398 </action>
4399
4400 <action>
4401 <touch key="back"/>
4402 <action function="page">filemanageroptions</action>
4403 </action>
4404 </page>
4405
4406 <page name="filemanagerrenamefolder">
4407 <template name="page"/>
4408
4409 <text style="text_l">
4410 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 </text>
4413
4414 <text style="text_m">
4415 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 </text>
4418
4419 <text style="text_m_accent">
4420 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004421 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004422 </text>
4423
4424 <input>
4425 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4426 <text>%tw_filemanager_rename%</text>
4427 <data name="tw_filemanager_rename"/>
4428 <restrict minlen="1" maxlen="128"/>
4429 <actions>
4430 <action function="set">tw_fm_text2=to</action>
4431 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4432 <action function="set">tw_include_text3=1</action>
4433 <action function="set">tw_back=filemanageroptions</action>
4434 <action function="page">filemanagerconfirm</action>
4435 </actions>
4436 </input>
4437
4438 <fill color="%accent_color%">
4439 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4440 </fill>
4441
4442 <button style="main_button_half_height">
4443 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004444 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004445 <action function="page">filemanageroptions</action>
4446 </button>
4447
4448 <template name="keyboardtemplate"/>
4449
4450 <action>
4451 <touch key="home"/>
4452 <action function="page">main</action>
4453 </action>
4454
4455 <action>
4456 <touch key="back"/>
4457 <action function="page">filemanageroptions</action>
4458 </action>
4459 </page>
4460
4461 <page name="filemanagerchmod">
4462 <template name="page"/>
4463
4464 <text style="text_l">
4465 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <text style="text_m">
4470 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004471 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004472 </text>
4473
4474 <text style="text_m_accent">
4475 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004476 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004477 </text>
4478
4479 <input>
4480 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4481 <text>%tw_filemanager_rename%</text>
4482 <data name="tw_filemanager_rename"/>
4483 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4484 <actions>
4485 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4486 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4487 <action function="set">tw_back=filemanageroptions</action>
4488 <action function="page">filemanagerconfirm</action>
4489 </actions>
4490 </input>
4491
4492 <fill color="%accent_color%">
4493 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4494 </fill>
4495
4496 <button style="main_button_half_height">
4497 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004499 <action function="page">filemanageroptions</action>
4500 </button>
4501
4502 <template name="keyboardtemplate"/>
4503
4504 <action>
4505 <touch key="home"/>
4506 <action function="page">main</action>
4507 </action>
4508
4509 <action>
4510 <touch key="back"/>
4511 <action function="page">filemanageroptions</action>
4512 </action>
4513 </page>
4514
4515 <page name="filemanagerconfirm">
4516 <template name="page"/>
4517
4518 <text style="text_l">
4519 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004520 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004521 </text>
4522
4523 <text style="text_m">
4524 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004525 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004526 </text>
4527
4528 <text style="text_m_accent">
4529 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4530 <text>%tw_fm_text1%</text>
4531 </text>
4532
4533 <text style="text_m">
4534 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4535 <text>%tw_filename1%</text>
4536 </text>
4537
4538 <text style="text_m_accent">
4539 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4540 <text>%tw_fm_text2%</text>
4541 </text>
4542
4543 <text style="text_m">
4544 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4545 <text>%tw_fm_text3%</text>
4546 </text>
4547
4548 <text style="text_m">
4549 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004554 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004555 <action function="page">filemanageraction</action>
4556 </slider>
4557
4558 <action>
4559 <touch key="back"/>
4560 <action function="page">%tw_back%</action>
4561 </action>
4562
4563 <action>
4564 <touch key="home"/>
4565 <action function="page">main</action>
4566 </action>
4567 </page>
4568
4569 <page name="filemanageraction">
4570 <template name="page"/>
4571
4572 <text style="text_l">
4573 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 </text>
4576
4577 <text style="text_m">
4578 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4579 <text>%tw_fm_text1%</text>
4580 </text>
4581
4582 <template name="console"/>
4583
4584 <template name="progress_bar"/>
4585
4586 <action>
4587 <conditions>
4588 <condition var1="tw_operation_state" var2="1"/>
4589 <condition var1="tw_operation_status" var2="0"/>
4590 </conditions>
4591 <actions>
4592 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004594 <action function="page">action_complete</action>
4595 </actions>
4596 </action>
4597
4598 <action>
4599 <conditions>
4600 <condition var1="tw_operation_state" var2="1"/>
4601 <condition var1="tw_operation_status" op="!=" var2="0"/>
4602 </conditions>
4603 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004605 <action function="page">action_complete</action>
4606 </actions>
4607 </action>
4608
4609 <action>
4610 <condition var1="tw_include_text3" var2="0"/>
4611 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4612 </action>
4613
4614 <action>
4615 <condition var1="tw_include_text3" var2="1"/>
4616 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4617 </action>
4618 </page>
4619
4620 <page name="decrypt">
4621 <template name="page"/>
4622
4623 <action>
4624 <condition var1="tw_crypto_pwtype" var2="2"/>
4625 <action function="page">decrypt_pattern</action>
4626 </action>
4627
4628 <text style="text_l">
4629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 </text>
4632
4633 <text style="text_m">
4634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004635 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004636 </text>
4637
4638 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004639 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004640 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 </text>
4643
Noah Jacobson5a79f672019-04-28 00:10:07 -04004644 <text style="text_m_accent">
4645 <condition var1="tw_is_fbe" var2="1"/>
4646 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4647 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4648 </text>
4649
z31s1g28f0a922015-11-07 18:50:22 +01004650 <input>
4651 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4652 <text>%tw_crypto_display%</text>
4653 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4654 <restrict minlen="1" maxlen="254"/>
4655 <action function="page">trydecrypt</action>
4656 </input>
4657
4658 <fill color="%accent_color%">
4659 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4660 </fill>
4661
4662 <fill color="%text_fail_color%">
4663 <condition var1="tw_password_fail" var2="1"/>
4664 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4665 </fill>
4666
4667 <text style="text_m_fail">
4668 <condition var1="tw_password_fail" var2="1"/>
4669 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004670 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004671 </text>
4672
4673 <button style="main_button_half_height">
4674 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004675 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004676 <actions>
4677 <action function="set">tw_page_done=1</action>
4678 <action function="page">main</action>
4679 </actions>
4680 </button>
4681
z31s1g608d7ff2016-01-18 19:47:25 +01004682 <button style="main_button_half_height">
4683 <placement x="%center_x%" y="%row10_y%"/>
4684 <text>{@sel_lang_btn=Select Language}</text>
4685 <action function="overlay">select_language</action>
4686 </button>
4687
z31s1g28f0a922015-11-07 18:50:22 +01004688 <template name="keyboardtemplate"/>
4689 </page>
4690
4691 <page name="decrypt_pattern">
4692 <template name="page"/>
4693
4694 <text style="text_l">
4695 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004696 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004697 </text>
4698
4699 <text style="text_m">
4700 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
4704 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004705 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004706 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 </text>
4709
Noah Jacobson5a79f672019-04-28 00:10:07 -04004710 <text style="text_m_accent">
4711 <condition var1="tw_is_fbe" var2="1"/>
4712 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4713 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
4714 </text>
4715
Aleksa Saraib25a1832015-12-31 17:36:00 +01004716 <text style="text_m_fail">
4717 <condition var1="tw_password_fail" var2="1"/>
4718 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004719 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004720 </text>
4721
z31s1g28f0a922015-11-07 18:50:22 +01004722 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004723 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004724 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4725 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4726 <data name="tw_crypto_password"/>
4727 <action function="page">trydecrypt</action>
4728 </patternpassword>
4729
Aleksa Saraib25a1832015-12-31 17:36:00 +01004730 <button style="button_quarter_width">
4731 <placement x="%indent%" y="%row19a_y%"/>
4732 <text>3x3</text>
4733 <action function="set">tw_gui_pattern_grid_size=3</action>
4734 </button>
4735
4736 <button style="button_quarter_width">
4737 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4738 <text>4x4</text>
4739 <action function="set">tw_gui_pattern_grid_size=4</action>
4740 </button>
4741
4742 <button style="button_quarter_width">
4743 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4744 <text>5x5</text>
4745 <action function="set">tw_gui_pattern_grid_size=5</action>
4746 </button>
4747
4748 <button style="button_quarter_width">
4749 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4750 <text>6x6</text>
4751 <action function="set">tw_gui_pattern_grid_size=6</action>
4752 </button>
4753
z31s1g28f0a922015-11-07 18:50:22 +01004754 <button style="main_button_half_height">
4755 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004756 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004757 <actions>
4758 <action function="set">tw_page_done=1</action>
4759 <action function="page">main</action>
4760 </actions>
4761 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004762
4763 <button style="main_button_half_height">
4764 <placement x="%center_x%" y="%row21a_y%"/>
4765 <text>{@sel_lang_btn=Select Language}</text>
4766 <action function="overlay">select_language</action>
4767 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004768 </page>
4769
4770 <page name="trydecrypt">
4771 <template name="page"/>
4772
4773 <text style="text_l">
4774 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004775 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004776 </text>
4777
4778 <text style="text_m">
4779 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004780 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004781 </text>
4782
4783 <template name="console"/>
4784
4785 <template name="progress_bar"/>
4786
4787 <action>
4788 <action function="decrypt"/>
4789 </action>
4790
4791 <action>
4792 <conditions>
4793 <condition var1="tw_operation_state" var2="1"/>
4794 <condition var1="tw_operation_status" op="!=" var2="0"/>
4795 </conditions>
4796 <actions>
4797 <action function="set">tw_password_fail=1</action>
4798 <action function="page">decrypt</action>
4799 </actions>
4800 </action>
4801
4802 <action>
4803 <conditions>
4804 <condition var1="tw_operation_state" var2="1"/>
4805 <condition var1="tw_operation_status" op="=" var2="0"/>
4806 </conditions>
4807 <actions>
4808 <action function="set">tw_page_done=1</action>
4809 <action function="page">main</action>
4810 </actions>
4811 </action>
4812 </page>
4813
z31s1g28f0a922015-11-07 18:50:22 +01004814 <page name="terminalcommand">
4815 <template name="page"/>
4816
z31s1g56189522016-01-13 19:12:40 +01004817 <fill color="%background_color%">
4818 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004819 </fill>
4820
z31s1g56189522016-01-13 19:12:40 +01004821 <terminal>
4822 <condition var1="tw_hide_kb" var2="0"/>
4823 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4824 </terminal>
4825
4826 <terminal>
4827 <condition var1="tw_hide_kb" var2="1"/>
4828 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4829 </terminal>
4830
4831 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004832
4833 <template name="keyboardtemplate"/>
4834
z31s1g608d7ff2016-01-18 19:47:25 +01004835 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004836 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004837 </fill>
z31s1g56189522016-01-13 19:12:40 +01004838
z31s1g608d7ff2016-01-18 19:47:25 +01004839 <button>
z31s1g56189522016-01-13 19:12:40 +01004840 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4841 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4842 <image resource="back" />
4843 <condition var1="tw_busy" var2="0" />
4844 <actions>
4845 <action function="set">tw_hide_kb=0</action>
4846 <action function="key">back</action>
4847 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004848 </button>
z31s1g56189522016-01-13 19:12:40 +01004849
z31s1g608d7ff2016-01-18 19:47:25 +01004850 <button>
z31s1g56189522016-01-13 19:12:40 +01004851 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4852 <condition var1="tw_hide_kb" op="=" var2="0" />
4853 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4854 <image resource="kb_hide" />
4855 <condition var1="tw_busy" var2="0" />
4856 <actions>
4857 <action function="set">tw_hide_kb=1</action>
4858 <action function="page">terminalcommand</action>
4859 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004860 </button>
z31s1g56189522016-01-13 19:12:40 +01004861
z31s1g608d7ff2016-01-18 19:47:25 +01004862 <button>
z31s1g56189522016-01-13 19:12:40 +01004863 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4864 <condition var1="tw_hide_kb" op="=" var2="1" />
4865 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4866 <image resource="kb_show" />
4867 <condition var1="tw_busy" var2="0" />
4868 <actions>
4869 <action function="set">tw_hide_kb=0</action>
4870 <action function="page">terminalcommand</action>
4871 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004872 </button>
z31s1g56189522016-01-13 19:12:40 +01004873
z31s1g608d7ff2016-01-18 19:47:25 +01004874 <button>
z31s1g56189522016-01-13 19:12:40 +01004875 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4876 <image resource="home" />
4877 <condition var1="tw_busy" var2="0" />
4878 <actions>
4879 <action function="set">tw_hide_kb=0</action>
4880 <action function="key">home</action>
4881 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004882 </button>
z31s1g56189522016-01-13 19:12:40 +01004883
z31s1g608d7ff2016-01-18 19:47:25 +01004884 <button>
z31s1g56189522016-01-13 19:12:40 +01004885 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4886 <condition var1="tw_hide_kb" op="=" var2="0" />
4887 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4888 <image resource="kb_hide" />
4889 <condition var1="tw_busy" var2="0" />
4890 <actions>
4891 <action function="set">tw_hide_kb=1</action>
4892 <action function="page">terminalcommand</action>
4893 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004894 </button>
z31s1g56189522016-01-13 19:12:40 +01004895
z31s1g608d7ff2016-01-18 19:47:25 +01004896 <button>
z31s1g56189522016-01-13 19:12:40 +01004897 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4898 <condition var1="tw_hide_kb" op="=" var2="1" />
4899 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4900 <image resource="kb_show" />
4901 <condition var1="tw_busy" var2="0" />
4902 <actions>
4903 <action function="set">tw_hide_kb=0</action>
4904 <action function="page">terminalcommand</action>
4905 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004906 </button>
z31s1g56189522016-01-13 19:12:40 +01004907
z31s1g608d7ff2016-01-18 19:47:25 +01004908 <button>
z31s1g56189522016-01-13 19:12:40 +01004909 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4910 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4911 <image resource="back" />
4912 <condition var1="tw_busy" var2="0" />
4913 <actions>
4914 <action function="set">tw_hide_kb=0</action>
4915 <action function="key">back</action>
4916 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004917 </button>
z31s1g56189522016-01-13 19:12:40 +01004918
z31s1g28f0a922015-11-07 18:50:22 +01004919 <action>
4920 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004921 <actions>
4922 <action function="set">tw_hide_kb=0</action>
4923 <action function="page">main</action>
4924 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004925 </action>
4926
4927 <action>
4928 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004929 <actions>
4930 <action function="set">tw_hide_kb=0</action>
4931 <action function="page">advanced</action>
4932 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004933 </action>
z31s1g56189522016-01-13 19:12:40 +01004934
z31s1g608d7ff2016-01-18 19:47:25 +01004935 <action>
z31s1g56189522016-01-13 19:12:40 +01004936 <touch key="power+voldown" />
4937 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004938 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004939 </page>
4940
4941 <page name="sideload">
4942 <template name="page"/>
4943
4944 <text style="text_l">
4945 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004946 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004947 </text>
4948
4949 <text style="text_m">
4950 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004951 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004952 </text>
4953
4954 <checkbox>
4955 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004956 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004957 <data variable="tw_wipe_dalvik"/>
4958 </checkbox>
4959
4960 <checkbox>
4961 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004962 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004963 <data variable="tw_wipe_cache"/>
4964 </checkbox>
4965
4966 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004968 <actions>
4969 <action function="set">tw_back=advanced</action>
4970 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004971 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4972 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4973 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004974 <action function="set">tw_has_cancel=1</action>
4975 <action function="set">tw_show_reboot=1</action>
4976 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4977 <action function="page">action_page</action>
4978 </actions>
4979 </slider>
4980
4981 <action>
4982 <touch key="home"/>
4983 <action function="page">main</action>
4984 </action>
4985
4986 <action>
4987 <touch key="back"/>
4988 <action function="page">advanced</action>
4989 </action>
4990 </page>
4991
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004992 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004993 <template name="page"/>
4994
4995 <text style="text_l">
4996 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004997 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004998 </text>
4999
5000 <text style="text_m">
5001 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005002 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005003 </text>
5004
5005 <text style="text_m_accent">
5006 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005007 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005008 </text>
5009
z31s1g28f0a922015-11-07 18:50:22 +01005010 <text style="text_m_fail">
5011 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005012 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005013 </text>
5014
5015 <text style="text_m_fail">
5016 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005017 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005018 </text>
5019
5020 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005021 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005022 <actions>
5023 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005024 <action function="set">tw_action=fixcontexts</action>
5025 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5026 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005027 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005028 <action function="set">tw_show_reboot=1</action>
5029 <action function="page">action_page</action>
5030 </actions>
5031 </slider>
5032
5033 <action>
5034 <touch key="home"/>
5035 <action function="page">main</action>
5036 </action>
5037
5038 <action>
5039 <touch key="back"/>
5040 <action function="page">advanced</action>
5041 </action>
5042 </page>
5043
z31s1g28f0a922015-11-07 18:50:22 +01005044 <page name="slideout">
5045 <fill color="%background_color%">
5046 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5047 </fill>
5048
5049 <console>
5050 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
5051 </console>
5052
5053 <button>
5054 <fill color="%transparent%"/>
5055 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5056 <action function="overlay"/>
5057 </button>
5058
5059 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005060 <touch key="power"/>
5061 <action function="togglebacklight"/>
5062 </action>
5063
5064 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005065 <touch key="power+voldown"/>
5066 <action function="screenshot"/>
5067 </action>
5068 </page>
5069
5070 <page name="select_storage">
5071 <fill color="%semi_transparent%">
5072 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5073 </fill>
5074
5075 <fill color="%background_color%">
5076 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5077 </fill>
5078
5079 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005080 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005081 <data name="tw_storage_path"/>
5082 <listtype name="storage"/>
5083 </partitionlist>
5084
5085 <button style="button_third_width">
5086 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005087 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005088 <actions>
5089 <action function="set">tw_clear_destination=%tw_back%</action>
5090 <action function="overlay"/>
5091 <action function="page">clear_vars</action>
5092 </actions>
5093 </button>
5094
5095 <fill color="#000000">
5096 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5097 </fill>
5098
5099 <button>
5100 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5101 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5102 <image resource="back"/>
5103 <condition var1="tw_busy" var2="0"/>
5104 <actions>
5105 <action function="overlay"/>
5106 <action function="key">%tw_back%</action>
5107 </actions>
5108 </button>
5109
5110 <button>
5111 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5112 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5113 <image resource="console"/>
5114 <condition var1="tw_busy" var2="0"/>
5115 <action function="overlay">slideout</action>
5116 </button>
5117
5118 <button>
5119 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5120 <image resource="home"/>
5121 <condition var1="tw_busy" var2="0"/>
5122 <actions>
5123 <action function="overlay"/>
5124 <action function="key">home</action>
5125 </actions>
5126 </button>
5127
5128 <button>
5129 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5130 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5131 <image resource="console"/>
5132 <condition var1="tw_busy" var2="0"/>
5133 <action function="overlay">slideout</action>
5134 </button>
5135
5136 <button>
5137 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5138 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5139 <image resource="back"/>
5140 <condition var1="tw_busy" var2="0"/>
5141 <actions>
5142 <action function="overlay"/>
5143 <action function="key">%tw_back%</action>
5144 </actions>
5145 </button>
5146
5147 <action>
5148 <touch key="power+voldown"/>
5149 <action function="screenshot"/>
5150 </action>
5151 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01005152
5153 <page name="select_language">
5154 <fill color="%semi_transparent%">
5155 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5156 </fill>
5157
5158 <fill color="%background_color%">
5159 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5160 </fill>
5161
5162 <listbox>
5163 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5164 <text>{@select_language=Select Language:}</text>
5165 <icon selected="radio_true" unselected="radio_false" />
5166 <data name="tw_language" />
5167 </listbox>
5168
5169 <button style="button_third_width">
5170 <placement x="%dialog_button_x%" y="%row14_y%"/>
5171 <text>{@ok_btn=OK}</text>
5172 <actions>
5173 <action function="overlay"/>
5174 <action function="setlanguage"></action>
5175 </actions>
5176 </button>
5177
5178 <fill color="#000000">
5179 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5180 </fill>
5181
5182 <button>
5183 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5184 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5185 <image resource="back"/>
5186 <condition var1="tw_busy" var2="0"/>
5187 <actions>
5188 <action function="overlay"/>
5189 <action function="key">%tw_back%</action>
5190 </actions>
5191 </button>
5192
5193 <button>
5194 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5195 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5196 <image resource="console"/>
5197 <condition var1="tw_busy" var2="0"/>
5198 <action function="overlay">slideout</action>
5199 </button>
5200
5201 <button>
5202 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5203 <image resource="home"/>
5204 <condition var1="tw_busy" var2="0"/>
5205 <actions>
5206 <action function="overlay"/>
5207 <action function="key">home</action>
5208 </actions>
5209 </button>
5210
5211 <button>
5212 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5213 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5214 <image resource="console"/>
5215 <condition var1="tw_busy" var2="0"/>
5216 <action function="overlay">slideout</action>
5217 </button>
5218
5219 <button>
5220 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5221 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5222 <image resource="back"/>
5223 <condition var1="tw_busy" var2="0"/>
5224 <actions>
5225 <action function="overlay"/>
5226 <action function="key">%tw_back%</action>
5227 </actions>
5228 </button>
5229
5230 <action>
5231 <touch key="power+voldown"/>
5232 <action function="screenshot"/>
5233 </action>
5234 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005235
5236 <page name="decrypt_users">
5237 <template name="page"/>
5238
5239 <text style="text_l">
5240 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5241 <text>{@decrypt_users=Decrypt Users}</text>
5242 </text>
5243
5244 <text style="text_m_accent">
5245 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5246 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5247 </text>
5248
5249 <listbox>
5250 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_advanced_height%"/>
5251 <text>{@select_user=Select User}</text>
5252 <icon selected="radio_true" unselected="radio_false" />
5253 <data name="tw_crypto_user_id" />
5254 </listbox>
5255
5256 <button style="main_button_half_height">
5257 <placement x="%center_x%" y="%row21a_y%"/>
5258 <text>{@decrypt_users=Decrypt Users}</text>
5259 <action function="set">tw_crypto_password=</action>
5260 <action function="set">tw_password_fail=0</action>
5261 <action function="page">decrypt</action>
5262 </button>
5263
5264 <action>
5265 <touch key="home"/>
5266 <action function="page">main</action>
5267 </action>
5268
5269 <action>
5270 <touch key="back"/>
5271 <action function="page">advanced</action>
5272 </action>
5273 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005274 </pages>
5275</recovery>