blob: e5be1e34fb9065d34bf0c387d523f246349e32dd [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"/>
z31s1g28f0a922015-11-07 18:50:22 +0100271 <path name="tw_zip_location" default="/sdcard"/>
272 <data name="tw_filename"/>
273 <selection name="tw_file"/>
274 </fileselector>
275
276 <fileselector>
277 <condition var1="tw_selectimage" var2="1"/>
278 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
279 <text>%tw_zip_location%</text>
280 <filter extn=".img" folders="1" files="1"/>
281 <path name="tw_zip_location" default="/sdcard"/>
282 <data name="tw_filename"/>
283 <selection name="tw_file"/>
284 </fileselector>
285
286 <button style="main_button_half_height">
287 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500288 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100289 <actions>
290 <action function="set">tw_back=install</action>
291 <action function="overlay">select_storage</action>
292 </actions>
293 </button>
294
295 <button style="main_button_half_height">
296 <condition var1="tw_selectimage" var2="0"/>
297 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500298 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100299 <actions>
300 <action function="set">tw_selectimage=1</action>
301 <action function="page">install</action>
302 </actions>
303 </button>
304
305 <button style="main_button_half_height">
306 <condition var1="tw_selectimage" var2="1"/>
307 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500308 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100309 <actions>
310 <action function="set">tw_selectimage=0</action>
311 <action function="page">install</action>
312 </actions>
313 </button>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="0"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <actions>
321 <action function="queuezip"/>
322 <action function="page">flash_confirm</action>
323 </actions>
324 </action>
325
326 <action>
327 <conditions>
328 <condition var1="tw_selectimage" var2="1"/>
329 <condition var1="tw_filename" op="modified"/>
330 </conditions>
331 <action function="page">flashimage_confirm</action>
332 </action>
333
334 <action>
335 <touch key="back"/>
336 <action function="page">main</action>
337 </action>
338
339 <action>
340 <touch key="home"/>
341 <action function="page">main</action>
342 </action>
343 </page>
344
345 <page name="flash_confirm">
346 <template name="page"/>
347
348 <text style="text_l">
349 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500350 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100351 </text>
352
353 <text style="text_m">
354 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 </text>
357
358 <text style="text_m_accent">
359 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <text style="text_m_accent">
364 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 </text>
367
368 <text style="text_m">
369 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500370 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100371 </text>
372
373 <text style="text_m_accent">
374 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500375 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100376 </text>
377
378 <text style="text_m">
379 <placement x="%indent%" y="%row8_y%"/>
380 <text>%tw_zip_location%</text>
381 </text>
382
383 <text style="text_m_accent">
384 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500385 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100386 </text>
387
388 <text style="text_m">
389 <placement x="%indent%" y="%row10a_y%"/>
390 <text>%tw_file%</text>
391 </text>
392
393 <checkbox>
394 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500395 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100396 <data variable="tw_signed_zip_verify"/>
397 </checkbox>
398
399 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600400 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500401 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600402 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500403 </checkbox>
404
405 <checkbox>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500406 <condition var1="tw_has_injecttwrp" var2="1"/>
nkk71b4c35912017-10-11 23:39:10 +0300407 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 <data variable="tw_inject_after_zip"/>
410 </checkbox>
411
412 <button style="main_button_half_height">
413 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500414 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100415 <action function="page">install</action>
416 </button>
417
418 <button style="main_button_half_height">
419 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500420 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100421 <actions>
422 <action function="queueclear"/>
423 <action function="page">install</action>
424 </actions>
425 </button>
426
427 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 <action function="flash">flash_zip</action>
430 </slider>
431
432 <action>
433 <touch key="back"/>
434 <actions>
435 <action function="cancelzip"/>
436 <action function="page">install</action>
437 </actions>
438 </action>
439
440 <action>
441 <touch key="home"/>
442 <action function="page">main</action>
443 </action>
444 </page>
445
446 <page name="flash_zip">
447 <template name="page"/>
448
449 <text style="text_l">
450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 </text>
453
454 <text style="text_m">
455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
456 <text>%tw_file%</text>
457 </text>
458
459 <template name="console"/>
460
461 <template name="progress_bar"/>
462
463 <action>
464 <condition var1="tw_operation_state" var2="1"/>
465 <action function="page">flash_done</action>
466 </action>
467 </page>
468
469 <page name="flash_done">
470 <template name="page"/>
471
472 <text style="text_l">
473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 </text>
476
477 <text style="text_m_fail">
478 <condition var1="tw_operation_status" op="!=" var2="0"/>
479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <text style="text_m">
484 <condition var1="tw_operation_status" var2="0"/>
485 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500486 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100487 </text>
488
489 <template name="console"/>
490
491 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500492 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100493 <placement x="%indent%" y="%row21a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500494 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <actions>
496 <action function="set">tw_back=flash_done</action>
497 <action function="set">tw_action=wipe</action>
498 <action function="set">tw_action_param=/cache</action>
499 <action function="set">tw_has_action2=1</action>
500 <action function="set">tw_action2=wipe</action>
501 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500502 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
503 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
504 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
505 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100506 <action function="page">confirm_action</action>
507 </actions>
508 </button>
509
510 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500511 <condition var1="tw_ab_device" var2="1"/>
512 <placement x="%indent%" y="%row21a_y%"/>
513 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
514 <actions>
515 <action function="set">tw_back=flash_done</action>
516 <action function="set">tw_action=wipe</action>
517 <action function="set">tw_action_param=dalvik</action>
518 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
519 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
520 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
521 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
522 <action function="page">confirm_action</action>
523 </actions>
524 </button>
525
526 <button style="main_button_half_height">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100527 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100528 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500529 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100530 <actions>
531 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500532 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100533 </actions>
534 </button>
535
Chaosmaster7b66bf52020-02-07 20:33:43 +0100536 <button style="main_button_half_height">
537 <condition var1="tw_ab_device" var2="1"/>
538 <placement x="%center_x%" y="%row21a_y%"/>
539 <text>{@reboot_btn=Reboot}</text>
540 <actions>
541 <action function="set">tw_back=main2</action>
542 <action function="page">reboot</action>
543 </actions>
544 </button>
545
z31s1g28f0a922015-11-07 18:50:22 +0100546 <action>
547 <touch key="back"/>
548 <actions>
549 <action function="set">tw_clear_destination=install</action>
550 <action function="page">clear_vars</action>
551 </actions>
552 </action>
553
554 <action>
555 <touch key="home"/>
556 <actions>
557 <action function="set">tw_clear_destination=main2</action>
558 <action function="page">clear_vars</action>
559 </actions>
560 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500561
562 <action>
563 <conditions>
564 <condition var1="tw_install_reboot" var2="1"/>
565 <condition var1="tw_operation_status" var2="0"/>
566 <condition var1="tw_reboot_system" var2="1"/>
567 </conditions>
568 <actions>
569 <action function="set">tw_sleep=%tw_sleep_total%</action>
570 <action function="page">flash_sleep_and_reboot</action>
571 </actions>
572 </action>
573 </page>
574
575 <page name="flash_sleep_and_reboot">
576 <template name="page"/>
577
578 <text style="text_l">
579 <placement x="%col1_x_header%" y="%row3_header_y%"/>
580 <text>{@install_zip_hdr=Install Zip}</text>
581 </text>
582
583 <text style="text_m">
584 <placement x="%col1_x_header%" y="%row4_header_y%"/>
585 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
586 </text>
587
588 <template name="console"/>
589
590 <template name="progress_bar"/>
591
592 <button style="main_button_half_height">
593 <condition var1="tw_sleep" op="&gt;" var2="0"/>
594 <placement x="%center_x%" y="%row21a_y%"/>
595 <text>{@cancel_btn=Cancel}</text>
596 <actions>
597 <action function="set">tw_install_reboot=0</action>
598 <action function="page">flash_done</action>
599 </actions>
600 </button>
601
602 <action>
603 <conditions>
604 <condition var1="tw_sleep" var2="tw_sleep_total"/>
605 <condition var1="tw_install_reboot" var2="1"/>
606 </conditions>
607 <action function="sleepcounter">%tw_sleep_total%</action>
608 </action>
609
610 <action>
611 <conditions>
612 <condition var1="tw_sleep" var2="0"/>
613 <condition var1="tw_install_reboot" var2="1"/>
614 </conditions>
615 <actions>
616 <action function="sleep">50000</action>
617 <action function="set">tw_back=main2</action>
618 <action function="page">reboot_system_routine</action>
619 </actions>
620 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100621 </page>
622
623 <page name="flashimage_confirm">
624 <template name="page"/>
625
626 <text style="text_l">
627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500628 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100629 </text>
630
631 <text style="text_m">
632 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500633 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100634 </text>
635
636 <text style="text_m_accent">
637 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500638 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100639 </text>
640
641 <text style="text_m">
642 <placement x="%indent%" y="%row3_y%"/>
643 <text>%tw_zip_location%</text>
644 </text>
645
646 <text style="text_m_accent">
647 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 </text>
650
651 <text style="text_m">
652 <placement x="%indent%" y="%row5a_y%"/>
653 <text>%tw_file%</text>
654 </text>
655
656 <partitionlist>
657 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
658 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500659 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100660 <data name="tw_flash_partition"/>
661 <listtype name="flashimg"/>
662 </partitionlist>
663
664 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500665 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100666 <actions>
667 <action function="set">tw_back=flashimage_confirm</action>
668 <action function="set">tw_action=flashimage</action>
669 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500670 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100671 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500672 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100673 <action function="page">action_page</action>
674 </actions>
675 <action function="flashimage"/>
676 </slider>
677
678 <action>
679 <touch key="back"/>
680 <actions>
681 <action function="set">tw_clear_destination=install</action>
682 <action function="page">clear_vars</action>
683 </actions>
684 </action>
685
686 <action>
687 <touch key="home"/>
688 <actions>
689 <action function="set">tw_clear_destination=main2</action>
690 <action function="page">clear_vars</action>
691 </actions>
692 </action>
693 </page>
694
695 <page name="clear_vars">
696 <action>
697 <action function="set">tw_operation_state=0</action>
698 <action function="set">tw_text1=</action>
699 <action function="set">tw_text2=</action>
700 <action function="set">tw_text3=</action>
701 <action function="set">tw_text4=</action>
702 <action function="set">tw_action_text1=</action>
703 <action function="set">tw_action_text2=</action>
704 <action function="set">tw_action_param=</action>
705 <action function="set">tw_has_action2=0</action>
706 <action function="set">tw_action2=</action>
707 <action function="set">tw_action2_param=</action>
708 <action function="set">tw_has_cancel=0</action>
709 <action function="set">tw_cancel_action=</action>
710 <action function="set">tw_cancel_param=</action>
711 <action function="set">tw_show_exclamation=0</action>
712 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400713 <action function="set">tw_crypto_user_id=</action>
714 <action function="set">tw_multiuser_warning_accepted=</action>
715 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100716 <action function="page">%tw_clear_destination%</action>
717 </action>
718 </page>
719
Matt Mower908dd252016-05-25 02:26:50 -0500720 <page name="reboot_system_routine">
721 <action>
722 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500723 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500724 <action function="set">tw_has_action2=0</action>
725 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
726 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
727 <action function="set">tw_text3=</action>
728 <action function="set">tw_text4=</action>
729 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
730 <action function="set">tw_action_text2=</action>
731 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
732 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
733 <action function="page">rebootcheck</action>
734 </action>
735 </page>
736
z31s1g28f0a922015-11-07 18:50:22 +0100737 <page name="confirm_action">
738 <template name="page"/>
739
740 <text style="text_l">
741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 </text>
744
745 <text style="text_m">
746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
747 <text/>
748 </text>
749
750 <text style="text_m_accent">
751 <placement x="%center_x%" y="%row2_y%" placement="5"/>
752 <text>%tw_text1%</text>
753 </text>
754
755 <text style="text_m_accent">
756 <placement x="%center_x%" y="%row3_y%" placement="5"/>
757 <text>%tw_text2%</text>
758 </text>
759
760 <text style="text_m">
761 <placement x="%center_x%" y="%row4_y%" placement="5"/>
762 <text>%tw_text3%</text>
763 </text>
764
765 <text style="text_m">
766 <placement x="%center_x%" y="%row5_y%" placement="5"/>
767 <text>%tw_text4%</text>
768 </text>
769
770 <text style="text_m">
771 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500772 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100773 </text>
774
775 <slider>
776 <text>%tw_slider_text%</text>
777 <action function="page">action_page</action>
778 </slider>
779
780 <action>
781 <touch key="back"/>
782 <actions>
783 <action function="set">tw_clear_destination=%tw_back%</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </action>
787
788 <action>
789 <touch key="home"/>
790 <action function="page">main</action>
791 </action>
792 </page>
793
794 <page name="action_page">
795 <template name="page"/>
796
797 <text style="text_l">
798 <placement x="%col1_x_header%" y="%row3_header_y%"/>
799 <text>%tw_action_text1%</text>
800 </text>
801
802 <text style="text_m">
803 <placement x="%col1_x_header%" y="%row4_header_y%"/>
804 <text>%tw_action_text2%</text>
805 </text>
806
807 <template name="console"/>
808
809 <template name="progress_bar"/>
810
811 <button style="main_button_half_height">
812 <condition var1="tw_has_cancel" var2="1"/>
813 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500814 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100815 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
816 </button>
817
818 <action>
819 <condition var1="tw_operation_state" var2="1"/>
820 <actions>
821 <action function="page">action_complete</action>
822 </actions>
823 </action>
824
825 <action>
826 <condition var1="tw_has_action2" var2="0"/>
827 <actions>
828 <action function="%tw_action%">%tw_action_param%</action>
829 </actions>
830 </action>
831
832 <action>
833 <condition var1="tw_has_action2" var2="1"/>
834 <actions>
835 <action function="%tw_action%">%tw_action_param%</action>
836 <action function="%tw_action2%">%tw_action2_param%</action>
837 </actions>
838 </action>
839 </page>
840
841 <page name="singleaction_page">
842 <template name="page"/>
843
844 <text style="text_l">
845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
846 <text>%tw_action_text1%</text>
847 </text>
848
849 <text style="text_m">
850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
851 <text>%tw_action_text2%</text>
852 </text>
853
854 <template name="console"/>
855
856 <template name="progress_bar"/>
857
858 <action>
859 <condition var1="tw_operation_state" var2="1"/>
860 <actions>
861 <action function="set">tw_page_done=1</action>
862 </actions>
863 </action>
864
865 <action>
866 <condition var1="tw_has_action2" var2="0"/>
867 <actions>
868 <action function="%tw_action%">%tw_action_param%</action>
869 </actions>
870 </action>
871
872 <action>
873 <condition var1="tw_has_action2" var2="1"/>
874 <actions>
875 <action function="%tw_action%">%tw_action_param%</action>
876 <action function="%tw_action2%">%tw_action2_param%</action>
877 </actions>
878 </action>
879 </page>
880
881 <page name="action_complete">
882 <template name="page"/>
883
884 <text style="text_l">
885 <placement x="%col1_x_header%" y="%row3_header_y%"/>
886 <text>%tw_complete_text1%</text>
887 </text>
888
889 <text style="text_m_fail">
890 <condition var1="tw_operation_status" op="!=" var2="0"/>
891 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500892 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100893 </text>
894
895 <text style="text_m">
896 <condition var1="tw_operation_status" var2="0"/>
897 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500898 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100899 </text>
900
901 <template name="console"/>
902
903 <button style="main_button_half_height">
904 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500905 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100906 <actions>
907 <action function="set">tw_clear_destination=%tw_back%</action>
908 <action function="page">clear_vars</action>
909 </actions>
910 </button>
911
912 <button style="main_button_half_height">
913 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500914 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100915 <actions>
916 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500917 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100918 </actions>
919 </button>
920
921 <action>
922 <touch key="home"/>
923 <actions>
924 <action function="set">tw_clear_destination=main2</action>
925 <action function="page">clear_vars</action>
926 </actions>
927 </action>
928
929 <action>
930 <touch key="back"/>
931 <actions>
932 <action function="set">tw_clear_destination=%tw_back%</action>
933 <action function="page">clear_vars</action>
934 </actions>
935 </action>
936 </page>
937
938 <page name="filecheck">
939 <action>
940 <action function="fileexists">%tw_filecheck%</action>
941 </action>
942
943 <action>
944 <conditions>
945 <condition var1="tw_operation_state" var2="1"/>
946 <condition var1="tw_operation_status" var2="0"/>
947 </conditions>
948 <actions>
949 <action function="set">tw_fileexists=1</action>
950 <action function="page">%tw_existpage%</action>
951 </actions>
952 </action>
953
954 <action>
955 <conditions>
956 <condition var1="tw_operation_state" var2="1"/>
957 <condition var1="tw_operation_status" var2="1"/>
958 </conditions>
959 <actions>
960 <action function="set">tw_fileexists=0</action>
961 <action function="page">%tw_notexistpage%</action>
962 </actions>
963 </action>
964 </page>
965
966 <page name="rebootcheck">
967 <action>
968 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -0600969 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </action>
971
972 <action>
973 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
974 <action function="page">confirm_action</action>
975 </action>
976 </page>
977
978 <page name="wipe">
979 <template name="page"/>
980
981 <text style="text_l">
982 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500983 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100984 </text>
985
986 <text style="text_m">
987 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500988 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100989 </text>
990
991 <text style="text_m_accent">
992 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500993 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100994 </text>
995
996 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +0000997 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400998 <text>{@factory_reset5=(not including users/lockscreen)}</text>
999 </text>
1000
1001 <text style="text_m_accent">
1002 <condition var1="tw_has_data_media" var2="1"/>
1003 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001004 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001005 </text>
1006
1007 <text style="text_m_accent">
1008 <conditions>
1009 <condition var1="tw_has_android_secure" var2="1"/>
1010 <condition var1="fileexists" var2="/and-sec"/>
1011 </conditions>
1012 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001013 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001014 </text>
1015
1016 <text style="text_m_accent">
1017 <condition var1="tw_has_sdext_partition" var2="1"/>
1018 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001019 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </text>
1021
1022 <text style="text_m">
1023 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001024 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001025 </text>
1026
1027 <text style="text_m">
1028 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001029 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001030 </text>
1031
1032 <text style="text_m">
1033 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001034 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001035 </text>
1036
1037 <button style="main_button_half_height">
1038 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001039 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001040 <actions>
1041 <action function="set">partitionlisterror=0</action>
1042 <action function="page">advancedwipe</action>
1043 </actions>
1044 </button>
1045
1046 <button style="main_button_half_height">
1047 <condition var1="tw_has_data_media" var2="1"/>
1048 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001049 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001050 <action function="page">formatdata</action>
1051 </button>
1052
1053 <button style="main_button_half_height">
1054 <conditions>
1055 <condition var1="tw_is_encrypted" var2="1"/>
1056 <condition var1="tw_has_data_media" var2="0"/>
1057 </conditions>
1058 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 <actions>
1061 <action function="set">tw_back=wipe</action>
1062 <action function="set">tw_action=wipe</action>
1063 <action function="set">tw_action_param=DATAMEDIA</action>
1064 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001066 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001067 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1068 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1069 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001070 <action function="page">confirm_action</action>
1071 </actions>
1072 </button>
1073
1074 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 <actions>
1077 <action function="set">tw_back=wipe</action>
1078 <action function="set">tw_action=wipe</action>
1079 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001080 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1081 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001082 <action function="page">action_page</action>
1083 </actions>
1084 </slider>
1085
1086 <action>
1087 <touch key="back"/>
1088 <action function="page">main</action>
1089 </action>
1090
1091 <action>
1092 <touch key="home"/>
1093 <action function="page">main</action>
1094 </action>
1095 </page>
1096
1097 <page name="advancedwipe">
1098 <template name="page"/>
1099
1100 <action>
1101 <action function="set">tw_wipe_list=</action>
1102 </action>
1103
1104 <text style="text_l">
1105 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001106 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001107 </text>
1108
1109 <text style="text_m">
1110 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 </text>
1113
1114 <partitionlist>
1115 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <data name="tw_wipe_list"/>
1118 <listtype name="wipe"/>
1119 </partitionlist>
1120
1121 <text style="text_m_fail">
1122 <condition var1="partitionlisterror" var2="1"/>
1123 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 </text>
1126
1127 <button style="main_button_half_height_full_width">
1128 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001130 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001131 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001132 <action function="page">checkpartitionlist</action>
1133 </actions>
1134 </button>
1135
1136 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001137 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001138 <actions>
1139 <action function="set">tw_back=advancedwipe</action>
1140 <action function="set">tw_action=wipe</action>
1141 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001142 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1143 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1144 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001145 <action function="page">action_page</action>
1146 </actions>
1147 </slider>
1148
1149 <action>
1150 <touch key="home"/>
1151 <action function="page">main</action>
1152 </action>
1153
1154 <action>
1155 <touch key="back"/>
1156 <action function="page">wipe</action>
1157 </action>
1158 </page>
1159
1160 <page name="formatdata">
1161 <template name="page"/>
1162
1163 <text style="text_l">
1164 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001166 </text>
1167
1168 <text style="text_m">
1169 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001170 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001171 </text>
1172
1173 <text style="text_m_fail">
1174 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001175 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001176 </text>
1177
1178 <text style="text_m_fail">
1179 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001180 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001181 </text>
1182
1183 <text style="text_m_fail">
1184 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001185 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001186 </text>
1187
Ethan Yonker66a19492015-12-10 10:19:45 -06001188 <text style="text_m_fail">
1189 <condition var1="tw_has_adopted_storage" var2="1"/>
1190 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1191 <text>{@format_data_adopted=Including Adopted Storage}</text>
1192 </text>
1193
z31s1g28f0a922015-11-07 18:50:22 +01001194 <text style="text_m">
1195 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <text style="text_m">
1200 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <input>
1205 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1206 <text>%tw_confirm_formatdata%</text>
1207 <data name="tw_confirm_formatdata"/>
1208 <restrict minlen="3" maxlen="3" allow="yes"/>
1209 <action function="page">formatdata_confirm</action>
1210 </input>
1211
1212 <fill color="%accent_color%">
1213 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1214 </fill>
1215
1216 <template name="keyboardtemplate"/>
1217
1218 <action>
1219 <touch key="home"/>
1220 <action function="page">main</action>
1221 </action>
1222
1223 <action>
1224 <touch key="back"/>
1225 <action function="page">wipe</action>
1226 </action>
1227 </page>
1228
1229 <page name="formatdata_confirm">
1230 <action>
1231 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1232 <actions>
1233 <action function="set">tw_back=formatdata</action>
1234 <action function="set">tw_action=wipe</action>
1235 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1237 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001238 <action function="page">action_page</action>
1239 </actions>
1240 </action>
1241
1242 <action>
1243 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1244 <action function="page">formatdata</action>
1245 </action>
1246 </page>
1247
1248 <page name="checkpartitionlist">
1249 <action>
1250 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1251 <actions>
1252 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001253 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001254 <action function="page">partitionoptions</action>
1255 </actions>
1256 </action>
1257
1258 <action>
1259 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1260 <actions>
1261 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001262 <action function="page">advancedwipe</action>
1263 </actions>
1264 </action>
1265 </page>
1266
1267 <page name="partitionoptions">
1268 <template name="page"/>
1269
1270 <text style="text_l">
1271 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
1275 <text style="text_m">
1276 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001277 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001278 </text>
1279
1280 <text style="text_m_accent">
1281 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001282 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001283 </text>
1284
1285 <text style="text_m_accent">
1286 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001287 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001288 </text>
1289
1290 <text style="text_m">
1291 <condition var1="tw_partition_is_present" var2="1"/>
1292 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001293 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001294 </text>
1295
1296 <text style="text_m">
1297 <condition var1="tw_partition_is_present" var2="0"/>
1298 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001300 </text>
1301
1302 <text style="text_m">
1303 <condition var1="tw_partition_removable" var2="1"/>
1304 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001305 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001306 </text>
1307
1308 <text style="text_m">
1309 <condition var1="tw_partition_removable" var2="0"/>
1310 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001311 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001312 </text>
1313
1314 <text style="text_m">
1315 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001317 </text>
1318
1319 <text style="text_m">
1320 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m">
1325 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001327 </text>
1328
1329 <text style="text_m">
1330 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 </text>
1333
1334 <button style="main_button_half_height">
1335 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1336 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 <actions>
1339 <action function="set">tw_back=partitionoptions</action>
1340 <action function="set">tw_action=resize</action>
1341 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1342 <action function="set">tw_has_action2=1</action>
1343 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001344 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001345 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001346 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001347 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1348 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1349 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001350 <action function="page">confirm_action</action>
1351 </actions>
1352 </button>
1353
1354 <button style="main_button_half_height">
1355 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1356 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 <actions>
1359 <action function="set">tw_back=partitionoptions</action>
1360 <action function="set">tw_action=repair</action>
1361 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1362 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001363 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001364 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1366 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1367 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="page">confirm_action</action>
1369 </actions>
1370 </button>
1371
1372 <button style="main_button_half_height">
1373 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 <action function="page">selectfilesystem</action>
1376 </button>
1377
1378 <action>
1379 <touch key="home"/>
1380 <action function="page">main</action>
1381 </action>
1382
1383 <action>
1384 <touch key="back"/>
1385 <action function="page">advancedwipe</action>
1386 </action>
1387 </page>
1388
1389 <page name="refreshfilesystem">
1390 <action>
1391 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1392 <actions>
1393 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001394 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001395 <action function="page">selectfilesystem</action>
1396 </actions>
1397 </action>
1398
1399 <action>
1400 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1401 <actions>
1402 <action function="set">partitionlisterror=1</action>
1403 <action function="set">tw_wipe_list=</action>
1404 <action function="page">advancedwipe</action>
1405 </actions>
1406 </action>
1407 </page>
1408
1409 <page name="selectfilesystem">
1410 <template name="page"/>
1411
1412 <text style="text_l">
1413 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001414 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001415 </text>
1416
1417 <text style="text_m">
1418 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 </text>
1421
1422 <text style="text_m_accent">
1423 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 </text>
1426
1427 <text style="text_m_accent">
1428 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001430 </text>
1431
1432 <text style="text_m_fail">
1433 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001435 </text>
1436
1437 <text style="text_m_fail">
1438 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001439 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001440 </text>
1441
1442 <button style="main_button_half_height">
1443 <condition var1="tw_partition_ext" op="=" var2="1"/>
1444 <placement x="%indent%" y="%row15a_y%"/>
1445 <text>EXT2</text>
1446 <actions>
1447 <action function="set">tw_back=refreshfilesystem</action>
1448 <action function="set">tw_action=changefilesystem</action>
1449 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1450 <action function="set">tw_action_new_file_system=ext2</action>
1451 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1453 <action function="set">tw_text2=EXT2</action>
1454 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1455 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1456 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001457 <action function="page">confirm_action</action>
1458 </actions>
1459 </button>
1460
1461 <button style="main_button_half_height">
1462 <condition var1="tw_partition_ext" op="=" var2="1"/>
1463 <placement x="%indent%" y="%row18a_y%"/>
1464 <text>EXT3</text>
1465 <actions>
1466 <action function="set">tw_back=refreshfilesystem</action>
1467 <action function="set">tw_action=changefilesystem</action>
1468 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1469 <action function="set">tw_action_new_file_system=ext3</action>
1470 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001471 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1472 <action function="set">tw_text2=EXT3</action>
1473 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1474 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1475 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001476 <action function="page">confirm_action</action>
1477 </actions>
1478 </button>
1479
1480 <button style="main_button_half_height">
1481 <condition var1="tw_partition_ext" op="=" var2="1"/>
1482 <placement x="%indent%" y="%row21a_y%"/>
1483 <text>EXT4</text>
1484 <actions>
1485 <action function="set">tw_back=refreshfilesystem</action>
1486 <action function="set">tw_action=changefilesystem</action>
1487 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1488 <action function="set">tw_action_new_file_system=ext4</action>
1489 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1491 <action function="set">tw_text2=EXT4</action>
1492 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1493 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1494 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001495 <action function="page">confirm_action</action>
1496 </actions>
1497 </button>
1498
1499 <button style="main_button_half_height">
1500 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1501 <placement x="%center_x%" y="%row15a_y%"/>
1502 <text>FAT</text>
1503 <actions>
1504 <action function="set">tw_back=refreshfilesystem</action>
1505 <action function="set">tw_action=changefilesystem</action>
1506 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1507 <action function="set">tw_action_new_file_system=vfat</action>
1508 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1510 <action function="set">tw_text2=FAT</action>
1511 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1512 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1513 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001514 <action function="page">confirm_action</action>
1515 </actions>
1516 </button>
1517
1518 <button style="main_button_half_height">
1519 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1520 <placement x="%center_x%" y="%row18a_y%"/>
1521 <text>exFAT</text>
1522 <actions>
1523 <action function="set">tw_back=refreshfilesystem</action>
1524 <action function="set">tw_action=changefilesystem</action>
1525 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1526 <action function="set">tw_action_new_file_system=exfat</action>
1527 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001528 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1529 <action function="set">tw_text2=exFAT</action>
1530 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1531 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1532 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001533 <action function="page">confirm_action</action>
1534 </actions>
1535 </button>
1536
1537 <button style="main_button_half_height">
1538 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1539 <placement x="%center_x%" y="%row21a_y%"/>
1540 <text>F2FS</text>
1541 <actions>
1542 <action function="set">tw_back=refreshfilesystem</action>
1543 <action function="set">tw_action=changefilesystem</action>
1544 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1545 <action function="set">tw_action_new_file_system=f2fs</action>
1546 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001547 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1548 <action function="set">tw_text2=F2FS</action>
1549 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1550 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1551 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001552 <action function="page">confirm_action</action>
1553 </actions>
1554 </button>
1555
1556 <action>
1557 <touch key="home"/>
1558 <action function="page">main</action>
1559 </action>
1560
1561 <action>
1562 <touch key="back"/>
1563 <action function="page">partitionoptions</action>
1564 </action>
1565 </page>
1566
1567 <page name="backup">
1568 <template name="page"/>
1569
Noah Jacobson81d638d2019-04-28 00:10:07 -04001570 <action>
1571 <conditions>
1572 <condition var1="tw_is_fbe" var2="1"/>
1573 <condition var1="tw_all_users_decrypted" var2="0"/>
1574 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1575 </conditions>
1576 <actions>
1577 <action function="set">tw_multiuser_warning_destination=backup</action>
1578 <action function="page">multiuser_warning</action>
1579 </actions>
1580 </action>
1581
z31s1g28f0a922015-11-07 18:50:22 +01001582 <text style="text_l">
1583 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001584 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001585 </text>
1586
1587 <text style="text_m">
1588 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001590 </text>
1591
1592 <template name="tabs_backup"/>
1593
1594 <fill color="%text_color%">
1595 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1596 </fill>
1597
1598 <button style="tab">
1599 <conditions>
1600 <condition var1="tw_include_encrypted_backup" var2="1"/>
1601 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001602 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001603 </conditions>
1604 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001605 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001606 <font resource="font_s" color="%text_color%"/>
1607 <actions>
1608 <action function="set">tw_password_not_match=0</action>
1609 <action function="page">backupencryption</action>
1610 </actions>
1611 </button>
1612
1613 <button style="tab">
1614 <conditions>
1615 <condition var1="tw_include_encrypted_backup" var2="1"/>
1616 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001617 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001618 </conditions>
1619 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001620 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001621 <font resource="font_s" color="%text_success_color%"/>
1622 <actions>
1623 <action function="set">tw_password_not_match=0</action>
1624 <action function="page">backupencryption</action>
1625 </actions>
1626 </button>
1627
1628 <text style="text_m_accent">
1629 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001630 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001631 </text>
1632
1633 <text style="text_m">
1634 <placement x="%indent%" y="%row4a_y%"/>
1635 <text>%tw_backup_name%</text>
1636 </text>
1637
1638 <fill color="%fileselector_linecolor%">
1639 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1640 </fill>
1641
1642 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001643 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001644 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1645 <fill color="%transparent%"/>
1646 <actions>
1647 <action function="set">tw_fileexists=0</action>
1648 <action function="page">backupname1</action>
1649 </actions>
1650 </button>
1651
1652 <partitionlist>
1653 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001654 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001655 <data name="tw_backup_list"/>
1656 <listtype name="backup"/>
1657 </partitionlist>
1658
1659 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001660 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001661 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <actions>
1664 <action function="set">tw_back=backup</action>
1665 <action function="overlay">select_storage</action>
1666 </actions>
1667 </button>
1668
1669 <button style="main_button_half_height">
1670 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001671 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001672 <actions>
1673 <action function="refreshsizes"/>
1674 <action function="page">backup</action>
1675 </actions>
1676 </button>
1677
1678 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 <action function="page">backup_run</action>
1681 </slider>
1682
1683 <action>
1684 <touch key="home"/>
1685 <action function="page">main</action>
1686 </action>
1687
1688 <action>
1689 <touch key="back"/>
1690 <action function="page">main</action>
1691 </action>
1692 </page>
1693
Noah Jacobson81d638d2019-04-28 00:10:07 -04001694 <page name="multiuser_warning">
1695 <template name="page"/>
1696
1697 <text style="text_l">
1698 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1699 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1700 </text>
1701
1702 <text style="text_m_fail">
1703 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1704 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1705 </text>
1706
1707 <text style="text_m_fail">
1708 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1709 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1710 </text>
1711
1712 <button style="main_button_half_height_full_width">
1713 <placement x="%indent%" y="%row18a_y%"/>
1714 <text>{@decrypt_users=Decrypt Users}</text>
1715 <action function="page">decrypt_users</action>
1716 </button>
1717
1718 <slider>>
1719 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1720 <actions>
1721 <action function="set">tw_multiuser_warning_accepted=1</action>
1722 <action function="page">%tw_multiuser_warning_destination%</action>
1723 </actions>
1724 </slider>
1725
1726 <action>
1727 <touch key="home"/>
1728 <action function="page">main</action>
1729 </action>
1730
1731 <action>
1732 <touch key="back"/>
1733 <action function="page">main</action>
1734 </action>
1735 </page>
1736
z31s1g28f0a922015-11-07 18:50:22 +01001737 <page name="backup_options">
1738 <template name="page"/>
1739
1740 <text style="text_l">
1741 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 </text>
1744
1745 <text style="text_m">
1746 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001748 </text>
1749
1750 <template name="tabs_backup"/>
1751
1752 <fill color="%text_color%">
1753 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1754 </fill>
1755
1756 <button style="tab">
1757 <conditions>
1758 <condition var1="tw_include_encrypted_backup" var2="1"/>
1759 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001760 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001761 </conditions>
1762 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001763 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001764 <font resource="font_s" color="%text_color%"/>
1765 <actions>
1766 <action function="set">tw_password_not_match=0</action>
1767 <action function="page">backupencryption</action>
1768 </actions>
1769 </button>
1770
1771 <button style="tab">
1772 <conditions>
1773 <condition var1="tw_include_encrypted_backup" var2="1"/>
1774 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001775 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001776 </conditions>
1777 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001778 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001779 <font resource="font_s" color="%text_success_color%"/>
1780 <actions>
1781 <action function="set">tw_password_not_match=0</action>
1782 <action function="page">backupencryption</action>
1783 </actions>
1784 </button>
1785
1786 <checkbox>
1787 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001788 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001789 <data variable="tw_use_compression"/>
1790 </checkbox>
1791
1792 <checkbox>
1793 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001794 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1795 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001796 </checkbox>
1797
1798 <checkbox>
1799 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001800 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <data variable="tw_disable_free_space"/>
1802 </checkbox>
1803
Ethan Yonker1b190162016-12-05 15:25:19 -06001804 <text style="text_m">
1805 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01001806 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06001807 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1808 </text>
1809
1810 <button style="main_button">
1811 <condition var1="tw_has_boot_slots" var2="1"/>
1812 <placement x="%indent%" y="%row19_y%"/>
1813 <text>{@boot_slot_a=Slot A}</text>
1814 <actions>
1815 <action function="set">tw_back=backup_options</action>
1816 <action function="set">tw_action=setbootslot</action>
1817 <action function="set">tw_action_param=A</action>
1818 <action function="set">tw_has_action2=0</action>
1819 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1820 <action function="set">tw_action_text2=</action>
1821 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1822 <action function="page">action_page</action>
1823 </actions>
1824 </button>
1825
1826 <button style="main_button">
1827 <condition var1="tw_has_boot_slots" var2="1"/>
1828 <placement x="%center_x%" y="%row19_y%"/>
1829 <text>{@boot_slot_b=Slot B}</text>
1830 <actions>
1831 <action function="set">tw_back=backup_options</action>
1832 <action function="set">tw_action=setbootslot</action>
1833 <action function="set">tw_action_param=B</action>
1834 <action function="set">tw_has_action2=0</action>
1835 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1836 <action function="set">tw_action_text2=</action>
1837 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1838 <action function="page">action_page</action>
1839 </actions>
1840 </button>
1841
z31s1g28f0a922015-11-07 18:50:22 +01001842 <action>
1843 <touch key="home"/>
1844 <action function="page">main</action>
1845 </action>
1846
1847 <action>
1848 <touch key="back"/>
1849 <action function="page">backup</action>
1850 </action>
1851 </page>
1852
1853 <page name="backupname1">
1854 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001855 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001856 <action function="generatebackupname"/>
1857 </action>
1858
1859 <action>
1860 <action function="page">backupname2</action>
1861 </action>
1862 </page>
1863
1864 <page name="backupname2">
1865 <template name="page"/>
1866
1867 <text style="text_l">
1868 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 </text>
1871
1872 <text style="text_m">
1873 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001874 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001875 </text>
1876
1877 <template name="tabs_backup"/>
1878
1879 <fill color="%text_color%">
1880 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1881 </fill>
1882
1883 <button style="tab">
1884 <conditions>
1885 <condition var1="tw_include_encrypted_backup" var2="1"/>
1886 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001887 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </conditions>
1889 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001890 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001891 <font resource="font_s" color="%text_color%"/>
1892 <actions>
1893 <action function="set">tw_password_not_match=0</action>
1894 <action function="page">backupencryption</action>
1895 </actions>
1896 </button>
1897
1898 <button style="tab">
1899 <conditions>
1900 <condition var1="tw_include_encrypted_backup" var2="1"/>
1901 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001902 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001903 </conditions>
1904 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 <font resource="font_s" color="%text_success_color%"/>
1907 <actions>
1908 <action function="set">tw_password_not_match=0</action>
1909 <action function="page">backupencryption</action>
1910 </actions>
1911 </button>
1912
1913 <text style="text_m_accent">
1914 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001915 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001916 </text>
1917
1918 <input>
1919 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1920 <text>%tw_backup_name%</text>
1921 <data name="tw_backup_name"/>
1922 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1923 <actions>
1924 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1925 <action function="set">tw_existpage=backupname2</action>
1926 <action function="set">tw_notexistpage=backup</action>
1927 <action function="page">filecheck</action>
1928 </actions>
1929 </input>
1930
1931 <fill color="%accent_color%">
1932 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1933 </fill>
1934
1935 <fill color="%text_fail_color%">
1936 <condition var1="tw_fileexists" var2="1"/>
1937 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1938 </fill>
1939
1940 <text style="text_m_fail">
1941 <condition var1="tw_fileexists" var2="1"/>
1942 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001943 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001944 </text>
1945
1946 <button style="main_button_half_height">
1947 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001948 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001949 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001950 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001951 <action function="page">backup</action>
1952 </actions>
1953 </button>
1954
1955 <button style="main_button_half_height">
1956 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001957 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001958 <action function="appenddatetobackupname"/>
1959 </button>
1960
1961 <template name="keyboardtemplate"/>
1962
1963 <action>
1964 <touch key="home"/>
1965 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001966 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001967 <action function="page">main</action>
1968 </actions>
1969 </action>
1970
1971 <action>
1972 <touch key="back"/>
1973 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001974 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001975 <action function="page">backup</action>
1976 </actions>
1977 </action>
1978 </page>
1979
1980 <page name="backupencryption">
1981 <template name="page"/>
1982
1983 <text style="text_l">
1984 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001985 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001986 </text>
1987
1988 <text style="text_m">
1989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <template name="tabs_backup"/>
1994
1995 <button style="tab">
1996 <conditions>
1997 <condition var1="tw_include_encrypted_backup" var2="1"/>
1998 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001999 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002000 </conditions>
2001 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002002 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002003 <font resource="font_s" color="%text_color%"/>
2004 <actions>
2005 <action function="set">tw_password_not_match=0</action>
2006 <action function="page">backupencryption</action>
2007 </actions>
2008 </button>
2009
2010 <button style="tab">
2011 <conditions>
2012 <condition var1="tw_include_encrypted_backup" var2="1"/>
2013 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002014 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </conditions>
2016 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 <font resource="font_s" color="%text_success_color%"/>
2019 <actions>
2020 <action function="set">tw_password_not_match=0</action>
2021 <action function="page">backupencryption</action>
2022 </actions>
2023 </button>
2024
2025 <fill color="%text_color%">
2026 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2027 </fill>
2028
2029 <text style="text_m_accent">
2030 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 </text>
2033
2034 <text style="text_m">
2035 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </text>
2038
2039 <input>
2040 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2041 <text>%tw_backup_encrypt_display%</text>
2042 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2043 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2044 <action function="page">backupencryption2</action>
2045 </input>
2046
2047 <fill color="%accent_color%">
2048 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2049 </fill>
2050
2051 <fill color="%text_fail_color%">
2052 <condition var1="tw_password_not_match" var2="1"/>
2053 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2054 </fill>
2055
2056 <text style="text_m_fail">
2057 <condition var1="tw_password_not_match" var2="1"/>
2058 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002059 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002060 </text>
2061
2062 <button style="main_button_half_height">
2063 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002064 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002065 <actions>
2066 <action function="set">tw_encrypt_backup=0</action>
2067 <action function="set">tw_backup_password=</action>
2068 <action function="set">tw_backup_password2=</action>
2069 <action function="set">tw_backup_encrypt_display=</action>
2070 <action function="set">tw_backup_encrypt_display2=</action>
2071 <action function="page">backup</action>
2072 </actions>
2073 </button>
2074
2075 <template name="keyboardtemplate"/>
2076
2077 <action>
2078 <touch key="home"/>
2079 <action function="page">main</action>
2080 </action>
2081
2082 <action>
2083 <touch key="back"/>
2084 <action function="page">backup</action>
2085 </action>
2086 </page>
2087
2088 <page name="backupencryption2">
2089 <template name="page"/>
2090
2091 <text style="text_l">
2092 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002093 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002098 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002099 </text>
2100
2101 <template name="tabs_backup"/>
2102
2103 <button style="tab">
2104 <conditions>
2105 <condition var1="tw_include_encrypted_backup" var2="1"/>
2106 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002107 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002108 </conditions>
2109 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002110 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002111 <font resource="font_s" color="%text_color%"/>
2112 <actions>
2113 <action function="set">tw_password_not_match=0</action>
2114 <action function="page">backupencryption</action>
2115 </actions>
2116 </button>
2117
2118 <button style="tab">
2119 <conditions>
2120 <condition var1="tw_include_encrypted_backup" var2="1"/>
2121 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002122 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002123 </conditions>
2124 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002125 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002126 <font resource="font_s" color="%text_success_color%"/>
2127 <actions>
2128 <action function="set">tw_password_not_match=0</action>
2129 <action function="page">backupencryption</action>
2130 </actions>
2131 </button>
2132
2133 <fill color="%text_color%">
2134 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2135 </fill>
2136
2137 <text style="text_m_accent">
2138 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002139 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002140 </text>
2141
2142 <text style="text_m">
2143 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002144 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002145 </text>
2146
2147 <input>
2148 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2149 <text>%tw_backup_encrypt_display2%</text>
2150 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2151 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2152 <action function="page">checkbackuppassword</action>
2153 </input>
2154
2155 <fill color="%accent_color%">
2156 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2157 </fill>
2158
2159 <button style="main_button_half_height">
2160 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 <actions>
2163 <action function="set">tw_encrypt_backup=0</action>
2164 <action function="set">tw_backup_password=</action>
2165 <action function="set">tw_backup_password2=</action>
2166 <action function="set">tw_backup_encrypt_display=</action>
2167 <action function="set">tw_backup_encrypt_display2=</action>
2168 <action function="page">backup</action>
2169 </actions>
2170 </button>
2171
2172 <template name="keyboardtemplate"/>
2173
2174 <action>
2175 <touch key="home"/>
2176 <action function="page">main</action>
2177 </action>
2178
2179 <action>
2180 <touch key="back"/>
2181 <action function="page">backup</action>
2182 </action>
2183 </page>
2184
2185 <page name="checkbackuppassword">
2186 <action>
2187 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2188 <actions>
2189 <action function="set">tw_encrypt_backup=1</action>
2190 <action function="page">backup</action>
2191 </actions>
2192 </action>
2193
2194 <action>
2195 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2196 <actions>
2197 <action function="set">tw_encrypt_backup=0</action>
2198 <action function="set">tw_password_not_match=1</action>
2199 <action function="set">tw_backup_password=</action>
2200 <action function="set">tw_backup_password2=</action>
2201 <action function="set">tw_backup_encrypt_display=</action>
2202 <action function="set">tw_backup_encrypt_display2=</action>
2203 <action function="page">backupencryption</action>
2204 </actions>
2205 </action>
2206 </page>
2207
2208 <page name="backup_run">
2209 <template name="page"/>
2210
2211 <text style="text_l">
2212 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2213 <text>%tw_operation%</text>
2214 </text>
2215
2216 <text style="text_m">
2217 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2218 <text>%tw_partition% Partition</text>
2219 </text>
2220
2221 <template name="console"/>
2222
2223 <template name="progress_bar"/>
2224
2225 <text style="text_m_accent">
2226 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002227 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002228 </text>
2229
2230 <text style="text_m">
2231 <placement x="%indent%" y="%row20_y%"/>
2232 <text>%tw_file_progress%</text>
2233 </text>
2234
2235 <text style="text_m">
2236 <placement x="%indent%" y="%row21_y%"/>
2237 <text>%tw_size_progress%</text>
2238 </text>
2239
2240 <button style="main_button_half_height">
2241 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002242 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002243 <action function="cancelbackup"/>
2244 </button>
2245
2246 <action>
2247 <action function="nandroid">backup</action>
2248 </action>
2249
2250 <action>
2251 <condition var1="tw_operation_state" var2="1"/>
2252 <condition var1="tw_cancel_backup" var2="0"/>
2253 <actions>
2254 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002255 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002256 <action function="set">tw_show_reboot=1</action>
2257 <action function="page">action_complete</action>
2258 </actions>
2259 </action>
2260
2261 <action>
2262 <condition var1="tw_operation_state" var2="1"/>
2263 <condition var1="tw_cancel_backup" var2="1"/>
2264 <actions>
2265 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002266 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002267 <action function="set">tw_show_reboot=1</action>
2268 <action function="page">action_complete</action>
2269 </actions>
2270 </action>
2271 </page>
2272
2273 <page name="restore">
2274 <template name="page"/>
2275
Noah Jacobson81d638d2019-04-28 00:10:07 -04002276 <action>
2277 <conditions>
2278 <condition var1="tw_is_fbe" var2="1"/>
2279 <condition var1="tw_all_users_decrypted" var2="0"/>
2280 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2281 </conditions>
2282 <actions>
2283 <action function="set">tw_multiuser_warning_destination=restore</action>
2284 <action function="page">multiuser_warning</action>
2285 </actions>
2286 </action>
2287
z31s1g28f0a922015-11-07 18:50:22 +01002288 <text style="text_l">
2289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002290 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002291 </text>
2292
2293 <text style="text_m">
2294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <template name="sort_options"/>
2299
2300 <fileselector>
2301 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002302 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002303 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002304 <path name="tw_backups_folder"/>
2305 <data name="tw_restore" default=""/>
2306 <selection name="tw_restore_name"/>
2307 </fileselector>
2308
2309 <button style="main_button_half_height">
2310 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 <actions>
2313 <action function="set">tw_back=restore</action>
2314 <action function="overlay">select_storage</action>
2315 </actions>
2316 </button>
2317
2318 <action>
2319 <condition var1="tw_restore" op="modified"/>
2320 <actions>
2321 <action function="readBackup"/>
2322 <action function="page">restore_read</action>
2323 </actions>
2324 </action>
2325
2326 <action>
2327 <touch key="home"/>
2328 <action function="page">main</action>
2329 </action>
2330
2331 <action>
2332 <touch key="back"/>
2333 <action function="page">main</action>
2334 </action>
2335 </page>
2336
2337 <page name="restore_read">
2338 <action>
2339 <condition var1="tw_restore_encrypted" var2="1"/>
2340 <actions>
2341 <action function="set">tw_password_fail=0</action>
2342 <action function="page">restore_decrypt</action>
2343 </actions>
2344 </action>
2345
2346 <action>
2347 <condition var1="tw_restore_encrypted" var2="0"/>
2348 <actions>
2349 <action function="page">restore_select</action>
2350 </actions>
2351 </action>
2352 </page>
2353
2354 <page name="restore_decrypt">
2355 <template name="page"/>
2356
2357 <text style="text_l">
2358 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002359 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002360 </text>
2361
2362 <text style="text_m">
2363 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002364 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002365 </text>
2366
2367 <text style="text_m_accent">
2368 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002369 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002370 </text>
2371
2372 <input>
2373 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2374 <text>%tw_restore_display%</text>
2375 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2376 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2377 <action function="page">try_restore_decrypt</action>
2378 </input>
2379
2380 <fill color="%accent_color%">
2381 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2382 </fill>
2383
2384 <fill color="%text_fail_color%">
2385 <condition var1="tw_password_fail" var2="1"/>
2386 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2387 </fill>
2388
2389 <text style="text_m_fail">
2390 <condition var1="tw_password_fail" var2="1"/>
2391 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </text>
2394
2395 <button style="main_button_half_height">
2396 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 <actions>
2399 <action function="set">tw_page_done=1</action>
2400 <action function="page">restore</action>
2401 </actions>
2402 </button>
2403
2404 <button style="main_button_half_height">
2405 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 <actions>
2408 <action function="set">tw_back=restore</action>
2409 <action function="set">tw_action=cmd</action>
2410 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2412 <action function="set">tw_text2=%tw_restore_name%</action>
2413 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2414 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2415 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2416 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="page">confirm_action</action>
2418 </actions>
2419 </button>
2420
2421 <template name="keyboardtemplate"/>
2422
2423 <action>
2424 <touch key="home"/>
2425 <action function="page">main</action>
2426 </action>
2427
2428 <action>
2429 <touch key="back"/>
2430 <action function="page">restore</action>
2431 </action>
2432 </page>
2433
2434 <page name="try_restore_decrypt">
2435 <template name="page"/>
2436
2437 <text style="text_l">
2438 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <text style="text_m">
2443 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 </text>
2446
2447 <template name="console"/>
2448
2449 <template name="progress_bar"/>
2450
2451 <action>
2452 <action function="decrypt_backup"/>
2453 </action>
2454
2455 <action>
2456 <conditions>
2457 <condition var1="tw_operation_state" var2="1"/>
2458 <condition var1="tw_operation_status" op="!=" var2="0"/>
2459 </conditions>
2460 <actions>
2461 <action function="set">tw_password_fail=1</action>
2462 <action function="page">restore_decrypt</action>
2463 </actions>
2464 </action>
2465
2466 <action>
2467 <conditions>
2468 <condition var1="tw_operation_state" var2="1"/>
2469 <condition var1="tw_operation_status" op="=" var2="0"/>
2470 </conditions>
2471 <actions>
2472 <action function="set">tw_page_done=1</action>
2473 <action function="page">restore_select</action>
2474 </actions>
2475 </action>
2476 </page>
2477
2478 <page name="restore_select">
2479 <template name="page"/>
2480
2481 <text style="text_l">
2482 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002483 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002484 </text>
2485
2486 <text style="text_m">
2487 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002488 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002489 </text>
2490
2491 <text style="text_m_accent">
2492 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 </text>
2495
2496 <text style="text_m">
2497 <placement x="%indent%" y="%row3_y%"/>
2498 <text>%tw_restore_name%</text>
2499 </text>
2500
2501 <fill color="%fileselector_linecolor%">
2502 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2503 </fill>
2504
2505 <button>
2506 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2507 <fill color="%transparent%"/>
2508 <actions>
2509 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2510 <action function="set">tw_fileexists=0</action>
2511 <action function="page">renamebackup</action>
2512 </actions>
2513 </button>
2514
2515 <partitionlist>
2516 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002517 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002518 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2519 <listtype name="restore"/>
2520 </partitionlist>
2521
2522 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002523 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002524 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002525 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2526 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002527 </checkbox>
2528
2529 <button style="main_button_half_height">
2530 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002531 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002532 <actions>
2533 <action function="set">tw_back=restore</action>
2534 <action function="set">tw_action=cmd</action>
2535 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002536 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002537 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002538 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2539 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2540 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2541 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002542 <action function="page">confirm_action</action>
2543 </actions>
2544 </button>
2545
2546 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002547 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002548 <action function="page">restore_run</action>
2549 </slider>
2550
2551 <action>
2552 <touch key="home"/>
2553 <action function="page">main</action>
2554 </action>
2555
2556 <action>
2557 <touch key="back"/>
2558 <action function="page">restore</action>
2559 </action>
2560 </page>
2561
2562 <page name="renamebackup">
2563 <template name="page"/>
2564
2565 <text style="text_l">
2566 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <text style="text_m">
2571 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 </text>
2574
2575 <text style="text_m_accent">
2576 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002577 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002578 </text>
2579
2580 <input>
2581 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2582 <text>%tw_backup_rename%</text>
2583 <data name="tw_backup_rename"/>
2584 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2585 <actions>
2586 <action function="set">tw_back=restore</action>
2587 <action function="set">tw_action=cmd</action>
2588 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2590 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2591 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2592 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2593 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002594 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2595 <action function="set">tw_existpage=renamebackup</action>
2596 <action function="set">tw_notexistpage=confirm_action</action>
2597 <action function="page">filecheck</action>
2598 </actions>
2599 </input>
2600
2601 <fill color="%accent_color%">
2602 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2603 </fill>
2604
2605 <fill color="%text_fail_color%">
2606 <condition var1="tw_fileexists" var2="1"/>
2607 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2608 </fill>
2609
2610 <text style="text_m_fail">
2611 <condition var1="tw_fileexists" var2="1"/>
2612 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002613 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002614 </text>
2615
2616 <button style="main_button_half_height">
2617 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <action function="page">restore_select</action>
2620 </button>
2621
2622 <template name="keyboardtemplate"/>
2623
2624 <action>
2625 <touch key="home"/>
2626 <action function="page">main</action>
2627 </action>
2628
2629 <action>
2630 <touch key="back"/>
2631 <action function="page">restore_select</action>
2632 </action>
2633 </page>
2634
2635 <page name="restore_run">
2636 <template name="page"/>
2637
2638 <text style="text_l">
2639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 </text>
2642
2643 <text style="text_m">
2644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2645 <text>%tw_operation% %tw_partition%</text>
2646 </text>
2647
2648 <template name="console"/>
2649
2650 <template name="progress_bar"/>
2651
2652 <text style="text_m_accent">
2653 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 </text>
2656
2657 <text style="text_m">
2658 <placement x="%indent%" y="%row20_y%"/>
2659 <text>%tw_size_progress%</text>
2660 </text>
2661
2662 <action>
2663 <condition var1="tw_operation_state" var2="1"/>
2664 <actions>
2665 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002666 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002667 <action function="set">tw_show_reboot=1</action>
2668 <action function="page">action_complete</action>
2669 </actions>
2670 </action>
2671
2672 <action>
2673 <action function="nandroid">restore</action>
2674 </action>
2675 </page>
2676
2677 <page name="mount">
2678 <template name="page"/>
2679
2680 <text style="text_l">
2681 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002683 </text>
2684
2685 <text style="text_m">
2686 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002688 </text>
2689
2690 <partitionlist>
2691 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <listtype name="mount"/>
2694 </partitionlist>
2695
2696 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002697 <conditions>
2698 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2699 <condition var1="tw_is_super" op="=" var2="0"/>
2700 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002701 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002702 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002703 <image resource="checkbox_false"/>
2704 <action function="mountsystemtoggle">1</action>
2705 </button>
2706
2707 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002708 <conditions>
2709 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2710 <condition var1="tw_is_super" op="=" var2="0"/>
2711 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002712 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 <image resource="checkbox_true"/>
2715 <actions>
2716 <action function="set">tw_lifetime_writes=2</action>
2717 <action function="page">system_readonly_check</action>
2718 </actions>
2719 </button>
2720
2721 <button style="main_button_half_height">
2722 <condition var1="tw_has_usb_storage" var2="1"/>
2723 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002724 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002725 <action function="page">usb_mount</action>
2726 </button>
2727
2728 <button style="main_button_half_height">
2729 <conditions>
2730 <condition var1="tw_is_encrypted" var2="1"/>
2731 <condition var1="tw_is_decrypted" var2="0"/>
2732 </conditions>
2733 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002734 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002735 <action function="set">tw_crypto_user_id=0</action>
2736 <action function="set">tw_crypto_password=</action>
2737 <action function="set">tw_password_fail=0</action>
2738 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002739 <action function="page">decrypt</action>
2740 </button>
2741
2742 <button style="main_button_half_height">
2743 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002744 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002745 <actions>
2746 <action function="set">tw_back=mount</action>
2747 <action function="overlay">select_storage</action>
2748 </actions>
2749 </button>
2750
2751 <button style="main_button_half_height">
2752 <conditions>
2753 <condition var1="tw_has_mtp" var2="1"/>
2754 <condition var1="tw_mtp_enabled" var2="0"/>
2755 </conditions>
2756 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002757 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002758 <action function="startmtp"/>
2759 </button>
2760
2761 <button style="main_button_half_height">
2762 <conditions>
2763 <condition var1="tw_has_mtp" var2="1"/>
2764 <condition var1="tw_mtp_enabled" var2="1"/>
2765 </conditions>
2766 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002767 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002768 <action function="stopmtp"/>
2769 </button>
2770
2771 <action>
2772 <touch key="home"/>
2773 <action function="page">main</action>
2774 </action>
2775
2776 <action>
2777 <touch key="back"/>
2778 <action function="page">main</action>
2779 </action>
2780 </page>
2781
2782 <page name="usb_mount">
2783 <template name="page"/>
2784
2785 <text style="text_l">
2786 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002787 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002788 </text>
2789
2790 <text style="text_m">
2791 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002792 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 </text>
2794
2795 <text style="text_m_accent">
2796 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002797 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002798 </text>
2799
2800 <text style="text_m">
2801 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002803 </text>
2804
2805 <text style="text_m">
2806 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002807 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002808 </text>
2809
2810 <button style="main_button_half_height">
2811 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002812 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002813 <action function="page">usb_umount</action>
2814 </button>
2815
2816 <action>
2817 <action function="mount">usb</action>
2818 <action function="set">tw_busy=1</action>
2819 </action>
2820 </page>
2821
2822 <page name="usb_umount">
2823 <action>
2824 <action function="unmount">usb</action>
2825 </action>
2826
2827 <action>
2828 <action function="page">mount</action>
2829 <action function="set">tw_busy=0</action>
2830 </action>
2831 </page>
2832
2833 <page name="system_readonly_check">
2834 <action>
2835 <action function="checkpartitionlifetimewrites">/system</action>
2836 </action>
2837
2838 <action>
2839 <condition var1="tw_lifetime_writes" var2="1"/>
2840 <actions>
2841 <action function="mountsystemtoggle">0</action>
2842 <action function="page">mount</action>
2843 </actions>
2844 </action>
2845
2846 <action>
2847 <condition var1="tw_lifetime_writes" var2="0"/>
2848 <actions>
2849 <action function="set">tw_back=mount</action>
2850 <action function="page">system_readonly</action>
2851 </actions>
2852 </action>
2853 </page>
2854
bigbiffdf8436b2020-08-30 16:22:34 -04002855 <page name="fastbootreboot">
2856 <template name="page"/>
2857
2858 <text style="text_l">
2859 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2860 <text>{@reboot_hdr=Reboot}</text>
2861 </text>
2862
2863 <listbox style="advanced_listbox">
2864 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2865
2866 <listitem name="{@rb_system_btn=System}">
2867 <condition var1="tw_reboot_system" var2="1"/>
2868 <actions>
2869 <action function="set">tw_back=fastbootreboot</action>
2870 <action function="set">tw_action=reboot</action>
2871 <action function="set">tw_action_param=system</action>
2872 <action function="set">tw_reboot_param=system</action>
2873 <action function="set">tw_has_action2=0</action>
2874 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2875 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2876 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2877 <action function="page">confirm_action</action>
2878 </actions>
2879 </listitem>
2880
2881 <listitem name="{@rb_poweroff_btn=Power Off}">
2882 <condition var1="tw_reboot_poweroff" var2="1"/>
2883 <actions>
2884 <action function="set">tw_back=fastbootreboot</action>
2885 <action function="set">tw_action=reboot</action>
2886 <action function="set">tw_action_param=poweroff</action>
2887 <action function="set">tw_reboot_param=poweroff</action>
2888 <action function="set">tw_has_action2=0</action>
2889 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2890 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2891 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2892 <action function="page">confirm_action</action>
2893 </actions>
2894 </listitem>
2895
2896 <listitem name="{@rb_recovery_btn=Recovery}">
2897 <condition var1="tw_reboot_recovery" var2="1"/>
2898 <actions>
2899 <action function="set">tw_back=fastbootreboot</action>
2900 <action function="set">tw_action=reboot</action>
2901 <action function="set">tw_action_param=recovery</action>
2902 <action function="set">tw_reboot_param=recovery</action>
2903 <action function="set">tw_has_action2=0</action>
2904 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2905 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2906 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2907 <action function="page">confirm_action</action>
2908 </actions>
2909 </listitem>
2910
2911 <listitem name="{@rb_bootloader_btn=Bootloader}">
2912 <condition var1="tw_reboot_bootloader" var2="1"/>
2913 <actions>
2914 <action function="set">tw_back=fastbootreboot</action>
2915 <action function="set">tw_action=reboot</action>
2916 <action function="set">tw_action_param=bootloader</action>
2917 <action function="set">tw_reboot_param=bootloader</action>
2918 <action function="set">tw_has_action2=0</action>
2919 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2920 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2921 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2922 <action function="page">confirm_action</action>
2923 </actions>
2924 </listitem>
2925
2926 <listitem name="{@rb_download_btn=Download}">
2927 <condition var1="tw_download_mode" var2="1"/>
2928 <actions>
2929 <action function="set">tw_back=fastbootreboot</action>
2930 <action function="set">tw_action=reboot</action>
2931 <action function="set">tw_action_param=download</action>
2932 <action function="set">tw_reboot_param=download</action>
2933 <action function="set">tw_has_action2=0</action>
2934 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2935 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2936 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2937 <action function="page">confirm_action</action>
2938 </actions>
2939 </listitem>
2940
2941 <listitem name="{@fastboot_button=Fastboot}">
2942 <condition var1="tw_fastboot_mode" var2="1"/>
2943 <actions>
2944 <action function="set">tw_back=fastbootreboot</action>
2945 <action function="set">tw_action=reboot</action>
2946 <action function="set">tw_action_param=fastboot</action>
2947 <action function="set">tw_reboot_param=fastboot</action>
2948 <action function="set">tw_has_action2=0</action>
2949 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2950 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2951 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2952 <action function="page">confirm_action</action>
2953 </actions>
2954 </listitem>
2955
2956 <listitem name="{@rb_edl_btn=Edl}">
2957 <condition var1="tw_edl_mode" var2="1"/>
2958 <actions>
2959 <action function="set">tw_back=fastbootreboot</action>
2960 <action function="set">tw_action=reboot</action>
2961 <action function="set">tw_action_param=edl</action>
2962 <action function="set">tw_reboot_param=edl</action>
2963 <action function="set">tw_has_action2=0</action>
2964 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2965 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2966 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2967 <action function="page">confirm_action</action>
2968 </actions>
2969 </listitem>
2970 </listbox>
2971
2972 <action>
2973 <touch key="home"/>
2974 <action function="page">fastboot</action>
2975 </action>
2976
2977 <action>
2978 <touch key="back"/>
2979 <action function="page">fastboot</action>
2980 </action>
2981 </page>
2982
z31s1g28f0a922015-11-07 18:50:22 +01002983 <page name="reboot">
Ethan Yonker70e0a392020-12-17 14:51:50 -06002984 <action>
2985 <action function="checkforapp"></action>
2986 <action function="page">reboot2</action>
2987 </action>
2988 </page>
2989
2990 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002991 <template name="page"/>
2992
2993 <text style="text_l">
2994 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002995 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
bigbiffdf8436b2020-08-30 16:22:34 -04002998 <listbox style="advanced_listbox">
2999 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003000
bigbiffdf8436b2020-08-30 16:22:34 -04003001 <listitem name="{@rb_system_btn=System}">
3002 <condition var1="tw_reboot_system" var2="1"/>
3003 <actions>
3004 <action function="set">tw_back=reboot</action>
3005 <action function="page">reboot_system_routine</action>
3006 </actions>
3007 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003008
bigbiffdf8436b2020-08-30 16:22:34 -04003009 <listitem name="{@rb_poweroff_btn=Power Off}">
3010 <condition var1="tw_reboot_poweroff" var2="1"/>
3011 <actions>
3012 <action function="set">tw_back=reboot</action>
3013 <action function="set">tw_action=reboot</action>
3014 <action function="set">tw_action_param=poweroff</action>
3015 <action function="set">tw_reboot_param=poweroff</action>
3016 <action function="set">tw_has_action2=0</action>
3017 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3018 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3019 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3020 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3021 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
3022 <action function="page">rebootcheck</action>
3023 </actions>
3024 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003025
bigbiffdf8436b2020-08-30 16:22:34 -04003026 <listitem name="{@rb_recovery_btn=Recovery}">
3027 <condition var1="tw_reboot_recovery" var2="1"/>
3028 <actions>
3029 <action function="set">tw_back=reboot</action>
3030 <action function="set">tw_action=reboot</action>
3031 <action function="set">tw_action_param=recovery</action>
3032 <action function="set">tw_reboot_param=recovery</action>
3033 <action function="set">tw_has_action2=0</action>
3034 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3035 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3036 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3037 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3038 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3039 <action function="page">rebootcheck</action>
3040 </actions>
3041 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003042
bigbiffdf8436b2020-08-30 16:22:34 -04003043 <listitem name="{@rb_bootloader_btn=Bootloader}">
3044 <condition var1="tw_reboot_bootloader" var2="1"/>
3045 <actions>
3046 <action function="set">tw_back=reboot</action>
3047 <action function="set">tw_action=reboot</action>
3048 <action function="set">tw_action_param=bootloader</action>
3049 <action function="set">tw_reboot_param=bootloader</action>
3050 <action function="set">tw_has_action2=0</action>
3051 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3052 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3053 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3054 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3055 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3056 <action function="page">rebootcheck</action>
3057 </actions>
3058 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003059
bigbiffdf8436b2020-08-30 16:22:34 -04003060 <listitem name="{@rb_download_btn=Download}">
3061 <condition var1="tw_download_mode" var2="1"/>
3062 <actions>
3063 <action function="set">tw_back=reboot</action>
3064 <action function="set">tw_action=reboot</action>
3065 <action function="set">tw_action_param=download</action>
3066 <action function="set">tw_reboot_param=download</action>
3067 <action function="set">tw_has_action2=0</action>
3068 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3069 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3070 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3071 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3072 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3073 <action function="page">rebootcheck</action>
3074 </actions>
3075 </listitem>
3076
3077 <listitem name="{@fastboot_button=Fastboot}">
3078 <condition var1="tw_fastboot_mode" var2="1"/>
3079 <actions>
3080 <action function="set">tw_back=reboot</action>
3081 <action function="set">tw_action=reboot</action>
3082 <action function="set">tw_action_param=fastboot</action>
3083 <action function="set">tw_reboot_param=fastboot</action>
3084 <action function="set">tw_has_action2=0</action>
3085 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3086 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3087 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3088 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3089 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3090 <action function="page">rebootcheck</action>
3091 </actions>
3092 </listitem>
3093
3094 <listitem name="{@rb_edl_btn=Edl}">
3095 <condition var1="tw_edl_mode" var2="1"/>
3096 <actions>
3097 <action function="set">tw_back=reboot</action>
3098 <action function="set">tw_action=reboot</action>
3099 <action function="set">tw_action_param=edl</action>
3100 <action function="set">tw_reboot_param=edl</action>
3101 <action function="set">tw_has_action2=0</action>
3102 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3103 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3104 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3105 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3106 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3107 <action function="page">rebootcheck</action>
3108 </actions>
3109 </button>
3110 </listbox>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003111
Ethan Yonker1b190162016-12-05 15:25:19 -06003112 <text style="text_m">
3113 <condition var1="tw_has_boot_slots" var2="1"/>
bigbiffdf8436b2020-08-30 16:22:34 -04003114 <placement x="%center_x%" y="%row15_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06003115 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
3116 </text>
3117
bigbiffdf8436b2020-08-30 16:22:34 -04003118 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003119 <condition var1="tw_has_boot_slots" var2="1"/>
3120 <placement x="%indent%" y="%row19_y%"/>
3121 <text>{@boot_slot_a=Slot A}</text>
3122 <actions>
3123 <action function="set">tw_back=reboot</action>
3124 <action function="set">tw_action=setbootslot</action>
3125 <action function="set">tw_action_param=A</action>
3126 <action function="set">tw_has_action2=0</action>
3127 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3128 <action function="set">tw_action_text2=</action>
3129 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3130 <action function="page">action_page</action>
3131 </actions>
3132 </button>
3133
bigbiffdf8436b2020-08-30 16:22:34 -04003134 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003135 <condition var1="tw_has_boot_slots" var2="1"/>
3136 <placement x="%center_x%" y="%row19_y%"/>
3137 <text>{@boot_slot_b=Slot B}</text>
3138 <actions>
3139 <action function="set">tw_back=reboot</action>
3140 <action function="set">tw_action=setbootslot</action>
3141 <action function="set">tw_action_param=B</action>
3142 <action function="set">tw_has_action2=0</action>
3143 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3144 <action function="set">tw_action_text2=</action>
3145 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3146 <action function="page">action_page</action>
3147 </actions>
3148 </button>
3149
Ethan Yonker70e0a392020-12-17 14:51:50 -06003150 <button style="main_button_half_height">
3151 <condition var1="tw_app_install_status" var2="1"/>
3152 <placement x="%indent%" y="%row22_y%"/>
3153 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
3154 <actions>
3155 <action function="set">tw_back=reboot</action>
3156 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
3157 <action function="page">installapp</action>
3158 </actions>
3159 </button>
3160
z31s1g28f0a922015-11-07 18:50:22 +01003161 <action>
3162 <touch key="home"/>
3163 <action function="page">main</action>
3164 </action>
3165
3166 <action>
3167 <touch key="back"/>
3168 <action function="page">main</action>
3169 </action>
3170 </page>
3171
Ethan Yonker70e0a392020-12-17 14:51:50 -06003172 <page name="installapp">
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003173 <template name="page"/>
3174
3175 <text style="text_l">
3176 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003177 <text>%tw_appinstall_title%</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003178 </text>
3179
3180 <text style="text_m">
3181 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003182 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003183 </text>
3184
3185 <text style="text_m_accent">
3186 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3187 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3188 </text>
3189
3190 <text style="text_m_accent">
3191 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3192 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3193 </text>
3194
3195 <checkbox>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003196 <condition var1="tw_mount_system_ro" var2="0"/>
3197 <placement x="%indent%" y="%row7_y%"/>
3198 <text>{@reboot_install_app_system=Install as a System App}</text>
3199 <data variable="tw_app_install_system"/>
3200 </checkbox>
3201
3202 <button style="main_button_half_height">
3203 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003204 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003205 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003206 </button>
3207
3208 <slider>
3209 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3210 <actions>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003211 <action function="set">tw_action=installapp</action>
3212 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3213 <action function="set">tw_action_text2=</action>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003214 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003215 <action function="page">action_page</action>
3216 </actions>
3217 </slider>
3218
3219 <action>
3220 <touch key="home"/>
3221 <actions>
3222 <action function="set">tw_app_install_status=0</action>
3223 <action function="page">main</action>
3224 </actions>
3225 </action>
3226
3227 <action>
3228 <touch key="back"/>
3229 <actions>
3230 <action function="set">tw_app_install_status=0</action>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003231 <action function="page">%tw_back%</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003232 </actions>
3233 </action>
3234 </page>
3235
z31s1g28f0a922015-11-07 18:50:22 +01003236 <page name="system_readonly">
3237 <template name="page"/>
3238
3239 <text style="text_l">
3240 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 </text>
3243
3244 <text style="text_m_accent">
3245 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003246 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003247 </text>
3248
3249 <text style="text_m">
3250 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003251 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003252 </text>
3253
3254 <text style="text_m">
3255 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 </text>
3258
3259 <text style="text_m">
3260 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003262 </text>
3263
3264 <text style="text_m">
3265 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 </text>
3268
3269 <text style="text_m_fail">
3270 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003271 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003272 </text>
3273
3274 <text style="text_m_fail">
3275 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003277 </text>
3278
3279 <checkbox>
3280 <condition var1="tw_is_encrypted" var2="0"/>
3281 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 <data variable="tw_never_show_system_ro_page"/>
3284 </checkbox>
3285
3286 <button style="main_button_half_height">
3287 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 <actions>
3290 <action function="mountsystemtoggle">1</action>
3291 <action function="set">tw_page_done=1</action>
3292 <action function="page">%tw_back%</action>
3293 </actions>
3294 </button>
3295
z31s1g608d7ff2016-01-18 19:47:25 +01003296 <button style="main_button_half_height">
3297 <placement x="%center_x%" y="%row18a_y%"/>
3298 <text>{@sel_lang_btn=Select Language}</text>
3299 <action function="overlay">select_language</action>
3300 </button>
3301
z31s1g28f0a922015-11-07 18:50:22 +01003302 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003303 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003304 <actions>
3305 <action function="mountsystemtoggle">0</action>
3306 <action function="set">tw_page_done=1</action>
3307 <action function="page">%tw_back%</action>
3308 </actions>
3309 </slider>
3310 </page>
3311
3312 <page name="settings">
3313 <template name="page"/>
3314
3315 <text style="text_l">
3316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 </text>
3319
3320 <text style="text_m">
3321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 </text>
3324
3325 <template name="tabs_settings"/>
3326
3327 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003329 </fill>
3330
3331 <listbox style="scrolllist">
3332 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3333 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003335 <data variable="tw_signed_zip_verify"/>
3336 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003337 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3338 <data variable="tw_install_reboot"/>
3339 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003341 <data variable="tw_rm_rf"/>
3342 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003343 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3344 <data variable="tw_disable_free_space"/>
3345 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003346 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3347 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003349 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3350 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003352 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003353 <data variable="tw_military_time"/>
3354 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003356 <data variable="tw_samsung_navbar"/>
3357 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003359 <data variable="tw_simulate_actions"/>
3360 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003362 <condition var1="tw_simulate_actions" var2="1"/>
3363 <data variable="tw_simulate_fail"/>
3364 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003365 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3366 <condition var1="tw_no_sha2" var2="0"/>
3367 <data variable="tw_use_sha2"/>
3368 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003369 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3370 <data variable="tw_unmount_system"/>
3371 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003372 </listbox>
3373
3374 <button style="main_button_half_height">
3375 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003376 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003377 <actions>
3378 <action function="set">tw_samsung_navbar=0</action>
3379 <action function="set">tw_tab_icons=0</action>
3380 <action function="restoredefaultsettings"/>
3381 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003382 </button>
3383
3384 <action>
3385 <touch key="home"/>
3386 <action function="page">main</action>
3387 </action>
3388
3389 <action>
3390 <touch key="back"/>
3391 <action function="page">main</action>
3392 </action>
3393 </page>
3394
3395 <page name="settings_timezone">
3396 <template name="page"/>
3397
3398 <text style="text_l">
3399 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003400 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003401 </text>
3402
3403 <text style="text_m">
3404 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 </text>
3407
3408 <template name="tabs_settings"/>
3409
3410 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003411 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003412 </fill>
3413
3414 <listbox>
3415 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003418 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3419 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3420 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3421 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3422 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3423 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3424 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3425 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3426 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3427 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3428 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3429 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3430 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3431 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3432 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3433 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3434 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3435 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3436 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3437 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3438 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3439 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3440 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3441 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003442 </listbox>
3443
3444 <text style="text_m_accent">
3445 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 </text>
3448
3449 <button style="button_quarter_width">
3450 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003451 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003452 <action function="set">tw_time_zone_guioffset=0</action>
3453 </button>
3454
3455 <button style="button_quarter_width">
3456 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003457 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003458 <action function="set">tw_time_zone_guioffset=15</action>
3459 </button>
3460
3461 <button style="button_quarter_width">
3462 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003463 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003464 <action function="set">tw_time_zone_guioffset=30</action>
3465 </button>
3466
3467 <button style="button_quarter_width">
3468 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003469 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003470 <action function="set">tw_time_zone_guioffset=45</action>
3471 </button>
3472
3473 <checkbox>
3474 <placement x="%indent%" y="%row18a_y%"/>
3475 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 <data variable="tw_time_zone_guidst"/>
3478 <image checked="checkbox_true" unchecked="checkbox_false"/>
3479 </checkbox>
3480
3481 <text color="%text_color%">
3482 <font resource="font_m"/>
3483 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003484 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003485 </text>
3486
3487 <button>
3488 <highlight color="%highlight_color%"/>
3489 <placement x="%center_x%" y="%row21a_y%"/>
3490 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003491 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003492 <image resource="main_button_half_height"/>
3493 <action function="setguitimezone"/>
3494 </button>
3495
3496 <action>
3497 <touch key="home"/>
3498 <action function="page">main</action>
3499 </action>
3500
3501 <action>
3502 <touch key="back"/>
3503 <action function="page">main</action>
3504 </action>
3505 </page>
3506
3507 <page name="settings_screen">
3508 <template name="page"/>
3509
3510 <text style="text_l">
3511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text style="text_m">
3516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 </text>
3519
3520 <template name="tabs_settings"/>
3521
3522 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003524 </fill>
3525
3526 <button>
3527 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3528 <font resource="font_m" color="%text_color%"/>
3529 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3530 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003531 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003532 <image resource="checkbox_false"/>
3533 <action function="set">tw_screen_timeout_secs=60</action>
3534 </button>
3535
3536 <button>
3537 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3538 <font resource="font_m" color="%text_color%"/>
3539 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3540 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003541 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003542 <image resource="checkbox_true"/>
3543 <action function="set">tw_screen_timeout_secs=0</action>
3544 </button>
3545
3546 <slidervalue>
3547 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3548 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3549 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003551 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3552 </slidervalue>
3553
3554 <slidervalue>
3555 <condition var1="tw_has_brightnesss_file" var2="1"/>
3556 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003557 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003558 <data variable="tw_brightness_pct" min="10" max="100"/>
3559 <actions>
3560 <action function="set">tw_brightness=%tw_brightness_max%</action>
3561 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3562 <action function="compute">tw_brightness/100</action>
3563 <action function="setbrightness">%tw_brightness%</action>
3564 </actions>
3565 </slidervalue>
3566
3567 <action>
3568 <touch key="home"/>
3569 <action function="page">main</action>
3570 </action>
3571
3572 <action>
3573 <touch key="back"/>
3574 <action function="page">main</action>
3575 </action>
3576 </page>
3577
3578 <page name="settings_vibration">
3579 <template name="page"/>
3580
3581 <text style="text_l">
3582 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003583 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003584 </text>
3585
3586 <text style="text_m">
3587 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003588 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003589 </text>
3590
3591 <template name="tabs_settings"/>
3592
3593 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003595 </fill>
3596
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003597 <text style="text_m">
3598 <condition var1="tw_disable_haptics" var2="1"/>
3599 <placement x="%indent%" y="%row4_y%"/>
3600 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3601 </text>
3602
z31s1g28f0a922015-11-07 18:50:22 +01003603 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003604 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003605 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003606 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003607 <data variable="tw_button_vibrate" min="0" max="300"/>
3608 </slidervalue>
3609
3610 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003611 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003612 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003613 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003614 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3615 </slidervalue>
3616
3617 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003618 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003619 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003620 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003621 <data variable="tw_action_vibrate" min="0" max="500"/>
3622 </slidervalue>
3623
3624 <action>
3625 <touch key="home"/>
3626 <action function="page">main</action>
3627 </action>
3628
3629 <action>
3630 <touch key="back"/>
3631 <action function="page">main</action>
3632 </action>
3633 </page>
3634
Ethan Yonker74db1572015-10-28 12:44:49 -05003635 <page name="settings_language">
3636 <template name="page"/>
3637
3638 <text style="text_l">
3639 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3640 <text>{@settings_hdr=Settings}</text>
3641 </text>
3642
3643 <text style="text_m">
3644 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3645 <text>{@language_hdr=Language - %tw_language_display%}</text>
3646 </text>
3647
3648 <template name="tabs_settings"/>
3649
3650 <fill color="%text_color%">
3651 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3652 </fill>
3653
3654 <listbox>
3655 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3656 <text>{@select_language=Select Language:}</text>
3657 <icon selected="radio_true" unselected="radio_false" />
3658 <data name="tw_language" />
3659 </listbox>
3660
3661 <button style="main_button_half_height">
3662 <placement x="%center_x%" y="%row21a_y%"/>
3663 <text>{@set_language_btn=Set Language}</text>
3664 <action function="setlanguage"></action>
3665 </button>
3666
3667 <action>
3668 <touch key="home" />
3669 <action function="page">main</action>
3670 </action>
3671
3672 <action>
3673 <touch key="back" />
3674 <action function="page">settings</action>
3675 </action>
3676 </page>
3677
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003678 <page name="copylog">
3679 <template name="page"/>
3680
3681 <text style="text_l">
3682 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3683 <text>{@copying_log=Copy Logs to SD Card}</text>
3684 </text>
3685
3686 <checkbox>
3687 <placement x="%indent%" y="%row4_y%"/>
3688 <text>{@include_kernel_log=Include Kernel Log}</text>
3689 <data variable="tw_include_kernel_log" value="1"/>
3690 </checkbox>
3691
3692 <slider>
3693 <text>{@copying_log=Copy Logs to SD Card}</text>
3694 <actions>
3695 <action function="set">tw_back=advanced</action>
3696 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003697 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3698 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003699 <action function="page">action_page</action>
3700 </actions>
3701 </slider>
3702
3703 <action>
3704 <touch key="home"/>
3705 <action function="page">main</action>
3706 </action>
3707
3708 <action>
3709 <touch key="back"/>
3710 <actions>
3711 <action function="page">advanced</action>
3712 </actions>
3713 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003714 </page>
3715
z31s1g28f0a922015-11-07 18:50:22 +01003716 <page name="advanced">
Ethan Yonker70e0a392020-12-17 14:51:50 -06003717 <action>
3718 <action function="checkforapp"></action>
3719 <action function="page">advanced1</action>
3720 </action>
3721 </page>
3722
3723 <page name="advanced1">
z31s1g28f0a922015-11-07 18:50:22 +01003724 <template name="page"/>
3725
3726 <text style="text_l">
3727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <button style="main_button">
3732 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003734 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003735 </button>
3736
3737 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003738 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003739 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003740 <text>{@adb_sideload_btn=ADB Sideload}</text>
3741 <action function="page">sideload</action>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </button>
3743
3744 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003745 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003746 <text>{@terminal_btn=Terminal}</text>
3747 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003748 </button>
3749
3750 <button style="main_button">
3751 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003752 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003753 <action function="page">filemanagerlist</action>
3754 </button>
3755
Ethan Yonker64e0a652018-07-25 09:52:17 -05003756 <listbox style="advanced_listbox">
3757 <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003758 <listitem name="{@decrypt_users=Decrypt Users}">
3759 <conditions>
3760 <condition var1="tw_is_fbe" var2="1"/>
3761 <condition var1="tw_all_users_decrypted" var2="0"/>
3762 </conditions>
3763 <actions>
3764 <action function="set">tw_crypto_user_id=</action>
3765 <action function="page">decrypt_users</action>
3766 </actions>
3767 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003768 <listitem name="{@reload_theme_btn=Reload Theme}">
3769 <action function="reload"/>
3770 </listitem>
3771 <listitem name="{@part_sd_btn=Partition SD Card}">
3772 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3773 <actions>
3774 <action function="set">partitionlisterror=0</action>
3775 <action function="page">partsdcardsel</action>
3776 </actions>
3777 </listitem>
3778 <listitem name="{@fix_context_btn=Fix Contexts}">
3779 <condition var1="tw_has_data_media" var2="1"/>
3780 <action function="page">fixcontexts</action>
3781 </listitem>
3782 <listitem name="{@dumlock_btn=HTC Dumlock}">
3783 <condition var1="tw_show_dumlock" var2="1"/>
3784 <action function="page">htcdumlock</action>
3785 </listitem>
3786 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3787 <condition var1="tw_has_injecttwrp" var2="1"/>
3788 <actions>
3789 <action function="set">tw_back=advanced</action>
3790 <action function="set">tw_action=reinjecttwrp</action>
3791 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3792 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3793 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3794 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3795 <action function="page">confirm_action</action>
3796 </actions>
3797 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003798 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3799 <conditions>
3800 <condition var1="tw_has_boot_slots" var2="1"/>
3801 <condition var1="tw_has_repack_tools" var2="1"/>
3802 </conditions>
3803 <actions>
3804 <action function="set">tw_repack_kernel=0</action>
3805 <action function="page">repackselect</action>
3806 </actions>
3807 </listitem>
3808 <listitem name="{@install_kernel=Install Kernel}">
3809 <conditions>
3810 <condition var1="tw_has_boot_slots" var2="1"/>
3811 <condition var1="tw_has_repack_tools" var2="1"/>
3812 </conditions>
3813 <actions>
3814 <action function="set">tw_repack_kernel=1</action>
3815 <action function="page">repackselect</action>
3816 </actions>
3817 </listitem>
3818 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3819 <conditions>
3820 <condition var1="tw_has_boot_slots" var2="1"/>
3821 <condition var1="tw_has_repack_tools" var2="1"/>
3822 </conditions>
3823 <actions>
3824 <action function="set">tw_back=advanced</action>
3825 <action function="set">tw_action=fixabrecoverybootloop</action>
3826 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3827 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3828 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3829 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3830 <action function="page">confirm_action</action>
3831 </actions>
3832 </listitem>
Ethan Yonker70e0a392020-12-17 14:51:50 -06003833 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3834 <condition var1="tw_app_install_status" var2="1"/>
3835 <actions>
3836 <action function="set">tw_back=advanced</action>
3837 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3838 <action function="page">installapp</action>
3839 </actions>
3840 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003841 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3842 <condition var1="tw_app_installed_in_system" var2="1"/>
3843 <actions>
3844 <action function="set">tw_back=advanced</action>
3845 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3846 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3847 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3848 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3849 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3850 <action function="page">confirm_action</action>
3851 </actions>
3852 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003853 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003854
3855 <action>
3856 <touch key="home"/>
3857 <action function="page">main</action>
3858 </action>
3859
3860 <action>
3861 <touch key="back"/>
3862 <action function="page">main</action>
3863 </action>
3864 </page>
3865
Ethan Yonker483e9f42016-01-11 22:21:18 -06003866 <page name="partsdcardsel">
3867 <template name="page"/>
3868
3869 <text style="text_l">
3870 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3871 <text>{@advanced_hdr=Advanced}</text>
3872 </text>
3873
3874 <text style="text_m">
3875 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3876 <text>{@part_sd_hdr=Partition SD Card}</text>
3877 </text>
3878
z31s1g782e1c92016-01-30 16:50:09 +01003879 <partitionlist>
3880 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003881 <text>{@sel_storage_list=Select Storage}</text>
3882 <data name="tw_storage_path"/>
3883 <listtype name="storage"/>
3884 </partitionlist>
3885
3886 <text style="text_m_fail">
3887 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003888 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003889 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3890 </text>
3891
z31s1g782e1c92016-01-30 16:50:09 +01003892 <button style="main_button_half_height">
3893 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003894 <text>{@ok_btn=OK}</text>
3895 <actions>
3896 <action function="getpartitiondetails">tw_storage_path</action>
3897 <action function="page">partsdcardcheck</action>
3898 </actions>
3899 </button>
3900
3901 <action>
3902 <touch key="home"/>
3903 <action function="page">main</action>
3904 </action>
3905
3906 <action>
3907 <touch key="back"/>
3908 <action function="page">advanced</action>
3909 </action>
3910 </page>
3911
3912 <page name="partsdcardcheck">
3913 <action>
3914 <condition var1="tw_partition_removable" op="=" var2="1"/>
3915 <actions>
3916 <action function="set">partitionlisterror=0</action>
3917 <action function="page">partsdcard</action>
3918 </actions>
3919 </action>
3920
3921 <action>
3922 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3923 <actions>
3924 <action function="set">partitionlisterror=1</action>
3925 <action function="page">partsdcardsel</action>
3926 </actions>
3927 </action>
3928 </page>
3929
z31s1g28f0a922015-11-07 18:50:22 +01003930 <page name="partsdcard">
3931 <template name="page"/>
3932
3933 <text style="text_l">
3934 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003935 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003936 </text>
3937
3938 <text style="text_m">
3939 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003940 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003941 </text>
3942
3943 <text style="text_m_fail">
3944 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003946 </text>
3947
3948 <text style="text_m_fail">
3949 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003950 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </text>
3952
3953 <text style="text_m_accent">
3954 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003956 </text>
3957
3958 <text style="text_m">
3959 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3960 <text>%tw_sdext_size%</text>
3961 </text>
3962
3963 <button style="button_quarter_width">
3964 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@part_sd_m=-}</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 <button style="button_quarter_width">
3970 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003971 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003972 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003973 </button>
3974
3975 <text style="text_m_accent">
3976 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003977 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003978 </text>
3979
3980 <text style="text_m">
3981 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3982 <text>%tw_swap_size%</text>
3983 </text>
3984
3985 <button style="button_quarter_width">
3986 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003987 <text>{@part_sd_m=-}</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 <button style="button_quarter_width">
3992 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003994 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003995 </button>
3996
3997 <text style="text_m_accent">
3998 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004000 </text>
4001
4002 <text style="text_m">
4003 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
4004 <text>%tw_sdpart_file_system%</text>
4005 </text>
4006
4007 <button style="button_quarter_width">
4008 <placement x="%indent%" y="%row14_y%"/>
4009 <text>EXT3</text>
4010 <action function="set">tw_sdpart_file_system=ext3</action>
4011 </button>
4012
4013 <button style="button_quarter_width">
4014 <placement x="%btn4_col4_x%" y="%row14_y%"/>
4015 <text>EXT4</text>
4016 <action function="set">tw_sdpart_file_system=ext4</action>
4017 </button>
4018
4019 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 <action function="page">partsdcardaction</action>
4022 <actions>
4023 <action function="set">tw_back=partsdcard</action>
4024 <action function="set">tw_action=partitionsd</action>
4025 <action function="set">tw_has_action2=1</action>
4026 <action function="set">tw_action2=set</action>
4027 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004028 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4029 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4030 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004031 <action function="page">action_page</action>
4032 </actions>
4033 </slider>
4034
4035 <action>
4036 <touch key="home"/>
4037 <action function="page">main</action>
4038 </action>
4039
4040 <action>
4041 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004042 <actions>
4043 <action function="set">partitionlisterror=0</action>
4044 <action function="page">partsdcardsel</action>
4045 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004046 </action>
4047 </page>
4048
4049 <page name="htcdumlock">
4050 <template name="page"/>
4051
4052 <text style="text_l">
4053 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004054 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004055 </text>
4056
4057 <text style="text_m">
4058 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004059 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004060 </text>
4061
4062 <button style="main_button_half_height_full_width">
4063 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004064 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004065 <actions>
4066 <action function="set">tw_back=htcdumlock</action>
4067 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4069 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4070 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4071 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004072 <action function="page">confirm_action</action>
4073 </actions>
4074 </button>
4075
4076 <button style="main_button_half_height_full_width">
4077 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <actions>
4080 <action function="set">tw_back=htcdumlock</action>
4081 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4083 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4084 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4085 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004086 <action function="page">confirm_action</action>
4087 </actions>
4088 </button>
4089
4090 <button style="main_button_half_height_full_width">
4091 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004092 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004093 <actions>
4094 <action function="set">tw_back=htcdumlock</action>
4095 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4097 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4098 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4099 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004100 <action function="page">confirm_action</action>
4101 </actions>
4102 </button>
4103
4104 <action>
4105 <touch key="home"/>
4106 <action function="page">main</action>
4107 </action>
4108
4109 <action>
4110 <touch key="back"/>
4111 <action function="page">advanced</action>
4112 </action>
4113 </page>
4114
Ethan Yonker53796e72019-01-11 22:49:52 -06004115 <page name="repackselect">
4116 <template name="page"/>
4117
4118 <text style="text_l">
4119 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4120 <text>{@repack_image_hdr=Select Image}</text>
4121 </text>
4122
4123 <text style="text_m">
4124 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4125 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4126 </text>
4127
4128 <template name="sort_options"/>
4129
4130 <fileselector>
4131 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
4132 <text>%tw_zip_location%</text>
4133 <filter extn=".img" folders="1" files="1"/>
4134 <path name="tw_zip_location" default="/sdcard"/>
4135 <data name="tw_filename"/>
4136 <selection name="tw_file"/>
4137 </fileselector>
4138
4139 <button style="main_button_half_height">
4140 <placement x="%indent%" y="%row21a_y%"/>
4141 <text>{@select_storage_btn=Select Storage}</text>
4142 <actions>
4143 <action function="set">tw_back=repackselect</action>
4144 <action function="overlay">select_storage</action>
4145 </actions>
4146 </button>
4147
4148 <action>
4149 <conditions>
4150 <condition var1="tw_filename" op="modified"/>
4151 </conditions>
4152 <action function="page">repackconfirm</action>
4153 </action>
4154
4155 <action>
4156 <touch key="back"/>
4157 <action function="page">advanced</action>
4158 </action>
4159
4160 <action>
4161 <touch key="home"/>
4162 <action function="page">main</action>
4163 </action>
4164 </page>
4165
4166 <page name="repackconfirm">
4167 <template name="page"/>
4168
4169 <text style="text_l">
4170 <condition var1="tw_repack_kernel" var2="1"/>
4171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4172 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4173 </text>
4174
4175 <text style="text_l">
4176 <condition var1="tw_repack_kernel" var2="0"/>
4177 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4178 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4179 </text>
4180
4181 <text style="text_m">
4182 <condition var1="tw_repack_kernel" var2="1"/>
4183 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4184 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4185 </text>
4186
4187 <text style="text_m">
4188 <condition var1="tw_repack_kernel" var2="0"/>
4189 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4190 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4191 </text>
4192
4193 <text style="text_m_accent">
4194 <placement x="%indent%" y="%row2_y%"/>
4195 <text>{@folder=Folder:}</text>
4196 </text>
4197
4198 <text style="text_m">
4199 <placement x="%indent%" y="%row3_y%"/>
4200 <text>%tw_zip_location%</text>
4201 </text>
4202
4203 <text style="text_m_accent">
4204 <placement x="%indent%" y="%row4_y%"/>
4205 <text>{@file=File:}</text>
4206 </text>
4207
4208 <text style="text_m">
4209 <placement x="%indent%" y="%row5_y%"/>
4210 <text>%tw_file%</text>
4211 </text>
4212
4213 <checkbox>
4214 <placement x="%indent%" y="%row7_y%"/>
4215 <text>{@repack_backup_first=Back up existing image first}</text>
4216 <data variable="tw_repack_backup_first"/>
4217 </checkbox>
4218
4219 <button style="main_button_half_height">
4220 <placement x="%indent%" y="%row16_y%"/>
4221 <text>{@install_cancel=Do not Install}</text>
4222 <action function="page">repackselect</action>
4223 </button>
4224
4225 <slider>
4226 <text>{@swipe_to_install=Swipe to Install}</text>
4227 <actions>
4228 <action function="set">tw_back=advanced</action>
4229 <action function="set">tw_action=repackimage</action>
4230 <action function="set">tw_action_param=/boot</action>
4231 <action function="set">tw_action_text1={@installing=Installing...}</action>
4232 <action function="set">tw_action_text2=</action>
4233 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4234 <action function="page">action_page</action>
4235 </actions>
4236 </slider>
4237
4238 <action>
4239 <touch key="back"/>
4240 <action function="page">repackselect</action>
4241 </action>
4242
4243 <action>
4244 <touch key="home"/>
4245 <action function="page">main</action>
4246 </action>
4247 </page>
4248
z31s1g28f0a922015-11-07 18:50:22 +01004249 <page name="lock">
4250 <background color="%semi_transparent%"/>
4251
4252 <image>
4253 <image resource="unlock_icon"/>
4254 <placement x="%center_x%" y="%row10_y%" placement="4"/>
4255 </image>
4256
4257 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 <action function="overlay"/>
4260 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004261
4262 <action>
4263 <touch key="power"/>
4264 <action function="togglebacklight"/>
4265 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004266 </page>
4267
4268 <page name="filemanagerlist">
4269 <template name="page"/>
4270
4271 <text style="text_l">
4272 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004274 </text>
4275
4276 <text style="text_m">
4277 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004278 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004279 </text>
4280
4281 <template name="sort_options"/>
4282
4283 <fileselector>
4284 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4285 <text>%tw_file_location1%</text>
4286 <filter folders="1" files="1"/>
4287 <path name="tw_file_location1" default="/"/>
4288 <data name="tw_filename1"/>
4289 <selection name="tw_selection1"/>
4290 </fileselector>
4291
4292 <button style="fab">
4293 <image resource="fab_selectfolder"/>
4294 <actions>
4295 <action function="set">tw_filename1=tw_file_location1</action>
4296 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004298 <action function="page">filemanageroptions</action>
4299 </actions>
4300 </button>
4301
4302 <action>
4303 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004304 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004305 <action function="set">tw_fm_isfolder=0</action>
4306 </actions>
4307 </action>
4308
4309 <action>
4310 <touch key="home"/>
4311 <action function="page">main</action>
4312 </action>
4313
4314 <action>
4315 <touch key="back"/>
4316 <action function="page">advanced</action>
4317 </action>
4318
4319 <action>
4320 <condition var1="tw_filename1" op="modified"/>
4321 <action function="page">filemanageroptions</action>
4322 </action>
4323 </page>
4324
4325 <page name="filemanageroptions">
4326 <template name="page"/>
4327
4328 <text style="text_l">
4329 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 </text>
4332
4333 <text style="text_m">
4334 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004335 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004336 </text>
4337
4338 <text style="text_m_accent">
4339 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004340 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004341 </text>
4342
4343 <text style="text_m">
4344 <placement x="%indent%" y="%row3_y%"/>
4345 <text>%tw_filename1%</text>
4346 </text>
4347
4348 <button style="main_button_half_height">
4349 <condition var1="tw_fm_isfolder" var2="0"/>
4350 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004351 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004352 <actions>
4353 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004354 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004355 <action function="page">choosedestinationfolder</action>
4356 </actions>
4357 </button>
4358
4359 <button style="main_button_half_height">
4360 <condition var1="tw_fm_isfolder" var2="1"/>
4361 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004362 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004363 <actions>
4364 <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 -05004365 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004366 <action function="page">choosedestinationfolder</action>
4367 </actions>
4368 </button>
4369
4370 <button style="main_button_half_height">
4371 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004372 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004373 <actions>
4374 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004375 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004376 <action function="page">choosedestinationfolder</action>
4377 </actions>
4378 </button>
4379
4380 <button style="main_button_half_height">
4381 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004383 <actions>
4384 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004385 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004386 <action function="set">tw_fm_text2=</action>
4387 <action function="set">tw_fm_text3=</action>
4388 <action function="set">tw_include_text3=0</action>
4389 <action function="set">tw_back=filemanageroptions</action>
4390 <action function="page">filemanagerconfirm</action>
4391 </actions>
4392 </button>
4393
4394 <button style="main_button_half_height">
4395 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 <actions>
4398 <action function="set">tw_filemanager_rename=0000</action>
4399 <action function="set">tw_fm_text2=</action>
4400 <action function="set">tw_fm_text3=</action>
4401 <action function="set">tw_include_text3=0</action>
4402 <action function="set">tw_back=filemanageroptions</action>
4403 <action function="page">filemanagerchmod</action>
4404 </actions>
4405 </button>
4406
4407 <button style="main_button_half_height">
4408 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 <actions>
4411 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004412 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004413 <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">filemanagerconfirm</action>
4418 </actions>
4419 </button>
4420
4421 <button style="main_button_half_height">
4422 <condition var1="tw_fm_isfolder" var2="0"/>
4423 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004424 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004425 <actions>
4426 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004428 <action function="set">tw_filemanager_command=mv</action>
4429 <action function="page">filemanagerrenamefile</action>
4430 </actions>
4431 </button>
4432
4433 <button style="main_button_half_height">
4434 <condition var1="tw_fm_isfolder" var2="1"/>
4435 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004436 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004437 <actions>
4438 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004440 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4441 <action function="page">filemanagerrenamefolder</action>
4442 </actions>
4443 </button>
4444
4445 <action>
4446 <touch key="home"/>
4447 <action function="page">main</action>
4448 </action>
4449
4450 <action>
4451 <touch key="back"/>
4452 <action function="page">filemanagerlist</action>
4453 </action>
4454 </page>
4455
4456 <page name="choosedestinationfolder">
4457 <template name="page"/>
4458
4459 <text style="text_l">
4460 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <text style="text_m">
4465 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004466 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004467 </text>
4468
4469 <template name="sort_options"/>
4470
4471 <fileselector>
4472 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4473 <text>%tw_file_location2%</text>
4474 <filter folders="1" files="0"/>
4475 <path name="tw_file_location2" default="/"/>
4476 <data name="tw_filename2"/>
4477 <selection name="tw_selection2"/>
4478 </fileselector>
4479
4480 <button style="fab">
4481 <image resource="fab_selectfolder"/>
4482 <actions>
4483 <action function="set">tw_fm_text2=to</action>
4484 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4485 <action function="set">tw_include_text3=1</action>
4486 <action function="set">tw_back=filemanageroptions</action>
4487 <action function="page">filemanagerconfirm</action>
4488 </actions>
4489 </button>
4490
4491 <action>
4492 <touch key="home"/>
4493 <action function="page">main</action>
4494 </action>
4495
4496 <action>
4497 <touch key="back"/>
4498 <action function="page">filemanageroptions</action>
4499 </action>
4500 </page>
4501
4502 <page name="filemanagerrenamefile">
4503 <template name="page"/>
4504
4505 <text style="text_l">
4506 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 </text>
4509
4510 <text style="text_m">
4511 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004512 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004513 </text>
4514
4515 <text style="text_m_accent">
4516 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004518 </text>
4519
4520 <input>
4521 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4522 <text>%tw_filemanager_rename%</text>
4523 <data name="tw_filemanager_rename"/>
4524 <restrict minlen="1" maxlen="128"/>
4525 <actions>
4526 <action function="set">tw_fm_text2=to</action>
4527 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4528 <action function="set">tw_include_text3=1</action>
4529 <action function="set">tw_back=filemanageroptions</action>
4530 <action function="page">filemanagerconfirm</action>
4531 </actions>
4532 </input>
4533
4534 <fill color="%accent_color%">
4535 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4536 </fill>
4537
4538 <button style="main_button_half_height">
4539 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004540 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004541 <action function="page">filemanageroptions</action>
4542 </button>
4543
4544 <template name="keyboardtemplate"/>
4545
4546 <action>
4547 <touch key="home"/>
4548 <action function="page">main</action>
4549 </action>
4550
4551 <action>
4552 <touch key="back"/>
4553 <action function="page">filemanageroptions</action>
4554 </action>
4555 </page>
4556
4557 <page name="filemanagerrenamefolder">
4558 <template name="page"/>
4559
4560 <text style="text_l">
4561 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004562 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004563 </text>
4564
4565 <text style="text_m">
4566 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004567 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004568 </text>
4569
4570 <text style="text_m_accent">
4571 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004572 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004573 </text>
4574
4575 <input>
4576 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4577 <text>%tw_filemanager_rename%</text>
4578 <data name="tw_filemanager_rename"/>
4579 <restrict minlen="1" maxlen="128"/>
4580 <actions>
4581 <action function="set">tw_fm_text2=to</action>
4582 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4583 <action function="set">tw_include_text3=1</action>
4584 <action function="set">tw_back=filemanageroptions</action>
4585 <action function="page">filemanagerconfirm</action>
4586 </actions>
4587 </input>
4588
4589 <fill color="%accent_color%">
4590 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4591 </fill>
4592
4593 <button style="main_button_half_height">
4594 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004595 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004596 <action function="page">filemanageroptions</action>
4597 </button>
4598
4599 <template name="keyboardtemplate"/>
4600
4601 <action>
4602 <touch key="home"/>
4603 <action function="page">main</action>
4604 </action>
4605
4606 <action>
4607 <touch key="back"/>
4608 <action function="page">filemanageroptions</action>
4609 </action>
4610 </page>
4611
4612 <page name="filemanagerchmod">
4613 <template name="page"/>
4614
4615 <text style="text_l">
4616 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </text>
4619
4620 <text style="text_m">
4621 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <text style="text_m_accent">
4626 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 </text>
4629
4630 <input>
4631 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4632 <text>%tw_filemanager_rename%</text>
4633 <data name="tw_filemanager_rename"/>
4634 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4635 <actions>
4636 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4637 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4638 <action function="set">tw_back=filemanageroptions</action>
4639 <action function="page">filemanagerconfirm</action>
4640 </actions>
4641 </input>
4642
4643 <fill color="%accent_color%">
4644 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4645 </fill>
4646
4647 <button style="main_button_half_height">
4648 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <action function="page">filemanageroptions</action>
4651 </button>
4652
4653 <template name="keyboardtemplate"/>
4654
4655 <action>
4656 <touch key="home"/>
4657 <action function="page">main</action>
4658 </action>
4659
4660 <action>
4661 <touch key="back"/>
4662 <action function="page">filemanageroptions</action>
4663 </action>
4664 </page>
4665
4666 <page name="filemanagerconfirm">
4667 <template name="page"/>
4668
4669 <text style="text_l">
4670 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004671 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004672 </text>
4673
4674 <text style="text_m">
4675 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004676 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004677 </text>
4678
4679 <text style="text_m_accent">
4680 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4681 <text>%tw_fm_text1%</text>
4682 </text>
4683
4684 <text style="text_m">
4685 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4686 <text>%tw_filename1%</text>
4687 </text>
4688
4689 <text style="text_m_accent">
4690 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4691 <text>%tw_fm_text2%</text>
4692 </text>
4693
4694 <text style="text_m">
4695 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4696 <text>%tw_fm_text3%</text>
4697 </text>
4698
4699 <text style="text_m">
4700 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
4704 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004705 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004706 <action function="page">filemanageraction</action>
4707 </slider>
4708
4709 <action>
4710 <touch key="back"/>
4711 <action function="page">%tw_back%</action>
4712 </action>
4713
4714 <action>
4715 <touch key="home"/>
4716 <action function="page">main</action>
4717 </action>
4718 </page>
4719
4720 <page name="filemanageraction">
4721 <template name="page"/>
4722
4723 <text style="text_l">
4724 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004726 </text>
4727
4728 <text style="text_m">
4729 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4730 <text>%tw_fm_text1%</text>
4731 </text>
4732
4733 <template name="console"/>
4734
4735 <template name="progress_bar"/>
4736
4737 <action>
4738 <conditions>
4739 <condition var1="tw_operation_state" var2="1"/>
4740 <condition var1="tw_operation_status" var2="0"/>
4741 </conditions>
4742 <actions>
4743 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004744 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004745 <action function="page">action_complete</action>
4746 </actions>
4747 </action>
4748
4749 <action>
4750 <conditions>
4751 <condition var1="tw_operation_state" var2="1"/>
4752 <condition var1="tw_operation_status" op="!=" var2="0"/>
4753 </conditions>
4754 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004755 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004756 <action function="page">action_complete</action>
4757 </actions>
4758 </action>
4759
4760 <action>
4761 <condition var1="tw_include_text3" var2="0"/>
4762 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4763 </action>
4764
4765 <action>
4766 <condition var1="tw_include_text3" var2="1"/>
4767 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4768 </action>
4769 </page>
4770
4771 <page name="decrypt">
4772 <template name="page"/>
4773
4774 <action>
4775 <condition var1="tw_crypto_pwtype" var2="2"/>
4776 <action function="page">decrypt_pattern</action>
4777 </action>
4778
4779 <text style="text_l">
4780 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004781 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004782 </text>
4783
4784 <text style="text_m">
4785 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004786 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004787 </text>
4788
4789 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004790 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004791 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004792 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004793 </text>
4794
Noah Jacobson81d638d2019-04-28 00:10:07 -04004795 <text style="text_m_accent">
4796 <condition var1="tw_is_fbe" var2="1"/>
4797 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4798 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4799 </text>
4800
z31s1g28f0a922015-11-07 18:50:22 +01004801 <input>
4802 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4803 <text>%tw_crypto_display%</text>
4804 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4805 <restrict minlen="1" maxlen="254"/>
4806 <action function="page">trydecrypt</action>
4807 </input>
4808
4809 <fill color="%accent_color%">
4810 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4811 </fill>
4812
4813 <fill color="%text_fail_color%">
4814 <condition var1="tw_password_fail" var2="1"/>
4815 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4816 </fill>
4817
4818 <text style="text_m_fail">
4819 <condition var1="tw_password_fail" var2="1"/>
4820 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004821 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004822 </text>
4823
4824 <button style="main_button_half_height">
4825 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004826 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004827 <actions>
4828 <action function="set">tw_page_done=1</action>
4829 <action function="page">main</action>
4830 </actions>
4831 </button>
4832
z31s1g608d7ff2016-01-18 19:47:25 +01004833 <button style="main_button_half_height">
4834 <placement x="%center_x%" y="%row10_y%"/>
4835 <text>{@sel_lang_btn=Select Language}</text>
4836 <action function="overlay">select_language</action>
4837 </button>
4838
z31s1g28f0a922015-11-07 18:50:22 +01004839 <template name="keyboardtemplate"/>
4840 </page>
4841
4842 <page name="decrypt_pattern">
4843 <template name="page"/>
4844
4845 <text style="text_l">
4846 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004847 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004848 </text>
4849
4850 <text style="text_m">
4851 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004852 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004853 </text>
4854
4855 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004856 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004857 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004858 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004859 </text>
4860
Noah Jacobson81d638d2019-04-28 00:10:07 -04004861 <text style="text_m_accent">
4862 <condition var1="tw_is_fbe" var2="1"/>
4863 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4864 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
4865 </text>
4866
Aleksa Saraib25a1832015-12-31 17:36:00 +01004867 <text style="text_m_fail">
4868 <condition var1="tw_password_fail" var2="1"/>
4869 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004870 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004871 </text>
4872
z31s1g28f0a922015-11-07 18:50:22 +01004873 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004874 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004875 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4876 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4877 <data name="tw_crypto_password"/>
4878 <action function="page">trydecrypt</action>
4879 </patternpassword>
4880
Aleksa Saraib25a1832015-12-31 17:36:00 +01004881 <button style="button_quarter_width">
4882 <placement x="%indent%" y="%row19a_y%"/>
4883 <text>3x3</text>
4884 <action function="set">tw_gui_pattern_grid_size=3</action>
4885 </button>
4886
4887 <button style="button_quarter_width">
4888 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4889 <text>4x4</text>
4890 <action function="set">tw_gui_pattern_grid_size=4</action>
4891 </button>
4892
4893 <button style="button_quarter_width">
4894 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4895 <text>5x5</text>
4896 <action function="set">tw_gui_pattern_grid_size=5</action>
4897 </button>
4898
4899 <button style="button_quarter_width">
4900 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4901 <text>6x6</text>
4902 <action function="set">tw_gui_pattern_grid_size=6</action>
4903 </button>
4904
z31s1g28f0a922015-11-07 18:50:22 +01004905 <button style="main_button_half_height">
4906 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004907 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004908 <actions>
4909 <action function="set">tw_page_done=1</action>
4910 <action function="page">main</action>
4911 </actions>
4912 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004913
4914 <button style="main_button_half_height">
4915 <placement x="%center_x%" y="%row21a_y%"/>
4916 <text>{@sel_lang_btn=Select Language}</text>
4917 <action function="overlay">select_language</action>
4918 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004919 </page>
4920
4921 <page name="trydecrypt">
4922 <template name="page"/>
4923
4924 <text style="text_l">
4925 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004926 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004927 </text>
4928
4929 <text style="text_m">
4930 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004931 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004932 </text>
4933
4934 <template name="console"/>
4935
4936 <template name="progress_bar"/>
4937
4938 <action>
4939 <action function="decrypt"/>
4940 </action>
4941
4942 <action>
4943 <conditions>
4944 <condition var1="tw_operation_state" var2="1"/>
4945 <condition var1="tw_operation_status" op="!=" var2="0"/>
4946 </conditions>
4947 <actions>
4948 <action function="set">tw_password_fail=1</action>
4949 <action function="page">decrypt</action>
4950 </actions>
4951 </action>
4952
4953 <action>
4954 <conditions>
4955 <condition var1="tw_operation_state" var2="1"/>
4956 <condition var1="tw_operation_status" op="=" var2="0"/>
4957 </conditions>
4958 <actions>
4959 <action function="set">tw_page_done=1</action>
4960 <action function="page">main</action>
4961 </actions>
4962 </action>
4963 </page>
4964
z31s1g28f0a922015-11-07 18:50:22 +01004965 <page name="terminalcommand">
4966 <template name="page"/>
4967
z31s1g56189522016-01-13 19:12:40 +01004968 <fill color="%background_color%">
4969 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004970 </fill>
4971
z31s1g56189522016-01-13 19:12:40 +01004972 <terminal>
4973 <condition var1="tw_hide_kb" var2="0"/>
4974 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4975 </terminal>
4976
4977 <terminal>
4978 <condition var1="tw_hide_kb" var2="1"/>
4979 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4980 </terminal>
4981
4982 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004983
4984 <template name="keyboardtemplate"/>
4985
z31s1g608d7ff2016-01-18 19:47:25 +01004986 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004987 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004988 </fill>
z31s1g56189522016-01-13 19:12:40 +01004989
z31s1g608d7ff2016-01-18 19:47:25 +01004990 <button>
z31s1g56189522016-01-13 19:12:40 +01004991 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4992 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4993 <image resource="back" />
4994 <condition var1="tw_busy" var2="0" />
4995 <actions>
4996 <action function="set">tw_hide_kb=0</action>
4997 <action function="key">back</action>
4998 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004999 </button>
z31s1g56189522016-01-13 19:12:40 +01005000
z31s1g608d7ff2016-01-18 19:47:25 +01005001 <button>
z31s1g56189522016-01-13 19:12:40 +01005002 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5003 <condition var1="tw_hide_kb" op="=" var2="0" />
5004 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5005 <image resource="kb_hide" />
5006 <condition var1="tw_busy" var2="0" />
5007 <actions>
5008 <action function="set">tw_hide_kb=1</action>
5009 <action function="page">terminalcommand</action>
5010 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005011 </button>
z31s1g56189522016-01-13 19:12:40 +01005012
z31s1g608d7ff2016-01-18 19:47:25 +01005013 <button>
z31s1g56189522016-01-13 19:12:40 +01005014 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5015 <condition var1="tw_hide_kb" op="=" var2="1" />
5016 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5017 <image resource="kb_show" />
5018 <condition var1="tw_busy" var2="0" />
5019 <actions>
5020 <action function="set">tw_hide_kb=0</action>
5021 <action function="page">terminalcommand</action>
5022 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005023 </button>
z31s1g56189522016-01-13 19:12:40 +01005024
z31s1g608d7ff2016-01-18 19:47:25 +01005025 <button>
z31s1g56189522016-01-13 19:12:40 +01005026 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5027 <image resource="home" />
5028 <condition var1="tw_busy" var2="0" />
5029 <actions>
5030 <action function="set">tw_hide_kb=0</action>
5031 <action function="key">home</action>
5032 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005033 </button>
z31s1g56189522016-01-13 19:12:40 +01005034
z31s1g608d7ff2016-01-18 19:47:25 +01005035 <button>
z31s1g56189522016-01-13 19:12:40 +01005036 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5037 <condition var1="tw_hide_kb" op="=" var2="0" />
5038 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5039 <image resource="kb_hide" />
5040 <condition var1="tw_busy" var2="0" />
5041 <actions>
5042 <action function="set">tw_hide_kb=1</action>
5043 <action function="page">terminalcommand</action>
5044 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005045 </button>
z31s1g56189522016-01-13 19:12:40 +01005046
z31s1g608d7ff2016-01-18 19:47:25 +01005047 <button>
z31s1g56189522016-01-13 19:12:40 +01005048 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5049 <condition var1="tw_hide_kb" op="=" var2="1" />
5050 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5051 <image resource="kb_show" />
5052 <condition var1="tw_busy" var2="0" />
5053 <actions>
5054 <action function="set">tw_hide_kb=0</action>
5055 <action function="page">terminalcommand</action>
5056 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005057 </button>
z31s1g56189522016-01-13 19:12:40 +01005058
z31s1g608d7ff2016-01-18 19:47:25 +01005059 <button>
z31s1g56189522016-01-13 19:12:40 +01005060 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5061 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5062 <image resource="back" />
5063 <condition var1="tw_busy" var2="0" />
5064 <actions>
5065 <action function="set">tw_hide_kb=0</action>
5066 <action function="key">back</action>
5067 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005068 </button>
z31s1g56189522016-01-13 19:12:40 +01005069
z31s1g28f0a922015-11-07 18:50:22 +01005070 <action>
5071 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005072 <actions>
5073 <action function="set">tw_hide_kb=0</action>
5074 <action function="page">main</action>
5075 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005076 </action>
5077
5078 <action>
5079 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005080 <actions>
5081 <action function="set">tw_hide_kb=0</action>
5082 <action function="page">advanced</action>
5083 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005084 </action>
z31s1g56189522016-01-13 19:12:40 +01005085
z31s1g608d7ff2016-01-18 19:47:25 +01005086 <action>
z31s1g56189522016-01-13 19:12:40 +01005087 <touch key="power+voldown" />
5088 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005089 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005090 </page>
5091
bigbiffdf8436b2020-08-30 16:22:34 -04005092 <page name="fastboot">
5093 <template name="page"/>
5094
5095 <text style="text_l">
5096 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5097 <text>{@fastboot_button=Fastboot}</text>
5098 </text>
5099
5100 <template name="console"/>
5101
5102 <template name="progress_bar"/>
5103
5104 <button style="main_button_half_height">
5105 <condition var1="tw_enable_fastboot" op="=" var2="1" />
5106 <placement x="%indent%" y="%row21a_y%"/>
5107 <text>{@enable_adb=Enable ADB}</text>
5108 <actions>
5109 <action function="enableadb"/>
5110 <action function="set">tw_enable_adb=1</action>
5111 <action function="set">tw_enable_fastboot=0</action>
5112 </actions>
5113 </button>
5114
5115 <button style="main_button_half_height">
5116 <condition var1="tw_enable_adb" op="=" var2="1" />
5117 <placement x="%indent%" y="%row21a_y%"/>
5118 <text>{@enable_fastboot=Enable Fastboot}</text>
5119 <actions>
5120 <action function="enablefastboot"/>
5121 <action function="set">tw_enable_fastboot=1</action>
5122 <action function="set">tw_enable_adb=0</action>
5123 </actions>
5124 </button>
5125
5126 <button style="main_button_half_height">
5127 <placement x="%center_x%" y="%row21a_y%"/>
5128 <text>{@reboot_btn=Reboot}</text>
5129 <action function="page">fastbootreboot</action>
5130 </button>
5131 </page>
5132
z31s1g28f0a922015-11-07 18:50:22 +01005133 <page name="sideload">
5134 <template name="page"/>
5135
5136 <text style="text_l">
5137 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005138 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005139 </text>
5140
5141 <text style="text_m">
5142 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005143 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005144 </text>
5145
5146 <checkbox>
5147 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005148 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005149 <data variable="tw_wipe_dalvik"/>
5150 </checkbox>
5151
5152 <checkbox>
5153 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005154 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005155 <data variable="tw_wipe_cache"/>
5156 </checkbox>
5157
5158 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005159 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005160 <actions>
5161 <action function="set">tw_back=advanced</action>
5162 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005163 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5164 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5165 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005166 <action function="set">tw_has_cancel=1</action>
5167 <action function="set">tw_show_reboot=1</action>
5168 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5169 <action function="page">action_page</action>
5170 </actions>
5171 </slider>
5172
5173 <action>
5174 <touch key="home"/>
5175 <action function="page">main</action>
5176 </action>
5177
5178 <action>
5179 <touch key="back"/>
5180 <action function="page">advanced</action>
5181 </action>
5182 </page>
5183
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005184 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005185 <template name="page"/>
5186
5187 <text style="text_l">
5188 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005189 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005190 </text>
5191
5192 <text style="text_m">
5193 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005194 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005195 </text>
5196
5197 <text style="text_m_accent">
5198 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005199 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005200 </text>
5201
z31s1g28f0a922015-11-07 18:50:22 +01005202 <text style="text_m_fail">
5203 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005204 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005205 </text>
5206
5207 <text style="text_m_fail">
5208 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005209 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005210 </text>
5211
5212 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005213 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005214 <actions>
5215 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005216 <action function="set">tw_action=fixcontexts</action>
5217 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5218 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005219 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005220 <action function="set">tw_show_reboot=1</action>
5221 <action function="page">action_page</action>
5222 </actions>
5223 </slider>
5224
5225 <action>
5226 <touch key="home"/>
5227 <action function="page">main</action>
5228 </action>
5229
5230 <action>
5231 <touch key="back"/>
5232 <action function="page">advanced</action>
5233 </action>
5234 </page>
5235
z31s1g28f0a922015-11-07 18:50:22 +01005236 <page name="slideout">
5237 <fill color="%background_color%">
5238 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5239 </fill>
5240
5241 <console>
5242 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
5243 </console>
5244
5245 <button>
5246 <fill color="%transparent%"/>
5247 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5248 <action function="overlay"/>
5249 </button>
5250
5251 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005252 <touch key="power"/>
5253 <action function="togglebacklight"/>
5254 </action>
5255
5256 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005257 <touch key="power+voldown"/>
5258 <action function="screenshot"/>
5259 </action>
5260 </page>
5261
5262 <page name="select_storage">
5263 <fill color="%semi_transparent%">
5264 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5265 </fill>
5266
5267 <fill color="%background_color%">
5268 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5269 </fill>
5270
5271 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005272 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005273 <data name="tw_storage_path"/>
5274 <listtype name="storage"/>
5275 </partitionlist>
5276
5277 <button style="button_third_width">
5278 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005279 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005280 <actions>
5281 <action function="set">tw_clear_destination=%tw_back%</action>
5282 <action function="overlay"/>
5283 <action function="page">clear_vars</action>
5284 </actions>
5285 </button>
5286
5287 <fill color="#000000">
5288 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5289 </fill>
5290
5291 <button>
5292 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5293 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5294 <image resource="back"/>
5295 <condition var1="tw_busy" var2="0"/>
5296 <actions>
5297 <action function="overlay"/>
5298 <action function="key">%tw_back%</action>
5299 </actions>
5300 </button>
5301
5302 <button>
5303 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5304 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5305 <image resource="console"/>
5306 <condition var1="tw_busy" var2="0"/>
5307 <action function="overlay">slideout</action>
5308 </button>
5309
5310 <button>
5311 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5312 <image resource="home"/>
5313 <condition var1="tw_busy" var2="0"/>
5314 <actions>
5315 <action function="overlay"/>
5316 <action function="key">home</action>
5317 </actions>
5318 </button>
5319
5320 <button>
5321 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5322 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5323 <image resource="console"/>
5324 <condition var1="tw_busy" var2="0"/>
5325 <action function="overlay">slideout</action>
5326 </button>
5327
5328 <button>
5329 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5330 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5331 <image resource="back"/>
5332 <condition var1="tw_busy" var2="0"/>
5333 <actions>
5334 <action function="overlay"/>
5335 <action function="key">%tw_back%</action>
5336 </actions>
5337 </button>
5338
5339 <action>
5340 <touch key="power+voldown"/>
5341 <action function="screenshot"/>
5342 </action>
5343 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01005344
5345 <page name="select_language">
5346 <fill color="%semi_transparent%">
5347 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5348 </fill>
5349
5350 <fill color="%background_color%">
5351 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5352 </fill>
5353
5354 <listbox>
5355 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5356 <text>{@select_language=Select Language:}</text>
5357 <icon selected="radio_true" unselected="radio_false" />
5358 <data name="tw_language" />
5359 </listbox>
5360
5361 <button style="button_third_width">
5362 <placement x="%dialog_button_x%" y="%row14_y%"/>
5363 <text>{@ok_btn=OK}</text>
5364 <actions>
5365 <action function="overlay"/>
5366 <action function="setlanguage"></action>
5367 </actions>
5368 </button>
5369
5370 <fill color="#000000">
5371 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5372 </fill>
5373
5374 <button>
5375 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5376 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5377 <image resource="back"/>
5378 <condition var1="tw_busy" var2="0"/>
5379 <actions>
5380 <action function="overlay"/>
5381 <action function="key">%tw_back%</action>
5382 </actions>
5383 </button>
5384
5385 <button>
5386 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5387 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5388 <image resource="console"/>
5389 <condition var1="tw_busy" var2="0"/>
5390 <action function="overlay">slideout</action>
5391 </button>
5392
5393 <button>
5394 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5395 <image resource="home"/>
5396 <condition var1="tw_busy" var2="0"/>
5397 <actions>
5398 <action function="overlay"/>
5399 <action function="key">home</action>
5400 </actions>
5401 </button>
5402
5403 <button>
5404 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5405 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5406 <image resource="console"/>
5407 <condition var1="tw_busy" var2="0"/>
5408 <action function="overlay">slideout</action>
5409 </button>
5410
5411 <button>
5412 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5413 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5414 <image resource="back"/>
5415 <condition var1="tw_busy" var2="0"/>
5416 <actions>
5417 <action function="overlay"/>
5418 <action function="key">%tw_back%</action>
5419 </actions>
5420 </button>
5421
5422 <action>
5423 <touch key="power+voldown"/>
5424 <action function="screenshot"/>
5425 </action>
5426 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005427
5428 <page name="decrypt_users">
5429 <template name="page"/>
5430
5431 <text style="text_l">
5432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5433 <text>{@decrypt_users=Decrypt Users}</text>
5434 </text>
5435
5436 <text style="text_m_accent">
5437 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5438 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5439 </text>
5440
5441 <listbox>
5442 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_advanced_height%"/>
5443 <text>{@select_user=Select User}</text>
5444 <icon selected="radio_true" unselected="radio_false" />
5445 <data name="tw_crypto_user_id" />
5446 </listbox>
5447
5448 <button style="main_button_half_height">
5449 <placement x="%center_x%" y="%row21a_y%"/>
5450 <text>{@decrypt_users=Decrypt Users}</text>
5451 <action function="set">tw_crypto_password=</action>
5452 <action function="set">tw_password_fail=0</action>
5453 <action function="page">decrypt</action>
5454 </button>
5455
5456 <action>
5457 <touch key="home"/>
5458 <action function="page">main</action>
5459 </action>
5460
5461 <action>
5462 <touch key="back"/>
5463 <action function="page">advanced</action>
5464 </action>
5465 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005466 </pages>
5467</recovery>