blob: 9208a57ff6f015f8ba4c330a3d63891afca7b61f [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 Yonkerb4bff5e2016-12-16 07:47:58 -0600969 <action function="page">appcheck</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
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600978 <page name="appcheck">
979 <action>
980 <condition var1="tw_app_prompt" var2="1"/>
981 <action function="checkforapp"></action>
982 </action>
983
984 <action>
985 <condition var1="tw_app_prompt" op="!=" var2="1"/>
986 <action function="reboot">%tw_reboot_param%</action>
987 </action>
988
989 <action>
990 <condition var1="tw_app_install_status" var2="1"/>
991 <action function="page">rebootapp</action>
992 </action>
993
994 <action>
995 <condition var1="tw_app_install_status" var2="2"/>
996 <action function="reboot">%tw_reboot_param%</action>
997 </action>
998 </page>
999
z31s1g28f0a922015-11-07 18:50:22 +01001000 <page name="wipe">
1001 <template name="page"/>
1002
1003 <text style="text_l">
1004 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001005 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001006 </text>
1007
1008 <text style="text_m">
1009 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001010 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001011 </text>
1012
1013 <text style="text_m_accent">
1014 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001015 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001016 </text>
1017
1018 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001019 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001020 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1021 </text>
1022
1023 <text style="text_m_accent">
1024 <condition var1="tw_has_data_media" var2="1"/>
1025 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001026 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001027 </text>
1028
1029 <text style="text_m_accent">
1030 <conditions>
1031 <condition var1="tw_has_android_secure" var2="1"/>
1032 <condition var1="fileexists" var2="/and-sec"/>
1033 </conditions>
1034 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001035 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001036 </text>
1037
1038 <text style="text_m_accent">
1039 <condition var1="tw_has_sdext_partition" var2="1"/>
1040 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001041 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001042 </text>
1043
1044 <text style="text_m">
1045 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001046 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </text>
1048
1049 <text style="text_m">
1050 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001051 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001052 </text>
1053
1054 <text style="text_m">
1055 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001056 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001057 </text>
1058
1059 <button style="main_button_half_height">
1060 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001061 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001062 <actions>
1063 <action function="set">partitionlisterror=0</action>
1064 <action function="page">advancedwipe</action>
1065 </actions>
1066 </button>
1067
1068 <button style="main_button_half_height">
1069 <condition var1="tw_has_data_media" var2="1"/>
1070 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001071 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001072 <action function="page">formatdata</action>
1073 </button>
1074
1075 <button style="main_button_half_height">
1076 <conditions>
1077 <condition var1="tw_is_encrypted" var2="1"/>
1078 <condition var1="tw_has_data_media" var2="0"/>
1079 </conditions>
1080 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 <actions>
1083 <action function="set">tw_back=wipe</action>
1084 <action function="set">tw_action=wipe</action>
1085 <action function="set">tw_action_param=DATAMEDIA</action>
1086 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001087 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001088 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1090 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1091 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001092 <action function="page">confirm_action</action>
1093 </actions>
1094 </button>
1095
1096 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001097 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001098 <actions>
1099 <action function="set">tw_back=wipe</action>
1100 <action function="set">tw_action=wipe</action>
1101 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001102 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1103 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001104 <action function="page">action_page</action>
1105 </actions>
1106 </slider>
1107
1108 <action>
1109 <touch key="back"/>
1110 <action function="page">main</action>
1111 </action>
1112
1113 <action>
1114 <touch key="home"/>
1115 <action function="page">main</action>
1116 </action>
1117 </page>
1118
1119 <page name="advancedwipe">
1120 <template name="page"/>
1121
1122 <action>
1123 <action function="set">tw_wipe_list=</action>
1124 </action>
1125
1126 <text style="text_l">
1127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001128 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001129 </text>
1130
1131 <text style="text_m">
1132 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001133 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001134 </text>
1135
1136 <partitionlist>
1137 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001139 <data name="tw_wipe_list"/>
1140 <listtype name="wipe"/>
1141 </partitionlist>
1142
1143 <text style="text_m_fail">
1144 <condition var1="partitionlisterror" var2="1"/>
1145 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 </text>
1148
1149 <button style="main_button_half_height_full_width">
1150 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001152 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001153 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001154 <action function="page">checkpartitionlist</action>
1155 </actions>
1156 </button>
1157
1158 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001160 <actions>
1161 <action function="set">tw_back=advancedwipe</action>
1162 <action function="set">tw_action=wipe</action>
1163 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001164 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1165 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1166 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001167 <action function="page">action_page</action>
1168 </actions>
1169 </slider>
1170
1171 <action>
1172 <touch key="home"/>
1173 <action function="page">main</action>
1174 </action>
1175
1176 <action>
1177 <touch key="back"/>
1178 <action function="page">wipe</action>
1179 </action>
1180 </page>
1181
1182 <page name="formatdata">
1183 <template name="page"/>
1184
1185 <text style="text_l">
1186 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001187 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001188 </text>
1189
1190 <text style="text_m">
1191 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001193 </text>
1194
1195 <text style="text_m_fail">
1196 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001197 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001198 </text>
1199
1200 <text style="text_m_fail">
1201 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001202 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001203 </text>
1204
1205 <text style="text_m_fail">
1206 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001207 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001208 </text>
1209
Ethan Yonker66a19492015-12-10 10:19:45 -06001210 <text style="text_m_fail">
1211 <condition var1="tw_has_adopted_storage" var2="1"/>
1212 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1213 <text>{@format_data_adopted=Including Adopted Storage}</text>
1214 </text>
1215
z31s1g28f0a922015-11-07 18:50:22 +01001216 <text style="text_m">
1217 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001218 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001219 </text>
1220
1221 <text style="text_m">
1222 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001223 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001224 </text>
1225
1226 <input>
1227 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1228 <text>%tw_confirm_formatdata%</text>
1229 <data name="tw_confirm_formatdata"/>
1230 <restrict minlen="3" maxlen="3" allow="yes"/>
1231 <action function="page">formatdata_confirm</action>
1232 </input>
1233
1234 <fill color="%accent_color%">
1235 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1236 </fill>
1237
1238 <template name="keyboardtemplate"/>
1239
1240 <action>
1241 <touch key="home"/>
1242 <action function="page">main</action>
1243 </action>
1244
1245 <action>
1246 <touch key="back"/>
1247 <action function="page">wipe</action>
1248 </action>
1249 </page>
1250
1251 <page name="formatdata_confirm">
1252 <action>
1253 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1254 <actions>
1255 <action function="set">tw_back=formatdata</action>
1256 <action function="set">tw_action=wipe</action>
1257 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001258 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1259 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001260 <action function="page">action_page</action>
1261 </actions>
1262 </action>
1263
1264 <action>
1265 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1266 <action function="page">formatdata</action>
1267 </action>
1268 </page>
1269
1270 <page name="checkpartitionlist">
1271 <action>
1272 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1273 <actions>
1274 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001275 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001276 <action function="page">partitionoptions</action>
1277 </actions>
1278 </action>
1279
1280 <action>
1281 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1282 <actions>
1283 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001284 <action function="page">advancedwipe</action>
1285 </actions>
1286 </action>
1287 </page>
1288
1289 <page name="partitionoptions">
1290 <template name="page"/>
1291
1292 <text style="text_l">
1293 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001294 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001295 </text>
1296
1297 <text style="text_m">
1298 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001299 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001300 </text>
1301
1302 <text style="text_m_accent">
1303 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001304 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001305 </text>
1306
1307 <text style="text_m_accent">
1308 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001309 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001310 </text>
1311
1312 <text style="text_m">
1313 <condition var1="tw_partition_is_present" var2="1"/>
1314 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001315 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001316 </text>
1317
1318 <text style="text_m">
1319 <condition var1="tw_partition_is_present" var2="0"/>
1320 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m">
1325 <condition var1="tw_partition_removable" var2="1"/>
1326 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m">
1331 <condition var1="tw_partition_removable" var2="0"/>
1332 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001333 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001334 </text>
1335
1336 <text style="text_m">
1337 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 </text>
1340
1341 <text style="text_m">
1342 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m">
1347 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m">
1352 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <button style="main_button_half_height">
1357 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1358 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 <actions>
1361 <action function="set">tw_back=partitionoptions</action>
1362 <action function="set">tw_action=resize</action>
1363 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1364 <action function="set">tw_has_action2=1</action>
1365 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001366 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001368 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1370 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1371 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001372 <action function="page">confirm_action</action>
1373 </actions>
1374 </button>
1375
1376 <button style="main_button_half_height">
1377 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1378 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 <actions>
1381 <action function="set">tw_back=partitionoptions</action>
1382 <action function="set">tw_action=repair</action>
1383 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1384 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001385 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001386 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1388 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1389 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001390 <action function="page">confirm_action</action>
1391 </actions>
1392 </button>
1393
1394 <button style="main_button_half_height">
1395 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 <action function="page">selectfilesystem</action>
1398 </button>
1399
1400 <action>
1401 <touch key="home"/>
1402 <action function="page">main</action>
1403 </action>
1404
1405 <action>
1406 <touch key="back"/>
1407 <action function="page">advancedwipe</action>
1408 </action>
1409 </page>
1410
1411 <page name="refreshfilesystem">
1412 <action>
1413 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1414 <actions>
1415 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001416 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001417 <action function="page">selectfilesystem</action>
1418 </actions>
1419 </action>
1420
1421 <action>
1422 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1423 <actions>
1424 <action function="set">partitionlisterror=1</action>
1425 <action function="set">tw_wipe_list=</action>
1426 <action function="page">advancedwipe</action>
1427 </actions>
1428 </action>
1429 </page>
1430
1431 <page name="selectfilesystem">
1432 <template name="page"/>
1433
1434 <text style="text_l">
1435 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001436 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001437 </text>
1438
1439 <text style="text_m">
1440 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001441 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001442 </text>
1443
1444 <text style="text_m_accent">
1445 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 </text>
1448
1449 <text style="text_m_accent">
1450 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001451 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001452 </text>
1453
1454 <text style="text_m_fail">
1455 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001456 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001457 </text>
1458
1459 <text style="text_m_fail">
1460 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001461 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001462 </text>
1463
1464 <button style="main_button_half_height">
1465 <condition var1="tw_partition_ext" op="=" var2="1"/>
1466 <placement x="%indent%" y="%row15a_y%"/>
1467 <text>EXT2</text>
1468 <actions>
1469 <action function="set">tw_back=refreshfilesystem</action>
1470 <action function="set">tw_action=changefilesystem</action>
1471 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1472 <action function="set">tw_action_new_file_system=ext2</action>
1473 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001474 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1475 <action function="set">tw_text2=EXT2</action>
1476 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1477 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1478 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <action function="page">confirm_action</action>
1480 </actions>
1481 </button>
1482
1483 <button style="main_button_half_height">
1484 <condition var1="tw_partition_ext" op="=" var2="1"/>
1485 <placement x="%indent%" y="%row18a_y%"/>
1486 <text>EXT3</text>
1487 <actions>
1488 <action function="set">tw_back=refreshfilesystem</action>
1489 <action function="set">tw_action=changefilesystem</action>
1490 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1491 <action function="set">tw_action_new_file_system=ext3</action>
1492 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001493 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1494 <action function="set">tw_text2=EXT3</action>
1495 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1496 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1497 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001498 <action function="page">confirm_action</action>
1499 </actions>
1500 </button>
1501
1502 <button style="main_button_half_height">
1503 <condition var1="tw_partition_ext" op="=" var2="1"/>
1504 <placement x="%indent%" y="%row21a_y%"/>
1505 <text>EXT4</text>
1506 <actions>
1507 <action function="set">tw_back=refreshfilesystem</action>
1508 <action function="set">tw_action=changefilesystem</action>
1509 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1510 <action function="set">tw_action_new_file_system=ext4</action>
1511 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001512 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1513 <action function="set">tw_text2=EXT4</action>
1514 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1515 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1516 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001517 <action function="page">confirm_action</action>
1518 </actions>
1519 </button>
1520
1521 <button style="main_button_half_height">
1522 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1523 <placement x="%center_x%" y="%row15a_y%"/>
1524 <text>FAT</text>
1525 <actions>
1526 <action function="set">tw_back=refreshfilesystem</action>
1527 <action function="set">tw_action=changefilesystem</action>
1528 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1529 <action function="set">tw_action_new_file_system=vfat</action>
1530 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1532 <action function="set">tw_text2=FAT</action>
1533 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1534 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1535 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001536 <action function="page">confirm_action</action>
1537 </actions>
1538 </button>
1539
1540 <button style="main_button_half_height">
1541 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1542 <placement x="%center_x%" y="%row18a_y%"/>
1543 <text>exFAT</text>
1544 <actions>
1545 <action function="set">tw_back=refreshfilesystem</action>
1546 <action function="set">tw_action=changefilesystem</action>
1547 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1548 <action function="set">tw_action_new_file_system=exfat</action>
1549 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001550 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1551 <action function="set">tw_text2=exFAT</action>
1552 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1553 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1554 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001555 <action function="page">confirm_action</action>
1556 </actions>
1557 </button>
1558
1559 <button style="main_button_half_height">
1560 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1561 <placement x="%center_x%" y="%row21a_y%"/>
1562 <text>F2FS</text>
1563 <actions>
1564 <action function="set">tw_back=refreshfilesystem</action>
1565 <action function="set">tw_action=changefilesystem</action>
1566 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1567 <action function="set">tw_action_new_file_system=f2fs</action>
1568 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001569 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1570 <action function="set">tw_text2=F2FS</action>
1571 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1572 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1573 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001574 <action function="page">confirm_action</action>
1575 </actions>
1576 </button>
1577
1578 <action>
1579 <touch key="home"/>
1580 <action function="page">main</action>
1581 </action>
1582
1583 <action>
1584 <touch key="back"/>
1585 <action function="page">partitionoptions</action>
1586 </action>
1587 </page>
1588
1589 <page name="backup">
1590 <template name="page"/>
1591
Noah Jacobson81d638d2019-04-28 00:10:07 -04001592 <action>
1593 <conditions>
1594 <condition var1="tw_is_fbe" var2="1"/>
1595 <condition var1="tw_all_users_decrypted" var2="0"/>
1596 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1597 </conditions>
1598 <actions>
1599 <action function="set">tw_multiuser_warning_destination=backup</action>
1600 <action function="page">multiuser_warning</action>
1601 </actions>
1602 </action>
1603
z31s1g28f0a922015-11-07 18:50:22 +01001604 <text style="text_l">
1605 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001606 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001607 </text>
1608
1609 <text style="text_m">
1610 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001611 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001612 </text>
1613
1614 <template name="tabs_backup"/>
1615
1616 <fill color="%text_color%">
1617 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1618 </fill>
1619
1620 <button style="tab">
1621 <conditions>
1622 <condition var1="tw_include_encrypted_backup" var2="1"/>
1623 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001624 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001625 </conditions>
1626 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001627 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001628 <font resource="font_s" color="%text_color%"/>
1629 <actions>
1630 <action function="set">tw_password_not_match=0</action>
1631 <action function="page">backupencryption</action>
1632 </actions>
1633 </button>
1634
1635 <button style="tab">
1636 <conditions>
1637 <condition var1="tw_include_encrypted_backup" var2="1"/>
1638 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001639 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001640 </conditions>
1641 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001642 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001643 <font resource="font_s" color="%text_success_color%"/>
1644 <actions>
1645 <action function="set">tw_password_not_match=0</action>
1646 <action function="page">backupencryption</action>
1647 </actions>
1648 </button>
1649
1650 <text style="text_m_accent">
1651 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001652 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001653 </text>
1654
1655 <text style="text_m">
1656 <placement x="%indent%" y="%row4a_y%"/>
1657 <text>%tw_backup_name%</text>
1658 </text>
1659
1660 <fill color="%fileselector_linecolor%">
1661 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1662 </fill>
1663
1664 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001665 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001666 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1667 <fill color="%transparent%"/>
1668 <actions>
1669 <action function="set">tw_fileexists=0</action>
1670 <action function="page">backupname1</action>
1671 </actions>
1672 </button>
1673
1674 <partitionlist>
1675 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 <data name="tw_backup_list"/>
1678 <listtype name="backup"/>
1679 </partitionlist>
1680
1681 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001682 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001683 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001684 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001685 <actions>
1686 <action function="set">tw_back=backup</action>
1687 <action function="overlay">select_storage</action>
1688 </actions>
1689 </button>
1690
1691 <button style="main_button_half_height">
1692 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001693 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001694 <actions>
1695 <action function="refreshsizes"/>
1696 <action function="page">backup</action>
1697 </actions>
1698 </button>
1699
1700 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001701 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001702 <action function="page">backup_run</action>
1703 </slider>
1704
1705 <action>
1706 <touch key="home"/>
1707 <action function="page">main</action>
1708 </action>
1709
1710 <action>
1711 <touch key="back"/>
1712 <action function="page">main</action>
1713 </action>
1714 </page>
1715
Noah Jacobson81d638d2019-04-28 00:10:07 -04001716 <page name="multiuser_warning">
1717 <template name="page"/>
1718
1719 <text style="text_l">
1720 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1721 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1722 </text>
1723
1724 <text style="text_m_fail">
1725 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1726 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1727 </text>
1728
1729 <text style="text_m_fail">
1730 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1731 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1732 </text>
1733
1734 <button style="main_button_half_height_full_width">
1735 <placement x="%indent%" y="%row18a_y%"/>
1736 <text>{@decrypt_users=Decrypt Users}</text>
1737 <action function="page">decrypt_users</action>
1738 </button>
1739
1740 <slider>>
1741 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1742 <actions>
1743 <action function="set">tw_multiuser_warning_accepted=1</action>
1744 <action function="page">%tw_multiuser_warning_destination%</action>
1745 </actions>
1746 </slider>
1747
1748 <action>
1749 <touch key="home"/>
1750 <action function="page">main</action>
1751 </action>
1752
1753 <action>
1754 <touch key="back"/>
1755 <action function="page">main</action>
1756 </action>
1757 </page>
1758
z31s1g28f0a922015-11-07 18:50:22 +01001759 <page name="backup_options">
1760 <template name="page"/>
1761
1762 <text style="text_l">
1763 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001764 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001765 </text>
1766
1767 <text style="text_m">
1768 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001769 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001770 </text>
1771
1772 <template name="tabs_backup"/>
1773
1774 <fill color="%text_color%">
1775 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1776 </fill>
1777
1778 <button style="tab">
1779 <conditions>
1780 <condition var1="tw_include_encrypted_backup" var2="1"/>
1781 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001782 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001783 </conditions>
1784 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001785 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001786 <font resource="font_s" color="%text_color%"/>
1787 <actions>
1788 <action function="set">tw_password_not_match=0</action>
1789 <action function="page">backupencryption</action>
1790 </actions>
1791 </button>
1792
1793 <button style="tab">
1794 <conditions>
1795 <condition var1="tw_include_encrypted_backup" var2="1"/>
1796 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001797 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001798 </conditions>
1799 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001800 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001801 <font resource="font_s" color="%text_success_color%"/>
1802 <actions>
1803 <action function="set">tw_password_not_match=0</action>
1804 <action function="page">backupencryption</action>
1805 </actions>
1806 </button>
1807
1808 <checkbox>
1809 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001810 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001811 <data variable="tw_use_compression"/>
1812 </checkbox>
1813
1814 <checkbox>
1815 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001816 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1817 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001818 </checkbox>
1819
1820 <checkbox>
1821 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001822 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 <data variable="tw_disable_free_space"/>
1824 </checkbox>
1825
Ethan Yonker1b190162016-12-05 15:25:19 -06001826 <text style="text_m">
1827 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01001828 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06001829 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1830 </text>
1831
1832 <button style="main_button">
1833 <condition var1="tw_has_boot_slots" var2="1"/>
1834 <placement x="%indent%" y="%row19_y%"/>
1835 <text>{@boot_slot_a=Slot A}</text>
1836 <actions>
1837 <action function="set">tw_back=backup_options</action>
1838 <action function="set">tw_action=setbootslot</action>
1839 <action function="set">tw_action_param=A</action>
1840 <action function="set">tw_has_action2=0</action>
1841 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1842 <action function="set">tw_action_text2=</action>
1843 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1844 <action function="page">action_page</action>
1845 </actions>
1846 </button>
1847
1848 <button style="main_button">
1849 <condition var1="tw_has_boot_slots" var2="1"/>
1850 <placement x="%center_x%" y="%row19_y%"/>
1851 <text>{@boot_slot_b=Slot B}</text>
1852 <actions>
1853 <action function="set">tw_back=backup_options</action>
1854 <action function="set">tw_action=setbootslot</action>
1855 <action function="set">tw_action_param=B</action>
1856 <action function="set">tw_has_action2=0</action>
1857 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1858 <action function="set">tw_action_text2=</action>
1859 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1860 <action function="page">action_page</action>
1861 </actions>
1862 </button>
1863
z31s1g28f0a922015-11-07 18:50:22 +01001864 <action>
1865 <touch key="home"/>
1866 <action function="page">main</action>
1867 </action>
1868
1869 <action>
1870 <touch key="back"/>
1871 <action function="page">backup</action>
1872 </action>
1873 </page>
1874
1875 <page name="backupname1">
1876 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001877 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001878 <action function="generatebackupname"/>
1879 </action>
1880
1881 <action>
1882 <action function="page">backupname2</action>
1883 </action>
1884 </page>
1885
1886 <page name="backupname2">
1887 <template name="page"/>
1888
1889 <text style="text_l">
1890 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001892 </text>
1893
1894 <text style="text_m">
1895 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001896 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001897 </text>
1898
1899 <template name="tabs_backup"/>
1900
1901 <fill color="%text_color%">
1902 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1903 </fill>
1904
1905 <button style="tab">
1906 <conditions>
1907 <condition var1="tw_include_encrypted_backup" var2="1"/>
1908 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001909 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001910 </conditions>
1911 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 <font resource="font_s" color="%text_color%"/>
1914 <actions>
1915 <action function="set">tw_password_not_match=0</action>
1916 <action function="page">backupencryption</action>
1917 </actions>
1918 </button>
1919
1920 <button style="tab">
1921 <conditions>
1922 <condition var1="tw_include_encrypted_backup" var2="1"/>
1923 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001924 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001925 </conditions>
1926 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001927 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001928 <font resource="font_s" color="%text_success_color%"/>
1929 <actions>
1930 <action function="set">tw_password_not_match=0</action>
1931 <action function="page">backupencryption</action>
1932 </actions>
1933 </button>
1934
1935 <text style="text_m_accent">
1936 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </text>
1939
1940 <input>
1941 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1942 <text>%tw_backup_name%</text>
1943 <data name="tw_backup_name"/>
1944 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1945 <actions>
1946 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1947 <action function="set">tw_existpage=backupname2</action>
1948 <action function="set">tw_notexistpage=backup</action>
1949 <action function="page">filecheck</action>
1950 </actions>
1951 </input>
1952
1953 <fill color="%accent_color%">
1954 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1955 </fill>
1956
1957 <fill color="%text_fail_color%">
1958 <condition var1="tw_fileexists" var2="1"/>
1959 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1960 </fill>
1961
1962 <text style="text_m_fail">
1963 <condition var1="tw_fileexists" var2="1"/>
1964 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001965 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001966 </text>
1967
1968 <button style="main_button_half_height">
1969 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001970 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001971 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001972 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001973 <action function="page">backup</action>
1974 </actions>
1975 </button>
1976
1977 <button style="main_button_half_height">
1978 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 <action function="appenddatetobackupname"/>
1981 </button>
1982
1983 <template name="keyboardtemplate"/>
1984
1985 <action>
1986 <touch key="home"/>
1987 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001988 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001989 <action function="page">main</action>
1990 </actions>
1991 </action>
1992
1993 <action>
1994 <touch key="back"/>
1995 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001997 <action function="page">backup</action>
1998 </actions>
1999 </action>
2000 </page>
2001
2002 <page name="backupencryption">
2003 <template name="page"/>
2004
2005 <text style="text_l">
2006 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </text>
2009
2010 <text style="text_m">
2011 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002012 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002013 </text>
2014
2015 <template name="tabs_backup"/>
2016
2017 <button style="tab">
2018 <conditions>
2019 <condition var1="tw_include_encrypted_backup" var2="1"/>
2020 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002021 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002022 </conditions>
2023 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002024 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002025 <font resource="font_s" color="%text_color%"/>
2026 <actions>
2027 <action function="set">tw_password_not_match=0</action>
2028 <action function="page">backupencryption</action>
2029 </actions>
2030 </button>
2031
2032 <button style="tab">
2033 <conditions>
2034 <condition var1="tw_include_encrypted_backup" var2="1"/>
2035 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002036 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002037 </conditions>
2038 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002039 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002040 <font resource="font_s" color="%text_success_color%"/>
2041 <actions>
2042 <action function="set">tw_password_not_match=0</action>
2043 <action function="page">backupencryption</action>
2044 </actions>
2045 </button>
2046
2047 <fill color="%text_color%">
2048 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2049 </fill>
2050
2051 <text style="text_m_accent">
2052 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002053 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002054 </text>
2055
2056 <text style="text_m">
2057 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 </text>
2060
2061 <input>
2062 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2063 <text>%tw_backup_encrypt_display%</text>
2064 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
2065 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2066 <action function="page">backupencryption2</action>
2067 </input>
2068
2069 <fill color="%accent_color%">
2070 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2071 </fill>
2072
2073 <fill color="%text_fail_color%">
2074 <condition var1="tw_password_not_match" var2="1"/>
2075 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2076 </fill>
2077
2078 <text style="text_m_fail">
2079 <condition var1="tw_password_not_match" var2="1"/>
2080 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002081 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002082 </text>
2083
2084 <button style="main_button_half_height">
2085 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002086 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002087 <actions>
2088 <action function="set">tw_encrypt_backup=0</action>
2089 <action function="set">tw_backup_password=</action>
2090 <action function="set">tw_backup_password2=</action>
2091 <action function="set">tw_backup_encrypt_display=</action>
2092 <action function="set">tw_backup_encrypt_display2=</action>
2093 <action function="page">backup</action>
2094 </actions>
2095 </button>
2096
2097 <template name="keyboardtemplate"/>
2098
2099 <action>
2100 <touch key="home"/>
2101 <action function="page">main</action>
2102 </action>
2103
2104 <action>
2105 <touch key="back"/>
2106 <action function="page">backup</action>
2107 </action>
2108 </page>
2109
2110 <page name="backupencryption2">
2111 <template name="page"/>
2112
2113 <text style="text_l">
2114 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002115 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002116 </text>
2117
2118 <text style="text_m">
2119 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002120 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002121 </text>
2122
2123 <template name="tabs_backup"/>
2124
2125 <button style="tab">
2126 <conditions>
2127 <condition var1="tw_include_encrypted_backup" var2="1"/>
2128 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002129 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002130 </conditions>
2131 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002132 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002133 <font resource="font_s" color="%text_color%"/>
2134 <actions>
2135 <action function="set">tw_password_not_match=0</action>
2136 <action function="page">backupencryption</action>
2137 </actions>
2138 </button>
2139
2140 <button style="tab">
2141 <conditions>
2142 <condition var1="tw_include_encrypted_backup" var2="1"/>
2143 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002144 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002145 </conditions>
2146 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002147 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002148 <font resource="font_s" color="%text_success_color%"/>
2149 <actions>
2150 <action function="set">tw_password_not_match=0</action>
2151 <action function="page">backupencryption</action>
2152 </actions>
2153 </button>
2154
2155 <fill color="%text_color%">
2156 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2157 </fill>
2158
2159 <text style="text_m_accent">
2160 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002161 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002162 </text>
2163
2164 <text style="text_m">
2165 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002166 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002167 </text>
2168
2169 <input>
2170 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2171 <text>%tw_backup_encrypt_display2%</text>
2172 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2173 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2174 <action function="page">checkbackuppassword</action>
2175 </input>
2176
2177 <fill color="%accent_color%">
2178 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2179 </fill>
2180
2181 <button style="main_button_half_height">
2182 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002183 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002184 <actions>
2185 <action function="set">tw_encrypt_backup=0</action>
2186 <action function="set">tw_backup_password=</action>
2187 <action function="set">tw_backup_password2=</action>
2188 <action function="set">tw_backup_encrypt_display=</action>
2189 <action function="set">tw_backup_encrypt_display2=</action>
2190 <action function="page">backup</action>
2191 </actions>
2192 </button>
2193
2194 <template name="keyboardtemplate"/>
2195
2196 <action>
2197 <touch key="home"/>
2198 <action function="page">main</action>
2199 </action>
2200
2201 <action>
2202 <touch key="back"/>
2203 <action function="page">backup</action>
2204 </action>
2205 </page>
2206
2207 <page name="checkbackuppassword">
2208 <action>
2209 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2210 <actions>
2211 <action function="set">tw_encrypt_backup=1</action>
2212 <action function="page">backup</action>
2213 </actions>
2214 </action>
2215
2216 <action>
2217 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2218 <actions>
2219 <action function="set">tw_encrypt_backup=0</action>
2220 <action function="set">tw_password_not_match=1</action>
2221 <action function="set">tw_backup_password=</action>
2222 <action function="set">tw_backup_password2=</action>
2223 <action function="set">tw_backup_encrypt_display=</action>
2224 <action function="set">tw_backup_encrypt_display2=</action>
2225 <action function="page">backupencryption</action>
2226 </actions>
2227 </action>
2228 </page>
2229
2230 <page name="backup_run">
2231 <template name="page"/>
2232
2233 <text style="text_l">
2234 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2235 <text>%tw_operation%</text>
2236 </text>
2237
2238 <text style="text_m">
2239 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2240 <text>%tw_partition% Partition</text>
2241 </text>
2242
2243 <template name="console"/>
2244
2245 <template name="progress_bar"/>
2246
2247 <text style="text_m_accent">
2248 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002249 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002250 </text>
2251
2252 <text style="text_m">
2253 <placement x="%indent%" y="%row20_y%"/>
2254 <text>%tw_file_progress%</text>
2255 </text>
2256
2257 <text style="text_m">
2258 <placement x="%indent%" y="%row21_y%"/>
2259 <text>%tw_size_progress%</text>
2260 </text>
2261
2262 <button style="main_button_half_height">
2263 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <action function="cancelbackup"/>
2266 </button>
2267
2268 <action>
2269 <action function="nandroid">backup</action>
2270 </action>
2271
2272 <action>
2273 <condition var1="tw_operation_state" var2="1"/>
2274 <condition var1="tw_cancel_backup" var2="0"/>
2275 <actions>
2276 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002277 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002278 <action function="set">tw_show_reboot=1</action>
2279 <action function="page">action_complete</action>
2280 </actions>
2281 </action>
2282
2283 <action>
2284 <condition var1="tw_operation_state" var2="1"/>
2285 <condition var1="tw_cancel_backup" var2="1"/>
2286 <actions>
2287 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <action function="set">tw_show_reboot=1</action>
2290 <action function="page">action_complete</action>
2291 </actions>
2292 </action>
2293 </page>
2294
2295 <page name="restore">
2296 <template name="page"/>
2297
Noah Jacobson81d638d2019-04-28 00:10:07 -04002298 <action>
2299 <conditions>
2300 <condition var1="tw_is_fbe" var2="1"/>
2301 <condition var1="tw_all_users_decrypted" var2="0"/>
2302 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2303 </conditions>
2304 <actions>
2305 <action function="set">tw_multiuser_warning_destination=restore</action>
2306 <action function="page">multiuser_warning</action>
2307 </actions>
2308 </action>
2309
z31s1g28f0a922015-11-07 18:50:22 +01002310 <text style="text_l">
2311 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002312 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002313 </text>
2314
2315 <text style="text_m">
2316 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002317 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002318 </text>
2319
2320 <template name="sort_options"/>
2321
2322 <fileselector>
2323 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002324 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002325 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002326 <path name="tw_backups_folder"/>
2327 <data name="tw_restore" default=""/>
2328 <selection name="tw_restore_name"/>
2329 </fileselector>
2330
2331 <button style="main_button_half_height">
2332 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002333 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002334 <actions>
2335 <action function="set">tw_back=restore</action>
2336 <action function="overlay">select_storage</action>
2337 </actions>
2338 </button>
2339
2340 <action>
2341 <condition var1="tw_restore" op="modified"/>
2342 <actions>
2343 <action function="readBackup"/>
2344 <action function="page">restore_read</action>
2345 </actions>
2346 </action>
2347
2348 <action>
2349 <touch key="home"/>
2350 <action function="page">main</action>
2351 </action>
2352
2353 <action>
2354 <touch key="back"/>
2355 <action function="page">main</action>
2356 </action>
2357 </page>
2358
2359 <page name="restore_read">
2360 <action>
2361 <condition var1="tw_restore_encrypted" var2="1"/>
2362 <actions>
2363 <action function="set">tw_password_fail=0</action>
2364 <action function="page">restore_decrypt</action>
2365 </actions>
2366 </action>
2367
2368 <action>
2369 <condition var1="tw_restore_encrypted" var2="0"/>
2370 <actions>
2371 <action function="page">restore_select</action>
2372 </actions>
2373 </action>
2374 </page>
2375
2376 <page name="restore_decrypt">
2377 <template name="page"/>
2378
2379 <text style="text_l">
2380 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002381 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002382 </text>
2383
2384 <text style="text_m">
2385 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002386 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002387 </text>
2388
2389 <text style="text_m_accent">
2390 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 </text>
2393
2394 <input>
2395 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2396 <text>%tw_restore_display%</text>
2397 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2398 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2399 <action function="page">try_restore_decrypt</action>
2400 </input>
2401
2402 <fill color="%accent_color%">
2403 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2404 </fill>
2405
2406 <fill color="%text_fail_color%">
2407 <condition var1="tw_password_fail" var2="1"/>
2408 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2409 </fill>
2410
2411 <text style="text_m_fail">
2412 <condition var1="tw_password_fail" var2="1"/>
2413 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002414 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002415 </text>
2416
2417 <button style="main_button_half_height">
2418 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 <actions>
2421 <action function="set">tw_page_done=1</action>
2422 <action function="page">restore</action>
2423 </actions>
2424 </button>
2425
2426 <button style="main_button_half_height">
2427 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002428 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002429 <actions>
2430 <action function="set">tw_back=restore</action>
2431 <action function="set">tw_action=cmd</action>
2432 <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 -05002433 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2434 <action function="set">tw_text2=%tw_restore_name%</action>
2435 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2436 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2437 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2438 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002439 <action function="page">confirm_action</action>
2440 </actions>
2441 </button>
2442
2443 <template name="keyboardtemplate"/>
2444
2445 <action>
2446 <touch key="home"/>
2447 <action function="page">main</action>
2448 </action>
2449
2450 <action>
2451 <touch key="back"/>
2452 <action function="page">restore</action>
2453 </action>
2454 </page>
2455
2456 <page name="try_restore_decrypt">
2457 <template name="page"/>
2458
2459 <text style="text_l">
2460 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002461 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002462 </text>
2463
2464 <text style="text_m">
2465 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002466 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002467 </text>
2468
2469 <template name="console"/>
2470
2471 <template name="progress_bar"/>
2472
2473 <action>
2474 <action function="decrypt_backup"/>
2475 </action>
2476
2477 <action>
2478 <conditions>
2479 <condition var1="tw_operation_state" var2="1"/>
2480 <condition var1="tw_operation_status" op="!=" var2="0"/>
2481 </conditions>
2482 <actions>
2483 <action function="set">tw_password_fail=1</action>
2484 <action function="page">restore_decrypt</action>
2485 </actions>
2486 </action>
2487
2488 <action>
2489 <conditions>
2490 <condition var1="tw_operation_state" var2="1"/>
2491 <condition var1="tw_operation_status" op="=" var2="0"/>
2492 </conditions>
2493 <actions>
2494 <action function="set">tw_page_done=1</action>
2495 <action function="page">restore_select</action>
2496 </actions>
2497 </action>
2498 </page>
2499
2500 <page name="restore_select">
2501 <template name="page"/>
2502
2503 <text style="text_l">
2504 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002505 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002506 </text>
2507
2508 <text style="text_m">
2509 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002510 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002511 </text>
2512
2513 <text style="text_m_accent">
2514 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002515 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002516 </text>
2517
2518 <text style="text_m">
2519 <placement x="%indent%" y="%row3_y%"/>
2520 <text>%tw_restore_name%</text>
2521 </text>
2522
2523 <fill color="%fileselector_linecolor%">
2524 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2525 </fill>
2526
2527 <button>
2528 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2529 <fill color="%transparent%"/>
2530 <actions>
2531 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2532 <action function="set">tw_fileexists=0</action>
2533 <action function="page">renamebackup</action>
2534 </actions>
2535 </button>
2536
2537 <partitionlist>
2538 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002539 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002540 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2541 <listtype name="restore"/>
2542 </partitionlist>
2543
2544 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002545 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002546 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002547 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2548 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </checkbox>
2550
2551 <button style="main_button_half_height">
2552 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002553 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002554 <actions>
2555 <action function="set">tw_back=restore</action>
2556 <action function="set">tw_action=cmd</action>
2557 <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 -05002558 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002560 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2561 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2562 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2563 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002564 <action function="page">confirm_action</action>
2565 </actions>
2566 </button>
2567
2568 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 <action function="page">restore_run</action>
2571 </slider>
2572
2573 <action>
2574 <touch key="home"/>
2575 <action function="page">main</action>
2576 </action>
2577
2578 <action>
2579 <touch key="back"/>
2580 <action function="page">restore</action>
2581 </action>
2582 </page>
2583
2584 <page name="renamebackup">
2585 <template name="page"/>
2586
2587 <text style="text_l">
2588 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 </text>
2591
2592 <text style="text_m">
2593 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 </text>
2596
2597 <text style="text_m_accent">
2598 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002599 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002600 </text>
2601
2602 <input>
2603 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2604 <text>%tw_backup_rename%</text>
2605 <data name="tw_backup_rename"/>
2606 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2607 <actions>
2608 <action function="set">tw_back=restore</action>
2609 <action function="set">tw_action=cmd</action>
2610 <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 -05002611 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2612 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2613 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2614 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2615 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002616 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2617 <action function="set">tw_existpage=renamebackup</action>
2618 <action function="set">tw_notexistpage=confirm_action</action>
2619 <action function="page">filecheck</action>
2620 </actions>
2621 </input>
2622
2623 <fill color="%accent_color%">
2624 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2625 </fill>
2626
2627 <fill color="%text_fail_color%">
2628 <condition var1="tw_fileexists" var2="1"/>
2629 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2630 </fill>
2631
2632 <text style="text_m_fail">
2633 <condition var1="tw_fileexists" var2="1"/>
2634 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 </text>
2637
2638 <button style="main_button_half_height">
2639 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 <action function="page">restore_select</action>
2642 </button>
2643
2644 <template name="keyboardtemplate"/>
2645
2646 <action>
2647 <touch key="home"/>
2648 <action function="page">main</action>
2649 </action>
2650
2651 <action>
2652 <touch key="back"/>
2653 <action function="page">restore_select</action>
2654 </action>
2655 </page>
2656
2657 <page name="restore_run">
2658 <template name="page"/>
2659
2660 <text style="text_l">
2661 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 </text>
2664
2665 <text style="text_m">
2666 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2667 <text>%tw_operation% %tw_partition%</text>
2668 </text>
2669
2670 <template name="console"/>
2671
2672 <template name="progress_bar"/>
2673
2674 <text style="text_m_accent">
2675 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002676 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002677 </text>
2678
2679 <text style="text_m">
2680 <placement x="%indent%" y="%row20_y%"/>
2681 <text>%tw_size_progress%</text>
2682 </text>
2683
2684 <action>
2685 <condition var1="tw_operation_state" var2="1"/>
2686 <actions>
2687 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002688 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002689 <action function="set">tw_show_reboot=1</action>
2690 <action function="page">action_complete</action>
2691 </actions>
2692 </action>
2693
2694 <action>
2695 <action function="nandroid">restore</action>
2696 </action>
2697 </page>
2698
2699 <page name="mount">
2700 <template name="page"/>
2701
2702 <text style="text_l">
2703 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002704 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002705 </text>
2706
2707 <text style="text_m">
2708 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002709 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002710 </text>
2711
2712 <partitionlist>
2713 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002714 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002715 <listtype name="mount"/>
2716 </partitionlist>
2717
2718 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002719 <conditions>
2720 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2721 <condition var1="tw_is_super" op="=" var2="0"/>
2722 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002723 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002724 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002725 <image resource="checkbox_false"/>
2726 <action function="mountsystemtoggle">1</action>
2727 </button>
2728
2729 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002730 <conditions>
2731 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2732 <condition var1="tw_is_super" op="=" var2="0"/>
2733 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002734 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002735 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002736 <image resource="checkbox_true"/>
2737 <actions>
2738 <action function="set">tw_lifetime_writes=2</action>
2739 <action function="page">system_readonly_check</action>
2740 </actions>
2741 </button>
2742
2743 <button style="main_button_half_height">
2744 <condition var1="tw_has_usb_storage" var2="1"/>
2745 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002746 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002747 <action function="page">usb_mount</action>
2748 </button>
2749
2750 <button style="main_button_half_height">
2751 <conditions>
2752 <condition var1="tw_is_encrypted" var2="1"/>
2753 <condition var1="tw_is_decrypted" var2="0"/>
2754 </conditions>
2755 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002756 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002757 <action function="set">tw_crypto_user_id=0</action>
2758 <action function="set">tw_crypto_password=</action>
2759 <action function="set">tw_password_fail=0</action>
2760 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002761 <action function="page">decrypt</action>
2762 </button>
2763
2764 <button style="main_button_half_height">
2765 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002766 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002767 <actions>
2768 <action function="set">tw_back=mount</action>
2769 <action function="overlay">select_storage</action>
2770 </actions>
2771 </button>
2772
2773 <button style="main_button_half_height">
2774 <conditions>
2775 <condition var1="tw_has_mtp" var2="1"/>
2776 <condition var1="tw_mtp_enabled" var2="0"/>
2777 </conditions>
2778 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002779 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <action function="startmtp"/>
2781 </button>
2782
2783 <button style="main_button_half_height">
2784 <conditions>
2785 <condition var1="tw_has_mtp" var2="1"/>
2786 <condition var1="tw_mtp_enabled" var2="1"/>
2787 </conditions>
2788 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002789 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002790 <action function="stopmtp"/>
2791 </button>
2792
2793 <action>
2794 <touch key="home"/>
2795 <action function="page">main</action>
2796 </action>
2797
2798 <action>
2799 <touch key="back"/>
2800 <action function="page">main</action>
2801 </action>
2802 </page>
2803
2804 <page name="usb_mount">
2805 <template name="page"/>
2806
2807 <text style="text_l">
2808 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002809 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002810 </text>
2811
2812 <text style="text_m">
2813 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002814 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002815 </text>
2816
2817 <text style="text_m_accent">
2818 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002819 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002820 </text>
2821
2822 <text style="text_m">
2823 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002824 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002825 </text>
2826
2827 <text style="text_m">
2828 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002829 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002830 </text>
2831
2832 <button style="main_button_half_height">
2833 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002834 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002835 <action function="page">usb_umount</action>
2836 </button>
2837
2838 <action>
2839 <action function="mount">usb</action>
2840 <action function="set">tw_busy=1</action>
2841 </action>
2842 </page>
2843
2844 <page name="usb_umount">
2845 <action>
2846 <action function="unmount">usb</action>
2847 </action>
2848
2849 <action>
2850 <action function="page">mount</action>
2851 <action function="set">tw_busy=0</action>
2852 </action>
2853 </page>
2854
2855 <page name="system_readonly_check">
2856 <action>
2857 <action function="checkpartitionlifetimewrites">/system</action>
2858 </action>
2859
2860 <action>
2861 <condition var1="tw_lifetime_writes" var2="1"/>
2862 <actions>
2863 <action function="mountsystemtoggle">0</action>
2864 <action function="page">mount</action>
2865 </actions>
2866 </action>
2867
2868 <action>
2869 <condition var1="tw_lifetime_writes" var2="0"/>
2870 <actions>
2871 <action function="set">tw_back=mount</action>
2872 <action function="page">system_readonly</action>
2873 </actions>
2874 </action>
2875 </page>
2876
bigbiffdf8436b2020-08-30 16:22:34 -04002877 <page name="fastbootreboot">
2878 <template name="page"/>
2879
2880 <text style="text_l">
2881 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2882 <text>{@reboot_hdr=Reboot}</text>
2883 </text>
2884
2885 <listbox style="advanced_listbox">
2886 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2887
2888 <listitem name="{@rb_system_btn=System}">
2889 <condition var1="tw_reboot_system" var2="1"/>
2890 <actions>
2891 <action function="set">tw_back=fastbootreboot</action>
2892 <action function="set">tw_action=reboot</action>
2893 <action function="set">tw_action_param=system</action>
2894 <action function="set">tw_reboot_param=system</action>
2895 <action function="set">tw_has_action2=0</action>
2896 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2897 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2898 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2899 <action function="page">confirm_action</action>
2900 </actions>
2901 </listitem>
2902
2903 <listitem name="{@rb_poweroff_btn=Power Off}">
2904 <condition var1="tw_reboot_poweroff" var2="1"/>
2905 <actions>
2906 <action function="set">tw_back=fastbootreboot</action>
2907 <action function="set">tw_action=reboot</action>
2908 <action function="set">tw_action_param=poweroff</action>
2909 <action function="set">tw_reboot_param=poweroff</action>
2910 <action function="set">tw_has_action2=0</action>
2911 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2912 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2913 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2914 <action function="page">confirm_action</action>
2915 </actions>
2916 </listitem>
2917
2918 <listitem name="{@rb_recovery_btn=Recovery}">
2919 <condition var1="tw_reboot_recovery" var2="1"/>
2920 <actions>
2921 <action function="set">tw_back=fastbootreboot</action>
2922 <action function="set">tw_action=reboot</action>
2923 <action function="set">tw_action_param=recovery</action>
2924 <action function="set">tw_reboot_param=recovery</action>
2925 <action function="set">tw_has_action2=0</action>
2926 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2927 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2928 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2929 <action function="page">confirm_action</action>
2930 </actions>
2931 </listitem>
2932
2933 <listitem name="{@rb_bootloader_btn=Bootloader}">
2934 <condition var1="tw_reboot_bootloader" var2="1"/>
2935 <actions>
2936 <action function="set">tw_back=fastbootreboot</action>
2937 <action function="set">tw_action=reboot</action>
2938 <action function="set">tw_action_param=bootloader</action>
2939 <action function="set">tw_reboot_param=bootloader</action>
2940 <action function="set">tw_has_action2=0</action>
2941 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2942 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2943 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2944 <action function="page">confirm_action</action>
2945 </actions>
2946 </listitem>
2947
2948 <listitem name="{@rb_download_btn=Download}">
2949 <condition var1="tw_download_mode" var2="1"/>
2950 <actions>
2951 <action function="set">tw_back=fastbootreboot</action>
2952 <action function="set">tw_action=reboot</action>
2953 <action function="set">tw_action_param=download</action>
2954 <action function="set">tw_reboot_param=download</action>
2955 <action function="set">tw_has_action2=0</action>
2956 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2957 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2958 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2959 <action function="page">confirm_action</action>
2960 </actions>
2961 </listitem>
2962
2963 <listitem name="{@fastboot_button=Fastboot}">
2964 <condition var1="tw_fastboot_mode" var2="1"/>
2965 <actions>
2966 <action function="set">tw_back=fastbootreboot</action>
2967 <action function="set">tw_action=reboot</action>
2968 <action function="set">tw_action_param=fastboot</action>
2969 <action function="set">tw_reboot_param=fastboot</action>
2970 <action function="set">tw_has_action2=0</action>
2971 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2972 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2973 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2974 <action function="page">confirm_action</action>
2975 </actions>
2976 </listitem>
2977
2978 <listitem name="{@rb_edl_btn=Edl}">
2979 <condition var1="tw_edl_mode" var2="1"/>
2980 <actions>
2981 <action function="set">tw_back=fastbootreboot</action>
2982 <action function="set">tw_action=reboot</action>
2983 <action function="set">tw_action_param=edl</action>
2984 <action function="set">tw_reboot_param=edl</action>
2985 <action function="set">tw_has_action2=0</action>
2986 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2987 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2988 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2989 <action function="page">confirm_action</action>
2990 </actions>
2991 </listitem>
2992 </listbox>
2993
2994 <action>
2995 <touch key="home"/>
2996 <action function="page">fastboot</action>
2997 </action>
2998
2999 <action>
3000 <touch key="back"/>
3001 <action function="page">fastboot</action>
3002 </action>
3003 </page>
3004
z31s1g28f0a922015-11-07 18:50:22 +01003005 <page name="reboot">
3006 <template name="page"/>
3007
3008 <text style="text_l">
3009 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06003010 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003011 </text>
3012
bigbiffdf8436b2020-08-30 16:22:34 -04003013 <listbox style="advanced_listbox">
3014 <placement x="%indent%" y="%row2a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003015
bigbiffdf8436b2020-08-30 16:22:34 -04003016 <listitem name="{@rb_system_btn=System}">
3017 <condition var1="tw_reboot_system" var2="1"/>
3018 <actions>
3019 <action function="set">tw_back=reboot</action>
3020 <action function="page">reboot_system_routine</action>
3021 </actions>
3022 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003023
bigbiffdf8436b2020-08-30 16:22:34 -04003024 <listitem name="{@rb_poweroff_btn=Power Off}">
3025 <condition var1="tw_reboot_poweroff" var2="1"/>
3026 <actions>
3027 <action function="set">tw_back=reboot</action>
3028 <action function="set">tw_action=reboot</action>
3029 <action function="set">tw_action_param=poweroff</action>
3030 <action function="set">tw_reboot_param=poweroff</action>
3031 <action function="set">tw_has_action2=0</action>
3032 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3033 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
3034 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
3035 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
3036 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
3037 <action function="page">rebootcheck</action>
3038 </actions>
3039 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003040
bigbiffdf8436b2020-08-30 16:22:34 -04003041 <listitem name="{@rb_recovery_btn=Recovery}">
3042 <condition var1="tw_reboot_recovery" var2="1"/>
3043 <actions>
3044 <action function="set">tw_back=reboot</action>
3045 <action function="set">tw_action=reboot</action>
3046 <action function="set">tw_action_param=recovery</action>
3047 <action function="set">tw_reboot_param=recovery</action>
3048 <action function="set">tw_has_action2=0</action>
3049 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3050 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3051 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3052 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3053 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3054 <action function="page">rebootcheck</action>
3055 </actions>
3056 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003057
bigbiffdf8436b2020-08-30 16:22:34 -04003058 <listitem name="{@rb_bootloader_btn=Bootloader}">
3059 <condition var1="tw_reboot_bootloader" var2="1"/>
3060 <actions>
3061 <action function="set">tw_back=reboot</action>
3062 <action function="set">tw_action=reboot</action>
3063 <action function="set">tw_action_param=bootloader</action>
3064 <action function="set">tw_reboot_param=bootloader</action>
3065 <action function="set">tw_has_action2=0</action>
3066 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3067 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3068 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3069 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3070 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3071 <action function="page">rebootcheck</action>
3072 </actions>
3073 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003074
bigbiffdf8436b2020-08-30 16:22:34 -04003075 <listitem name="{@rb_download_btn=Download}">
3076 <condition var1="tw_download_mode" var2="1"/>
3077 <actions>
3078 <action function="set">tw_back=reboot</action>
3079 <action function="set">tw_action=reboot</action>
3080 <action function="set">tw_action_param=download</action>
3081 <action function="set">tw_reboot_param=download</action>
3082 <action function="set">tw_has_action2=0</action>
3083 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3084 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3085 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3086 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3087 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3088 <action function="page">rebootcheck</action>
3089 </actions>
3090 </listitem>
3091
3092 <listitem name="{@fastboot_button=Fastboot}">
3093 <condition var1="tw_fastboot_mode" var2="1"/>
3094 <actions>
3095 <action function="set">tw_back=reboot</action>
3096 <action function="set">tw_action=reboot</action>
3097 <action function="set">tw_action_param=fastboot</action>
3098 <action function="set">tw_reboot_param=fastboot</action>
3099 <action function="set">tw_has_action2=0</action>
3100 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3101 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3102 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3103 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3104 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3105 <action function="page">rebootcheck</action>
3106 </actions>
3107 </listitem>
3108
3109 <listitem name="{@rb_edl_btn=Edl}">
3110 <condition var1="tw_edl_mode" var2="1"/>
3111 <actions>
3112 <action function="set">tw_back=reboot</action>
3113 <action function="set">tw_action=reboot</action>
3114 <action function="set">tw_action_param=edl</action>
3115 <action function="set">tw_reboot_param=edl</action>
3116 <action function="set">tw_has_action2=0</action>
3117 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
3118 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
3119 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
3120 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3121 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
3122 <action function="page">rebootcheck</action>
3123 </actions>
3124 </button>
3125 </listbox>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003126
Ethan Yonker1b190162016-12-05 15:25:19 -06003127 <text style="text_m">
3128 <condition var1="tw_has_boot_slots" var2="1"/>
bigbiffdf8436b2020-08-30 16:22:34 -04003129 <placement x="%center_x%" y="%row15_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06003130 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
3131 </text>
3132
bigbiffdf8436b2020-08-30 16:22:34 -04003133 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003134 <condition var1="tw_has_boot_slots" var2="1"/>
3135 <placement x="%indent%" y="%row19_y%"/>
3136 <text>{@boot_slot_a=Slot A}</text>
3137 <actions>
3138 <action function="set">tw_back=reboot</action>
3139 <action function="set">tw_action=setbootslot</action>
3140 <action function="set">tw_action_param=A</action>
3141 <action function="set">tw_has_action2=0</action>
3142 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3143 <action function="set">tw_action_text2=</action>
3144 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3145 <action function="page">action_page</action>
3146 </actions>
3147 </button>
3148
bigbiffdf8436b2020-08-30 16:22:34 -04003149 <button style="main_button_half_height">
Ethan Yonker1b190162016-12-05 15:25:19 -06003150 <condition var1="tw_has_boot_slots" var2="1"/>
3151 <placement x="%center_x%" y="%row19_y%"/>
3152 <text>{@boot_slot_b=Slot B}</text>
3153 <actions>
3154 <action function="set">tw_back=reboot</action>
3155 <action function="set">tw_action=setbootslot</action>
3156 <action function="set">tw_action_param=B</action>
3157 <action function="set">tw_has_action2=0</action>
3158 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3159 <action function="set">tw_action_text2=</action>
3160 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3161 <action function="page">action_page</action>
3162 </actions>
3163 </button>
3164
z31s1g28f0a922015-11-07 18:50:22 +01003165 <action>
3166 <touch key="home"/>
3167 <action function="page">main</action>
3168 </action>
3169
3170 <action>
3171 <touch key="back"/>
3172 <action function="page">main</action>
3173 </action>
3174 </page>
3175
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003176 <page name="rebootapp">
3177 <template name="page"/>
3178
3179 <text style="text_l">
3180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3181 <text>{@reboot_hdr=Reboot}</text>
3182 </text>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3186 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
3187 </text>
3188
3189 <text style="text_m_accent">
3190 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3191 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3192 </text>
3193
3194 <text style="text_m_accent">
3195 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3196 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3197 </text>
3198
3199 <checkbox>
3200 <placement x="%indent%" y="%row5_y%"/>
3201 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3202 <data variable="tw_app_prompt"/>
3203 </checkbox>
3204
3205 <checkbox>
3206 <condition var1="tw_mount_system_ro" var2="0"/>
3207 <placement x="%indent%" y="%row7_y%"/>
3208 <text>{@reboot_install_app_system=Install as a System App}</text>
3209 <data variable="tw_app_install_system"/>
3210 </checkbox>
3211
3212 <button style="main_button_half_height">
3213 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003214 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003215 <action function="reboot">%tw_reboot_param%</action>
3216 </button>
3217
3218 <slider>
3219 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3220 <actions>
3221 <action function="set">tw_back=reboot</action>
3222 <action function="set">tw_action=installapp</action>
3223 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3224 <action function="set">tw_action_text2=</action>
3225 <action function="set">tw_has_action2=1</action>
3226 <action function="set">tw_action2=reboot</action>
3227 <action function="set">tw_action2_param=%tw_reboot_param%</action>
3228 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3229 <action function="page">action_page</action>
3230 </actions>
3231 </slider>
3232
3233 <action>
3234 <touch key="home"/>
3235 <actions>
3236 <action function="set">tw_app_install_status=0</action>
3237 <action function="page">main</action>
3238 </actions>
3239 </action>
3240
3241 <action>
3242 <touch key="back"/>
3243 <actions>
3244 <action function="set">tw_app_install_status=0</action>
3245 <action function="page">reboot</action>
3246 </actions>
3247 </action>
3248 </page>
3249
z31s1g28f0a922015-11-07 18:50:22 +01003250 <page name="system_readonly">
3251 <template name="page"/>
3252
3253 <text style="text_l">
3254 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003256 </text>
3257
3258 <text style="text_m_accent">
3259 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003260 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003261 </text>
3262
3263 <text style="text_m">
3264 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </text>
3267
3268 <text style="text_m">
3269 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003270 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003271 </text>
3272
3273 <text style="text_m">
3274 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 </text>
3277
3278 <text style="text_m">
3279 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 </text>
3282
3283 <text style="text_m_fail">
3284 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003285 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003286 </text>
3287
3288 <text style="text_m_fail">
3289 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </text>
3292
3293 <checkbox>
3294 <condition var1="tw_is_encrypted" var2="0"/>
3295 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003296 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003297 <data variable="tw_never_show_system_ro_page"/>
3298 </checkbox>
3299
3300 <button style="main_button_half_height">
3301 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <actions>
3304 <action function="mountsystemtoggle">1</action>
3305 <action function="set">tw_page_done=1</action>
3306 <action function="page">%tw_back%</action>
3307 </actions>
3308 </button>
3309
z31s1g608d7ff2016-01-18 19:47:25 +01003310 <button style="main_button_half_height">
3311 <placement x="%center_x%" y="%row18a_y%"/>
3312 <text>{@sel_lang_btn=Select Language}</text>
3313 <action function="overlay">select_language</action>
3314 </button>
3315
z31s1g28f0a922015-11-07 18:50:22 +01003316 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003317 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003318 <actions>
3319 <action function="mountsystemtoggle">0</action>
3320 <action function="set">tw_page_done=1</action>
3321 <action function="page">%tw_back%</action>
3322 </actions>
3323 </slider>
3324 </page>
3325
3326 <page name="settings">
3327 <template name="page"/>
3328
3329 <text style="text_l">
3330 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 </text>
3333
3334 <text style="text_m">
3335 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </text>
3338
3339 <template name="tabs_settings"/>
3340
3341 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003342 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003343 </fill>
3344
3345 <listbox style="scrolllist">
3346 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3347 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003349 <data variable="tw_signed_zip_verify"/>
3350 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003351 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3352 <data variable="tw_install_reboot"/>
3353 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003354 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003355 <data variable="tw_rm_rf"/>
3356 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003357 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3358 <data variable="tw_disable_free_space"/>
3359 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003360 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3361 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003363 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3364 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003367 <data variable="tw_military_time"/>
3368 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003370 <data variable="tw_samsung_navbar"/>
3371 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003372 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3373 <data variable="tw_app_prompt"/>
3374 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003376 <data variable="tw_simulate_actions"/>
3377 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003379 <condition var1="tw_simulate_actions" var2="1"/>
3380 <data variable="tw_simulate_fail"/>
3381 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003382 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3383 <condition var1="tw_no_sha2" var2="0"/>
3384 <data variable="tw_use_sha2"/>
3385 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003386 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3387 <data variable="tw_unmount_system"/>
3388 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003389 </listbox>
3390
3391 <button style="main_button_half_height">
3392 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003393 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003394 <actions>
3395 <action function="set">tw_samsung_navbar=0</action>
3396 <action function="set">tw_tab_icons=0</action>
3397 <action function="restoredefaultsettings"/>
3398 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003399 </button>
3400
3401 <action>
3402 <touch key="home"/>
3403 <action function="page">main</action>
3404 </action>
3405
3406 <action>
3407 <touch key="back"/>
3408 <action function="page">main</action>
3409 </action>
3410 </page>
3411
3412 <page name="settings_timezone">
3413 <template name="page"/>
3414
3415 <text style="text_l">
3416 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003417 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003418 </text>
3419
3420 <text style="text_m">
3421 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003422 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003423 </text>
3424
3425 <template name="tabs_settings"/>
3426
3427 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003428 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003429 </fill>
3430
3431 <listbox>
3432 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003433 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003434 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3436 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3437 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3438 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3439 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3440 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3441 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3442 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3443 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3444 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3445 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3446 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3447 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3448 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3449 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3450 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3451 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3452 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3453 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3454 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3455 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3456 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3457 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3458 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003459 </listbox>
3460
3461 <text style="text_m_accent">
3462 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003463 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003464 </text>
3465
3466 <button style="button_quarter_width">
3467 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003468 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003469 <action function="set">tw_time_zone_guioffset=0</action>
3470 </button>
3471
3472 <button style="button_quarter_width">
3473 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003474 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003475 <action function="set">tw_time_zone_guioffset=15</action>
3476 </button>
3477
3478 <button style="button_quarter_width">
3479 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003480 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003481 <action function="set">tw_time_zone_guioffset=30</action>
3482 </button>
3483
3484 <button style="button_quarter_width">
3485 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 <action function="set">tw_time_zone_guioffset=45</action>
3488 </button>
3489
3490 <checkbox>
3491 <placement x="%indent%" y="%row18a_y%"/>
3492 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003493 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003494 <data variable="tw_time_zone_guidst"/>
3495 <image checked="checkbox_true" unchecked="checkbox_false"/>
3496 </checkbox>
3497
3498 <text color="%text_color%">
3499 <font resource="font_m"/>
3500 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003501 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003502 </text>
3503
3504 <button>
3505 <highlight color="%highlight_color%"/>
3506 <placement x="%center_x%" y="%row21a_y%"/>
3507 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003508 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <image resource="main_button_half_height"/>
3510 <action function="setguitimezone"/>
3511 </button>
3512
3513 <action>
3514 <touch key="home"/>
3515 <action function="page">main</action>
3516 </action>
3517
3518 <action>
3519 <touch key="back"/>
3520 <action function="page">main</action>
3521 </action>
3522 </page>
3523
3524 <page name="settings_screen">
3525 <template name="page"/>
3526
3527 <text style="text_l">
3528 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003529 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003530 </text>
3531
3532 <text style="text_m">
3533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003534 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003535 </text>
3536
3537 <template name="tabs_settings"/>
3538
3539 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003540 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003541 </fill>
3542
3543 <button>
3544 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3545 <font resource="font_m" color="%text_color%"/>
3546 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3547 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003548 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003549 <image resource="checkbox_false"/>
3550 <action function="set">tw_screen_timeout_secs=60</action>
3551 </button>
3552
3553 <button>
3554 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3555 <font resource="font_m" color="%text_color%"/>
3556 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3557 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003559 <image resource="checkbox_true"/>
3560 <action function="set">tw_screen_timeout_secs=0</action>
3561 </button>
3562
3563 <slidervalue>
3564 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3565 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3566 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003567 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003568 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3569 </slidervalue>
3570
3571 <slidervalue>
3572 <condition var1="tw_has_brightnesss_file" var2="1"/>
3573 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003574 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003575 <data variable="tw_brightness_pct" min="10" max="100"/>
3576 <actions>
3577 <action function="set">tw_brightness=%tw_brightness_max%</action>
3578 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3579 <action function="compute">tw_brightness/100</action>
3580 <action function="setbrightness">%tw_brightness%</action>
3581 </actions>
3582 </slidervalue>
3583
3584 <action>
3585 <touch key="home"/>
3586 <action function="page">main</action>
3587 </action>
3588
3589 <action>
3590 <touch key="back"/>
3591 <action function="page">main</action>
3592 </action>
3593 </page>
3594
3595 <page name="settings_vibration">
3596 <template name="page"/>
3597
3598 <text style="text_l">
3599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003600 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003605 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003606 </text>
3607
3608 <template name="tabs_settings"/>
3609
3610 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003611 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003612 </fill>
3613
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003614 <text style="text_m">
3615 <condition var1="tw_disable_haptics" var2="1"/>
3616 <placement x="%indent%" y="%row4_y%"/>
3617 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3618 </text>
3619
z31s1g28f0a922015-11-07 18:50:22 +01003620 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003621 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003622 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003623 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003624 <data variable="tw_button_vibrate" min="0" max="300"/>
3625 </slidervalue>
3626
3627 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003628 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003629 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003630 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003631 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3632 </slidervalue>
3633
3634 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003635 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003636 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003637 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003638 <data variable="tw_action_vibrate" min="0" max="500"/>
3639 </slidervalue>
3640
3641 <action>
3642 <touch key="home"/>
3643 <action function="page">main</action>
3644 </action>
3645
3646 <action>
3647 <touch key="back"/>
3648 <action function="page">main</action>
3649 </action>
3650 </page>
3651
Ethan Yonker74db1572015-10-28 12:44:49 -05003652 <page name="settings_language">
3653 <template name="page"/>
3654
3655 <text style="text_l">
3656 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3657 <text>{@settings_hdr=Settings}</text>
3658 </text>
3659
3660 <text style="text_m">
3661 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3662 <text>{@language_hdr=Language - %tw_language_display%}</text>
3663 </text>
3664
3665 <template name="tabs_settings"/>
3666
3667 <fill color="%text_color%">
3668 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3669 </fill>
3670
3671 <listbox>
3672 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3673 <text>{@select_language=Select Language:}</text>
3674 <icon selected="radio_true" unselected="radio_false" />
3675 <data name="tw_language" />
3676 </listbox>
3677
3678 <button style="main_button_half_height">
3679 <placement x="%center_x%" y="%row21a_y%"/>
3680 <text>{@set_language_btn=Set Language}</text>
3681 <action function="setlanguage"></action>
3682 </button>
3683
3684 <action>
3685 <touch key="home" />
3686 <action function="page">main</action>
3687 </action>
3688
3689 <action>
3690 <touch key="back" />
3691 <action function="page">settings</action>
3692 </action>
3693 </page>
3694
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003695 <page name="copylog">
3696 <template name="page"/>
3697
3698 <text style="text_l">
3699 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3700 <text>{@copying_log=Copy Logs to SD Card}</text>
3701 </text>
3702
3703 <checkbox>
3704 <placement x="%indent%" y="%row4_y%"/>
3705 <text>{@include_kernel_log=Include Kernel Log}</text>
3706 <data variable="tw_include_kernel_log" value="1"/>
3707 </checkbox>
3708
3709 <slider>
3710 <text>{@copying_log=Copy Logs to SD Card}</text>
3711 <actions>
3712 <action function="set">tw_back=advanced</action>
3713 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003714 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3715 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003716 <action function="page">action_page</action>
3717 </actions>
3718 </slider>
3719
3720 <action>
3721 <touch key="home"/>
3722 <action function="page">main</action>
3723 </action>
3724
3725 <action>
3726 <touch key="back"/>
3727 <actions>
3728 <action function="page">advanced</action>
3729 </actions>
3730 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003731 </page>
3732
z31s1g28f0a922015-11-07 18:50:22 +01003733 <page name="advanced">
3734 <template name="page"/>
3735
3736 <text style="text_l">
3737 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </text>
3740
3741 <button style="main_button">
3742 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003744 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </button>
3746
3747 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003748 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003749 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003750 <text>{@adb_sideload_btn=ADB Sideload}</text>
3751 <action function="page">sideload</action>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </button>
3753
3754 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003755 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003756 <text>{@terminal_btn=Terminal}</text>
3757 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </button>
3759
3760 <button style="main_button">
3761 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003763 <action function="page">filemanagerlist</action>
3764 </button>
3765
Ethan Yonker64e0a652018-07-25 09:52:17 -05003766 <listbox style="advanced_listbox">
3767 <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003768 <listitem name="{@decrypt_users=Decrypt Users}">
3769 <conditions>
3770 <condition var1="tw_is_fbe" var2="1"/>
3771 <condition var1="tw_all_users_decrypted" var2="0"/>
3772 </conditions>
3773 <actions>
3774 <action function="set">tw_crypto_user_id=</action>
3775 <action function="page">decrypt_users</action>
3776 </actions>
3777 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003778 <listitem name="{@reload_theme_btn=Reload Theme}">
3779 <action function="reload"/>
3780 </listitem>
3781 <listitem name="{@part_sd_btn=Partition SD Card}">
3782 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3783 <actions>
3784 <action function="set">partitionlisterror=0</action>
3785 <action function="page">partsdcardsel</action>
3786 </actions>
3787 </listitem>
3788 <listitem name="{@fix_context_btn=Fix Contexts}">
3789 <condition var1="tw_has_data_media" var2="1"/>
3790 <action function="page">fixcontexts</action>
3791 </listitem>
3792 <listitem name="{@dumlock_btn=HTC Dumlock}">
3793 <condition var1="tw_show_dumlock" var2="1"/>
3794 <action function="page">htcdumlock</action>
3795 </listitem>
3796 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3797 <condition var1="tw_has_injecttwrp" var2="1"/>
3798 <actions>
3799 <action function="set">tw_back=advanced</action>
3800 <action function="set">tw_action=reinjecttwrp</action>
3801 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3802 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3803 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3804 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3805 <action function="page">confirm_action</action>
3806 </actions>
3807 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003808 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
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=0</action>
3815 <action function="page">repackselect</action>
3816 </actions>
3817 </listitem>
3818 <listitem name="{@install_kernel=Install Kernel}">
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_repack_kernel=1</action>
3825 <action function="page">repackselect</action>
3826 </actions>
3827 </listitem>
3828 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3829 <conditions>
3830 <condition var1="tw_has_boot_slots" var2="1"/>
3831 <condition var1="tw_has_repack_tools" var2="1"/>
3832 </conditions>
3833 <actions>
3834 <action function="set">tw_back=advanced</action>
3835 <action function="set">tw_action=fixabrecoverybootloop</action>
3836 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3837 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3838 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3839 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3840 <action function="page">confirm_action</action>
3841 </actions>
3842 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003843 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3844 <condition var1="tw_app_installed_in_system" var2="1"/>
3845 <actions>
3846 <action function="set">tw_back=advanced</action>
3847 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3848 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3849 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3850 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3851 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3852 <action function="page">confirm_action</action>
3853 </actions>
3854 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003855 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003856
3857 <action>
3858 <touch key="home"/>
3859 <action function="page">main</action>
3860 </action>
3861
3862 <action>
3863 <touch key="back"/>
3864 <action function="page">main</action>
3865 </action>
3866 </page>
3867
Ethan Yonker483e9f42016-01-11 22:21:18 -06003868 <page name="partsdcardsel">
3869 <template name="page"/>
3870
3871 <text style="text_l">
3872 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3873 <text>{@advanced_hdr=Advanced}</text>
3874 </text>
3875
3876 <text style="text_m">
3877 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3878 <text>{@part_sd_hdr=Partition SD Card}</text>
3879 </text>
3880
z31s1g782e1c92016-01-30 16:50:09 +01003881 <partitionlist>
3882 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003883 <text>{@sel_storage_list=Select Storage}</text>
3884 <data name="tw_storage_path"/>
3885 <listtype name="storage"/>
3886 </partitionlist>
3887
3888 <text style="text_m_fail">
3889 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003890 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003891 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3892 </text>
3893
z31s1g782e1c92016-01-30 16:50:09 +01003894 <button style="main_button_half_height">
3895 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003896 <text>{@ok_btn=OK}</text>
3897 <actions>
3898 <action function="getpartitiondetails">tw_storage_path</action>
3899 <action function="page">partsdcardcheck</action>
3900 </actions>
3901 </button>
3902
3903 <action>
3904 <touch key="home"/>
3905 <action function="page">main</action>
3906 </action>
3907
3908 <action>
3909 <touch key="back"/>
3910 <action function="page">advanced</action>
3911 </action>
3912 </page>
3913
3914 <page name="partsdcardcheck">
3915 <action>
3916 <condition var1="tw_partition_removable" op="=" var2="1"/>
3917 <actions>
3918 <action function="set">partitionlisterror=0</action>
3919 <action function="page">partsdcard</action>
3920 </actions>
3921 </action>
3922
3923 <action>
3924 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3925 <actions>
3926 <action function="set">partitionlisterror=1</action>
3927 <action function="page">partsdcardsel</action>
3928 </actions>
3929 </action>
3930 </page>
3931
z31s1g28f0a922015-11-07 18:50:22 +01003932 <page name="partsdcard">
3933 <template name="page"/>
3934
3935 <text style="text_l">
3936 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003937 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003938 </text>
3939
3940 <text style="text_m">
3941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003943 </text>
3944
3945 <text style="text_m_fail">
3946 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003947 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003948 </text>
3949
3950 <text style="text_m_fail">
3951 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003952 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003953 </text>
3954
3955 <text style="text_m_accent">
3956 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003957 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003958 </text>
3959
3960 <text style="text_m">
3961 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3962 <text>%tw_sdext_size%</text>
3963 </text>
3964
3965 <button style="button_quarter_width">
3966 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003967 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003968 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003969 </button>
3970
3971 <button style="button_quarter_width">
3972 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003973 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003974 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003975 </button>
3976
3977 <text style="text_m_accent">
3978 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003979 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003980 </text>
3981
3982 <text style="text_m">
3983 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3984 <text>%tw_swap_size%</text>
3985 </text>
3986
3987 <button style="button_quarter_width">
3988 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003990 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </button>
3992
3993 <button style="button_quarter_width">
3994 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003996 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003997 </button>
3998
3999 <text style="text_m_accent">
4000 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004002 </text>
4003
4004 <text style="text_m">
4005 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
4006 <text>%tw_sdpart_file_system%</text>
4007 </text>
4008
4009 <button style="button_quarter_width">
4010 <placement x="%indent%" y="%row14_y%"/>
4011 <text>EXT3</text>
4012 <action function="set">tw_sdpart_file_system=ext3</action>
4013 </button>
4014
4015 <button style="button_quarter_width">
4016 <placement x="%btn4_col4_x%" y="%row14_y%"/>
4017 <text>EXT4</text>
4018 <action function="set">tw_sdpart_file_system=ext4</action>
4019 </button>
4020
4021 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004023 <action function="page">partsdcardaction</action>
4024 <actions>
4025 <action function="set">tw_back=partsdcard</action>
4026 <action function="set">tw_action=partitionsd</action>
4027 <action function="set">tw_has_action2=1</action>
4028 <action function="set">tw_action2=set</action>
4029 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004030 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
4031 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
4032 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004033 <action function="page">action_page</action>
4034 </actions>
4035 </slider>
4036
4037 <action>
4038 <touch key="home"/>
4039 <action function="page">main</action>
4040 </action>
4041
4042 <action>
4043 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004044 <actions>
4045 <action function="set">partitionlisterror=0</action>
4046 <action function="page">partsdcardsel</action>
4047 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004048 </action>
4049 </page>
4050
4051 <page name="htcdumlock">
4052 <template name="page"/>
4053
4054 <text style="text_l">
4055 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004056 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004057 </text>
4058
4059 <text style="text_m">
4060 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004061 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004062 </text>
4063
4064 <button style="main_button_half_height_full_width">
4065 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004066 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004067 <actions>
4068 <action function="set">tw_back=htcdumlock</action>
4069 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004070 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4071 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4072 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4073 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004074 <action function="page">confirm_action</action>
4075 </actions>
4076 </button>
4077
4078 <button style="main_button_half_height_full_width">
4079 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 <actions>
4082 <action function="set">tw_back=htcdumlock</action>
4083 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4085 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4086 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4087 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004088 <action function="page">confirm_action</action>
4089 </actions>
4090 </button>
4091
4092 <button style="main_button_half_height_full_width">
4093 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004094 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004095 <actions>
4096 <action function="set">tw_back=htcdumlock</action>
4097 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004098 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4099 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4100 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4101 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004102 <action function="page">confirm_action</action>
4103 </actions>
4104 </button>
4105
4106 <action>
4107 <touch key="home"/>
4108 <action function="page">main</action>
4109 </action>
4110
4111 <action>
4112 <touch key="back"/>
4113 <action function="page">advanced</action>
4114 </action>
4115 </page>
4116
Ethan Yonker53796e72019-01-11 22:49:52 -06004117 <page name="repackselect">
4118 <template name="page"/>
4119
4120 <text style="text_l">
4121 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4122 <text>{@repack_image_hdr=Select Image}</text>
4123 </text>
4124
4125 <text style="text_m">
4126 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4127 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4128 </text>
4129
4130 <template name="sort_options"/>
4131
4132 <fileselector>
4133 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
4134 <text>%tw_zip_location%</text>
4135 <filter extn=".img" folders="1" files="1"/>
4136 <path name="tw_zip_location" default="/sdcard"/>
4137 <data name="tw_filename"/>
4138 <selection name="tw_file"/>
4139 </fileselector>
4140
4141 <button style="main_button_half_height">
4142 <placement x="%indent%" y="%row21a_y%"/>
4143 <text>{@select_storage_btn=Select Storage}</text>
4144 <actions>
4145 <action function="set">tw_back=repackselect</action>
4146 <action function="overlay">select_storage</action>
4147 </actions>
4148 </button>
4149
4150 <action>
4151 <conditions>
4152 <condition var1="tw_filename" op="modified"/>
4153 </conditions>
4154 <action function="page">repackconfirm</action>
4155 </action>
4156
4157 <action>
4158 <touch key="back"/>
4159 <action function="page">advanced</action>
4160 </action>
4161
4162 <action>
4163 <touch key="home"/>
4164 <action function="page">main</action>
4165 </action>
4166 </page>
4167
4168 <page name="repackconfirm">
4169 <template name="page"/>
4170
4171 <text style="text_l">
4172 <condition var1="tw_repack_kernel" var2="1"/>
4173 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4174 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4175 </text>
4176
4177 <text style="text_l">
4178 <condition var1="tw_repack_kernel" var2="0"/>
4179 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4180 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4181 </text>
4182
4183 <text style="text_m">
4184 <condition var1="tw_repack_kernel" var2="1"/>
4185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4186 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4187 </text>
4188
4189 <text style="text_m">
4190 <condition var1="tw_repack_kernel" var2="0"/>
4191 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4192 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4193 </text>
4194
4195 <text style="text_m_accent">
4196 <placement x="%indent%" y="%row2_y%"/>
4197 <text>{@folder=Folder:}</text>
4198 </text>
4199
4200 <text style="text_m">
4201 <placement x="%indent%" y="%row3_y%"/>
4202 <text>%tw_zip_location%</text>
4203 </text>
4204
4205 <text style="text_m_accent">
4206 <placement x="%indent%" y="%row4_y%"/>
4207 <text>{@file=File:}</text>
4208 </text>
4209
4210 <text style="text_m">
4211 <placement x="%indent%" y="%row5_y%"/>
4212 <text>%tw_file%</text>
4213 </text>
4214
4215 <checkbox>
4216 <placement x="%indent%" y="%row7_y%"/>
4217 <text>{@repack_backup_first=Back up existing image first}</text>
4218 <data variable="tw_repack_backup_first"/>
4219 </checkbox>
4220
4221 <button style="main_button_half_height">
4222 <placement x="%indent%" y="%row16_y%"/>
4223 <text>{@install_cancel=Do not Install}</text>
4224 <action function="page">repackselect</action>
4225 </button>
4226
4227 <slider>
4228 <text>{@swipe_to_install=Swipe to Install}</text>
4229 <actions>
4230 <action function="set">tw_back=advanced</action>
4231 <action function="set">tw_action=repackimage</action>
4232 <action function="set">tw_action_param=/boot</action>
4233 <action function="set">tw_action_text1={@installing=Installing...}</action>
4234 <action function="set">tw_action_text2=</action>
4235 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4236 <action function="page">action_page</action>
4237 </actions>
4238 </slider>
4239
4240 <action>
4241 <touch key="back"/>
4242 <action function="page">repackselect</action>
4243 </action>
4244
4245 <action>
4246 <touch key="home"/>
4247 <action function="page">main</action>
4248 </action>
4249 </page>
4250
z31s1g28f0a922015-11-07 18:50:22 +01004251 <page name="lock">
4252 <background color="%semi_transparent%"/>
4253
4254 <image>
4255 <image resource="unlock_icon"/>
4256 <placement x="%center_x%" y="%row10_y%" placement="4"/>
4257 </image>
4258
4259 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004261 <action function="overlay"/>
4262 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004263
4264 <action>
4265 <touch key="power"/>
4266 <action function="togglebacklight"/>
4267 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004268 </page>
4269
4270 <page name="filemanagerlist">
4271 <template name="page"/>
4272
4273 <text style="text_l">
4274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004275 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004276 </text>
4277
4278 <text style="text_m">
4279 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004280 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004281 </text>
4282
4283 <template name="sort_options"/>
4284
4285 <fileselector>
4286 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4287 <text>%tw_file_location1%</text>
4288 <filter folders="1" files="1"/>
4289 <path name="tw_file_location1" default="/"/>
4290 <data name="tw_filename1"/>
4291 <selection name="tw_selection1"/>
4292 </fileselector>
4293
4294 <button style="fab">
4295 <image resource="fab_selectfolder"/>
4296 <actions>
4297 <action function="set">tw_filename1=tw_file_location1</action>
4298 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004299 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004300 <action function="page">filemanageroptions</action>
4301 </actions>
4302 </button>
4303
4304 <action>
4305 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004306 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004307 <action function="set">tw_fm_isfolder=0</action>
4308 </actions>
4309 </action>
4310
4311 <action>
4312 <touch key="home"/>
4313 <action function="page">main</action>
4314 </action>
4315
4316 <action>
4317 <touch key="back"/>
4318 <action function="page">advanced</action>
4319 </action>
4320
4321 <action>
4322 <condition var1="tw_filename1" op="modified"/>
4323 <action function="page">filemanageroptions</action>
4324 </action>
4325 </page>
4326
4327 <page name="filemanageroptions">
4328 <template name="page"/>
4329
4330 <text style="text_l">
4331 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004333 </text>
4334
4335 <text style="text_m">
4336 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004337 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004338 </text>
4339
4340 <text style="text_m_accent">
4341 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004342 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004343 </text>
4344
4345 <text style="text_m">
4346 <placement x="%indent%" y="%row3_y%"/>
4347 <text>%tw_filename1%</text>
4348 </text>
4349
4350 <button style="main_button_half_height">
4351 <condition var1="tw_fm_isfolder" var2="0"/>
4352 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 <actions>
4355 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004357 <action function="page">choosedestinationfolder</action>
4358 </actions>
4359 </button>
4360
4361 <button style="main_button_half_height">
4362 <condition var1="tw_fm_isfolder" var2="1"/>
4363 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004364 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004365 <actions>
4366 <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 -05004367 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004368 <action function="page">choosedestinationfolder</action>
4369 </actions>
4370 </button>
4371
4372 <button style="main_button_half_height">
4373 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 <actions>
4376 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004378 <action function="page">choosedestinationfolder</action>
4379 </actions>
4380 </button>
4381
4382 <button style="main_button_half_height">
4383 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004384 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004385 <actions>
4386 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004387 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004388 <action function="set">tw_fm_text2=</action>
4389 <action function="set">tw_fm_text3=</action>
4390 <action function="set">tw_include_text3=0</action>
4391 <action function="set">tw_back=filemanageroptions</action>
4392 <action function="page">filemanagerconfirm</action>
4393 </actions>
4394 </button>
4395
4396 <button style="main_button_half_height">
4397 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004398 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004399 <actions>
4400 <action function="set">tw_filemanager_rename=0000</action>
4401 <action function="set">tw_fm_text2=</action>
4402 <action function="set">tw_fm_text3=</action>
4403 <action function="set">tw_include_text3=0</action>
4404 <action function="set">tw_back=filemanageroptions</action>
4405 <action function="page">filemanagerchmod</action>
4406 </actions>
4407 </button>
4408
4409 <button style="main_button_half_height">
4410 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004411 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004412 <actions>
4413 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004415 <action function="set">tw_fm_text2=</action>
4416 <action function="set">tw_fm_text3=</action>
4417 <action function="set">tw_include_text3=0</action>
4418 <action function="set">tw_back=filemanageroptions</action>
4419 <action function="page">filemanagerconfirm</action>
4420 </actions>
4421 </button>
4422
4423 <button style="main_button_half_height">
4424 <condition var1="tw_fm_isfolder" var2="0"/>
4425 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004426 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004427 <actions>
4428 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004430 <action function="set">tw_filemanager_command=mv</action>
4431 <action function="page">filemanagerrenamefile</action>
4432 </actions>
4433 </button>
4434
4435 <button style="main_button_half_height">
4436 <condition var1="tw_fm_isfolder" var2="1"/>
4437 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004438 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004439 <actions>
4440 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004442 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4443 <action function="page">filemanagerrenamefolder</action>
4444 </actions>
4445 </button>
4446
4447 <action>
4448 <touch key="home"/>
4449 <action function="page">main</action>
4450 </action>
4451
4452 <action>
4453 <touch key="back"/>
4454 <action function="page">filemanagerlist</action>
4455 </action>
4456 </page>
4457
4458 <page name="choosedestinationfolder">
4459 <template name="page"/>
4460
4461 <text style="text_l">
4462 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004463 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004464 </text>
4465
4466 <text style="text_m">
4467 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004468 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004469 </text>
4470
4471 <template name="sort_options"/>
4472
4473 <fileselector>
4474 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4475 <text>%tw_file_location2%</text>
4476 <filter folders="1" files="0"/>
4477 <path name="tw_file_location2" default="/"/>
4478 <data name="tw_filename2"/>
4479 <selection name="tw_selection2"/>
4480 </fileselector>
4481
4482 <button style="fab">
4483 <image resource="fab_selectfolder"/>
4484 <actions>
4485 <action function="set">tw_fm_text2=to</action>
4486 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4487 <action function="set">tw_include_text3=1</action>
4488 <action function="set">tw_back=filemanageroptions</action>
4489 <action function="page">filemanagerconfirm</action>
4490 </actions>
4491 </button>
4492
4493 <action>
4494 <touch key="home"/>
4495 <action function="page">main</action>
4496 </action>
4497
4498 <action>
4499 <touch key="back"/>
4500 <action function="page">filemanageroptions</action>
4501 </action>
4502 </page>
4503
4504 <page name="filemanagerrenamefile">
4505 <template name="page"/>
4506
4507 <text style="text_l">
4508 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <text style="text_m">
4513 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 </text>
4516
4517 <text style="text_m_accent">
4518 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004519 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 </text>
4521
4522 <input>
4523 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4524 <text>%tw_filemanager_rename%</text>
4525 <data name="tw_filemanager_rename"/>
4526 <restrict minlen="1" maxlen="128"/>
4527 <actions>
4528 <action function="set">tw_fm_text2=to</action>
4529 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4530 <action function="set">tw_include_text3=1</action>
4531 <action function="set">tw_back=filemanageroptions</action>
4532 <action function="page">filemanagerconfirm</action>
4533 </actions>
4534 </input>
4535
4536 <fill color="%accent_color%">
4537 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4538 </fill>
4539
4540 <button style="main_button_half_height">
4541 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 <action function="page">filemanageroptions</action>
4544 </button>
4545
4546 <template name="keyboardtemplate"/>
4547
4548 <action>
4549 <touch key="home"/>
4550 <action function="page">main</action>
4551 </action>
4552
4553 <action>
4554 <touch key="back"/>
4555 <action function="page">filemanageroptions</action>
4556 </action>
4557 </page>
4558
4559 <page name="filemanagerrenamefolder">
4560 <template name="page"/>
4561
4562 <text style="text_l">
4563 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004564 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004565 </text>
4566
4567 <text style="text_m">
4568 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004569 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004570 </text>
4571
4572 <text style="text_m_accent">
4573 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 </text>
4576
4577 <input>
4578 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4579 <text>%tw_filemanager_rename%</text>
4580 <data name="tw_filemanager_rename"/>
4581 <restrict minlen="1" maxlen="128"/>
4582 <actions>
4583 <action function="set">tw_fm_text2=to</action>
4584 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4585 <action function="set">tw_include_text3=1</action>
4586 <action function="set">tw_back=filemanageroptions</action>
4587 <action function="page">filemanagerconfirm</action>
4588 </actions>
4589 </input>
4590
4591 <fill color="%accent_color%">
4592 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4593 </fill>
4594
4595 <button style="main_button_half_height">
4596 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004597 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004598 <action function="page">filemanageroptions</action>
4599 </button>
4600
4601 <template name="keyboardtemplate"/>
4602
4603 <action>
4604 <touch key="home"/>
4605 <action function="page">main</action>
4606 </action>
4607
4608 <action>
4609 <touch key="back"/>
4610 <action function="page">filemanageroptions</action>
4611 </action>
4612 </page>
4613
4614 <page name="filemanagerchmod">
4615 <template name="page"/>
4616
4617 <text style="text_l">
4618 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004619 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004620 </text>
4621
4622 <text style="text_m">
4623 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004624 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004625 </text>
4626
4627 <text style="text_m_accent">
4628 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 </text>
4631
4632 <input>
4633 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4634 <text>%tw_filemanager_rename%</text>
4635 <data name="tw_filemanager_rename"/>
4636 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4637 <actions>
4638 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4639 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4640 <action function="set">tw_back=filemanageroptions</action>
4641 <action function="page">filemanagerconfirm</action>
4642 </actions>
4643 </input>
4644
4645 <fill color="%accent_color%">
4646 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4647 </fill>
4648
4649 <button style="main_button_half_height">
4650 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004651 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004652 <action function="page">filemanageroptions</action>
4653 </button>
4654
4655 <template name="keyboardtemplate"/>
4656
4657 <action>
4658 <touch key="home"/>
4659 <action function="page">main</action>
4660 </action>
4661
4662 <action>
4663 <touch key="back"/>
4664 <action function="page">filemanageroptions</action>
4665 </action>
4666 </page>
4667
4668 <page name="filemanagerconfirm">
4669 <template name="page"/>
4670
4671 <text style="text_l">
4672 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004673 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 </text>
4675
4676 <text style="text_m">
4677 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004678 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004679 </text>
4680
4681 <text style="text_m_accent">
4682 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4683 <text>%tw_fm_text1%</text>
4684 </text>
4685
4686 <text style="text_m">
4687 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4688 <text>%tw_filename1%</text>
4689 </text>
4690
4691 <text style="text_m_accent">
4692 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4693 <text>%tw_fm_text2%</text>
4694 </text>
4695
4696 <text style="text_m">
4697 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4698 <text>%tw_fm_text3%</text>
4699 </text>
4700
4701 <text style="text_m">
4702 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004703 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004704 </text>
4705
4706 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004707 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004708 <action function="page">filemanageraction</action>
4709 </slider>
4710
4711 <action>
4712 <touch key="back"/>
4713 <action function="page">%tw_back%</action>
4714 </action>
4715
4716 <action>
4717 <touch key="home"/>
4718 <action function="page">main</action>
4719 </action>
4720 </page>
4721
4722 <page name="filemanageraction">
4723 <template name="page"/>
4724
4725 <text style="text_l">
4726 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004727 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004728 </text>
4729
4730 <text style="text_m">
4731 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4732 <text>%tw_fm_text1%</text>
4733 </text>
4734
4735 <template name="console"/>
4736
4737 <template name="progress_bar"/>
4738
4739 <action>
4740 <conditions>
4741 <condition var1="tw_operation_state" var2="1"/>
4742 <condition var1="tw_operation_status" var2="0"/>
4743 </conditions>
4744 <actions>
4745 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004746 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004747 <action function="page">action_complete</action>
4748 </actions>
4749 </action>
4750
4751 <action>
4752 <conditions>
4753 <condition var1="tw_operation_state" var2="1"/>
4754 <condition var1="tw_operation_status" op="!=" var2="0"/>
4755 </conditions>
4756 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004757 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004758 <action function="page">action_complete</action>
4759 </actions>
4760 </action>
4761
4762 <action>
4763 <condition var1="tw_include_text3" var2="0"/>
4764 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4765 </action>
4766
4767 <action>
4768 <condition var1="tw_include_text3" var2="1"/>
4769 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4770 </action>
4771 </page>
4772
4773 <page name="decrypt">
4774 <template name="page"/>
4775
4776 <action>
4777 <condition var1="tw_crypto_pwtype" var2="2"/>
4778 <action function="page">decrypt_pattern</action>
4779 </action>
4780
4781 <text style="text_l">
4782 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004783 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004784 </text>
4785
4786 <text style="text_m">
4787 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004788 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004789 </text>
4790
4791 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004792 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004793 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004794 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004795 </text>
4796
Noah Jacobson81d638d2019-04-28 00:10:07 -04004797 <text style="text_m_accent">
4798 <condition var1="tw_is_fbe" var2="1"/>
4799 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4800 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4801 </text>
4802
z31s1g28f0a922015-11-07 18:50:22 +01004803 <input>
4804 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4805 <text>%tw_crypto_display%</text>
4806 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4807 <restrict minlen="1" maxlen="254"/>
4808 <action function="page">trydecrypt</action>
4809 </input>
4810
4811 <fill color="%accent_color%">
4812 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4813 </fill>
4814
4815 <fill color="%text_fail_color%">
4816 <condition var1="tw_password_fail" var2="1"/>
4817 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4818 </fill>
4819
4820 <text style="text_m_fail">
4821 <condition var1="tw_password_fail" var2="1"/>
4822 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004823 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004824 </text>
4825
4826 <button style="main_button_half_height">
4827 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004828 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004829 <actions>
4830 <action function="set">tw_page_done=1</action>
4831 <action function="page">main</action>
4832 </actions>
4833 </button>
4834
z31s1g608d7ff2016-01-18 19:47:25 +01004835 <button style="main_button_half_height">
4836 <placement x="%center_x%" y="%row10_y%"/>
4837 <text>{@sel_lang_btn=Select Language}</text>
4838 <action function="overlay">select_language</action>
4839 </button>
4840
z31s1g28f0a922015-11-07 18:50:22 +01004841 <template name="keyboardtemplate"/>
4842 </page>
4843
4844 <page name="decrypt_pattern">
4845 <template name="page"/>
4846
4847 <text style="text_l">
4848 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004849 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004850 </text>
4851
4852 <text style="text_m">
4853 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004854 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004855 </text>
4856
4857 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004858 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004859 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004860 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004861 </text>
4862
Noah Jacobson81d638d2019-04-28 00:10:07 -04004863 <text style="text_m_accent">
4864 <condition var1="tw_is_fbe" var2="1"/>
4865 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4866 <text>{@decrypt_data_enter_pattern_fbe=Enter Pattern for User [%tw_crypto_user_id%]}</text>
4867 </text>
4868
Aleksa Saraib25a1832015-12-31 17:36:00 +01004869 <text style="text_m_fail">
4870 <condition var1="tw_password_fail" var2="1"/>
4871 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004872 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004873 </text>
4874
z31s1g28f0a922015-11-07 18:50:22 +01004875 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004876 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004877 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4878 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4879 <data name="tw_crypto_password"/>
4880 <action function="page">trydecrypt</action>
4881 </patternpassword>
4882
Aleksa Saraib25a1832015-12-31 17:36:00 +01004883 <button style="button_quarter_width">
4884 <placement x="%indent%" y="%row19a_y%"/>
4885 <text>3x3</text>
4886 <action function="set">tw_gui_pattern_grid_size=3</action>
4887 </button>
4888
4889 <button style="button_quarter_width">
4890 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4891 <text>4x4</text>
4892 <action function="set">tw_gui_pattern_grid_size=4</action>
4893 </button>
4894
4895 <button style="button_quarter_width">
4896 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4897 <text>5x5</text>
4898 <action function="set">tw_gui_pattern_grid_size=5</action>
4899 </button>
4900
4901 <button style="button_quarter_width">
4902 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4903 <text>6x6</text>
4904 <action function="set">tw_gui_pattern_grid_size=6</action>
4905 </button>
4906
z31s1g28f0a922015-11-07 18:50:22 +01004907 <button style="main_button_half_height">
4908 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004909 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004910 <actions>
4911 <action function="set">tw_page_done=1</action>
4912 <action function="page">main</action>
4913 </actions>
4914 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004915
4916 <button style="main_button_half_height">
4917 <placement x="%center_x%" y="%row21a_y%"/>
4918 <text>{@sel_lang_btn=Select Language}</text>
4919 <action function="overlay">select_language</action>
4920 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004921 </page>
4922
4923 <page name="trydecrypt">
4924 <template name="page"/>
4925
4926 <text style="text_l">
4927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004928 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004929 </text>
4930
4931 <text style="text_m">
4932 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004933 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004934 </text>
4935
4936 <template name="console"/>
4937
4938 <template name="progress_bar"/>
4939
4940 <action>
4941 <action function="decrypt"/>
4942 </action>
4943
4944 <action>
4945 <conditions>
4946 <condition var1="tw_operation_state" var2="1"/>
4947 <condition var1="tw_operation_status" op="!=" var2="0"/>
4948 </conditions>
4949 <actions>
4950 <action function="set">tw_password_fail=1</action>
4951 <action function="page">decrypt</action>
4952 </actions>
4953 </action>
4954
4955 <action>
4956 <conditions>
4957 <condition var1="tw_operation_state" var2="1"/>
4958 <condition var1="tw_operation_status" op="=" var2="0"/>
4959 </conditions>
4960 <actions>
4961 <action function="set">tw_page_done=1</action>
4962 <action function="page">main</action>
4963 </actions>
4964 </action>
4965 </page>
4966
z31s1g28f0a922015-11-07 18:50:22 +01004967 <page name="terminalcommand">
4968 <template name="page"/>
4969
z31s1g56189522016-01-13 19:12:40 +01004970 <fill color="%background_color%">
4971 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004972 </fill>
4973
z31s1g56189522016-01-13 19:12:40 +01004974 <terminal>
4975 <condition var1="tw_hide_kb" var2="0"/>
4976 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4977 </terminal>
4978
4979 <terminal>
4980 <condition var1="tw_hide_kb" var2="1"/>
4981 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4982 </terminal>
4983
4984 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004985
4986 <template name="keyboardtemplate"/>
4987
z31s1g608d7ff2016-01-18 19:47:25 +01004988 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004989 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004990 </fill>
z31s1g56189522016-01-13 19:12:40 +01004991
z31s1g608d7ff2016-01-18 19:47:25 +01004992 <button>
z31s1g56189522016-01-13 19:12:40 +01004993 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4994 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4995 <image resource="back" />
4996 <condition var1="tw_busy" var2="0" />
4997 <actions>
4998 <action function="set">tw_hide_kb=0</action>
4999 <action function="key">back</action>
5000 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005001 </button>
z31s1g56189522016-01-13 19:12:40 +01005002
z31s1g608d7ff2016-01-18 19:47:25 +01005003 <button>
z31s1g56189522016-01-13 19:12:40 +01005004 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5005 <condition var1="tw_hide_kb" op="=" var2="0" />
5006 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5007 <image resource="kb_hide" />
5008 <condition var1="tw_busy" var2="0" />
5009 <actions>
5010 <action function="set">tw_hide_kb=1</action>
5011 <action function="page">terminalcommand</action>
5012 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005013 </button>
z31s1g56189522016-01-13 19:12:40 +01005014
z31s1g608d7ff2016-01-18 19:47:25 +01005015 <button>
z31s1g56189522016-01-13 19:12:40 +01005016 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5017 <condition var1="tw_hide_kb" op="=" var2="1" />
5018 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5019 <image resource="kb_show" />
5020 <condition var1="tw_busy" var2="0" />
5021 <actions>
5022 <action function="set">tw_hide_kb=0</action>
5023 <action function="page">terminalcommand</action>
5024 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005025 </button>
z31s1g56189522016-01-13 19:12:40 +01005026
z31s1g608d7ff2016-01-18 19:47:25 +01005027 <button>
z31s1g56189522016-01-13 19:12:40 +01005028 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5029 <image resource="home" />
5030 <condition var1="tw_busy" var2="0" />
5031 <actions>
5032 <action function="set">tw_hide_kb=0</action>
5033 <action function="key">home</action>
5034 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005035 </button>
z31s1g56189522016-01-13 19:12:40 +01005036
z31s1g608d7ff2016-01-18 19:47:25 +01005037 <button>
z31s1g56189522016-01-13 19:12:40 +01005038 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5039 <condition var1="tw_hide_kb" op="=" var2="0" />
5040 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5041 <image resource="kb_hide" />
5042 <condition var1="tw_busy" var2="0" />
5043 <actions>
5044 <action function="set">tw_hide_kb=1</action>
5045 <action function="page">terminalcommand</action>
5046 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005047 </button>
z31s1g56189522016-01-13 19:12:40 +01005048
z31s1g608d7ff2016-01-18 19:47:25 +01005049 <button>
z31s1g56189522016-01-13 19:12:40 +01005050 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5051 <condition var1="tw_hide_kb" op="=" var2="1" />
5052 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5053 <image resource="kb_show" />
5054 <condition var1="tw_busy" var2="0" />
5055 <actions>
5056 <action function="set">tw_hide_kb=0</action>
5057 <action function="page">terminalcommand</action>
5058 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005059 </button>
z31s1g56189522016-01-13 19:12:40 +01005060
z31s1g608d7ff2016-01-18 19:47:25 +01005061 <button>
z31s1g56189522016-01-13 19:12:40 +01005062 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5063 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5064 <image resource="back" />
5065 <condition var1="tw_busy" var2="0" />
5066 <actions>
5067 <action function="set">tw_hide_kb=0</action>
5068 <action function="key">back</action>
5069 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005070 </button>
z31s1g56189522016-01-13 19:12:40 +01005071
z31s1g28f0a922015-11-07 18:50:22 +01005072 <action>
5073 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005074 <actions>
5075 <action function="set">tw_hide_kb=0</action>
5076 <action function="page">main</action>
5077 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005078 </action>
5079
5080 <action>
5081 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005082 <actions>
5083 <action function="set">tw_hide_kb=0</action>
5084 <action function="page">advanced</action>
5085 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005086 </action>
z31s1g56189522016-01-13 19:12:40 +01005087
z31s1g608d7ff2016-01-18 19:47:25 +01005088 <action>
z31s1g56189522016-01-13 19:12:40 +01005089 <touch key="power+voldown" />
5090 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01005091 </action>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </page>
5093
bigbiffdf8436b2020-08-30 16:22:34 -04005094 <page name="fastboot">
5095 <template name="page"/>
5096
5097 <text style="text_l">
5098 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5099 <text>{@fastboot_button=Fastboot}</text>
5100 </text>
5101
5102 <template name="console"/>
5103
5104 <template name="progress_bar"/>
5105
5106 <button style="main_button_half_height">
5107 <condition var1="tw_enable_fastboot" op="=" var2="1" />
5108 <placement x="%indent%" y="%row21a_y%"/>
5109 <text>{@enable_adb=Enable ADB}</text>
5110 <actions>
5111 <action function="enableadb"/>
5112 <action function="set">tw_enable_adb=1</action>
5113 <action function="set">tw_enable_fastboot=0</action>
5114 </actions>
5115 </button>
5116
5117 <button style="main_button_half_height">
5118 <condition var1="tw_enable_adb" op="=" var2="1" />
5119 <placement x="%indent%" y="%row21a_y%"/>
5120 <text>{@enable_fastboot=Enable Fastboot}</text>
5121 <actions>
5122 <action function="enablefastboot"/>
5123 <action function="set">tw_enable_fastboot=1</action>
5124 <action function="set">tw_enable_adb=0</action>
5125 </actions>
5126 </button>
5127
5128 <button style="main_button_half_height">
5129 <placement x="%center_x%" y="%row21a_y%"/>
5130 <text>{@reboot_btn=Reboot}</text>
5131 <action function="page">fastbootreboot</action>
5132 </button>
5133 </page>
5134
z31s1g28f0a922015-11-07 18:50:22 +01005135 <page name="sideload">
5136 <template name="page"/>
5137
5138 <text style="text_l">
5139 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005140 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005141 </text>
5142
5143 <text style="text_m">
5144 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005145 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005146 </text>
5147
5148 <checkbox>
5149 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005150 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005151 <data variable="tw_wipe_dalvik"/>
5152 </checkbox>
5153
5154 <checkbox>
5155 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005156 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005157 <data variable="tw_wipe_cache"/>
5158 </checkbox>
5159
5160 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05005161 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005162 <actions>
5163 <action function="set">tw_back=advanced</action>
5164 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005165 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5166 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5167 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005168 <action function="set">tw_has_cancel=1</action>
5169 <action function="set">tw_show_reboot=1</action>
5170 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5171 <action function="page">action_page</action>
5172 </actions>
5173 </slider>
5174
5175 <action>
5176 <touch key="home"/>
5177 <action function="page">main</action>
5178 </action>
5179
5180 <action>
5181 <touch key="back"/>
5182 <action function="page">advanced</action>
5183 </action>
5184 </page>
5185
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005186 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005187 <template name="page"/>
5188
5189 <text style="text_l">
5190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005191 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005192 </text>
5193
5194 <text style="text_m">
5195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005196 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005197 </text>
5198
5199 <text style="text_m_accent">
5200 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005201 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005202 </text>
5203
z31s1g28f0a922015-11-07 18:50:22 +01005204 <text style="text_m_fail">
5205 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005206 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005207 </text>
5208
5209 <text style="text_m_fail">
5210 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005211 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005212 </text>
5213
5214 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005215 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005216 <actions>
5217 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005218 <action function="set">tw_action=fixcontexts</action>
5219 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5220 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005221 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005222 <action function="set">tw_show_reboot=1</action>
5223 <action function="page">action_page</action>
5224 </actions>
5225 </slider>
5226
5227 <action>
5228 <touch key="home"/>
5229 <action function="page">main</action>
5230 </action>
5231
5232 <action>
5233 <touch key="back"/>
5234 <action function="page">advanced</action>
5235 </action>
5236 </page>
5237
z31s1g28f0a922015-11-07 18:50:22 +01005238 <page name="slideout">
5239 <fill color="%background_color%">
5240 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5241 </fill>
5242
5243 <console>
5244 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
5245 </console>
5246
5247 <button>
5248 <fill color="%transparent%"/>
5249 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5250 <action function="overlay"/>
5251 </button>
5252
5253 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005254 <touch key="power"/>
5255 <action function="togglebacklight"/>
5256 </action>
5257
5258 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005259 <touch key="power+voldown"/>
5260 <action function="screenshot"/>
5261 </action>
5262 </page>
5263
5264 <page name="select_storage">
5265 <fill color="%semi_transparent%">
5266 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5267 </fill>
5268
5269 <fill color="%background_color%">
5270 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5271 </fill>
5272
5273 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005274 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005275 <data name="tw_storage_path"/>
5276 <listtype name="storage"/>
5277 </partitionlist>
5278
5279 <button style="button_third_width">
5280 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005281 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005282 <actions>
5283 <action function="set">tw_clear_destination=%tw_back%</action>
5284 <action function="overlay"/>
5285 <action function="page">clear_vars</action>
5286 </actions>
5287 </button>
5288
5289 <fill color="#000000">
5290 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5291 </fill>
5292
5293 <button>
5294 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5295 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5296 <image resource="back"/>
5297 <condition var1="tw_busy" var2="0"/>
5298 <actions>
5299 <action function="overlay"/>
5300 <action function="key">%tw_back%</action>
5301 </actions>
5302 </button>
5303
5304 <button>
5305 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5306 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5307 <image resource="console"/>
5308 <condition var1="tw_busy" var2="0"/>
5309 <action function="overlay">slideout</action>
5310 </button>
5311
5312 <button>
5313 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5314 <image resource="home"/>
5315 <condition var1="tw_busy" var2="0"/>
5316 <actions>
5317 <action function="overlay"/>
5318 <action function="key">home</action>
5319 </actions>
5320 </button>
5321
5322 <button>
5323 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5324 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5325 <image resource="console"/>
5326 <condition var1="tw_busy" var2="0"/>
5327 <action function="overlay">slideout</action>
5328 </button>
5329
5330 <button>
5331 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5332 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5333 <image resource="back"/>
5334 <condition var1="tw_busy" var2="0"/>
5335 <actions>
5336 <action function="overlay"/>
5337 <action function="key">%tw_back%</action>
5338 </actions>
5339 </button>
5340
5341 <action>
5342 <touch key="power+voldown"/>
5343 <action function="screenshot"/>
5344 </action>
5345 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01005346
5347 <page name="select_language">
5348 <fill color="%semi_transparent%">
5349 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5350 </fill>
5351
5352 <fill color="%background_color%">
5353 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5354 </fill>
5355
5356 <listbox>
5357 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5358 <text>{@select_language=Select Language:}</text>
5359 <icon selected="radio_true" unselected="radio_false" />
5360 <data name="tw_language" />
5361 </listbox>
5362
5363 <button style="button_third_width">
5364 <placement x="%dialog_button_x%" y="%row14_y%"/>
5365 <text>{@ok_btn=OK}</text>
5366 <actions>
5367 <action function="overlay"/>
5368 <action function="setlanguage"></action>
5369 </actions>
5370 </button>
5371
5372 <fill color="#000000">
5373 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5374 </fill>
5375
5376 <button>
5377 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5378 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5379 <image resource="back"/>
5380 <condition var1="tw_busy" var2="0"/>
5381 <actions>
5382 <action function="overlay"/>
5383 <action function="key">%tw_back%</action>
5384 </actions>
5385 </button>
5386
5387 <button>
5388 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5389 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5390 <image resource="console"/>
5391 <condition var1="tw_busy" var2="0"/>
5392 <action function="overlay">slideout</action>
5393 </button>
5394
5395 <button>
5396 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5397 <image resource="home"/>
5398 <condition var1="tw_busy" var2="0"/>
5399 <actions>
5400 <action function="overlay"/>
5401 <action function="key">home</action>
5402 </actions>
5403 </button>
5404
5405 <button>
5406 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5407 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5408 <image resource="console"/>
5409 <condition var1="tw_busy" var2="0"/>
5410 <action function="overlay">slideout</action>
5411 </button>
5412
5413 <button>
5414 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5415 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5416 <image resource="back"/>
5417 <condition var1="tw_busy" var2="0"/>
5418 <actions>
5419 <action function="overlay"/>
5420 <action function="key">%tw_back%</action>
5421 </actions>
5422 </button>
5423
5424 <action>
5425 <touch key="power+voldown"/>
5426 <action function="screenshot"/>
5427 </action>
5428 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005429
5430 <page name="decrypt_users">
5431 <template name="page"/>
5432
5433 <text style="text_l">
5434 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5435 <text>{@decrypt_users=Decrypt Users}</text>
5436 </text>
5437
5438 <text style="text_m_accent">
5439 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5440 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5441 </text>
5442
5443 <listbox>
5444 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_advanced_height%"/>
5445 <text>{@select_user=Select User}</text>
5446 <icon selected="radio_true" unselected="radio_false" />
5447 <data name="tw_crypto_user_id" />
5448 </listbox>
5449
5450 <button style="main_button_half_height">
5451 <placement x="%center_x%" y="%row21a_y%"/>
5452 <text>{@decrypt_users=Decrypt Users}</text>
5453 <action function="set">tw_crypto_password=</action>
5454 <action function="set">tw_password_fail=0</action>
5455 <action function="page">decrypt</action>
5456 </button>
5457
5458 <action>
5459 <touch key="home"/>
5460 <action function="page">main</action>
5461 </action>
5462
5463 <action>
5464 <touch key="back"/>
5465 <action function="page">advanced</action>
5466 </action>
5467 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005468 </pages>
5469</recovery>