blob: de985a69ce60b8b99126a6eedcdbd757769c9183 [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>
mauronofrio6d3bf892019-10-26 19:47:55 +0200270 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="1" files="1"/>
Ian Macdonald88e9c6e2021-01-23 18:52:28 +0100271 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100272 <path name="tw_zip_location" default="/sdcard"/>
273 <data name="tw_filename"/>
274 <selection name="tw_file"/>
275 </fileselector>
276
277 <fileselector>
278 <condition var1="tw_selectimage" var2="1"/>
279 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
280 <text>%tw_zip_location%</text>
281 <filter extn=".img" folders="1" files="1"/>
282 <path name="tw_zip_location" default="/sdcard"/>
283 <data name="tw_filename"/>
284 <selection name="tw_file"/>
285 </fileselector>
286
287 <button style="main_button_half_height">
288 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500289 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100290 <actions>
291 <action function="set">tw_back=install</action>
292 <action function="overlay">select_storage</action>
293 </actions>
294 </button>
295
296 <button style="main_button_half_height">
297 <condition var1="tw_selectimage" var2="0"/>
298 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500299 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100300 <actions>
301 <action function="set">tw_selectimage=1</action>
302 <action function="page">install</action>
303 </actions>
304 </button>
305
306 <button style="main_button_half_height">
307 <condition var1="tw_selectimage" var2="1"/>
308 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500309 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100310 <actions>
311 <action function="set">tw_selectimage=0</action>
312 <action function="page">install</action>
313 </actions>
314 </button>
315
316 <action>
317 <conditions>
318 <condition var1="tw_selectimage" var2="0"/>
319 <condition var1="tw_filename" op="modified"/>
320 </conditions>
321 <actions>
322 <action function="queuezip"/>
323 <action function="page">flash_confirm</action>
324 </actions>
325 </action>
326
327 <action>
328 <conditions>
329 <condition var1="tw_selectimage" var2="1"/>
330 <condition var1="tw_filename" op="modified"/>
331 </conditions>
332 <action function="page">flashimage_confirm</action>
333 </action>
334
335 <action>
336 <touch key="back"/>
337 <action function="page">main</action>
338 </action>
339
340 <action>
341 <touch key="home"/>
342 <action function="page">main</action>
343 </action>
344 </page>
345
346 <page name="flash_confirm">
347 <template name="page"/>
348
349 <text style="text_l">
350 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500351 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100352 </text>
353
354 <text style="text_m">
355 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500356 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100357 </text>
358
359 <text style="text_m_accent">
360 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500361 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100362 </text>
363
364 <text style="text_m_accent">
365 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500366 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100367 </text>
368
369 <text style="text_m">
370 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500371 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100372 </text>
373
374 <text style="text_m_accent">
375 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500376 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100377 </text>
378
379 <text style="text_m">
380 <placement x="%indent%" y="%row8_y%"/>
381 <text>%tw_zip_location%</text>
382 </text>
383
384 <text style="text_m_accent">
385 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500386 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100387 </text>
388
389 <text style="text_m">
390 <placement x="%indent%" y="%row10a_y%"/>
391 <text>%tw_file%</text>
392 </text>
393
394 <checkbox>
395 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500396 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100397 <data variable="tw_signed_zip_verify"/>
398 </checkbox>
399
400 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600401 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500402 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600403 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500404 </checkbox>
405
406 <checkbox>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500407 <condition var1="tw_has_injecttwrp" var2="1"/>
nkk71b4c35912017-10-11 23:39:10 +0300408 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 <data variable="tw_inject_after_zip"/>
411 </checkbox>
412
413 <button style="main_button_half_height">
414 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500415 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100416 <action function="page">install</action>
417 </button>
418
419 <button style="main_button_half_height">
420 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500421 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100422 <actions>
423 <action function="queueclear"/>
424 <action function="page">install</action>
425 </actions>
426 </button>
427
428 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500429 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100430 <action function="flash">flash_zip</action>
431 </slider>
432
433 <action>
434 <touch key="back"/>
435 <actions>
436 <action function="cancelzip"/>
437 <action function="page">install</action>
438 </actions>
439 </action>
440
441 <action>
442 <touch key="home"/>
443 <action function="page">main</action>
444 </action>
445 </page>
446
447 <page name="flash_zip">
448 <template name="page"/>
449
450 <text style="text_l">
451 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500452 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100453 </text>
454
455 <text style="text_m">
456 <placement x="%col1_x_header%" y="%row4_header_y%"/>
457 <text>%tw_file%</text>
458 </text>
459
460 <template name="console"/>
461
462 <template name="progress_bar"/>
463
464 <action>
465 <condition var1="tw_operation_state" var2="1"/>
466 <action function="page">flash_done</action>
467 </action>
468 </page>
469
470 <page name="flash_done">
471 <template name="page"/>
472
473 <text style="text_l">
474 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500475 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100476 </text>
477
478 <text style="text_m_fail">
479 <condition var1="tw_operation_status" op="!=" var2="0"/>
480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500481 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100482 </text>
483
484 <text style="text_m">
485 <condition var1="tw_operation_status" var2="0"/>
486 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500487 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100488 </text>
489
490 <template name="console"/>
491
492 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500493 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100494 <placement x="%indent%" y="%row21a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500495 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100496 <actions>
497 <action function="set">tw_back=flash_done</action>
498 <action function="set">tw_action=wipe</action>
499 <action function="set">tw_action_param=/cache</action>
500 <action function="set">tw_has_action2=1</action>
501 <action function="set">tw_action2=wipe</action>
502 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500503 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
504 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
505 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
506 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100507 <action function="page">confirm_action</action>
508 </actions>
509 </button>
510
511 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500512 <condition var1="tw_ab_device" var2="1"/>
513 <placement x="%indent%" y="%row21a_y%"/>
514 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
515 <actions>
516 <action function="set">tw_back=flash_done</action>
517 <action function="set">tw_action=wipe</action>
518 <action function="set">tw_action_param=dalvik</action>
519 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
520 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
521 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
522 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
523 <action function="page">confirm_action</action>
524 </actions>
525 </button>
526
527 <button style="main_button_half_height">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100528 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100529 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500530 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100531 <actions>
532 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500533 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100534 </actions>
535 </button>
536
Chaosmaster7b66bf52020-02-07 20:33:43 +0100537 <button style="main_button_half_height">
538 <condition var1="tw_ab_device" var2="1"/>
539 <placement x="%center_x%" y="%row21a_y%"/>
540 <text>{@reboot_btn=Reboot}</text>
541 <actions>
542 <action function="set">tw_back=main2</action>
543 <action function="page">reboot</action>
544 </actions>
545 </button>
546
z31s1g28f0a922015-11-07 18:50:22 +0100547 <action>
548 <touch key="back"/>
549 <actions>
550 <action function="set">tw_clear_destination=install</action>
551 <action function="page">clear_vars</action>
552 </actions>
553 </action>
554
555 <action>
556 <touch key="home"/>
557 <actions>
558 <action function="set">tw_clear_destination=main2</action>
559 <action function="page">clear_vars</action>
560 </actions>
561 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500562
563 <action>
564 <conditions>
565 <condition var1="tw_install_reboot" var2="1"/>
566 <condition var1="tw_operation_status" var2="0"/>
567 <condition var1="tw_reboot_system" var2="1"/>
568 </conditions>
569 <actions>
570 <action function="set">tw_sleep=%tw_sleep_total%</action>
571 <action function="page">flash_sleep_and_reboot</action>
572 </actions>
573 </action>
574 </page>
575
576 <page name="flash_sleep_and_reboot">
577 <template name="page"/>
578
579 <text style="text_l">
580 <placement x="%col1_x_header%" y="%row3_header_y%"/>
581 <text>{@install_zip_hdr=Install Zip}</text>
582 </text>
583
584 <text style="text_m">
585 <placement x="%col1_x_header%" y="%row4_header_y%"/>
586 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
587 </text>
588
589 <template name="console"/>
590
591 <template name="progress_bar"/>
592
593 <button style="main_button_half_height">
594 <condition var1="tw_sleep" op="&gt;" var2="0"/>
595 <placement x="%center_x%" y="%row21a_y%"/>
596 <text>{@cancel_btn=Cancel}</text>
597 <actions>
598 <action function="set">tw_install_reboot=0</action>
599 <action function="page">flash_done</action>
600 </actions>
601 </button>
602
603 <action>
604 <conditions>
605 <condition var1="tw_sleep" var2="tw_sleep_total"/>
606 <condition var1="tw_install_reboot" var2="1"/>
607 </conditions>
608 <action function="sleepcounter">%tw_sleep_total%</action>
609 </action>
610
611 <action>
612 <conditions>
613 <condition var1="tw_sleep" var2="0"/>
614 <condition var1="tw_install_reboot" var2="1"/>
615 </conditions>
616 <actions>
617 <action function="sleep">50000</action>
618 <action function="set">tw_back=main2</action>
619 <action function="page">reboot_system_routine</action>
620 </actions>
621 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100622 </page>
623
624 <page name="flashimage_confirm">
625 <template name="page"/>
626
627 <text style="text_l">
628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500629 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100630 </text>
631
632 <text style="text_m">
633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500634 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100635 </text>
636
637 <text style="text_m_accent">
638 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500639 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100640 </text>
641
642 <text style="text_m">
643 <placement x="%indent%" y="%row3_y%"/>
644 <text>%tw_zip_location%</text>
645 </text>
646
647 <text style="text_m_accent">
648 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500649 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100650 </text>
651
652 <text style="text_m">
653 <placement x="%indent%" y="%row5a_y%"/>
654 <text>%tw_file%</text>
655 </text>
656
657 <partitionlist>
658 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
659 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500660 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100661 <data name="tw_flash_partition"/>
662 <listtype name="flashimg"/>
663 </partitionlist>
664
665 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500666 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100667 <actions>
668 <action function="set">tw_back=flashimage_confirm</action>
669 <action function="set">tw_action=flashimage</action>
670 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500671 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100672 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500673 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100674 <action function="page">action_page</action>
675 </actions>
676 <action function="flashimage"/>
677 </slider>
678
679 <action>
680 <touch key="back"/>
681 <actions>
682 <action function="set">tw_clear_destination=install</action>
683 <action function="page">clear_vars</action>
684 </actions>
685 </action>
686
687 <action>
688 <touch key="home"/>
689 <actions>
690 <action function="set">tw_clear_destination=main2</action>
691 <action function="page">clear_vars</action>
692 </actions>
693 </action>
694 </page>
695
696 <page name="clear_vars">
697 <action>
698 <action function="set">tw_operation_state=0</action>
699 <action function="set">tw_text1=</action>
700 <action function="set">tw_text2=</action>
701 <action function="set">tw_text3=</action>
702 <action function="set">tw_text4=</action>
703 <action function="set">tw_action_text1=</action>
704 <action function="set">tw_action_text2=</action>
705 <action function="set">tw_action_param=</action>
706 <action function="set">tw_has_action2=0</action>
707 <action function="set">tw_action2=</action>
708 <action function="set">tw_action2_param=</action>
709 <action function="set">tw_has_cancel=0</action>
710 <action function="set">tw_cancel_action=</action>
711 <action function="set">tw_cancel_param=</action>
712 <action function="set">tw_show_exclamation=0</action>
713 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400714 <action function="set">tw_crypto_user_id=</action>
715 <action function="set">tw_multiuser_warning_accepted=</action>
716 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100717 <action function="page">%tw_clear_destination%</action>
718 </action>
719 </page>
720
Matt Mower908dd252016-05-25 02:26:50 -0500721 <page name="reboot_system_routine">
722 <action>
723 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500724 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500725 <action function="set">tw_has_action2=0</action>
726 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
727 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
728 <action function="set">tw_text3=</action>
729 <action function="set">tw_text4=</action>
730 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
731 <action function="set">tw_action_text2=</action>
732 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
733 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
734 <action function="page">rebootcheck</action>
735 </action>
736 </page>
737
z31s1g28f0a922015-11-07 18:50:22 +0100738 <page name="confirm_action">
739 <template name="page"/>
740
741 <text style="text_l">
742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500743 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100744 </text>
745
746 <text style="text_m">
747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
748 <text/>
749 </text>
750
751 <text style="text_m_accent">
752 <placement x="%center_x%" y="%row2_y%" placement="5"/>
753 <text>%tw_text1%</text>
754 </text>
755
756 <text style="text_m_accent">
757 <placement x="%center_x%" y="%row3_y%" placement="5"/>
758 <text>%tw_text2%</text>
759 </text>
760
761 <text style="text_m">
762 <placement x="%center_x%" y="%row4_y%" placement="5"/>
763 <text>%tw_text3%</text>
764 </text>
765
766 <text style="text_m">
767 <placement x="%center_x%" y="%row5_y%" placement="5"/>
768 <text>%tw_text4%</text>
769 </text>
770
771 <text style="text_m">
772 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500773 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100774 </text>
775
776 <slider>
777 <text>%tw_slider_text%</text>
778 <action function="page">action_page</action>
779 </slider>
780
781 <action>
782 <touch key="back"/>
783 <actions>
784 <action function="set">tw_clear_destination=%tw_back%</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </action>
788
789 <action>
790 <touch key="home"/>
791 <action function="page">main</action>
792 </action>
793 </page>
794
795 <page name="action_page">
796 <template name="page"/>
797
798 <text style="text_l">
799 <placement x="%col1_x_header%" y="%row3_header_y%"/>
800 <text>%tw_action_text1%</text>
801 </text>
802
803 <text style="text_m">
804 <placement x="%col1_x_header%" y="%row4_header_y%"/>
805 <text>%tw_action_text2%</text>
806 </text>
807
808 <template name="console"/>
809
810 <template name="progress_bar"/>
811
812 <button style="main_button_half_height">
813 <condition var1="tw_has_cancel" var2="1"/>
814 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500815 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100816 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
817 </button>
818
819 <action>
820 <condition var1="tw_operation_state" var2="1"/>
821 <actions>
822 <action function="page">action_complete</action>
823 </actions>
824 </action>
825
826 <action>
827 <condition var1="tw_has_action2" var2="0"/>
828 <actions>
829 <action function="%tw_action%">%tw_action_param%</action>
830 </actions>
831 </action>
832
833 <action>
834 <condition var1="tw_has_action2" var2="1"/>
835 <actions>
836 <action function="%tw_action%">%tw_action_param%</action>
837 <action function="%tw_action2%">%tw_action2_param%</action>
838 </actions>
839 </action>
840 </page>
841
842 <page name="singleaction_page">
843 <template name="page"/>
844
845 <text style="text_l">
846 <placement x="%col1_x_header%" y="%row3_header_y%"/>
847 <text>%tw_action_text1%</text>
848 </text>
849
850 <text style="text_m">
851 <placement x="%col1_x_header%" y="%row4_header_y%"/>
852 <text>%tw_action_text2%</text>
853 </text>
854
855 <template name="console"/>
856
857 <template name="progress_bar"/>
858
859 <action>
860 <condition var1="tw_operation_state" var2="1"/>
861 <actions>
862 <action function="set">tw_page_done=1</action>
863 </actions>
864 </action>
865
866 <action>
867 <condition var1="tw_has_action2" var2="0"/>
868 <actions>
869 <action function="%tw_action%">%tw_action_param%</action>
870 </actions>
871 </action>
872
873 <action>
874 <condition var1="tw_has_action2" var2="1"/>
875 <actions>
876 <action function="%tw_action%">%tw_action_param%</action>
877 <action function="%tw_action2%">%tw_action2_param%</action>
878 </actions>
879 </action>
880 </page>
881
882 <page name="action_complete">
883 <template name="page"/>
884
885 <text style="text_l">
886 <placement x="%col1_x_header%" y="%row3_header_y%"/>
887 <text>%tw_complete_text1%</text>
888 </text>
889
890 <text style="text_m_fail">
891 <condition var1="tw_operation_status" op="!=" var2="0"/>
892 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500893 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100894 </text>
895
896 <text style="text_m">
897 <condition var1="tw_operation_status" var2="0"/>
898 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 </text>
901
902 <template name="console"/>
903
904 <button style="main_button_half_height">
905 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500906 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100907 <actions>
908 <action function="set">tw_clear_destination=%tw_back%</action>
909 <action function="page">clear_vars</action>
910 </actions>
911 </button>
912
913 <button style="main_button_half_height">
914 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500915 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100916 <actions>
917 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500918 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100919 </actions>
920 </button>
921
922 <action>
923 <touch key="home"/>
924 <actions>
925 <action function="set">tw_clear_destination=main2</action>
926 <action function="page">clear_vars</action>
927 </actions>
928 </action>
929
930 <action>
931 <touch key="back"/>
932 <actions>
933 <action function="set">tw_clear_destination=%tw_back%</action>
934 <action function="page">clear_vars</action>
935 </actions>
936 </action>
937 </page>
938
939 <page name="filecheck">
940 <action>
941 <action function="fileexists">%tw_filecheck%</action>
942 </action>
943
944 <action>
945 <conditions>
946 <condition var1="tw_operation_state" var2="1"/>
947 <condition var1="tw_operation_status" var2="0"/>
948 </conditions>
949 <actions>
950 <action function="set">tw_fileexists=1</action>
951 <action function="page">%tw_existpage%</action>
952 </actions>
953 </action>
954
955 <action>
956 <conditions>
957 <condition var1="tw_operation_state" var2="1"/>
958 <condition var1="tw_operation_status" var2="1"/>
959 </conditions>
960 <actions>
961 <action function="set">tw_fileexists=0</action>
962 <action function="page">%tw_notexistpage%</action>
963 </actions>
964 </action>
965 </page>
966
967 <page name="rebootcheck">
968 <action>
969 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -0600970 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +0100971 </action>
972
973 <action>
974 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
975 <action function="page">confirm_action</action>
976 </action>
977 </page>
978
979 <page name="wipe">
980 <template name="page"/>
981
982 <text style="text_l">
983 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500984 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100985 </text>
986
987 <text style="text_m">
988 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500989 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100990 </text>
991
992 <text style="text_m_accent">
993 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500994 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </text>
996
997 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +0000998 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400999 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1000 </text>
1001
1002 <text style="text_m_accent">
1003 <condition var1="tw_has_data_media" var2="1"/>
1004 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m_accent">
1009 <conditions>
1010 <condition var1="tw_has_android_secure" var2="1"/>
1011 <condition var1="fileexists" var2="/and-sec"/>
1012 </conditions>
1013 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001014 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001015 </text>
1016
1017 <text style="text_m_accent">
1018 <condition var1="tw_has_sdext_partition" var2="1"/>
1019 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001020 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001021 </text>
1022
1023 <text style="text_m">
1024 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001025 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001026 </text>
1027
1028 <text style="text_m">
1029 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001030 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001031 </text>
1032
1033 <text style="text_m">
1034 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <button style="main_button_half_height">
1039 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001040 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001041 <actions>
1042 <action function="set">partitionlisterror=0</action>
1043 <action function="page">advancedwipe</action>
1044 </actions>
1045 </button>
1046
1047 <button style="main_button_half_height">
1048 <condition var1="tw_has_data_media" var2="1"/>
1049 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001050 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001051 <action function="page">formatdata</action>
1052 </button>
1053
1054 <button style="main_button_half_height">
1055 <conditions>
1056 <condition var1="tw_is_encrypted" var2="1"/>
1057 <condition var1="tw_has_data_media" var2="0"/>
1058 </conditions>
1059 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001061 <actions>
1062 <action function="set">tw_back=wipe</action>
1063 <action function="set">tw_action=wipe</action>
1064 <action function="set">tw_action_param=DATAMEDIA</action>
1065 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001066 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001067 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1069 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1070 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001071 <action function="page">confirm_action</action>
1072 </actions>
1073 </button>
1074
1075 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001076 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001077 <actions>
1078 <action function="set">tw_back=wipe</action>
1079 <action function="set">tw_action=wipe</action>
1080 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1082 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001083 <action function="page">action_page</action>
1084 </actions>
1085 </slider>
1086
1087 <action>
1088 <touch key="back"/>
1089 <action function="page">main</action>
1090 </action>
1091
1092 <action>
1093 <touch key="home"/>
1094 <action function="page">main</action>
1095 </action>
1096 </page>
1097
1098 <page name="advancedwipe">
1099 <template name="page"/>
1100
1101 <action>
1102 <action function="set">tw_wipe_list=</action>
1103 </action>
1104
1105 <text style="text_l">
1106 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001107 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001108 </text>
1109
1110 <text style="text_m">
1111 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001112 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001113 </text>
1114
1115 <partitionlist>
1116 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001118 <data name="tw_wipe_list"/>
1119 <listtype name="wipe"/>
1120 </partitionlist>
1121
1122 <text style="text_m_fail">
1123 <condition var1="partitionlisterror" var2="1"/>
1124 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 </text>
1127
1128 <button style="main_button_half_height_full_width">
1129 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001132 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <action function="page">checkpartitionlist</action>
1134 </actions>
1135 </button>
1136
1137 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 <actions>
1140 <action function="set">tw_back=advancedwipe</action>
1141 <action function="set">tw_action=wipe</action>
1142 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001143 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1144 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1145 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001146 <action function="page">action_page</action>
1147 </actions>
1148 </slider>
1149
1150 <action>
1151 <touch key="home"/>
1152 <action function="page">main</action>
1153 </action>
1154
1155 <action>
1156 <touch key="back"/>
1157 <action function="page">wipe</action>
1158 </action>
1159 </page>
1160
1161 <page name="formatdata">
1162 <template name="page"/>
1163
1164 <text style="text_l">
1165 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 </text>
1168
1169 <text style="text_m">
1170 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001171 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001172 </text>
1173
1174 <text style="text_m_fail">
1175 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001176 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001177 </text>
1178
1179 <text style="text_m_fail">
1180 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001181 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001182 </text>
1183
1184 <text style="text_m_fail">
1185 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 </text>
1188
Ethan Yonker66a19492015-12-10 10:19:45 -06001189 <text style="text_m_fail">
1190 <condition var1="tw_has_adopted_storage" var2="1"/>
1191 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1192 <text>{@format_data_adopted=Including Adopted Storage}</text>
1193 </text>
1194
z31s1g28f0a922015-11-07 18:50:22 +01001195 <text style="text_m">
1196 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m">
1201 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <input>
1206 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1207 <text>%tw_confirm_formatdata%</text>
1208 <data name="tw_confirm_formatdata"/>
1209 <restrict minlen="3" maxlen="3" allow="yes"/>
1210 <action function="page">formatdata_confirm</action>
1211 </input>
1212
1213 <fill color="%accent_color%">
1214 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1215 </fill>
1216
1217 <template name="keyboardtemplate"/>
1218
1219 <action>
1220 <touch key="home"/>
1221 <action function="page">main</action>
1222 </action>
1223
1224 <action>
1225 <touch key="back"/>
1226 <action function="page">wipe</action>
1227 </action>
1228 </page>
1229
1230 <page name="formatdata_confirm">
1231 <action>
1232 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1233 <actions>
1234 <action function="set">tw_back=formatdata</action>
1235 <action function="set">tw_action=wipe</action>
1236 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001237 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1238 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001239 <action function="page">action_page</action>
1240 </actions>
1241 </action>
1242
1243 <action>
1244 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1245 <action function="page">formatdata</action>
1246 </action>
1247 </page>
1248
1249 <page name="checkpartitionlist">
1250 <action>
1251 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1252 <actions>
1253 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001254 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001255 <action function="page">partitionoptions</action>
1256 </actions>
1257 </action>
1258
1259 <action>
1260 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1261 <actions>
1262 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001263 <action function="page">advancedwipe</action>
1264 </actions>
1265 </action>
1266 </page>
1267
1268 <page name="partitionoptions">
1269 <template name="page"/>
1270
1271 <text style="text_l">
1272 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <text style="text_m">
1277 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001278 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001279 </text>
1280
1281 <text style="text_m_accent">
1282 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m_accent">
1287 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001289 </text>
1290
1291 <text style="text_m">
1292 <condition var1="tw_partition_is_present" var2="1"/>
1293 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <text style="text_m">
1298 <condition var1="tw_partition_is_present" var2="0"/>
1299 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001300 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001301 </text>
1302
1303 <text style="text_m">
1304 <condition var1="tw_partition_removable" var2="1"/>
1305 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001306 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001307 </text>
1308
1309 <text style="text_m">
1310 <condition var1="tw_partition_removable" var2="0"/>
1311 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001312 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001313 </text>
1314
1315 <text style="text_m">
1316 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m">
1326 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m">
1331 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <button style="main_button_half_height">
1336 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1337 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 <actions>
1340 <action function="set">tw_back=partitionoptions</action>
1341 <action function="set">tw_action=resize</action>
1342 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1343 <action function="set">tw_has_action2=1</action>
1344 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001345 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001346 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001347 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1349 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1350 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001351 <action function="page">confirm_action</action>
1352 </actions>
1353 </button>
1354
1355 <button style="main_button_half_height">
1356 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1357 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001358 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001359 <actions>
1360 <action function="set">tw_back=partitionoptions</action>
1361 <action function="set">tw_action=repair</action>
1362 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1363 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001365 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1367 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1368 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001369 <action function="page">confirm_action</action>
1370 </actions>
1371 </button>
1372
1373 <button style="main_button_half_height">
1374 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 <action function="page">selectfilesystem</action>
1377 </button>
1378
1379 <action>
1380 <touch key="home"/>
1381 <action function="page">main</action>
1382 </action>
1383
1384 <action>
1385 <touch key="back"/>
1386 <action function="page">advancedwipe</action>
1387 </action>
1388 </page>
1389
1390 <page name="refreshfilesystem">
1391 <action>
1392 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1393 <actions>
1394 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001395 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001396 <action function="page">selectfilesystem</action>
1397 </actions>
1398 </action>
1399
1400 <action>
1401 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1402 <actions>
1403 <action function="set">partitionlisterror=1</action>
1404 <action function="set">tw_wipe_list=</action>
1405 <action function="page">advancedwipe</action>
1406 </actions>
1407 </action>
1408 </page>
1409
1410 <page name="selectfilesystem">
1411 <template name="page"/>
1412
1413 <text style="text_l">
1414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001415 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001416 </text>
1417
1418 <text style="text_m">
1419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001420 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001421 </text>
1422
1423 <text style="text_m_accent">
1424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001426 </text>
1427
1428 <text style="text_m_accent">
1429 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001430 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001431 </text>
1432
1433 <text style="text_m_fail">
1434 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001436 </text>
1437
1438 <text style="text_m_fail">
1439 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001440 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001441 </text>
1442
1443 <button style="main_button_half_height">
1444 <condition var1="tw_partition_ext" op="=" var2="1"/>
1445 <placement x="%indent%" y="%row15a_y%"/>
1446 <text>EXT2</text>
1447 <actions>
1448 <action function="set">tw_back=refreshfilesystem</action>
1449 <action function="set">tw_action=changefilesystem</action>
1450 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1451 <action function="set">tw_action_new_file_system=ext2</action>
1452 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001453 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1454 <action function="set">tw_text2=EXT2</action>
1455 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1456 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1457 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001458 <action function="page">confirm_action</action>
1459 </actions>
1460 </button>
1461
1462 <button style="main_button_half_height">
1463 <condition var1="tw_partition_ext" op="=" var2="1"/>
1464 <placement x="%indent%" y="%row18a_y%"/>
1465 <text>EXT3</text>
1466 <actions>
1467 <action function="set">tw_back=refreshfilesystem</action>
1468 <action function="set">tw_action=changefilesystem</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_action_new_file_system=ext3</action>
1471 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001472 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1473 <action function="set">tw_text2=EXT3</action>
1474 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1475 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1476 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001477 <action function="page">confirm_action</action>
1478 </actions>
1479 </button>
1480
1481 <button style="main_button_half_height">
1482 <condition var1="tw_partition_ext" op="=" var2="1"/>
1483 <placement x="%indent%" y="%row21a_y%"/>
1484 <text>EXT4</text>
1485 <actions>
1486 <action function="set">tw_back=refreshfilesystem</action>
1487 <action function="set">tw_action=changefilesystem</action>
1488 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1489 <action function="set">tw_action_new_file_system=ext4</action>
1490 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1492 <action function="set">tw_text2=EXT4</action>
1493 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1494 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1495 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001496 <action function="page">confirm_action</action>
1497 </actions>
1498 </button>
1499
1500 <button style="main_button_half_height">
1501 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1502 <placement x="%center_x%" y="%row15a_y%"/>
1503 <text>FAT</text>
1504 <actions>
1505 <action function="set">tw_back=refreshfilesystem</action>
1506 <action function="set">tw_action=changefilesystem</action>
1507 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1508 <action function="set">tw_action_new_file_system=vfat</action>
1509 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001510 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1511 <action function="set">tw_text2=FAT</action>
1512 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1513 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1514 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001515 <action function="page">confirm_action</action>
1516 </actions>
1517 </button>
1518
1519 <button style="main_button_half_height">
1520 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1521 <placement x="%center_x%" y="%row18a_y%"/>
1522 <text>exFAT</text>
1523 <actions>
1524 <action function="set">tw_back=refreshfilesystem</action>
1525 <action function="set">tw_action=changefilesystem</action>
1526 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1527 <action function="set">tw_action_new_file_system=exfat</action>
1528 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001529 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1530 <action function="set">tw_text2=exFAT</action>
1531 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1532 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1533 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001534 <action function="page">confirm_action</action>
1535 </actions>
1536 </button>
1537
1538 <button style="main_button_half_height">
1539 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1540 <placement x="%center_x%" y="%row21a_y%"/>
1541 <text>F2FS</text>
1542 <actions>
1543 <action function="set">tw_back=refreshfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=f2fs</action>
1547 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001548 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1549 <action function="set">tw_text2=F2FS</action>
1550 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1551 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1552 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001553 <action function="page">confirm_action</action>
1554 </actions>
1555 </button>
1556
1557 <action>
1558 <touch key="home"/>
1559 <action function="page">main</action>
1560 </action>
1561
1562 <action>
1563 <touch key="back"/>
1564 <action function="page">partitionoptions</action>
1565 </action>
1566 </page>
1567
1568 <page name="backup">
1569 <template name="page"/>
1570
Noah Jacobson81d638d2019-04-28 00:10:07 -04001571 <action>
1572 <conditions>
1573 <condition var1="tw_is_fbe" var2="1"/>
1574 <condition var1="tw_all_users_decrypted" var2="0"/>
1575 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1576 </conditions>
1577 <actions>
1578 <action function="set">tw_multiuser_warning_destination=backup</action>
1579 <action function="page">multiuser_warning</action>
1580 </actions>
1581 </action>
1582
z31s1g28f0a922015-11-07 18:50:22 +01001583 <text style="text_l">
1584 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001585 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001586 </text>
1587
1588 <text style="text_m">
1589 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001590 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001591 </text>
1592
1593 <template name="tabs_backup"/>
1594
1595 <fill color="%text_color%">
1596 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1597 </fill>
1598
1599 <button style="tab">
1600 <conditions>
1601 <condition var1="tw_include_encrypted_backup" var2="1"/>
1602 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001603 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001604 </conditions>
1605 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 <font resource="font_s" color="%text_color%"/>
1608 <actions>
1609 <action function="set">tw_password_not_match=0</action>
1610 <action function="page">backupencryption</action>
1611 </actions>
1612 </button>
1613
1614 <button style="tab">
1615 <conditions>
1616 <condition var1="tw_include_encrypted_backup" var2="1"/>
1617 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001618 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001619 </conditions>
1620 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001621 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001622 <font resource="font_s" color="%text_success_color%"/>
1623 <actions>
1624 <action function="set">tw_password_not_match=0</action>
1625 <action function="page">backupencryption</action>
1626 </actions>
1627 </button>
1628
1629 <text style="text_m_accent">
1630 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001631 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001632 </text>
1633
1634 <text style="text_m">
1635 <placement x="%indent%" y="%row4a_y%"/>
1636 <text>%tw_backup_name%</text>
1637 </text>
1638
1639 <fill color="%fileselector_linecolor%">
1640 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1641 </fill>
1642
1643 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001644 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001645 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1646 <fill color="%transparent%"/>
1647 <actions>
1648 <action function="set">tw_fileexists=0</action>
1649 <action function="page">backupname1</action>
1650 </actions>
1651 </button>
1652
1653 <partitionlist>
1654 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001655 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001656 <data name="tw_backup_list"/>
1657 <listtype name="backup"/>
1658 </partitionlist>
1659
1660 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001661 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001662 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001663 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001664 <actions>
1665 <action function="set">tw_back=backup</action>
1666 <action function="overlay">select_storage</action>
1667 </actions>
1668 </button>
1669
1670 <button style="main_button_half_height">
1671 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001672 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001673 <actions>
1674 <action function="refreshsizes"/>
1675 <action function="page">backup</action>
1676 </actions>
1677 </button>
1678
1679 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001680 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001681 <action function="page">backup_run</action>
1682 </slider>
1683
1684 <action>
1685 <touch key="home"/>
1686 <action function="page">main</action>
1687 </action>
1688
1689 <action>
1690 <touch key="back"/>
1691 <action function="page">main</action>
1692 </action>
1693 </page>
1694
Noah Jacobson81d638d2019-04-28 00:10:07 -04001695 <page name="multiuser_warning">
1696 <template name="page"/>
1697
1698 <text style="text_l">
1699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1700 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1701 </text>
1702
1703 <text style="text_m_fail">
1704 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1705 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1706 </text>
1707
1708 <text style="text_m_fail">
1709 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1710 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1711 </text>
1712
1713 <button style="main_button_half_height_full_width">
1714 <placement x="%indent%" y="%row18a_y%"/>
1715 <text>{@decrypt_users=Decrypt Users}</text>
1716 <action function="page">decrypt_users</action>
1717 </button>
1718
1719 <slider>>
1720 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1721 <actions>
1722 <action function="set">tw_multiuser_warning_accepted=1</action>
1723 <action function="page">%tw_multiuser_warning_destination%</action>
1724 </actions>
1725 </slider>
1726
1727 <action>
1728 <touch key="home"/>
1729 <action function="page">main</action>
1730 </action>
1731
1732 <action>
1733 <touch key="back"/>
1734 <action function="page">main</action>
1735 </action>
1736 </page>
1737
z31s1g28f0a922015-11-07 18:50:22 +01001738 <page name="backup_options">
1739 <template name="page"/>
1740
1741 <text style="text_l">
1742 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001743 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001744 </text>
1745
1746 <text style="text_m">
1747 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 </text>
1750
1751 <template name="tabs_backup"/>
1752
1753 <fill color="%text_color%">
1754 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1755 </fill>
1756
1757 <button style="tab">
1758 <conditions>
1759 <condition var1="tw_include_encrypted_backup" var2="1"/>
1760 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001761 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </conditions>
1763 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001764 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001765 <font resource="font_s" color="%text_color%"/>
1766 <actions>
1767 <action function="set">tw_password_not_match=0</action>
1768 <action function="page">backupencryption</action>
1769 </actions>
1770 </button>
1771
1772 <button style="tab">
1773 <conditions>
1774 <condition var1="tw_include_encrypted_backup" var2="1"/>
1775 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001776 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001777 </conditions>
1778 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001779 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001780 <font resource="font_s" color="%text_success_color%"/>
1781 <actions>
1782 <action function="set">tw_password_not_match=0</action>
1783 <action function="page">backupencryption</action>
1784 </actions>
1785 </button>
1786
1787 <checkbox>
1788 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001789 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001790 <data variable="tw_use_compression"/>
1791 </checkbox>
1792
1793 <checkbox>
1794 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001795 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1796 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001797 </checkbox>
1798
1799 <checkbox>
1800 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001801 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001802 <data variable="tw_disable_free_space"/>
1803 </checkbox>
1804
Ethan Yonker1b190162016-12-05 15:25:19 -06001805 <text style="text_m">
1806 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01001807 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06001808 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1809 </text>
1810
1811 <button style="main_button">
1812 <condition var1="tw_has_boot_slots" var2="1"/>
1813 <placement x="%indent%" y="%row19_y%"/>
1814 <text>{@boot_slot_a=Slot A}</text>
1815 <actions>
1816 <action function="set">tw_back=backup_options</action>
1817 <action function="set">tw_action=setbootslot</action>
1818 <action function="set">tw_action_param=A</action>
1819 <action function="set">tw_has_action2=0</action>
1820 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1821 <action function="set">tw_action_text2=</action>
1822 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1823 <action function="page">action_page</action>
1824 </actions>
1825 </button>
1826
1827 <button style="main_button">
1828 <condition var1="tw_has_boot_slots" var2="1"/>
1829 <placement x="%center_x%" y="%row19_y%"/>
1830 <text>{@boot_slot_b=Slot B}</text>
1831 <actions>
1832 <action function="set">tw_back=backup_options</action>
1833 <action function="set">tw_action=setbootslot</action>
1834 <action function="set">tw_action_param=B</action>
1835 <action function="set">tw_has_action2=0</action>
1836 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1837 <action function="set">tw_action_text2=</action>
1838 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1839 <action function="page">action_page</action>
1840 </actions>
1841 </button>
1842
z31s1g28f0a922015-11-07 18:50:22 +01001843 <action>
1844 <touch key="home"/>
1845 <action function="page">main</action>
1846 </action>
1847
1848 <action>
1849 <touch key="back"/>
1850 <action function="page">backup</action>
1851 </action>
1852 </page>
1853
1854 <page name="backupname1">
1855 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001856 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001857 <action function="generatebackupname"/>
1858 </action>
1859
1860 <action>
1861 <action function="page">backupname2</action>
1862 </action>
1863 </page>
1864
1865 <page name="backupname2">
1866 <template name="page"/>
1867
1868 <text style="text_l">
1869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001870 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001871 </text>
1872
1873 <text style="text_m">
1874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001875 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001876 </text>
1877
1878 <template name="tabs_backup"/>
1879
1880 <fill color="%text_color%">
1881 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1882 </fill>
1883
1884 <button style="tab">
1885 <conditions>
1886 <condition var1="tw_include_encrypted_backup" var2="1"/>
1887 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001888 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001889 </conditions>
1890 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001892 <font resource="font_s" color="%text_color%"/>
1893 <actions>
1894 <action function="set">tw_password_not_match=0</action>
1895 <action function="page">backupencryption</action>
1896 </actions>
1897 </button>
1898
1899 <button style="tab">
1900 <conditions>
1901 <condition var1="tw_include_encrypted_backup" var2="1"/>
1902 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001903 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001904 </conditions>
1905 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 <font resource="font_s" color="%text_success_color%"/>
1908 <actions>
1909 <action function="set">tw_password_not_match=0</action>
1910 <action function="page">backupencryption</action>
1911 </actions>
1912 </button>
1913
1914 <text style="text_m_accent">
1915 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001916 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001917 </text>
1918
1919 <input>
1920 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1921 <text>%tw_backup_name%</text>
1922 <data name="tw_backup_name"/>
1923 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1924 <actions>
1925 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1926 <action function="set">tw_existpage=backupname2</action>
1927 <action function="set">tw_notexistpage=backup</action>
1928 <action function="page">filecheck</action>
1929 </actions>
1930 </input>
1931
1932 <fill color="%accent_color%">
1933 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1934 </fill>
1935
1936 <fill color="%text_fail_color%">
1937 <condition var1="tw_fileexists" var2="1"/>
1938 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1939 </fill>
1940
1941 <text style="text_m_fail">
1942 <condition var1="tw_fileexists" var2="1"/>
1943 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 </text>
1946
1947 <button style="main_button_half_height">
1948 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001949 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001950 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001951 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001952 <action function="page">backup</action>
1953 </actions>
1954 </button>
1955
1956 <button style="main_button_half_height">
1957 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001958 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001959 <action function="appenddatetobackupname"/>
1960 </button>
1961
1962 <template name="keyboardtemplate"/>
1963
1964 <action>
1965 <touch key="home"/>
1966 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001967 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001968 <action function="page">main</action>
1969 </actions>
1970 </action>
1971
1972 <action>
1973 <touch key="back"/>
1974 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001975 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001976 <action function="page">backup</action>
1977 </actions>
1978 </action>
1979 </page>
1980
1981 <page name="backupencryption">
1982 <template name="page"/>
1983
1984 <text style="text_l">
1985 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001986 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001987 </text>
1988
1989 <text style="text_m">
1990 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001991 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001992 </text>
1993
1994 <template name="tabs_backup"/>
1995
1996 <button style="tab">
1997 <conditions>
1998 <condition var1="tw_include_encrypted_backup" var2="1"/>
1999 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002000 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002001 </conditions>
2002 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002003 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002004 <font resource="font_s" color="%text_color%"/>
2005 <actions>
2006 <action function="set">tw_password_not_match=0</action>
2007 <action function="page">backupencryption</action>
2008 </actions>
2009 </button>
2010
2011 <button style="tab">
2012 <conditions>
2013 <condition var1="tw_include_encrypted_backup" var2="1"/>
2014 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002015 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002016 </conditions>
2017 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002018 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002019 <font resource="font_s" color="%text_success_color%"/>
2020 <actions>
2021 <action function="set">tw_password_not_match=0</action>
2022 <action function="page">backupencryption</action>
2023 </actions>
2024 </button>
2025
2026 <fill color="%text_color%">
2027 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2028 </fill>
2029
2030 <text style="text_m_accent">
2031 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002032 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002033 </text>
2034
2035 <text style="text_m">
2036 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002037 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002038 </text>
2039
2040 <input>
2041 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2042 <text>%tw_backup_encrypt_display%</text>
2043 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2044 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2045 <action function="page">backupencryption2</action>
2046 </input>
2047
2048 <fill color="%accent_color%">
2049 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2050 </fill>
2051
2052 <fill color="%text_fail_color%">
2053 <condition var1="tw_password_not_match" var2="1"/>
2054 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2055 </fill>
2056
2057 <text style="text_m_fail">
2058 <condition var1="tw_password_not_match" var2="1"/>
2059 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002060 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002061 </text>
2062
2063 <button style="main_button_half_height">
2064 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002065 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002066 <actions>
2067 <action function="set">tw_encrypt_backup=0</action>
2068 <action function="set">tw_backup_password=</action>
2069 <action function="set">tw_backup_password2=</action>
2070 <action function="set">tw_backup_encrypt_display=</action>
2071 <action function="set">tw_backup_encrypt_display2=</action>
2072 <action function="page">backup</action>
2073 </actions>
2074 </button>
2075
2076 <template name="keyboardtemplate"/>
2077
2078 <action>
2079 <touch key="home"/>
2080 <action function="page">main</action>
2081 </action>
2082
2083 <action>
2084 <touch key="back"/>
2085 <action function="page">backup</action>
2086 </action>
2087 </page>
2088
2089 <page name="backupencryption2">
2090 <template name="page"/>
2091
2092 <text style="text_l">
2093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002094 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002095 </text>
2096
2097 <text style="text_m">
2098 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002099 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002100 </text>
2101
2102 <template name="tabs_backup"/>
2103
2104 <button style="tab">
2105 <conditions>
2106 <condition var1="tw_include_encrypted_backup" var2="1"/>
2107 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002108 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002109 </conditions>
2110 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002111 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002112 <font resource="font_s" color="%text_color%"/>
2113 <actions>
2114 <action function="set">tw_password_not_match=0</action>
2115 <action function="page">backupencryption</action>
2116 </actions>
2117 </button>
2118
2119 <button style="tab">
2120 <conditions>
2121 <condition var1="tw_include_encrypted_backup" var2="1"/>
2122 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002123 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002124 </conditions>
2125 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002126 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002127 <font resource="font_s" color="%text_success_color%"/>
2128 <actions>
2129 <action function="set">tw_password_not_match=0</action>
2130 <action function="page">backupencryption</action>
2131 </actions>
2132 </button>
2133
2134 <fill color="%text_color%">
2135 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2136 </fill>
2137
2138 <text style="text_m_accent">
2139 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002140 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002141 </text>
2142
2143 <text style="text_m">
2144 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002145 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002146 </text>
2147
2148 <input>
2149 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2150 <text>%tw_backup_encrypt_display2%</text>
2151 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2152 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2153 <action function="page">checkbackuppassword</action>
2154 </input>
2155
2156 <fill color="%accent_color%">
2157 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2158 </fill>
2159
2160 <button style="main_button_half_height">
2161 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 <actions>
2164 <action function="set">tw_encrypt_backup=0</action>
2165 <action function="set">tw_backup_password=</action>
2166 <action function="set">tw_backup_password2=</action>
2167 <action function="set">tw_backup_encrypt_display=</action>
2168 <action function="set">tw_backup_encrypt_display2=</action>
2169 <action function="page">backup</action>
2170 </actions>
2171 </button>
2172
2173 <template name="keyboardtemplate"/>
2174
2175 <action>
2176 <touch key="home"/>
2177 <action function="page">main</action>
2178 </action>
2179
2180 <action>
2181 <touch key="back"/>
2182 <action function="page">backup</action>
2183 </action>
2184 </page>
2185
2186 <page name="checkbackuppassword">
2187 <action>
2188 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2189 <actions>
2190 <action function="set">tw_encrypt_backup=1</action>
2191 <action function="page">backup</action>
2192 </actions>
2193 </action>
2194
2195 <action>
2196 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2197 <actions>
2198 <action function="set">tw_encrypt_backup=0</action>
2199 <action function="set">tw_password_not_match=1</action>
2200 <action function="set">tw_backup_password=</action>
2201 <action function="set">tw_backup_password2=</action>
2202 <action function="set">tw_backup_encrypt_display=</action>
2203 <action function="set">tw_backup_encrypt_display2=</action>
2204 <action function="page">backupencryption</action>
2205 </actions>
2206 </action>
2207 </page>
2208
2209 <page name="backup_run">
2210 <template name="page"/>
2211
2212 <text style="text_l">
2213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2214 <text>%tw_operation%</text>
2215 </text>
2216
2217 <text style="text_m">
2218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2219 <text>%tw_partition% Partition</text>
2220 </text>
2221
2222 <template name="console"/>
2223
2224 <template name="progress_bar"/>
2225
2226 <text style="text_m_accent">
2227 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002228 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002229 </text>
2230
2231 <text style="text_m">
2232 <placement x="%indent%" y="%row20_y%"/>
2233 <text>%tw_file_progress%</text>
2234 </text>
2235
2236 <text style="text_m">
2237 <placement x="%indent%" y="%row21_y%"/>
2238 <text>%tw_size_progress%</text>
2239 </text>
2240
2241 <button style="main_button_half_height">
2242 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002243 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002244 <action function="cancelbackup"/>
2245 </button>
2246
2247 <action>
2248 <action function="nandroid">backup</action>
2249 </action>
2250
2251 <action>
2252 <condition var1="tw_operation_state" var2="1"/>
2253 <condition var1="tw_cancel_backup" var2="0"/>
2254 <actions>
2255 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002256 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002257 <action function="set">tw_show_reboot=1</action>
2258 <action function="page">action_complete</action>
2259 </actions>
2260 </action>
2261
2262 <action>
2263 <condition var1="tw_operation_state" var2="1"/>
2264 <condition var1="tw_cancel_backup" var2="1"/>
2265 <actions>
2266 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002268 <action function="set">tw_show_reboot=1</action>
2269 <action function="page">action_complete</action>
2270 </actions>
2271 </action>
2272 </page>
2273
2274 <page name="restore">
2275 <template name="page"/>
2276
Noah Jacobson81d638d2019-04-28 00:10:07 -04002277 <action>
2278 <conditions>
2279 <condition var1="tw_is_fbe" var2="1"/>
2280 <condition var1="tw_all_users_decrypted" var2="0"/>
2281 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2282 </conditions>
2283 <actions>
2284 <action function="set">tw_multiuser_warning_destination=restore</action>
2285 <action function="page">multiuser_warning</action>
2286 </actions>
2287 </action>
2288
z31s1g28f0a922015-11-07 18:50:22 +01002289 <text style="text_l">
2290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002291 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002292 </text>
2293
2294 <text style="text_m">
2295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002296 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002297 </text>
2298
2299 <template name="sort_options"/>
2300
2301 <fileselector>
2302 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002303 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002304 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002305 <path name="tw_backups_folder"/>
2306 <data name="tw_restore" default=""/>
2307 <selection name="tw_restore_name"/>
2308 </fileselector>
2309
2310 <button style="main_button_half_height">
2311 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 <actions>
2314 <action function="set">tw_back=restore</action>
2315 <action function="overlay">select_storage</action>
2316 </actions>
2317 </button>
2318
2319 <action>
2320 <condition var1="tw_restore" op="modified"/>
2321 <actions>
2322 <action function="readBackup"/>
2323 <action function="page">restore_read</action>
2324 </actions>
2325 </action>
2326
2327 <action>
2328 <touch key="home"/>
2329 <action function="page">main</action>
2330 </action>
2331
2332 <action>
2333 <touch key="back"/>
2334 <action function="page">main</action>
2335 </action>
2336 </page>
2337
2338 <page name="restore_read">
2339 <action>
2340 <condition var1="tw_restore_encrypted" var2="1"/>
2341 <actions>
2342 <action function="set">tw_password_fail=0</action>
2343 <action function="page">restore_decrypt</action>
2344 </actions>
2345 </action>
2346
2347 <action>
2348 <condition var1="tw_restore_encrypted" var2="0"/>
2349 <actions>
2350 <action function="page">restore_select</action>
2351 </actions>
2352 </action>
2353 </page>
2354
2355 <page name="restore_decrypt">
2356 <template name="page"/>
2357
2358 <text style="text_l">
2359 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002360 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002361 </text>
2362
2363 <text style="text_m">
2364 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 </text>
2367
2368 <text style="text_m_accent">
2369 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 </text>
2372
2373 <input>
2374 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2375 <text>%tw_restore_display%</text>
2376 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2377 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2378 <action function="page">try_restore_decrypt</action>
2379 </input>
2380
2381 <fill color="%accent_color%">
2382 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2383 </fill>
2384
2385 <fill color="%text_fail_color%">
2386 <condition var1="tw_password_fail" var2="1"/>
2387 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2388 </fill>
2389
2390 <text style="text_m_fail">
2391 <condition var1="tw_password_fail" var2="1"/>
2392 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002393 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002394 </text>
2395
2396 <button style="main_button_half_height">
2397 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002398 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002399 <actions>
2400 <action function="set">tw_page_done=1</action>
2401 <action function="page">restore</action>
2402 </actions>
2403 </button>
2404
2405 <button style="main_button_half_height">
2406 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002407 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002408 <actions>
2409 <action function="set">tw_back=restore</action>
2410 <action function="set">tw_action=cmd</action>
2411 <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 -05002412 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2413 <action function="set">tw_text2=%tw_restore_name%</action>
2414 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2415 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2416 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2417 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002418 <action function="page">confirm_action</action>
2419 </actions>
2420 </button>
2421
2422 <template name="keyboardtemplate"/>
2423
2424 <action>
2425 <touch key="home"/>
2426 <action function="page">main</action>
2427 </action>
2428
2429 <action>
2430 <touch key="back"/>
2431 <action function="page">restore</action>
2432 </action>
2433 </page>
2434
2435 <page name="try_restore_decrypt">
2436 <template name="page"/>
2437
2438 <text style="text_l">
2439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002440 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002441 </text>
2442
2443 <text style="text_m">
2444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002445 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002446 </text>
2447
2448 <template name="console"/>
2449
2450 <template name="progress_bar"/>
2451
2452 <action>
2453 <action function="decrypt_backup"/>
2454 </action>
2455
2456 <action>
2457 <conditions>
2458 <condition var1="tw_operation_state" var2="1"/>
2459 <condition var1="tw_operation_status" op="!=" var2="0"/>
2460 </conditions>
2461 <actions>
2462 <action function="set">tw_password_fail=1</action>
2463 <action function="page">restore_decrypt</action>
2464 </actions>
2465 </action>
2466
2467 <action>
2468 <conditions>
2469 <condition var1="tw_operation_state" var2="1"/>
2470 <condition var1="tw_operation_status" op="=" var2="0"/>
2471 </conditions>
2472 <actions>
2473 <action function="set">tw_page_done=1</action>
2474 <action function="page">restore_select</action>
2475 </actions>
2476 </action>
2477 </page>
2478
2479 <page name="restore_select">
2480 <template name="page"/>
2481
2482 <text style="text_l">
2483 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 </text>
2486
2487 <text style="text_m">
2488 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002489 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002490 </text>
2491
2492 <text style="text_m_accent">
2493 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002494 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002495 </text>
2496
2497 <text style="text_m">
2498 <placement x="%indent%" y="%row3_y%"/>
2499 <text>%tw_restore_name%</text>
2500 </text>
2501
2502 <fill color="%fileselector_linecolor%">
2503 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2504 </fill>
2505
2506 <button>
2507 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2508 <fill color="%transparent%"/>
2509 <actions>
2510 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2511 <action function="set">tw_fileexists=0</action>
2512 <action function="page">renamebackup</action>
2513 </actions>
2514 </button>
2515
2516 <partitionlist>
2517 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002518 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002519 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2520 <listtype name="restore"/>
2521 </partitionlist>
2522
2523 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002524 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002525 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002526 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2527 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </checkbox>
2529
2530 <button style="main_button_half_height">
2531 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002532 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 <actions>
2534 <action function="set">tw_back=restore</action>
2535 <action function="set">tw_action=cmd</action>
2536 <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 -05002537 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2540 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2541 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2542 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002543 <action function="page">confirm_action</action>
2544 </actions>
2545 </button>
2546
2547 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 <action function="page">restore_run</action>
2550 </slider>
2551
2552 <action>
2553 <touch key="home"/>
2554 <action function="page">main</action>
2555 </action>
2556
2557 <action>
2558 <touch key="back"/>
2559 <action function="page">restore</action>
2560 </action>
2561 </page>
2562
2563 <page name="renamebackup">
2564 <template name="page"/>
2565
2566 <text style="text_l">
2567 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002568 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002569 </text>
2570
2571 <text style="text_m">
2572 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002573 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002574 </text>
2575
2576 <text style="text_m_accent">
2577 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002578 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002579 </text>
2580
2581 <input>
2582 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2583 <text>%tw_backup_rename%</text>
2584 <data name="tw_backup_rename"/>
2585 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2586 <actions>
2587 <action function="set">tw_back=restore</action>
2588 <action function="set">tw_action=cmd</action>
2589 <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 -05002590 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2591 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2592 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2593 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2594 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2596 <action function="set">tw_existpage=renamebackup</action>
2597 <action function="set">tw_notexistpage=confirm_action</action>
2598 <action function="page">filecheck</action>
2599 </actions>
2600 </input>
2601
2602 <fill color="%accent_color%">
2603 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2604 </fill>
2605
2606 <fill color="%text_fail_color%">
2607 <condition var1="tw_fileexists" var2="1"/>
2608 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2609 </fill>
2610
2611 <text style="text_m_fail">
2612 <condition var1="tw_fileexists" var2="1"/>
2613 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002615 </text>
2616
2617 <button style="main_button_half_height">
2618 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002619 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002620 <action function="page">restore_select</action>
2621 </button>
2622
2623 <template name="keyboardtemplate"/>
2624
2625 <action>
2626 <touch key="home"/>
2627 <action function="page">main</action>
2628 </action>
2629
2630 <action>
2631 <touch key="back"/>
2632 <action function="page">restore_select</action>
2633 </action>
2634 </page>
2635
2636 <page name="restore_run">
2637 <template name="page"/>
2638
2639 <text style="text_l">
2640 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002642 </text>
2643
2644 <text style="text_m">
2645 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2646 <text>%tw_operation% %tw_partition%</text>
2647 </text>
2648
2649 <template name="console"/>
2650
2651 <template name="progress_bar"/>
2652
2653 <text style="text_m_accent">
2654 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002655 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002656 </text>
2657
2658 <text style="text_m">
2659 <placement x="%indent%" y="%row20_y%"/>
2660 <text>%tw_size_progress%</text>
2661 </text>
2662
2663 <action>
2664 <condition var1="tw_operation_state" var2="1"/>
2665 <actions>
2666 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002667 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002668 <action function="set">tw_show_reboot=1</action>
2669 <action function="page">action_complete</action>
2670 </actions>
2671 </action>
2672
2673 <action>
2674 <action function="nandroid">restore</action>
2675 </action>
2676 </page>
2677
2678 <page name="mount">
2679 <template name="page"/>
2680
2681 <text style="text_l">
2682 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 </text>
2685
2686 <text style="text_m">
2687 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002688 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002689 </text>
2690
2691 <partitionlist>
2692 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002694 <listtype name="mount"/>
2695 </partitionlist>
2696
2697 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002698 <conditions>
2699 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2700 <condition var1="tw_is_super" op="=" var2="0"/>
2701 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002702 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002703 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002704 <image resource="checkbox_false"/>
2705 <action function="mountsystemtoggle">1</action>
2706 </button>
2707
2708 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002709 <conditions>
2710 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2711 <condition var1="tw_is_super" op="=" var2="0"/>
2712 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002713 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002715 <image resource="checkbox_true"/>
2716 <actions>
2717 <action function="set">tw_lifetime_writes=2</action>
2718 <action function="page">system_readonly_check</action>
2719 </actions>
2720 </button>
2721
2722 <button style="main_button_half_height">
2723 <condition var1="tw_has_usb_storage" var2="1"/>
2724 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002725 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002726 <action function="page">usb_mount</action>
2727 </button>
2728
2729 <button style="main_button_half_height">
2730 <conditions>
2731 <condition var1="tw_is_encrypted" var2="1"/>
2732 <condition var1="tw_is_decrypted" var2="0"/>
2733 </conditions>
2734 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002735 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002736 <action function="set">tw_crypto_user_id=0</action>
2737 <action function="set">tw_crypto_password=</action>
2738 <action function="set">tw_password_fail=0</action>
2739 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002740 <action function="page">decrypt</action>
2741 </button>
2742
2743 <button style="main_button_half_height">
2744 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002745 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002746 <actions>
2747 <action function="set">tw_back=mount</action>
2748 <action function="overlay">select_storage</action>
2749 </actions>
2750 </button>
2751
2752 <button style="main_button_half_height">
2753 <conditions>
2754 <condition var1="tw_has_mtp" var2="1"/>
2755 <condition var1="tw_mtp_enabled" var2="0"/>
2756 </conditions>
2757 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002758 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002759 <action function="startmtp"/>
2760 </button>
2761
2762 <button style="main_button_half_height">
2763 <conditions>
2764 <condition var1="tw_has_mtp" var2="1"/>
2765 <condition var1="tw_mtp_enabled" var2="1"/>
2766 </conditions>
2767 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002768 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002769 <action function="stopmtp"/>
2770 </button>
2771
2772 <action>
2773 <touch key="home"/>
2774 <action function="page">main</action>
2775 </action>
2776
2777 <action>
2778 <touch key="back"/>
2779 <action function="page">main</action>
2780 </action>
2781 </page>
2782
2783 <page name="usb_mount">
2784 <template name="page"/>
2785
2786 <text style="text_l">
2787 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002788 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002789 </text>
2790
2791 <text style="text_m">
2792 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002793 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002794 </text>
2795
2796 <text style="text_m_accent">
2797 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002798 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002799 </text>
2800
2801 <text style="text_m">
2802 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002803 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002804 </text>
2805
2806 <text style="text_m">
2807 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002808 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002809 </text>
2810
2811 <button style="main_button_half_height">
2812 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002813 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <action function="page">usb_umount</action>
2815 </button>
2816
2817 <action>
2818 <action function="mount">usb</action>
2819 <action function="set">tw_busy=1</action>
2820 </action>
2821 </page>
2822
2823 <page name="usb_umount">
2824 <action>
2825 <action function="unmount">usb</action>
2826 </action>
2827
2828 <action>
2829 <action function="page">mount</action>
2830 <action function="set">tw_busy=0</action>
2831 </action>
2832 </page>
2833
2834 <page name="system_readonly_check">
2835 <action>
2836 <action function="checkpartitionlifetimewrites">/system</action>
2837 </action>
2838
2839 <action>
2840 <condition var1="tw_lifetime_writes" var2="1"/>
2841 <actions>
2842 <action function="mountsystemtoggle">0</action>
2843 <action function="page">mount</action>
2844 </actions>
2845 </action>
2846
2847 <action>
2848 <condition var1="tw_lifetime_writes" var2="0"/>
2849 <actions>
2850 <action function="set">tw_back=mount</action>
2851 <action function="page">system_readonly</action>
2852 </actions>
2853 </action>
2854 </page>
2855
bigbiffdf8436b2020-08-30 16:22:34 -04002856 <page name="fastbootreboot">
2857 <template name="page"/>
2858
2859 <text style="text_l">
2860 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2861 <text>{@reboot_hdr=Reboot}</text>
2862 </text>
2863
2864 <listbox style="advanced_listbox">
2865 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2866
2867 <listitem name="{@rb_system_btn=System}">
2868 <condition var1="tw_reboot_system" var2="1"/>
2869 <actions>
2870 <action function="set">tw_back=fastbootreboot</action>
2871 <action function="set">tw_action=reboot</action>
2872 <action function="set">tw_action_param=system</action>
2873 <action function="set">tw_reboot_param=system</action>
2874 <action function="set">tw_has_action2=0</action>
2875 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2876 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2877 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2878 <action function="page">confirm_action</action>
2879 </actions>
2880 </listitem>
2881
2882 <listitem name="{@rb_poweroff_btn=Power Off}">
2883 <condition var1="tw_reboot_poweroff" var2="1"/>
2884 <actions>
2885 <action function="set">tw_back=fastbootreboot</action>
2886 <action function="set">tw_action=reboot</action>
2887 <action function="set">tw_action_param=poweroff</action>
2888 <action function="set">tw_reboot_param=poweroff</action>
2889 <action function="set">tw_has_action2=0</action>
2890 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2891 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2892 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2893 <action function="page">confirm_action</action>
2894 </actions>
2895 </listitem>
2896
2897 <listitem name="{@rb_recovery_btn=Recovery}">
2898 <condition var1="tw_reboot_recovery" var2="1"/>
2899 <actions>
2900 <action function="set">tw_back=fastbootreboot</action>
2901 <action function="set">tw_action=reboot</action>
2902 <action function="set">tw_action_param=recovery</action>
2903 <action function="set">tw_reboot_param=recovery</action>
2904 <action function="set">tw_has_action2=0</action>
2905 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2906 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2907 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2908 <action function="page">confirm_action</action>
2909 </actions>
2910 </listitem>
2911
2912 <listitem name="{@rb_bootloader_btn=Bootloader}">
2913 <condition var1="tw_reboot_bootloader" var2="1"/>
2914 <actions>
2915 <action function="set">tw_back=fastbootreboot</action>
2916 <action function="set">tw_action=reboot</action>
2917 <action function="set">tw_action_param=bootloader</action>
2918 <action function="set">tw_reboot_param=bootloader</action>
2919 <action function="set">tw_has_action2=0</action>
2920 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2921 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2922 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2923 <action function="page">confirm_action</action>
2924 </actions>
2925 </listitem>
2926
2927 <listitem name="{@rb_download_btn=Download}">
2928 <condition var1="tw_download_mode" var2="1"/>
2929 <actions>
2930 <action function="set">tw_back=fastbootreboot</action>
2931 <action function="set">tw_action=reboot</action>
2932 <action function="set">tw_action_param=download</action>
2933 <action function="set">tw_reboot_param=download</action>
2934 <action function="set">tw_has_action2=0</action>
2935 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2936 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2937 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2938 <action function="page">confirm_action</action>
2939 </actions>
2940 </listitem>
2941
2942 <listitem name="{@fastboot_button=Fastboot}">
2943 <condition var1="tw_fastboot_mode" var2="1"/>
2944 <actions>
2945 <action function="set">tw_back=fastbootreboot</action>
2946 <action function="set">tw_action=reboot</action>
2947 <action function="set">tw_action_param=fastboot</action>
2948 <action function="set">tw_reboot_param=fastboot</action>
2949 <action function="set">tw_has_action2=0</action>
2950 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2951 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2952 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2953 <action function="page">confirm_action</action>
2954 </actions>
2955 </listitem>
2956
2957 <listitem name="{@rb_edl_btn=Edl}">
2958 <condition var1="tw_edl_mode" var2="1"/>
2959 <actions>
2960 <action function="set">tw_back=fastbootreboot</action>
2961 <action function="set">tw_action=reboot</action>
2962 <action function="set">tw_action_param=edl</action>
2963 <action function="set">tw_reboot_param=edl</action>
2964 <action function="set">tw_has_action2=0</action>
2965 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2966 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2967 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2968 <action function="page">confirm_action</action>
2969 </actions>
2970 </listitem>
2971 </listbox>
2972
2973 <action>
2974 <touch key="home"/>
2975 <action function="page">fastboot</action>
2976 </action>
2977
2978 <action>
2979 <touch key="back"/>
2980 <action function="page">fastboot</action>
2981 </action>
2982 </page>
2983
z31s1g28f0a922015-11-07 18:50:22 +01002984 <page name="reboot">
Ethan Yonker70e0a392020-12-17 14:51:50 -06002985 <action>
2986 <action function="checkforapp"></action>
2987 <action function="page">reboot2</action>
2988 </action>
2989 </page>
2990
2991 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002992 <template name="page"/>
2993
2994 <text style="text_l">
2995 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002996 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
bigbiffdf8436b2020-08-30 16:22:34 -04002999 <listbox style="advanced_listbox">
3000 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003001
bigbiffdf8436b2020-08-30 16:22:34 -04003002 <listitem name="{@rb_system_btn=System}">
3003 <condition var1="tw_reboot_system" var2="1"/>
3004 <actions>
3005 <action function="set">tw_back=reboot</action>
3006 <action function="page">reboot_system_routine</action>
3007 </actions>
3008 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003009
bigbiffdf8436b2020-08-30 16:22:34 -04003010 <listitem name="{@rb_poweroff_btn=Power Off}">
3011 <condition var1="tw_reboot_poweroff" var2="1"/>
3012 <actions>
3013 <action function="set">tw_back=reboot</action>
3014 <action function="set">tw_action=reboot</action>
3015 <action function="set">tw_action_param=poweroff</action>
3016 <action function="set">tw_reboot_param=poweroff</action>
3017 <action function="set">tw_has_action2=0</action>
3018 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3019 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3020 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3021 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3022 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
3023 <action function="page">rebootcheck</action>
3024 </actions>
3025 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003026
bigbiffdf8436b2020-08-30 16:22:34 -04003027 <listitem name="{@rb_recovery_btn=Recovery}">
3028 <condition var1="tw_reboot_recovery" var2="1"/>
3029 <actions>
3030 <action function="set">tw_back=reboot</action>
3031 <action function="set">tw_action=reboot</action>
3032 <action function="set">tw_action_param=recovery</action>
3033 <action function="set">tw_reboot_param=recovery</action>
3034 <action function="set">tw_has_action2=0</action>
3035 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3036 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3037 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3038 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3039 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3040 <action function="page">rebootcheck</action>
3041 </actions>
3042 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003043
bigbiffdf8436b2020-08-30 16:22:34 -04003044 <listitem name="{@rb_bootloader_btn=Bootloader}">
3045 <condition var1="tw_reboot_bootloader" var2="1"/>
3046 <actions>
3047 <action function="set">tw_back=reboot</action>
3048 <action function="set">tw_action=reboot</action>
3049 <action function="set">tw_action_param=bootloader</action>
3050 <action function="set">tw_reboot_param=bootloader</action>
3051 <action function="set">tw_has_action2=0</action>
3052 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3053 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3054 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3055 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3056 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3057 <action function="page">rebootcheck</action>
3058 </actions>
3059 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003060
bigbiffdf8436b2020-08-30 16:22:34 -04003061 <listitem name="{@rb_download_btn=Download}">
3062 <condition var1="tw_download_mode" var2="1"/>
3063 <actions>
3064 <action function="set">tw_back=reboot</action>
3065 <action function="set">tw_action=reboot</action>
3066 <action function="set">tw_action_param=download</action>
3067 <action function="set">tw_reboot_param=download</action>
3068 <action function="set">tw_has_action2=0</action>
3069 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3070 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3071 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3072 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3073 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3074 <action function="page">rebootcheck</action>
3075 </actions>
3076 </listitem>
3077
3078 <listitem name="{@fastboot_button=Fastboot}">
3079 <condition var1="tw_fastboot_mode" var2="1"/>
3080 <actions>
3081 <action function="set">tw_back=reboot</action>
3082 <action function="set">tw_action=reboot</action>
3083 <action function="set">tw_action_param=fastboot</action>
3084 <action function="set">tw_reboot_param=fastboot</action>
3085 <action function="set">tw_has_action2=0</action>
3086 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3087 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3088 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3089 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3090 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3091 <action function="page">rebootcheck</action>
3092 </actions>
3093 </listitem>
3094
3095 <listitem name="{@rb_edl_btn=Edl}">
3096 <condition var1="tw_edl_mode" var2="1"/>
3097 <actions>
3098 <action function="set">tw_back=reboot</action>
3099 <action function="set">tw_action=reboot</action>
3100 <action function="set">tw_action_param=edl</action>
3101 <action function="set">tw_reboot_param=edl</action>
3102 <action function="set">tw_has_action2=0</action>
3103 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3104 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3105 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3106 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3107 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3108 <action function="page">rebootcheck</action>
3109 </actions>
3110 </button>
3111 </listbox>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003112
Ethan Yonker1b190162016-12-05 15:25:19 -06003113 <text style="text_m">
3114 <condition var1="tw_has_boot_slots" var2="1"/>
bigbiffdf8436b2020-08-30 16:22:34 -04003115 <placement x="%center_x%" y="%row15_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06003116 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
3117 </text>
3118
bigbiffdf8436b2020-08-30 16:22:34 -04003119 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003120 <condition var1="tw_has_boot_slots" var2="1"/>
3121 <placement x="%indent%" y="%row19_y%"/>
3122 <text>{@boot_slot_a=Slot A}</text>
3123 <actions>
3124 <action function="set">tw_back=reboot</action>
3125 <action function="set">tw_action=setbootslot</action>
3126 <action function="set">tw_action_param=A</action>
3127 <action function="set">tw_has_action2=0</action>
3128 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3129 <action function="set">tw_action_text2=</action>
3130 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3131 <action function="page">action_page</action>
3132 </actions>
3133 </button>
3134
bigbiffdf8436b2020-08-30 16:22:34 -04003135 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003136 <condition var1="tw_has_boot_slots" var2="1"/>
3137 <placement x="%center_x%" y="%row19_y%"/>
3138 <text>{@boot_slot_b=Slot B}</text>
3139 <actions>
3140 <action function="set">tw_back=reboot</action>
3141 <action function="set">tw_action=setbootslot</action>
3142 <action function="set">tw_action_param=B</action>
3143 <action function="set">tw_has_action2=0</action>
3144 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3145 <action function="set">tw_action_text2=</action>
3146 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3147 <action function="page">action_page</action>
3148 </actions>
3149 </button>
3150
Ethan Yonker70e0a392020-12-17 14:51:50 -06003151 <button style="main_button_half_height">
3152 <condition var1="tw_app_install_status" var2="1"/>
3153 <placement x="%indent%" y="%row22_y%"/>
3154 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
3155 <actions>
3156 <action function="set">tw_back=reboot</action>
3157 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
3158 <action function="page">installapp</action>
3159 </actions>
3160 </button>
3161
z31s1g28f0a922015-11-07 18:50:22 +01003162 <action>
3163 <touch key="home"/>
3164 <action function="page">main</action>
3165 </action>
3166
3167 <action>
3168 <touch key="back"/>
3169 <action function="page">main</action>
3170 </action>
3171 </page>
3172
Ethan Yonker70e0a392020-12-17 14:51:50 -06003173 <page name="installapp">
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003174 <template name="page"/>
3175
3176 <text style="text_l">
3177 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003178 <text>%tw_appinstall_title%</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003179 </text>
3180
3181 <text style="text_m">
3182 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003183 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003184 </text>
3185
3186 <text style="text_m_accent">
3187 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3188 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3189 </text>
3190
3191 <text style="text_m_accent">
3192 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3193 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3194 </text>
3195
3196 <checkbox>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003197 <condition var1="tw_mount_system_ro" var2="0"/>
3198 <placement x="%indent%" y="%row7_y%"/>
3199 <text>{@reboot_install_app_system=Install as a System App}</text>
3200 <data variable="tw_app_install_system"/>
3201 </checkbox>
3202
3203 <button style="main_button_half_height">
3204 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003205 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003206 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003207 </button>
3208
3209 <slider>
3210 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3211 <actions>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003212 <action function="set">tw_action=installapp</action>
3213 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3214 <action function="set">tw_action_text2=</action>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003215 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003216 <action function="page">action_page</action>
3217 </actions>
3218 </slider>
3219
3220 <action>
3221 <touch key="home"/>
3222 <actions>
3223 <action function="set">tw_app_install_status=0</action>
3224 <action function="page">main</action>
3225 </actions>
3226 </action>
3227
3228 <action>
3229 <touch key="back"/>
3230 <actions>
3231 <action function="set">tw_app_install_status=0</action>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003232 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003233 </actions>
3234 </action>
3235 </page>
3236
z31s1g28f0a922015-11-07 18:50:22 +01003237 <page name="system_readonly">
3238 <template name="page"/>
3239
3240 <text style="text_l">
3241 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 </text>
3244
3245 <text style="text_m_accent">
3246 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003247 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003248 </text>
3249
3250 <text style="text_m">
3251 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003252 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003253 </text>
3254
3255 <text style="text_m">
3256 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 </text>
3259
3260 <text style="text_m">
3261 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </text>
3264
3265 <text style="text_m">
3266 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 </text>
3269
3270 <text style="text_m_fail">
3271 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 </text>
3274
3275 <text style="text_m_fail">
3276 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003278 </text>
3279
3280 <checkbox>
3281 <condition var1="tw_is_encrypted" var2="0"/>
3282 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <data variable="tw_never_show_system_ro_page"/>
3285 </checkbox>
3286
3287 <button style="main_button_half_height">
3288 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003289 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003290 <actions>
3291 <action function="mountsystemtoggle">1</action>
3292 <action function="set">tw_page_done=1</action>
3293 <action function="page">%tw_back%</action>
3294 </actions>
3295 </button>
3296
z31s1g608d7ff2016-01-18 19:47:25 +01003297 <button style="main_button_half_height">
3298 <placement x="%center_x%" y="%row18a_y%"/>
3299 <text>{@sel_lang_btn=Select Language}</text>
3300 <action function="overlay">select_language</action>
3301 </button>
3302
z31s1g28f0a922015-11-07 18:50:22 +01003303 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003305 <actions>
3306 <action function="mountsystemtoggle">0</action>
3307 <action function="set">tw_page_done=1</action>
3308 <action function="page">%tw_back%</action>
3309 </actions>
3310 </slider>
3311 </page>
3312
3313 <page name="settings">
3314 <template name="page"/>
3315
3316 <text style="text_l">
3317 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 </text>
3320
3321 <text style="text_m">
3322 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003323 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003324 </text>
3325
3326 <template name="tabs_settings"/>
3327
3328 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </fill>
3331
3332 <listbox style="scrolllist">
3333 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3334 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003336 <data variable="tw_signed_zip_verify"/>
3337 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003338 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3339 <data variable="tw_install_reboot"/>
3340 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003341 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003342 <data variable="tw_rm_rf"/>
3343 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003344 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3345 <data variable="tw_disable_free_space"/>
3346 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003347 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3348 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003349 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003350 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3351 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003352 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003353 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003354 <data variable="tw_military_time"/>
3355 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003357 <data variable="tw_samsung_navbar"/>
3358 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003359 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003360 <data variable="tw_simulate_actions"/>
3361 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003362 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003363 <condition var1="tw_simulate_actions" var2="1"/>
3364 <data variable="tw_simulate_fail"/>
3365 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003366 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3367 <condition var1="tw_no_sha2" var2="0"/>
3368 <data variable="tw_use_sha2"/>
3369 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003370 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3371 <data variable="tw_unmount_system"/>
3372 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </listbox>
3374
3375 <button style="main_button_half_height">
3376 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003378 <actions>
3379 <action function="set">tw_samsung_navbar=0</action>
3380 <action function="set">tw_tab_icons=0</action>
3381 <action function="restoredefaultsettings"/>
3382 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003383 </button>
3384
3385 <action>
3386 <touch key="home"/>
3387 <action function="page">main</action>
3388 </action>
3389
3390 <action>
3391 <touch key="back"/>
3392 <action function="page">main</action>
3393 </action>
3394 </page>
3395
3396 <page name="settings_timezone">
3397 <template name="page"/>
3398
3399 <text style="text_l">
3400 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003401 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003402 </text>
3403
3404 <text style="text_m">
3405 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003407 </text>
3408
3409 <template name="tabs_settings"/>
3410
3411 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003412 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003413 </fill>
3414
3415 <listbox>
3416 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003417 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003418 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003419 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3420 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3421 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3422 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3423 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3424 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3425 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3426 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3427 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3428 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3429 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3430 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3431 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3432 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3433 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3434 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3435 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3436 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3437 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3438 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3439 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3440 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3441 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3442 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003443 </listbox>
3444
3445 <text style="text_m_accent">
3446 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 </text>
3449
3450 <button style="button_quarter_width">
3451 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003453 <action function="set">tw_time_zone_guioffset=0</action>
3454 </button>
3455
3456 <button style="button_quarter_width">
3457 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003458 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003459 <action function="set">tw_time_zone_guioffset=15</action>
3460 </button>
3461
3462 <button style="button_quarter_width">
3463 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003464 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003465 <action function="set">tw_time_zone_guioffset=30</action>
3466 </button>
3467
3468 <button style="button_quarter_width">
3469 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 <action function="set">tw_time_zone_guioffset=45</action>
3472 </button>
3473
3474 <checkbox>
3475 <placement x="%indent%" y="%row18a_y%"/>
3476 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003477 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <data variable="tw_time_zone_guidst"/>
3479 <image checked="checkbox_true" unchecked="checkbox_false"/>
3480 </checkbox>
3481
3482 <text color="%text_color%">
3483 <font resource="font_m"/>
3484 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003485 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003486 </text>
3487
3488 <button>
3489 <highlight color="%highlight_color%"/>
3490 <placement x="%center_x%" y="%row21a_y%"/>
3491 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 <image resource="main_button_half_height"/>
3494 <action function="setguitimezone"/>
3495 </button>
3496
3497 <action>
3498 <touch key="home"/>
3499 <action function="page">main</action>
3500 </action>
3501
3502 <action>
3503 <touch key="back"/>
3504 <action function="page">main</action>
3505 </action>
3506 </page>
3507
3508 <page name="settings_screen">
3509 <template name="page"/>
3510
3511 <text style="text_l">
3512 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 </text>
3515
3516 <text style="text_m">
3517 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003518 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003519 </text>
3520
3521 <template name="tabs_settings"/>
3522
3523 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003525 </fill>
3526
3527 <button>
3528 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3529 <font resource="font_m" color="%text_color%"/>
3530 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3531 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003532 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003533 <image resource="checkbox_false"/>
3534 <action function="set">tw_screen_timeout_secs=60</action>
3535 </button>
3536
3537 <button>
3538 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3539 <font resource="font_m" color="%text_color%"/>
3540 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3541 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <image resource="checkbox_true"/>
3544 <action function="set">tw_screen_timeout_secs=0</action>
3545 </button>
3546
3547 <slidervalue>
3548 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3549 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3550 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003551 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003552 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3553 </slidervalue>
3554
3555 <slidervalue>
3556 <condition var1="tw_has_brightnesss_file" var2="1"/>
3557 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <data variable="tw_brightness_pct" min="10" max="100"/>
3560 <actions>
3561 <action function="set">tw_brightness=%tw_brightness_max%</action>
3562 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3563 <action function="compute">tw_brightness/100</action>
3564 <action function="setbrightness">%tw_brightness%</action>
3565 </actions>
3566 </slidervalue>
3567
3568 <action>
3569 <touch key="home"/>
3570 <action function="page">main</action>
3571 </action>
3572
3573 <action>
3574 <touch key="back"/>
3575 <action function="page">main</action>
3576 </action>
3577 </page>
3578
3579 <page name="settings_vibration">
3580 <template name="page"/>
3581
3582 <text style="text_l">
3583 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003584 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003585 </text>
3586
3587 <text style="text_m">
3588 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003589 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003590 </text>
3591
3592 <template name="tabs_settings"/>
3593
3594 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003595 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003596 </fill>
3597
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003598 <text style="text_m">
3599 <condition var1="tw_disable_haptics" var2="1"/>
3600 <placement x="%indent%" y="%row4_y%"/>
3601 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3602 </text>
3603
z31s1g28f0a922015-11-07 18:50:22 +01003604 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003605 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003606 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003607 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003608 <data variable="tw_button_vibrate" min="0" max="300"/>
3609 </slidervalue>
3610
3611 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003612 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003613 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003614 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003615 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3616 </slidervalue>
3617
3618 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003619 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003620 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003621 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003622 <data variable="tw_action_vibrate" min="0" max="500"/>
3623 </slidervalue>
3624
3625 <action>
3626 <touch key="home"/>
3627 <action function="page">main</action>
3628 </action>
3629
3630 <action>
3631 <touch key="back"/>
3632 <action function="page">main</action>
3633 </action>
3634 </page>
3635
Ethan Yonker74db1572015-10-28 12:44:49 -05003636 <page name="settings_language">
3637 <template name="page"/>
3638
3639 <text style="text_l">
3640 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3641 <text>{@settings_hdr=Settings}</text>
3642 </text>
3643
3644 <text style="text_m">
3645 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3646 <text>{@language_hdr=Language - %tw_language_display%}</text>
3647 </text>
3648
3649 <template name="tabs_settings"/>
3650
3651 <fill color="%text_color%">
3652 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3653 </fill>
3654
3655 <listbox>
3656 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3657 <text>{@select_language=Select Language:}</text>
3658 <icon selected="radio_true" unselected="radio_false" />
3659 <data name="tw_language" />
3660 </listbox>
3661
3662 <button style="main_button_half_height">
3663 <placement x="%center_x%" y="%row21a_y%"/>
3664 <text>{@set_language_btn=Set Language}</text>
3665 <action function="setlanguage"></action>
3666 </button>
3667
3668 <action>
3669 <touch key="home" />
3670 <action function="page">main</action>
3671 </action>
3672
3673 <action>
3674 <touch key="back" />
3675 <action function="page">settings</action>
3676 </action>
3677 </page>
3678
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003679 <page name="copylog">
3680 <template name="page"/>
3681
3682 <text style="text_l">
3683 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3684 <text>{@copying_log=Copy Logs to SD Card}</text>
3685 </text>
3686
3687 <checkbox>
3688 <placement x="%indent%" y="%row4_y%"/>
3689 <text>{@include_kernel_log=Include Kernel Log}</text>
3690 <data variable="tw_include_kernel_log" value="1"/>
3691 </checkbox>
3692
3693 <slider>
3694 <text>{@copying_log=Copy Logs to SD Card}</text>
3695 <actions>
3696 <action function="set">tw_back=advanced</action>
3697 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003698 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3699 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003700 <action function="page">action_page</action>
3701 </actions>
3702 </slider>
3703
3704 <action>
3705 <touch key="home"/>
3706 <action function="page">main</action>
3707 </action>
3708
3709 <action>
3710 <touch key="back"/>
3711 <actions>
3712 <action function="page">advanced</action>
3713 </actions>
3714 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003715 </page>
3716
z31s1g28f0a922015-11-07 18:50:22 +01003717 <page name="advanced">
3718 <template name="page"/>
3719
3720 <text style="text_l">
3721 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003723 </text>
3724
3725 <button style="main_button">
3726 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003727 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003728 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </button>
3730
3731 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003732 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003733 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003734 <text>{@adb_sideload_btn=ADB Sideload}</text>
3735 <action function="page">sideload</action>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </button>
3737
3738 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003739 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003740 <text>{@terminal_btn=Terminal}</text>
3741 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </button>
3743
3744 <button style="main_button">
3745 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003746 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003747 <action function="page">filemanagerlist</action>
3748 </button>
3749
Ethan Yonker64e0a652018-07-25 09:52:17 -05003750 <listbox style="advanced_listbox">
3751 <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003752 <listitem name="{@decrypt_users=Decrypt Users}">
3753 <conditions>
3754 <condition var1="tw_is_fbe" var2="1"/>
3755 <condition var1="tw_all_users_decrypted" var2="0"/>
3756 </conditions>
3757 <actions>
3758 <action function="set">tw_crypto_user_id=</action>
3759 <action function="page">decrypt_users</action>
3760 </actions>
3761 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003762 <listitem name="{@reload_theme_btn=Reload Theme}">
3763 <action function="reload"/>
3764 </listitem>
3765 <listitem name="{@part_sd_btn=Partition SD Card}">
3766 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3767 <actions>
3768 <action function="set">partitionlisterror=0</action>
3769 <action function="page">partsdcardsel</action>
3770 </actions>
3771 </listitem>
3772 <listitem name="{@fix_context_btn=Fix Contexts}">
3773 <condition var1="tw_has_data_media" var2="1"/>
3774 <action function="page">fixcontexts</action>
3775 </listitem>
3776 <listitem name="{@dumlock_btn=HTC Dumlock}">
3777 <condition var1="tw_show_dumlock" var2="1"/>
3778 <action function="page">htcdumlock</action>
3779 </listitem>
3780 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3781 <condition var1="tw_has_injecttwrp" var2="1"/>
3782 <actions>
3783 <action function="set">tw_back=advanced</action>
3784 <action function="set">tw_action=reinjecttwrp</action>
3785 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3786 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3787 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3788 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3789 <action function="page">confirm_action</action>
3790 </actions>
3791 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003792 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3793 <conditions>
3794 <condition var1="tw_has_boot_slots" var2="1"/>
3795 <condition var1="tw_has_repack_tools" var2="1"/>
3796 </conditions>
3797 <actions>
3798 <action function="set">tw_repack_kernel=0</action>
3799 <action function="page">repackselect</action>
3800 </actions>
3801 </listitem>
3802 <listitem name="{@install_kernel=Install Kernel}">
3803 <conditions>
3804 <condition var1="tw_has_boot_slots" var2="1"/>
3805 <condition var1="tw_has_repack_tools" var2="1"/>
3806 </conditions>
3807 <actions>
3808 <action function="set">tw_repack_kernel=1</action>
3809 <action function="page">repackselect</action>
3810 </actions>
3811 </listitem>
3812 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3813 <conditions>
3814 <condition var1="tw_has_boot_slots" var2="1"/>
3815 <condition var1="tw_has_repack_tools" var2="1"/>
3816 </conditions>
3817 <actions>
3818 <action function="set">tw_back=advanced</action>
3819 <action function="set">tw_action=fixabrecoverybootloop</action>
3820 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3821 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3822 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3823 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3824 <action function="page">confirm_action</action>
3825 </actions>
3826 </listitem>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003827 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3828 <condition var1="tw_app_install_status" var2="1"/>
3829 <actions>
3830 <action function="set">tw_back=advanced</action>
3831 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3832 <action function="page">installapp</action>
3833 </actions>
3834 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003835 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3836 <condition var1="tw_app_installed_in_system" var2="1"/>
3837 <actions>
3838 <action function="set">tw_back=advanced</action>
3839 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3840 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3841 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3842 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3843 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3844 <action function="page">confirm_action</action>
3845 </actions>
3846 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003847 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003848
3849 <action>
3850 <touch key="home"/>
3851 <action function="page">main</action>
3852 </action>
3853
3854 <action>
3855 <touch key="back"/>
3856 <action function="page">main</action>
3857 </action>
3858 </page>
3859
Ethan Yonker483e9f42016-01-11 22:21:18 -06003860 <page name="partsdcardsel">
3861 <template name="page"/>
3862
3863 <text style="text_l">
3864 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3865 <text>{@advanced_hdr=Advanced}</text>
3866 </text>
3867
3868 <text style="text_m">
3869 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3870 <text>{@part_sd_hdr=Partition SD Card}</text>
3871 </text>
3872
z31s1g782e1c92016-01-30 16:50:09 +01003873 <partitionlist>
3874 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003875 <text>{@sel_storage_list=Select Storage}</text>
3876 <data name="tw_storage_path"/>
3877 <listtype name="storage"/>
3878 </partitionlist>
3879
3880 <text style="text_m_fail">
3881 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003882 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003883 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3884 </text>
3885
z31s1g782e1c92016-01-30 16:50:09 +01003886 <button style="main_button_half_height">
3887 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003888 <text>{@ok_btn=OK}</text>
3889 <actions>
3890 <action function="getpartitiondetails">tw_storage_path</action>
3891 <action function="page">partsdcardcheck</action>
3892 </actions>
3893 </button>
3894
3895 <action>
3896 <touch key="home"/>
3897 <action function="page">main</action>
3898 </action>
3899
3900 <action>
3901 <touch key="back"/>
3902 <action function="page">advanced</action>
3903 </action>
3904 </page>
3905
3906 <page name="partsdcardcheck">
3907 <action>
3908 <condition var1="tw_partition_removable" op="=" var2="1"/>
3909 <actions>
3910 <action function="set">partitionlisterror=0</action>
3911 <action function="page">partsdcard</action>
3912 </actions>
3913 </action>
3914
3915 <action>
3916 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3917 <actions>
3918 <action function="set">partitionlisterror=1</action>
3919 <action function="page">partsdcardsel</action>
3920 </actions>
3921 </action>
3922 </page>
3923
z31s1g28f0a922015-11-07 18:50:22 +01003924 <page name="partsdcard">
3925 <template name="page"/>
3926
3927 <text style="text_l">
3928 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003929 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003930 </text>
3931
3932 <text style="text_m">
3933 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003934 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003935 </text>
3936
3937 <text style="text_m_fail">
3938 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <text style="text_m_fail">
3943 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003944 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003945 </text>
3946
3947 <text style="text_m_accent">
3948 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003949 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003950 </text>
3951
3952 <text style="text_m">
3953 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3954 <text>%tw_sdext_size%</text>
3955 </text>
3956
3957 <button style="button_quarter_width">
3958 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003960 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003961 </button>
3962
3963 <button style="button_quarter_width">
3964 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003966 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003967 </button>
3968
3969 <text style="text_m_accent">
3970 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003972 </text>
3973
3974 <text style="text_m">
3975 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3976 <text>%tw_swap_size%</text>
3977 </text>
3978
3979 <button style="button_quarter_width">
3980 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003982 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </button>
3984
3985 <button style="button_quarter_width">
3986 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003987 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003988 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003989 </button>
3990
3991 <text style="text_m_accent">
3992 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003994 </text>
3995
3996 <text style="text_m">
3997 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3998 <text>%tw_sdpart_file_system%</text>
3999 </text>
4000
4001 <button style="button_quarter_width">
4002 <placement x="%indent%" y="%row14_y%"/>
4003 <text>EXT3</text>
4004 <action function="set">tw_sdpart_file_system=ext3</action>
4005 </button>
4006
4007 <button style="button_quarter_width">
4008 <placement x="%btn4_col4_x%" y="%row14_y%"/>
4009 <text>EXT4</text>
4010 <action function="set">tw_sdpart_file_system=ext4</action>
4011 </button>
4012
4013 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004014 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004015 <action function="page">partsdcardaction</action>
4016 <actions>
4017 <action function="set">tw_back=partsdcard</action>
4018 <action function="set">tw_action=partitionsd</action>
4019 <action function="set">tw_has_action2=1</action>
4020 <action function="set">tw_action2=set</action>
4021 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4023 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4024 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004025 <action function="page">action_page</action>
4026 </actions>
4027 </slider>
4028
4029 <action>
4030 <touch key="home"/>
4031 <action function="page">main</action>
4032 </action>
4033
4034 <action>
4035 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004036 <actions>
4037 <action function="set">partitionlisterror=0</action>
4038 <action function="page">partsdcardsel</action>
4039 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004040 </action>
4041 </page>
4042
4043 <page name="htcdumlock">
4044 <template name="page"/>
4045
4046 <text style="text_l">
4047 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 </text>
4050
4051 <text style="text_m">
4052 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <button style="main_button_half_height_full_width">
4057 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <actions>
4060 <action function="set">tw_back=htcdumlock</action>
4061 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004062 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4063 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4064 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4065 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004066 <action function="page">confirm_action</action>
4067 </actions>
4068 </button>
4069
4070 <button style="main_button_half_height_full_width">
4071 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004072 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004073 <actions>
4074 <action function="set">tw_back=htcdumlock</action>
4075 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004076 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4077 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4078 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4079 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <action function="page">confirm_action</action>
4081 </actions>
4082 </button>
4083
4084 <button style="main_button_half_height_full_width">
4085 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004086 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004087 <actions>
4088 <action function="set">tw_back=htcdumlock</action>
4089 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4091 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4092 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4093 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004094 <action function="page">confirm_action</action>
4095 </actions>
4096 </button>
4097
4098 <action>
4099 <touch key="home"/>
4100 <action function="page">main</action>
4101 </action>
4102
4103 <action>
4104 <touch key="back"/>
4105 <action function="page">advanced</action>
4106 </action>
4107 </page>
4108
Ethan Yonker53796e72019-01-11 22:49:52 -06004109 <page name="repackselect">
4110 <template name="page"/>
4111
4112 <text style="text_l">
4113 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4114 <text>{@repack_image_hdr=Select Image}</text>
4115 </text>
4116
4117 <text style="text_m">
4118 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4119 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4120 </text>
4121
4122 <template name="sort_options"/>
4123
4124 <fileselector>
4125 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
4126 <text>%tw_zip_location%</text>
4127 <filter extn=".img" folders="1" files="1"/>
4128 <path name="tw_zip_location" default="/sdcard"/>
4129 <data name="tw_filename"/>
4130 <selection name="tw_file"/>
4131 </fileselector>
4132
4133 <button style="main_button_half_height">
4134 <placement x="%indent%" y="%row21a_y%"/>
4135 <text>{@select_storage_btn=Select Storage}</text>
4136 <actions>
4137 <action function="set">tw_back=repackselect</action>
4138 <action function="overlay">select_storage</action>
4139 </actions>
4140 </button>
4141
4142 <action>
4143 <conditions>
4144 <condition var1="tw_filename" op="modified"/>
4145 </conditions>
4146 <action function="page">repackconfirm</action>
4147 </action>
4148
4149 <action>
4150 <touch key="back"/>
4151 <action function="page">advanced</action>
4152 </action>
4153
4154 <action>
4155 <touch key="home"/>
4156 <action function="page">main</action>
4157 </action>
4158 </page>
4159
4160 <page name="repackconfirm">
4161 <template name="page"/>
4162
4163 <text style="text_l">
4164 <condition var1="tw_repack_kernel" var2="1"/>
4165 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4166 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4167 </text>
4168
4169 <text style="text_l">
4170 <condition var1="tw_repack_kernel" var2="0"/>
4171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4172 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4173 </text>
4174
4175 <text style="text_m">
4176 <condition var1="tw_repack_kernel" var2="1"/>
4177 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4178 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4179 </text>
4180
4181 <text style="text_m">
4182 <condition var1="tw_repack_kernel" var2="0"/>
4183 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4184 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4185 </text>
4186
4187 <text style="text_m_accent">
4188 <placement x="%indent%" y="%row2_y%"/>
4189 <text>{@folder=Folder:}</text>
4190 </text>
4191
4192 <text style="text_m">
4193 <placement x="%indent%" y="%row3_y%"/>
4194 <text>%tw_zip_location%</text>
4195 </text>
4196
4197 <text style="text_m_accent">
4198 <placement x="%indent%" y="%row4_y%"/>
4199 <text>{@file=File:}</text>
4200 </text>
4201
4202 <text style="text_m">
4203 <placement x="%indent%" y="%row5_y%"/>
4204 <text>%tw_file%</text>
4205 </text>
4206
4207 <checkbox>
4208 <placement x="%indent%" y="%row7_y%"/>
4209 <text>{@repack_backup_first=Back up existing image first}</text>
4210 <data variable="tw_repack_backup_first"/>
4211 </checkbox>
4212
4213 <button style="main_button_half_height">
4214 <placement x="%indent%" y="%row16_y%"/>
4215 <text>{@install_cancel=Do not Install}</text>
4216 <action function="page">repackselect</action>
4217 </button>
4218
4219 <slider>
4220 <text>{@swipe_to_install=Swipe to Install}</text>
4221 <actions>
4222 <action function="set">tw_back=advanced</action>
4223 <action function="set">tw_action=repackimage</action>
4224 <action function="set">tw_action_param=/boot</action>
4225 <action function="set">tw_action_text1={@installing=Installing...}</action>
4226 <action function="set">tw_action_text2=</action>
4227 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4228 <action function="page">action_page</action>
4229 </actions>
4230 </slider>
4231
4232 <action>
4233 <touch key="back"/>
4234 <action function="page">repackselect</action>
4235 </action>
4236
4237 <action>
4238 <touch key="home"/>
4239 <action function="page">main</action>
4240 </action>
4241 </page>
4242
z31s1g28f0a922015-11-07 18:50:22 +01004243 <page name="lock">
4244 <background color="%semi_transparent%"/>
4245
4246 <image>
4247 <image resource="unlock_icon"/>
4248 <placement x="%center_x%" y="%row10_y%" placement="4"/>
4249 </image>
4250
4251 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004252 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004253 <action function="overlay"/>
4254 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004255
4256 <action>
4257 <touch key="power"/>
4258 <action function="togglebacklight"/>
4259 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004260 </page>
4261
4262 <page name="filemanagerlist">
4263 <template name="page"/>
4264
4265 <text style="text_l">
4266 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004267 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004268 </text>
4269
4270 <text style="text_m">
4271 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004272 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004273 </text>
4274
4275 <template name="sort_options"/>
4276
4277 <fileselector>
4278 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4279 <text>%tw_file_location1%</text>
4280 <filter folders="1" files="1"/>
4281 <path name="tw_file_location1" default="/"/>
4282 <data name="tw_filename1"/>
4283 <selection name="tw_selection1"/>
4284 </fileselector>
4285
4286 <button style="fab">
4287 <image resource="fab_selectfolder"/>
4288 <actions>
4289 <action function="set">tw_filename1=tw_file_location1</action>
4290 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004291 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004292 <action function="page">filemanageroptions</action>
4293 </actions>
4294 </button>
4295
4296 <action>
4297 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004299 <action function="set">tw_fm_isfolder=0</action>
4300 </actions>
4301 </action>
4302
4303 <action>
4304 <touch key="home"/>
4305 <action function="page">main</action>
4306 </action>
4307
4308 <action>
4309 <touch key="back"/>
4310 <action function="page">advanced</action>
4311 </action>
4312
4313 <action>
4314 <condition var1="tw_filename1" op="modified"/>
4315 <action function="page">filemanageroptions</action>
4316 </action>
4317 </page>
4318
4319 <page name="filemanageroptions">
4320 <template name="page"/>
4321
4322 <text style="text_l">
4323 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004324 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004325 </text>
4326
4327 <text style="text_m">
4328 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </text>
4331
4332 <text style="text_m_accent">
4333 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004334 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004335 </text>
4336
4337 <text style="text_m">
4338 <placement x="%indent%" y="%row3_y%"/>
4339 <text>%tw_filename1%</text>
4340 </text>
4341
4342 <button style="main_button_half_height">
Captain Throwback51de3b62021-02-12 19:32:36 -05004343 <conditions>
4344 <condition var1="tw_include_nano" var2="1"/>
4345 <condition var1="tw_fm_isfolder" var2="0"/>
4346 </conditions>
4347 <placement x="%indent%" y="%row12a_y%"/>
4348 <text>{@fm_edit_file=Edit File}</text>
4349 <actions>
4350 <action function="editfile">nano "%tw_filename1%"</action>
4351 <action function="page">terminalcommand</action>
4352 </actions>
4353 </button>
4354
4355 <button style="main_button_half_height">
Mohd Farazd59a6042020-08-12 12:29:42 +00004356 <condition var1="tw_fm_isfolder" var2="1"/>
4357 <placement x="%center_x%" y="%row12a_y%"/>
4358 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4359 <action function="changeterminal">%tw_filename1%</action>
4360 </button>
4361
4362 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +01004363 <condition var1="tw_fm_isfolder" var2="0"/>
4364 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004365 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004366 <actions>
4367 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004369 <action function="page">choosedestinationfolder</action>
4370 </actions>
4371 </button>
4372
4373 <button style="main_button_half_height">
4374 <condition var1="tw_fm_isfolder" var2="1"/>
4375 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004376 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004377 <actions>
4378 <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 -05004379 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004380 <action function="page">choosedestinationfolder</action>
4381 </actions>
4382 </button>
4383
4384 <button style="main_button_half_height">
4385 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004386 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004387 <actions>
4388 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004389 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004390 <action function="page">choosedestinationfolder</action>
4391 </actions>
4392 </button>
4393
4394 <button style="main_button_half_height">
4395 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 <actions>
4398 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004400 <action function="set">tw_fm_text2=</action>
4401 <action function="set">tw_fm_text3=</action>
4402 <action function="set">tw_include_text3=0</action>
4403 <action function="set">tw_back=filemanageroptions</action>
4404 <action function="page">filemanagerconfirm</action>
4405 </actions>
4406 </button>
4407
4408 <button style="main_button_half_height">
4409 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004410 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004411 <actions>
4412 <action function="set">tw_filemanager_rename=0000</action>
4413 <action function="set">tw_fm_text2=</action>
4414 <action function="set">tw_fm_text3=</action>
4415 <action function="set">tw_include_text3=0</action>
4416 <action function="set">tw_back=filemanageroptions</action>
4417 <action function="page">filemanagerchmod</action>
4418 </actions>
4419 </button>
4420
4421 <button style="main_button_half_height">
4422 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 <actions>
4425 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004427 <action function="set">tw_fm_text2=</action>
4428 <action function="set">tw_fm_text3=</action>
4429 <action function="set">tw_include_text3=0</action>
4430 <action function="set">tw_back=filemanageroptions</action>
4431 <action function="page">filemanagerconfirm</action>
4432 </actions>
4433 </button>
4434
4435 <button style="main_button_half_height">
4436 <condition var1="tw_fm_isfolder" var2="0"/>
4437 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004438 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004439 <actions>
4440 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004442 <action function="set">tw_filemanager_command=mv</action>
4443 <action function="page">filemanagerrenamefile</action>
4444 </actions>
4445 </button>
4446
4447 <button style="main_button_half_height">
4448 <condition var1="tw_fm_isfolder" var2="1"/>
4449 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004451 <actions>
4452 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4455 <action function="page">filemanagerrenamefolder</action>
4456 </actions>
4457 </button>
4458
4459 <action>
4460 <touch key="home"/>
4461 <action function="page">main</action>
4462 </action>
4463
4464 <action>
4465 <touch key="back"/>
4466 <action function="page">filemanagerlist</action>
4467 </action>
4468 </page>
4469
4470 <page name="choosedestinationfolder">
4471 <template name="page"/>
4472
4473 <text style="text_l">
4474 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004475 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004476 </text>
4477
4478 <text style="text_m">
4479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004480 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004481 </text>
4482
4483 <template name="sort_options"/>
4484
4485 <fileselector>
4486 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4487 <text>%tw_file_location2%</text>
4488 <filter folders="1" files="0"/>
4489 <path name="tw_file_location2" default="/"/>
4490 <data name="tw_filename2"/>
4491 <selection name="tw_selection2"/>
4492 </fileselector>
4493
4494 <button style="fab">
4495 <image resource="fab_selectfolder"/>
4496 <actions>
4497 <action function="set">tw_fm_text2=to</action>
4498 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4499 <action function="set">tw_include_text3=1</action>
4500 <action function="set">tw_back=filemanageroptions</action>
4501 <action function="page">filemanagerconfirm</action>
4502 </actions>
4503 </button>
4504
4505 <action>
4506 <touch key="home"/>
4507 <action function="page">main</action>
4508 </action>
4509
4510 <action>
4511 <touch key="back"/>
4512 <action function="page">filemanageroptions</action>
4513 </action>
4514 </page>
4515
4516 <page name="filemanagerrenamefile">
4517 <template name="page"/>
4518
4519 <text style="text_l">
4520 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 </text>
4523
4524 <text style="text_m">
4525 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004527 </text>
4528
4529 <text style="text_m_accent">
4530 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004531 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004532 </text>
4533
4534 <input>
4535 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4536 <text>%tw_filemanager_rename%</text>
4537 <data name="tw_filemanager_rename"/>
4538 <restrict minlen="1" maxlen="128"/>
4539 <actions>
4540 <action function="set">tw_fm_text2=to</action>
4541 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4542 <action function="set">tw_include_text3=1</action>
4543 <action function="set">tw_back=filemanageroptions</action>
4544 <action function="page">filemanagerconfirm</action>
4545 </actions>
4546 </input>
4547
4548 <fill color="%accent_color%">
4549 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4550 </fill>
4551
4552 <button style="main_button_half_height">
4553 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004554 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004555 <action function="page">filemanageroptions</action>
4556 </button>
4557
4558 <template name="keyboardtemplate"/>
4559
4560 <action>
4561 <touch key="home"/>
4562 <action function="page">main</action>
4563 </action>
4564
4565 <action>
4566 <touch key="back"/>
4567 <action function="page">filemanageroptions</action>
4568 </action>
4569 </page>
4570
4571 <page name="filemanagerrenamefolder">
4572 <template name="page"/>
4573
4574 <text style="text_l">
4575 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004576 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004577 </text>
4578
4579 <text style="text_m">
4580 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004581 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004582 </text>
4583
4584 <text style="text_m_accent">
4585 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004586 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004587 </text>
4588
4589 <input>
4590 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4591 <text>%tw_filemanager_rename%</text>
4592 <data name="tw_filemanager_rename"/>
4593 <restrict minlen="1" maxlen="128"/>
4594 <actions>
4595 <action function="set">tw_fm_text2=to</action>
4596 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4597 <action function="set">tw_include_text3=1</action>
4598 <action function="set">tw_back=filemanageroptions</action>
4599 <action function="page">filemanagerconfirm</action>
4600 </actions>
4601 </input>
4602
4603 <fill color="%accent_color%">
4604 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4605 </fill>
4606
4607 <button style="main_button_half_height">
4608 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 <action function="page">filemanageroptions</action>
4611 </button>
4612
4613 <template name="keyboardtemplate"/>
4614
4615 <action>
4616 <touch key="home"/>
4617 <action function="page">main</action>
4618 </action>
4619
4620 <action>
4621 <touch key="back"/>
4622 <action function="page">filemanageroptions</action>
4623 </action>
4624 </page>
4625
4626 <page name="filemanagerchmod">
4627 <template name="page"/>
4628
4629 <text style="text_l">
4630 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004631 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004632 </text>
4633
4634 <text style="text_m">
4635 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004636 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004637 </text>
4638
4639 <text style="text_m_accent">
4640 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004641 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004642 </text>
4643
4644 <input>
4645 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4646 <text>%tw_filemanager_rename%</text>
4647 <data name="tw_filemanager_rename"/>
4648 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4649 <actions>
4650 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4651 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4652 <action function="set">tw_back=filemanageroptions</action>
4653 <action function="page">filemanagerconfirm</action>
4654 </actions>
4655 </input>
4656
4657 <fill color="%accent_color%">
4658 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4659 </fill>
4660
4661 <button style="main_button_half_height">
4662 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004663 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004664 <action function="page">filemanageroptions</action>
4665 </button>
4666
4667 <template name="keyboardtemplate"/>
4668
4669 <action>
4670 <touch key="home"/>
4671 <action function="page">main</action>
4672 </action>
4673
4674 <action>
4675 <touch key="back"/>
4676 <action function="page">filemanageroptions</action>
4677 </action>
4678 </page>
4679
4680 <page name="filemanagerconfirm">
4681 <template name="page"/>
4682
4683 <text style="text_l">
4684 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004685 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004686 </text>
4687
4688 <text style="text_m">
4689 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004690 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004691 </text>
4692
4693 <text style="text_m_accent">
4694 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4695 <text>%tw_fm_text1%</text>
4696 </text>
4697
4698 <text style="text_m">
4699 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4700 <text>%tw_filename1%</text>
4701 </text>
4702
4703 <text style="text_m_accent">
4704 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4705 <text>%tw_fm_text2%</text>
4706 </text>
4707
4708 <text style="text_m">
4709 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4710 <text>%tw_fm_text3%</text>
4711 </text>
4712
4713 <text style="text_m">
4714 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004715 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004716 </text>
4717
4718 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004719 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004720 <action function="page">filemanageraction</action>
4721 </slider>
4722
4723 <action>
4724 <touch key="back"/>
4725 <action function="page">%tw_back%</action>
4726 </action>
4727
4728 <action>
4729 <touch key="home"/>
4730 <action function="page">main</action>
4731 </action>
4732 </page>
4733
4734 <page name="filemanageraction">
4735 <template name="page"/>
4736
4737 <text style="text_l">
4738 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004739 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004740 </text>
4741
4742 <text style="text_m">
4743 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4744 <text>%tw_fm_text1%</text>
4745 </text>
4746
4747 <template name="console"/>
4748
4749 <template name="progress_bar"/>
4750
4751 <action>
4752 <conditions>
4753 <condition var1="tw_operation_state" var2="1"/>
4754 <condition var1="tw_operation_status" var2="0"/>
4755 </conditions>
4756 <actions>
4757 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004758 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004759 <action function="page">action_complete</action>
4760 </actions>
4761 </action>
4762
4763 <action>
4764 <conditions>
4765 <condition var1="tw_operation_state" var2="1"/>
4766 <condition var1="tw_operation_status" op="!=" var2="0"/>
4767 </conditions>
4768 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004769 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004770 <action function="page">action_complete</action>
4771 </actions>
4772 </action>
4773
4774 <action>
4775 <condition var1="tw_include_text3" var2="0"/>
4776 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4777 </action>
4778
4779 <action>
4780 <condition var1="tw_include_text3" var2="1"/>
4781 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4782 </action>
4783 </page>
4784
4785 <page name="decrypt">
4786 <template name="page"/>
4787
4788 <action>
4789 <condition var1="tw_crypto_pwtype" var2="2"/>
4790 <action function="page">decrypt_pattern</action>
4791 </action>
4792
4793 <text style="text_l">
4794 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004795 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004796 </text>
4797
4798 <text style="text_m">
4799 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004800 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004801 </text>
4802
4803 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004804 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004805 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004806 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004807 </text>
4808
Noah Jacobson81d638d2019-04-28 00:10:07 -04004809 <text style="text_m_accent">
4810 <condition var1="tw_is_fbe" var2="1"/>
4811 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4812 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4813 </text>
4814
z31s1g28f0a922015-11-07 18:50:22 +01004815 <input>
4816 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4817 <text>%tw_crypto_display%</text>
4818 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4819 <restrict minlen="1" maxlen="254"/>
4820 <action function="page">trydecrypt</action>
4821 </input>
4822
4823 <fill color="%accent_color%">
4824 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4825 </fill>
4826
4827 <fill color="%text_fail_color%">
4828 <condition var1="tw_password_fail" var2="1"/>
4829 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4830 </fill>
4831
4832 <text style="text_m_fail">
4833 <condition var1="tw_password_fail" var2="1"/>
4834 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004835 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004836 </text>
4837
4838 <button style="main_button_half_height">
4839 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004840 <text>{@cancel_btn=Cancel}</text>
Captain Throwback3ff59dd2021-02-10 18:25:07 -05004841 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004842 </button>
4843
z31s1g608d7ff2016-01-18 19:47:25 +01004844 <button style="main_button_half_height">
4845 <placement x="%center_x%" y="%row10_y%"/>
4846 <text>{@sel_lang_btn=Select Language}</text>
4847 <action function="overlay">select_language</action>
4848 </button>
4849
z31s1g28f0a922015-11-07 18:50:22 +01004850 <template name="keyboardtemplate"/>
4851 </page>
4852
4853 <page name="decrypt_pattern">
4854 <template name="page"/>
4855
4856 <text style="text_l">
4857 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004858 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004859 </text>
4860
4861 <text style="text_m">
4862 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004863 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004864 </text>
4865
4866 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004867 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004868 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004869 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004870 </text>
4871
Noah Jacobson81d638d2019-04-28 00:10:07 -04004872 <text style="text_m_accent">
4873 <condition var1="tw_is_fbe" var2="1"/>
4874 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4875 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
4876 </text>
4877
Aleksa Saraib25a1832015-12-31 17:36:00 +01004878 <text style="text_m_fail">
4879 <condition var1="tw_password_fail" var2="1"/>
4880 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004881 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004882 </text>
4883
z31s1g28f0a922015-11-07 18:50:22 +01004884 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004885 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004886 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4887 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4888 <data name="tw_crypto_password"/>
4889 <action function="page">trydecrypt</action>
4890 </patternpassword>
4891
Aleksa Saraib25a1832015-12-31 17:36:00 +01004892 <button style="button_quarter_width">
4893 <placement x="%indent%" y="%row19a_y%"/>
4894 <text>3x3</text>
4895 <action function="set">tw_gui_pattern_grid_size=3</action>
4896 </button>
4897
4898 <button style="button_quarter_width">
4899 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4900 <text>4x4</text>
4901 <action function="set">tw_gui_pattern_grid_size=4</action>
4902 </button>
4903
4904 <button style="button_quarter_width">
4905 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4906 <text>5x5</text>
4907 <action function="set">tw_gui_pattern_grid_size=5</action>
4908 </button>
4909
4910 <button style="button_quarter_width">
4911 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4912 <text>6x6</text>
4913 <action function="set">tw_gui_pattern_grid_size=6</action>
4914 </button>
4915
z31s1g28f0a922015-11-07 18:50:22 +01004916 <button style="main_button_half_height">
4917 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004918 <text>{@cancel_btn=Cancel}</text>
Captain Throwback3ff59dd2021-02-10 18:25:07 -05004919 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004920 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004921
4922 <button style="main_button_half_height">
4923 <placement x="%center_x%" y="%row21a_y%"/>
4924 <text>{@sel_lang_btn=Select Language}</text>
4925 <action function="overlay">select_language</action>
4926 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004927 </page>
4928
4929 <page name="trydecrypt">
4930 <template name="page"/>
4931
4932 <text style="text_l">
4933 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004934 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004935 </text>
4936
4937 <text style="text_m">
4938 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004939 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004940 </text>
4941
4942 <template name="console"/>
4943
4944 <template name="progress_bar"/>
4945
4946 <action>
4947 <action function="decrypt"/>
4948 </action>
4949
4950 <action>
4951 <conditions>
4952 <condition var1="tw_operation_state" var2="1"/>
4953 <condition var1="tw_operation_status" op="!=" var2="0"/>
4954 </conditions>
4955 <actions>
4956 <action function="set">tw_password_fail=1</action>
4957 <action function="page">decrypt</action>
4958 </actions>
4959 </action>
4960
4961 <action>
4962 <conditions>
4963 <condition var1="tw_operation_state" var2="1"/>
4964 <condition var1="tw_operation_status" op="=" var2="0"/>
4965 </conditions>
4966 <actions>
4967 <action function="set">tw_page_done=1</action>
4968 <action function="page">main</action>
4969 </actions>
4970 </action>
4971 </page>
4972
Captain Throwback3ff59dd2021-02-10 18:25:07 -05004973 <page name="canceldecrypt">
4974 <template name="page"/>
4975
4976 <text style="text_l">
4977 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4978 <text>{@cancel_btn=Cancel}</text>
4979 </text>
4980
4981 <text style="text_m">
4982 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4983 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
4984 </text>
4985
4986 <template name="console"/>
4987
4988 <template name="progress_bar"/>
4989
4990 <action>
4991 <action function="refreshsizes"/>
4992 </action>
4993
4994 <action>
4995 <conditions>
4996 <condition var1="tw_operation_state" var2="1"/>
4997 </conditions>
4998 <actions>
4999 <action function="set">tw_page_done=1</action>
5000 <action function="page">main</action>
5001 </actions>
5002 </action>
5003 </page>
5004
z31s1g28f0a922015-11-07 18:50:22 +01005005 <page name="terminalcommand">
5006 <template name="page"/>
5007
z31s1g56189522016-01-13 19:12:40 +01005008 <fill color="%background_color%">
5009 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01005010 </fill>
5011
z31s1g56189522016-01-13 19:12:40 +01005012 <terminal>
5013 <condition var1="tw_hide_kb" var2="0"/>
5014 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
5015 </terminal>
5016
5017 <terminal>
5018 <condition var1="tw_hide_kb" var2="1"/>
5019 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
5020 </terminal>
5021
5022 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01005023
5024 <template name="keyboardtemplate"/>
5025
z31s1g608d7ff2016-01-18 19:47:25 +01005026 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01005027 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01005028 </fill>
z31s1g56189522016-01-13 19:12:40 +01005029
z31s1g608d7ff2016-01-18 19:47:25 +01005030 <button>
z31s1g56189522016-01-13 19:12:40 +01005031 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5032 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5033 <image resource="back" />
5034 <condition var1="tw_busy" var2="0" />
5035 <actions>
5036 <action function="set">tw_hide_kb=0</action>
5037 <action function="key">back</action>
5038 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005039 </button>
z31s1g56189522016-01-13 19:12:40 +01005040
z31s1g608d7ff2016-01-18 19:47:25 +01005041 <button>
z31s1g56189522016-01-13 19:12:40 +01005042 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5043 <condition var1="tw_hide_kb" op="=" var2="0" />
5044 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5045 <image resource="kb_hide" />
5046 <condition var1="tw_busy" var2="0" />
5047 <actions>
5048 <action function="set">tw_hide_kb=1</action>
5049 <action function="page">terminalcommand</action>
5050 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005051 </button>
z31s1g56189522016-01-13 19:12:40 +01005052
z31s1g608d7ff2016-01-18 19:47:25 +01005053 <button>
z31s1g56189522016-01-13 19:12:40 +01005054 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5055 <condition var1="tw_hide_kb" op="=" var2="1" />
5056 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5057 <image resource="kb_show" />
5058 <condition var1="tw_busy" var2="0" />
5059 <actions>
5060 <action function="set">tw_hide_kb=0</action>
5061 <action function="page">terminalcommand</action>
5062 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005063 </button>
z31s1g56189522016-01-13 19:12:40 +01005064
z31s1g608d7ff2016-01-18 19:47:25 +01005065 <button>
z31s1g56189522016-01-13 19:12:40 +01005066 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5067 <image resource="home" />
5068 <condition var1="tw_busy" var2="0" />
5069 <actions>
5070 <action function="set">tw_hide_kb=0</action>
5071 <action function="key">home</action>
Mohd Farazd59a6042020-08-12 12:29:42 +00005072 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005073 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005074 </button>
z31s1g56189522016-01-13 19:12:40 +01005075
z31s1g608d7ff2016-01-18 19:47:25 +01005076 <button>
z31s1g56189522016-01-13 19:12:40 +01005077 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5078 <condition var1="tw_hide_kb" op="=" var2="0" />
5079 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5080 <image resource="kb_hide" />
5081 <condition var1="tw_busy" var2="0" />
5082 <actions>
5083 <action function="set">tw_hide_kb=1</action>
5084 <action function="page">terminalcommand</action>
5085 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005086 </button>
z31s1g56189522016-01-13 19:12:40 +01005087
z31s1g608d7ff2016-01-18 19:47:25 +01005088 <button>
z31s1g56189522016-01-13 19:12:40 +01005089 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5090 <condition var1="tw_hide_kb" op="=" var2="1" />
5091 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5092 <image resource="kb_show" />
5093 <condition var1="tw_busy" var2="0" />
5094 <actions>
5095 <action function="set">tw_hide_kb=0</action>
5096 <action function="page">terminalcommand</action>
5097 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005098 </button>
z31s1g56189522016-01-13 19:12:40 +01005099
z31s1g608d7ff2016-01-18 19:47:25 +01005100 <button>
z31s1g56189522016-01-13 19:12:40 +01005101 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5102 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5103 <image resource="back" />
5104 <condition var1="tw_busy" var2="0" />
5105 <actions>
5106 <action function="set">tw_hide_kb=0</action>
5107 <action function="key">back</action>
Mohd Farazd59a6042020-08-12 12:29:42 +00005108 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005109 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005110 </button>
z31s1g56189522016-01-13 19:12:40 +01005111
z31s1g28f0a922015-11-07 18:50:22 +01005112 <action>
5113 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005114 <actions>
5115 <action function="set">tw_hide_kb=0</action>
5116 <action function="page">main</action>
Mohd Farazd59a6042020-08-12 12:29:42 +00005117 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005118 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005119 </action>
5120
5121 <action>
5122 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005123 <actions>
5124 <action function="set">tw_hide_kb=0</action>
5125 <action function="page">advanced</action>
Mohd Farazd59a6042020-08-12 12:29:42 +00005126 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005127 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005128 </action>
z31s1g56189522016-01-13 19:12:40 +01005129
z31s1g608d7ff2016-01-18 19:47:25 +01005130 <action>
z31s1g56189522016-01-13 19:12:40 +01005131 <touch key="power+voldown" />
5132 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005133 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005134 </page>
5135
bigbiffdf8436b2020-08-30 16:22:34 -04005136 <page name="fastboot">
5137 <template name="page"/>
5138
5139 <text style="text_l">
5140 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5141 <text>{@fastboot_button=Fastboot}</text>
5142 </text>
5143
5144 <template name="console"/>
5145
5146 <template name="progress_bar"/>
5147
5148 <button style="main_button_half_height">
5149 <condition var1="tw_enable_fastboot" op="=" var2="1" />
5150 <placement x="%indent%" y="%row21a_y%"/>
5151 <text>{@enable_adb=Enable ADB}</text>
5152 <actions>
5153 <action function="enableadb"/>
5154 <action function="set">tw_enable_adb=1</action>
5155 <action function="set">tw_enable_fastboot=0</action>
5156 </actions>
5157 </button>
5158
5159 <button style="main_button_half_height">
5160 <condition var1="tw_enable_adb" op="=" var2="1" />
5161 <placement x="%indent%" y="%row21a_y%"/>
5162 <text>{@enable_fastboot=Enable Fastboot}</text>
5163 <actions>
5164 <action function="enablefastboot"/>
5165 <action function="set">tw_enable_fastboot=1</action>
5166 <action function="set">tw_enable_adb=0</action>
5167 </actions>
5168 </button>
5169
5170 <button style="main_button_half_height">
5171 <placement x="%center_x%" y="%row21a_y%"/>
5172 <text>{@reboot_btn=Reboot}</text>
5173 <action function="page">fastbootreboot</action>
5174 </button>
5175 </page>
5176
z31s1g28f0a922015-11-07 18:50:22 +01005177 <page name="sideload">
5178 <template name="page"/>
5179
5180 <text style="text_l">
5181 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005182 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005183 </text>
5184
5185 <text style="text_m">
5186 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005187 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005188 </text>
5189
5190 <checkbox>
5191 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005192 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005193 <data variable="tw_wipe_dalvik"/>
5194 </checkbox>
5195
5196 <checkbox>
5197 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005198 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005199 <data variable="tw_wipe_cache"/>
5200 </checkbox>
5201
5202 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005203 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005204 <actions>
5205 <action function="set">tw_back=advanced</action>
5206 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005207 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5208 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5209 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005210 <action function="set">tw_has_cancel=1</action>
5211 <action function="set">tw_show_reboot=1</action>
5212 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5213 <action function="page">action_page</action>
5214 </actions>
5215 </slider>
5216
5217 <action>
5218 <touch key="home"/>
5219 <action function="page">main</action>
5220 </action>
5221
5222 <action>
5223 <touch key="back"/>
5224 <action function="page">advanced</action>
5225 </action>
5226 </page>
5227
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005228 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005229 <template name="page"/>
5230
5231 <text style="text_l">
5232 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005233 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005234 </text>
5235
5236 <text style="text_m">
5237 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005238 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005239 </text>
5240
5241 <text style="text_m_accent">
5242 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005243 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005244 </text>
5245
z31s1g28f0a922015-11-07 18:50:22 +01005246 <text style="text_m_fail">
5247 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005248 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005249 </text>
5250
5251 <text style="text_m_fail">
5252 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005253 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005254 </text>
5255
5256 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005257 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005258 <actions>
5259 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005260 <action function="set">tw_action=fixcontexts</action>
5261 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5262 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005263 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005264 <action function="set">tw_show_reboot=1</action>
5265 <action function="page">action_page</action>
5266 </actions>
5267 </slider>
5268
5269 <action>
5270 <touch key="home"/>
5271 <action function="page">main</action>
5272 </action>
5273
5274 <action>
5275 <touch key="back"/>
5276 <action function="page">advanced</action>
5277 </action>
5278 </page>
5279
z31s1g28f0a922015-11-07 18:50:22 +01005280 <page name="slideout">
5281 <fill color="%background_color%">
5282 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5283 </fill>
5284
5285 <console>
5286 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
5287 </console>
5288
5289 <button>
5290 <fill color="%transparent%"/>
5291 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5292 <action function="overlay"/>
5293 </button>
5294
5295 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005296 <touch key="power"/>
5297 <action function="togglebacklight"/>
5298 </action>
5299
5300 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005301 <touch key="power+voldown"/>
5302 <action function="screenshot"/>
5303 </action>
5304 </page>
5305
5306 <page name="select_storage">
5307 <fill color="%semi_transparent%">
5308 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5309 </fill>
5310
5311 <fill color="%background_color%">
5312 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5313 </fill>
5314
5315 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005316 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005317 <data name="tw_storage_path"/>
5318 <listtype name="storage"/>
5319 </partitionlist>
5320
5321 <button style="button_third_width">
5322 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005323 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005324 <actions>
5325 <action function="set">tw_clear_destination=%tw_back%</action>
5326 <action function="overlay"/>
5327 <action function="page">clear_vars</action>
5328 </actions>
5329 </button>
5330
5331 <fill color="#000000">
5332 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5333 </fill>
5334
5335 <button>
5336 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5337 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5338 <image resource="back"/>
5339 <condition var1="tw_busy" var2="0"/>
5340 <actions>
5341 <action function="overlay"/>
5342 <action function="key">%tw_back%</action>
5343 </actions>
5344 </button>
5345
5346 <button>
5347 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5348 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5349 <image resource="console"/>
5350 <condition var1="tw_busy" var2="0"/>
5351 <action function="overlay">slideout</action>
5352 </button>
5353
5354 <button>
5355 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5356 <image resource="home"/>
5357 <condition var1="tw_busy" var2="0"/>
5358 <actions>
5359 <action function="overlay"/>
5360 <action function="key">home</action>
5361 </actions>
5362 </button>
5363
5364 <button>
5365 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5366 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5367 <image resource="console"/>
5368 <condition var1="tw_busy" var2="0"/>
5369 <action function="overlay">slideout</action>
5370 </button>
5371
5372 <button>
5373 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5374 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5375 <image resource="back"/>
5376 <condition var1="tw_busy" var2="0"/>
5377 <actions>
5378 <action function="overlay"/>
5379 <action function="key">%tw_back%</action>
5380 </actions>
5381 </button>
5382
5383 <action>
5384 <touch key="power+voldown"/>
5385 <action function="screenshot"/>
5386 </action>
5387 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01005388
5389 <page name="select_language">
5390 <fill color="%semi_transparent%">
5391 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5392 </fill>
5393
5394 <fill color="%background_color%">
5395 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5396 </fill>
5397
5398 <listbox>
5399 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5400 <text>{@select_language=Select Language:}</text>
5401 <icon selected="radio_true" unselected="radio_false" />
5402 <data name="tw_language" />
5403 </listbox>
5404
5405 <button style="button_third_width">
5406 <placement x="%dialog_button_x%" y="%row14_y%"/>
5407 <text>{@ok_btn=OK}</text>
5408 <actions>
5409 <action function="overlay"/>
5410 <action function="setlanguage"></action>
5411 </actions>
5412 </button>
5413
5414 <fill color="#000000">
5415 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5416 </fill>
5417
5418 <button>
5419 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5420 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5421 <image resource="back"/>
5422 <condition var1="tw_busy" var2="0"/>
5423 <actions>
5424 <action function="overlay"/>
5425 <action function="key">%tw_back%</action>
5426 </actions>
5427 </button>
5428
5429 <button>
5430 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5431 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5432 <image resource="console"/>
5433 <condition var1="tw_busy" var2="0"/>
5434 <action function="overlay">slideout</action>
5435 </button>
5436
5437 <button>
5438 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5439 <image resource="home"/>
5440 <condition var1="tw_busy" var2="0"/>
5441 <actions>
5442 <action function="overlay"/>
5443 <action function="key">home</action>
5444 </actions>
5445 </button>
5446
5447 <button>
5448 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5449 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5450 <image resource="console"/>
5451 <condition var1="tw_busy" var2="0"/>
5452 <action function="overlay">slideout</action>
5453 </button>
5454
5455 <button>
5456 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5457 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5458 <image resource="back"/>
5459 <condition var1="tw_busy" var2="0"/>
5460 <actions>
5461 <action function="overlay"/>
5462 <action function="key">%tw_back%</action>
5463 </actions>
5464 </button>
5465
5466 <action>
5467 <touch key="power+voldown"/>
5468 <action function="screenshot"/>
5469 </action>
5470 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005471
5472 <page name="decrypt_users">
5473 <template name="page"/>
5474
5475 <text style="text_l">
5476 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5477 <text>{@decrypt_users=Decrypt Users}</text>
5478 </text>
5479
5480 <text style="text_m_accent">
5481 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5482 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5483 </text>
5484
5485 <listbox>
5486 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_advanced_height%"/>
5487 <text>{@select_user=Select User}</text>
5488 <icon selected="radio_true" unselected="radio_false" />
5489 <data name="tw_crypto_user_id" />
5490 </listbox>
5491
5492 <button style="main_button_half_height">
5493 <placement x="%center_x%" y="%row21a_y%"/>
5494 <text>{@decrypt_users=Decrypt Users}</text>
5495 <action function="set">tw_crypto_password=</action>
5496 <action function="set">tw_password_fail=0</action>
5497 <action function="page">decrypt</action>
5498 </button>
5499
5500 <action>
5501 <touch key="home"/>
5502 <action function="page">main</action>
5503 </action>
5504
5505 <action>
5506 <touch key="back"/>
5507 <action function="page">advanced</action>
5508 </action>
5509 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005510 </pages>
5511</recovery>