blob: 3ac0d285e7727fb75e59c9ec78fb5f79c33a2945 [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="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300142 <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 +0100143 </style>
144
145 <style name="partitionlist">
146 <highlight color="%fileselector_highlight_color%"/>
147 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
148 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
149 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
150 <icon selected="checkbox_true" unselected="checkbox_false"/>
151 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
152 <background color="%background_color%"/>
153 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
154 </style>
155
156 <style name="partitionlist_storage">
157 <highlight color="%fileselector_highlight_color%"/>
158 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
159 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="radio_true" unselected="radio_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
Ethan Yonker64e0a652018-07-25 09:52:17 -0500168 <style name="advanced_listbox">
169 <highlight color="%fileselector_highlight_color%"/>
170 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
171 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
172 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
173 <icon selected="handle" unselected="handle"/>
174 <background color="%background_color%"/>
175 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
176 </style>
177
epicX9597b842021-03-20 21:58:17 +0530178 <style name="options_listbox">
179 <highlight color="%fileselector_highlight_color%"/>
180 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
181 <separator color="%background_color%" height="%fileselector_separatorheight%"/>
182 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
183 <background color="%background_color%"/>
184 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
185 </style>
186
z31s1g28f0a922015-11-07 18:50:22 +0100187 <style name="slider">
188 <placement x="%col2_x_right%" y="%row17a_y%"/>
189 <font resource="font_m" color="%text_color%"/>
190 <resource base="slider" used="slider_used" touch="slider_touch"/>
191 </style>
192
193 <style name="slider_centered">
194 <placement x="%center_x%" y="%row17a_y%"/>
195 <font resource="font_m" color="%text_color%"/>
196 <resource base="slider" used="slider_used" touch="slider_touch"/>
197 </style>
198
199 <style name="slidervalue">
200 <resource handle="handle"/>
201 <font resource="font_m" color="%text_color%"/>
202 <colors line="%fileselector_linecolor%"/>
203 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
204 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100205
206 <style name="patternpassword">
207 <size name="tw_gui_pattern_grid_size" default="3"/>
208 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100209 </styles>
210
211 <pages>
212 <page name="main">
213 <action>
214 <actions>
215 <action function="set">tw_clear_destination=main2</action>
216 <action function="page">clear_vars</action>
217 </actions>
218 </action>
219 </page>
220
221 <page name="main2">
222 <template name="page"/>
223
224 <text style="text_l">
225 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500226 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100227 </text>
228
229 <text style="text_m">
230 <condition var1="tw_no_cpu_temp" var2="0"/>
231 <placement x="%col1_x_header%" y="%row4_header_y%"/>
232 <text>%tw_version%</text>
233 </text>
234
235 <button style="main_button">
236 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500237 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100238 <actions>
239 <action function="queueclear"/>
240 <action function="set">tw_selectimage=0</action>
241 <action function="page">install</action>
242 </actions>
243 </button>
244
245 <button style="main_button">
246 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500247 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100248 <action function="page">wipe</action>
249 </button>
250
251 <button style="main_button">
252 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500253 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100254 <action function="page">backup</action>
255 </button>
256
257 <button style="main_button">
258 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500259 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100260 <action function="page">restore</action>
261 </button>
262
263 <button style="main_button">
264 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500265 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100266 <action function="page">mount</action>
267 </button>
268
269 <button style="main_button">
270 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500271 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100272 <action function="page">settings</action>
273 </button>
274
275 <button style="main_button">
276 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500277 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100278 <action function="page">advanced</action>
279 </button>
280
281 <button style="main_button">
282 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500283 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100284 <action function="page">reboot</action>
285 </button>
286 </page>
287
288 <page name="install">
289 <template name="page"/>
290
291 <text style="text_l">
292 <condition var1="tw_selectimage" var2="0"/>
293 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500294 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100295 </text>
296
297 <text style="text_l">
298 <condition var1="tw_selectimage" var2="1"/>
299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500300 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100301 </text>
302
303 <text style="text_m">
304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500305 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100306 </text>
307
308 <template name="sort_options"/>
309
310 <fileselector>
311 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500312 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100313 <filter folders="1" files="0"/>
314 <path name="tw_zip_location" default="/sdcard"/>
315 <data name="select"/>
316 </fileselector>
317
318 <fileselector>
319 <condition var1="tw_selectimage" var2="0"/>
320 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
321 <text>%tw_zip_location%</text>
mauronofrio6d3bf892019-10-26 19:47:55 +0200322 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
Ian Macdonalde7c34e52021-01-23 18:52:28 +0100323 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100324 <path name="tw_zip_location" default="/sdcard"/>
325 <data name="tw_filename"/>
326 <selection name="tw_file"/>
327 </fileselector>
328
329 <fileselector>
330 <condition var1="tw_selectimage" var2="1"/>
331 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
332 <text>%tw_zip_location%</text>
333 <filter extn=".img" folders="0" files="1"/>
334 <path name="tw_zip_location" default="/sdcard"/>
335 <data name="tw_filename"/>
336 <selection name="tw_file"/>
337 </fileselector>
338
339 <button style="main_button_half_width_low">
340 <condition var1="tw_selectimage" var2="0"/>
341 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500342 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100343 <actions>
344 <action function="set">tw_selectimage=1</action>
345 <action function="page">install</action>
346 </actions>
347 </button>
348
349 <button style="main_button_half_width_low">
350 <condition var1="tw_selectimage" var2="1"/>
351 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500352 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100353 <actions>
354 <action function="set">tw_selectimage=0</action>
355 <action function="page">install</action>
356 </actions>
357 </button>
358
359 <button style="main_button_half_width_low">
360 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500361 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100362 <actions>
363 <action function="set">tw_back=install</action>
364 <action function="overlay">select_storage</action>
365 </actions>
366 </button>
367
368 <action>
369 <conditions>
370 <condition var1="tw_selectimage" var2="0"/>
371 <condition var1="tw_filename" op="modified"/>
372 </conditions>
373 <actions>
374 <action function="queuezip"/>
375 <action function="page">flash_confirm</action>
376 </actions>
377 </action>
378
379 <action>
380 <conditions>
381 <condition var1="tw_selectimage" var2="1"/>
382 <condition var1="tw_filename" op="modified"/>
383 </conditions>
epicX8f52c0a2021-02-24 23:12:08 +0530384 <actions>
385 <action function="set">tw_is_slot_part=0</action>
386 <action function="page">flashimage_confirm</action>
387 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100388 </action>
389
390 <action>
391 <touch key="back"/>
392 <action function="page">main</action>
393 </action>
394
395 <action>
396 <touch key="home"/>
397 <action function="page">main</action>
398 </action>
399 </page>
400
401 <page name="flash_confirm">
402 <template name="page"/>
403
404 <text style="text_l">
405 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500406 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100407 </text>
408
409 <text style="text_m">
410 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500411 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100412 </text>
413
414 <text style="text_m_accent">
415 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500416 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100417 </text>
418
419 <text style="text_m_accent">
420 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500421 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100422 </text>
423
424 <text style="text_m">
425 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500426 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100427 </text>
428
429 <text style="text_m_accent">
430 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500431 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100432 </text>
433
434 <text style="text_m">
435 <placement x="%col1_x_left%" y="%row9_y%"/>
436 <text>%tw_zip_location%</text>
437 </text>
438
439 <text style="text_m_accent">
440 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500441 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100442 </text>
443
444 <text style="text_m">
445 <placement x="%col1_x_left%" y="%row12_y%"/>
446 <text>%tw_file%</text>
447 </text>
448
449 <text style="text_m_accent">
450 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 </text>
453
epicX9597b842021-03-20 21:58:17 +0530454 <listbox style="options_listbox">
455 <placement x="%col1_x_right%" y="%row9_y%" w="%content_half_width%" h="%listbox_options_height%"/>
456 <icon selected="checkbox_true" unselected="checkbox_false"/>
457 <listitem name="{@zip_sig_chk=Zip signature verification}">
458 <data variable="tw_signed_zip_verify"/>
459 </listitem>
460 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
461 <data variable="tw_skip_digest_check_zip"/>
462 </listitem>
463 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
464 <data variable="tw_install_reboot"/>
465 </listitem>
466 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
467 <condition var1="tw_has_injecttwrp" var2="1"/>
468 <data variable="tw_inject_after_zip"/>
469 </listitem>
470 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500471
z31s1g28f0a922015-11-07 18:50:22 +0100472 <button style="main_button_half_width">
473 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 <action function="page">install</action>
476 </button>
477
478 <button style="main_button_half_width">
479 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 <actions>
482 <action function="queueclear"/>
483 <action function="page">install</action>
484 </actions>
485 </button>
486
487 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 <action function="flash">flash_zip</action>
490 </slider>
491
492 <action>
493 <touch key="back"/>
494 <actions>
495 <action function="cancelzip"/>
496 <action function="page">install</action>
497 </actions>
498 </action>
499
500 <action>
501 <touch key="home"/>
502 <action function="page">main</action>
503 </action>
504 </page>
505
506 <page name="flash_zip">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m">
515 <placement x="%col1_x_header%" y="%row4_header_y%"/>
516 <text>%tw_file%</text>
517 </text>
518
519 <template name="console"/>
520
521 <template name="progress_bar"/>
522
523 <action>
524 <condition var1="tw_operation_state" var2="1"/>
525 <action function="page">flash_done</action>
526 </action>
527 </page>
528
529 <page name="flash_done">
530 <template name="page"/>
531
532 <text style="text_l">
533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <text style="text_m_fail">
538 <condition var1="tw_operation_status" op="!=" var2="0"/>
539 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500540 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100541 </text>
542
543 <text style="text_m">
544 <condition var1="tw_operation_status" var2="0"/>
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 </text>
548
549 <template name="console"/>
550
551 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500552 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500554 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100555 <actions>
556 <action function="set">tw_back=flash_done</action>
557 <action function="set">tw_action=wipe</action>
558 <action function="set">tw_action_param=/cache</action>
559 <action function="set">tw_has_action2=1</action>
560 <action function="set">tw_action2=wipe</action>
561 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500562 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
563 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
564 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
565 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100566 <action function="page">confirm_action</action>
567 </actions>
568 </button>
569
570 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500571 <condition var1="tw_ab_device" var2="1"/>
572 <placement x="%indent%" y="%row21a_y%"/>
573 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
574 <actions>
575 <action function="set">tw_back=flash_done</action>
576 <action function="set">tw_action=wipe</action>
577 <action function="set">tw_action_param=dalvik</action>
578 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
579 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
580 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
581 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
582 <action function="page">confirm_action</action>
583 </actions>
584 </button>
585
586 <button style="main_button_half_width">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100587 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100588 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 <actions>
591 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500592 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </actions>
594 </button>
595
Chaosmaster7b66bf52020-02-07 20:33:43 +0100596 <button style="main_button_half_width">
597 <condition var1="tw_ab_device" var2="1"/>
598 <placement x="%center_x%" y="%row15a_y%"/>
599 <text>{@reboot_btn=Reboot}</text>
600 <actions>
601 <action function="set">tw_back=main2</action>
602 <action function="page">reboot</action>
603 </actions>
604 </button>
605
606
z31s1g28f0a922015-11-07 18:50:22 +0100607 <action>
608 <touch key="back"/>
609 <actions>
610 <action function="set">tw_clear_destination=install</action>
611 <action function="page">clear_vars</action>
612 </actions>
613 </action>
614
615 <action>
616 <touch key="home"/>
617 <actions>
618 <action function="set">tw_clear_destination=main2</action>
619 <action function="page">clear_vars</action>
620 </actions>
621 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500622
623 <action>
624 <conditions>
625 <condition var1="tw_install_reboot" var2="1"/>
626 <condition var1="tw_operation_status" var2="0"/>
627 <condition var1="tw_reboot_system" var2="1"/>
628 </conditions>
629 <actions>
630 <action function="set">tw_sleep=%tw_sleep_total%</action>
631 <action function="page">flash_sleep_and_reboot</action>
632 </actions>
633 </action>
634 </page>
635
636 <page name="flash_sleep_and_reboot">
637 <template name="page"/>
638
639 <text style="text_l">
640 <placement x="%col1_x_header%" y="%row3_header_y%"/>
641 <text>{@install_zip_hdr=Install Zip}</text>
642 </text>
643
644 <text style="text_m">
645 <placement x="%col1_x_header%" y="%row4_header_y%"/>
646 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
647 </text>
648
649 <template name="console"/>
650
651 <template name="progress_bar"/>
652
653 <button style="main_button_half_width">
654 <condition var1="tw_sleep" op="&gt;" var2="0"/>
655 <placement x="%center_x%" y="%row15a_y%"/>
656 <text>{@cancel_btn=Cancel}</text>
657 <actions>
658 <action function="set">tw_install_reboot=0</action>
659 <action function="page">flash_done</action>
660 </actions>
661 </button>
662
663 <action>
664 <conditions>
665 <condition var1="tw_sleep" var2="tw_sleep_total"/>
666 <condition var1="tw_install_reboot" var2="1"/>
667 </conditions>
668 <action function="sleepcounter">%tw_sleep_total%</action>
669 </action>
670
671 <action>
672 <conditions>
673 <condition var1="tw_sleep" var2="0"/>
674 <condition var1="tw_install_reboot" var2="1"/>
675 </conditions>
676 <actions>
677 <action function="sleep">50000</action>
678 <action function="set">tw_back=main2</action>
679 <action function="page">reboot_system_routine</action>
680 </actions>
681 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 </page>
683
684 <page name="flashimage_confirm">
685 <template name="page"/>
686
687 <text style="text_l">
688 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500689 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100690 </text>
691
692 <text style="text_m">
693 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100695 </text>
696
697 <text style="text_m_accent">
698 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500699 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100700 </text>
701
702 <text style="text_m">
703 <placement x="%col1_x_left%" y="%row9_y%"/>
704 <text>%tw_zip_location%</text>
705 </text>
706
707 <text style="text_m_accent">
708 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500709 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100710 </text>
711
712 <text style="text_m">
713 <placement x="%col1_x_left%" y="%row12_y%"/>
714 <text>%tw_file%</text>
715 </text>
716
717 <partitionlist>
718 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
719 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500720 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100721 <data name="tw_flash_partition"/>
722 <listtype name="flashimg"/>
723 </partitionlist>
724
epicX8f52c0a2021-02-24 23:12:08 +0530725 <button style="checkbox">
726 <conditions>
727 <condition var1="tw_is_slot_part" op="=" var2="1"/>
728 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
729 <condition var1="tw_has_boot_slots" var2="1"/>
730 </conditions>
731 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
732 <text>{@flash_ab_both_slots=Flash to both slots}</text>
733 <image resource="checkbox_false"/>
734 <action function="set">tw_flash_both_slots=1</action>
735 </button>
736
737 <button style="checkbox">
738 <conditions>
739 <condition var1="tw_is_slot_part" op="=" var2="1"/>
740 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
741 <condition var1="tw_has_boot_slots" var2="1"/>
742 </conditions>
743 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
744 <text>{@flash_ab_both_slots=Flash to both slots}</text>
745 <image resource="checkbox_true"/>
746 <action function="set">tw_flash_both_slots=0</action>
747 </button>
748
z31s1g28f0a922015-11-07 18:50:22 +0100749 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500750 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100751 <actions>
752 <action function="set">tw_back=flashimage_confirm</action>
753 <action function="set">tw_action=flashimage</action>
754 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500755 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100756 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500757 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100758 <action function="page">action_page</action>
759 </actions>
760 <action function="flashimage"/>
761 </slider>
762
763 <action>
764 <touch key="back"/>
765 <actions>
766 <action function="set">tw_clear_destination=install</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </action>
770
771 <action>
772 <touch key="home"/>
773 <actions>
774 <action function="set">tw_clear_destination=main2</action>
775 <action function="page">clear_vars</action>
776 </actions>
777 </action>
778 </page>
779
780 <page name="clear_vars">
781 <action>
782 <action function="set">tw_operation_state=0</action>
783 <action function="set">tw_text1=</action>
784 <action function="set">tw_text2=</action>
785 <action function="set">tw_text3=</action>
786 <action function="set">tw_text4=</action>
787 <action function="set">tw_action_text1=</action>
788 <action function="set">tw_action_text2=</action>
789 <action function="set">tw_action_param=</action>
790 <action function="set">tw_has_action2=0</action>
791 <action function="set">tw_action2=</action>
792 <action function="set">tw_action2_param=</action>
793 <action function="set">tw_has_cancel=0</action>
794 <action function="set">tw_cancel_action=</action>
795 <action function="set">tw_cancel_param=</action>
796 <action function="set">tw_show_exclamation=0</action>
797 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400798 <action function="set">tw_crypto_user_id=</action>
799 <action function="set">tw_multiuser_warning_accepted=</action>
800 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100801 <action function="page">%tw_clear_destination%</action>
802 </action>
803 </page>
804
Matt Mower908dd252016-05-25 02:26:50 -0500805 <page name="reboot_system_routine">
806 <action>
807 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500808 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500809 <action function="set">tw_has_action2=0</action>
810 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
811 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
812 <action function="set">tw_text3=</action>
813 <action function="set">tw_text4=</action>
814 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
815 <action function="set">tw_action_text2=</action>
816 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
817 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
818 <action function="page">rebootcheck</action>
819 </action>
820 </page>
821
z31s1g28f0a922015-11-07 18:50:22 +0100822 <page name="confirm_action">
823 <template name="page"/>
824
825 <text style="text_l">
826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500827 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100828 </text>
829
830 <text style="text_m">
831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
832 <text/>
833 </text>
834
835 <text style="text_m_accent">
836 <placement x="%center_x%" y="%row2_y%" placement="5"/>
837 <text>%tw_text1%</text>
838 </text>
839
840 <text style="text_m_accent">
841 <placement x="%center_x%" y="%row3_y%" placement="5"/>
842 <text>%tw_text2%</text>
843 </text>
844
845 <text style="text_m">
846 <placement x="%center_x%" y="%row4_y%" placement="5"/>
847 <text>%tw_text3%</text>
848 </text>
849
850 <text style="text_m">
851 <placement x="%center_x%" y="%row5_y%" placement="5"/>
852 <text>%tw_text4%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 </text>
859
860 <slider style="slider_centered">
861 <text>%tw_slider_text%</text>
862 <action function="page">action_page</action>
863 </slider>
864
865 <action>
866 <touch key="back"/>
867 <actions>
868 <action function="set">tw_clear_destination=%tw_back%</action>
869 <action function="page">clear_vars</action>
870 </actions>
871 </action>
872
873 <action>
874 <touch key="home"/>
875 <action function="page">main</action>
876 </action>
877 </page>
878
879 <page name="action_page">
880 <template name="page"/>
881
882 <text style="text_l">
883 <placement x="%col1_x_header%" y="%row3_header_y%"/>
884 <text>%tw_action_text1%</text>
885 </text>
886
887 <text style="text_m">
888 <placement x="%col1_x_header%" y="%row4_header_y%"/>
889 <text>%tw_action_text2%</text>
890 </text>
891
892 <template name="console"/>
893
894 <template name="progress_bar"/>
895
896 <button style="main_button_half_width">
897 <condition var1="tw_has_cancel" var2="1"/>
898 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
901 </button>
902
903 <action>
904 <condition var1="tw_operation_state" var2="1"/>
905 <actions>
906 <action function="page">action_complete</action>
907 </actions>
908 </action>
909
910 <action>
911 <condition var1="tw_has_action2" var2="0"/>
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 </actions>
915 </action>
916
917 <action>
918 <condition var1="tw_has_action2" var2="1"/>
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 <action function="%tw_action2%">%tw_action2_param%</action>
922 </actions>
923 </action>
924 </page>
925
926 <page name="singleaction_page">
927 <template name="page"/>
928
929 <text style="text_l">
930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
931 <text>%tw_action_text1%</text>
932 </text>
933
934 <text style="text_m">
935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
936 <text>%tw_action_text2%</text>
937 </text>
938
939 <template name="console"/>
940
941 <template name="progress_bar"/>
942
943 <action>
944 <condition var1="tw_operation_state" var2="1"/>
945 <actions>
946 <action function="set">tw_page_done=1</action>
947 </actions>
948 </action>
949
950 <action>
951 <condition var1="tw_has_action2" var2="0"/>
952 <actions>
953 <action function="%tw_action%">%tw_action_param%</action>
954 </actions>
955 </action>
956
957 <action>
958 <condition var1="tw_has_action2" var2="1"/>
959 <actions>
960 <action function="%tw_action%">%tw_action_param%</action>
961 <action function="%tw_action2%">%tw_action2_param%</action>
962 </actions>
963 </action>
964 </page>
965
966 <page name="action_complete">
967 <template name="page"/>
968
969 <text style="text_l">
970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
971 <text>%tw_complete_text1%</text>
972 </text>
973
974 <text style="text_m_fail">
975 <condition var1="tw_operation_status" op="!=" var2="0"/>
976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <text style="text_m">
981 <condition var1="tw_operation_status" var2="0"/>
982 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500983 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100984 </text>
985
986 <template name="console"/>
987
988 <button style="main_button_half_width">
989 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500990 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100991 <actions>
992 <action function="set">tw_clear_destination=%tw_back%</action>
993 <action function="page">clear_vars</action>
994 </actions>
995 </button>
996
997 <button style="main_button_half_width">
998 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <actions>
1001 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001002 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001003 </actions>
1004 </button>
1005
1006 <action>
1007 <touch key="home"/>
1008 <actions>
1009 <action function="set">tw_clear_destination=main2</action>
1010 <action function="page">clear_vars</action>
1011 </actions>
1012 </action>
1013
1014 <action>
1015 <touch key="back"/>
1016 <actions>
1017 <action function="set">tw_clear_destination=%tw_back%</action>
1018 <action function="page">clear_vars</action>
1019 </actions>
1020 </action>
1021 </page>
1022
1023 <page name="filecheck">
1024 <action>
1025 <action function="fileexists">%tw_filecheck%</action>
1026 </action>
1027
1028 <action>
1029 <conditions>
1030 <condition var1="tw_operation_state" var2="1"/>
1031 <condition var1="tw_operation_status" var2="0"/>
1032 </conditions>
1033 <actions>
1034 <action function="set">tw_fileexists=1</action>
1035 <action function="page">%tw_existpage%</action>
1036 </actions>
1037 </action>
1038
1039 <action>
1040 <conditions>
1041 <condition var1="tw_operation_state" var2="1"/>
1042 <condition var1="tw_operation_status" var2="1"/>
1043 </conditions>
1044 <actions>
1045 <action function="set">tw_fileexists=0</action>
1046 <action function="page">%tw_notexistpage%</action>
1047 </actions>
1048 </action>
1049 </page>
1050
1051 <page name="rebootcheck">
1052 <action>
1053 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001054 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </action>
1056
1057 <action>
1058 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1059 <action function="page">confirm_action</action>
1060 </action>
1061 </page>
1062
1063 <page name="wipe">
1064 <template name="page"/>
1065
1066 <text style="text_l">
1067 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 </text>
1070
1071 <text style="text_m">
1072 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 </text>
1075
1076 <text style="text_m_accent">
1077 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 </text>
1080
1081 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001082 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001083 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1084 </text>
1085
1086 <text style="text_m_accent">
1087 <condition var1="tw_has_data_media" var2="1"/>
1088 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001090 </text>
1091
1092 <text style="text_m_accent">
1093 <conditions>
1094 <condition var1="tw_has_android_secure" var2="1"/>
1095 <condition var1="fileexists" var2="/and-sec"/>
1096 </conditions>
1097 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 </text>
1100
1101 <text style="text_m_accent">
1102 <condition var1="tw_has_sdext_partition" var2="1"/>
1103 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 </text>
1106
1107 <text style="text_m">
1108 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 </text>
1111
1112 <text style="text_m">
1113 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001114 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001115 </text>
1116
1117 <text style="text_m">
1118 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 </text>
1121
1122 <button style="main_button_half_width">
1123 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <actions>
1126 <action function="set">partitionlisterror=0</action>
1127 <action function="page">advancedwipe</action>
1128 </actions>
1129 </button>
1130
1131 <button style="main_button_half_width">
1132 <condition var1="tw_has_data_media" var2="1"/>
1133 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <action function="page">formatdata</action>
1136 </button>
1137
1138 <button style="main_button_half_width">
1139 <conditions>
1140 <condition var1="tw_is_encrypted" var2="1"/>
1141 <condition var1="tw_has_data_media" var2="0"/>
1142 </conditions>
1143 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001144 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001145 <actions>
1146 <action function="set">tw_back=wipe</action>
1147 <action function="set">tw_action=wipe</action>
1148 <action function="set">tw_action_param=DATAMEDIA</action>
1149 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001150 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001151 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1153 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1154 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001155 <action function="page">confirm_action</action>
1156 </actions>
1157 </button>
1158
1159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1166 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset 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="back"/>
1173 <action function="page">main</action>
1174 </action>
1175
1176 <action>
1177 <touch key="home"/>
1178 <action function="page">main</action>
1179 </action>
1180 </page>
1181
1182 <page name="advancedwipe">
1183 <template name="page"/>
1184
1185 <action>
1186 <action function="set">tw_wipe_list=</action>
1187 </action>
1188
1189 <text style="text_l">
1190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <partitionlist>
1200 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 <data name="tw_wipe_list"/>
1203 <listtype name="wipe"/>
1204 </partitionlist>
1205
1206 <text style="text_m_fail">
1207 <condition var1="partitionlisterror" var2="1"/>
1208 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 </text>
1211
1212 <button style="main_button_m">
1213 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001216 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001217 <action function="page">checkpartitionlist</action>
1218 </actions>
1219 </button>
1220
1221 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 <actions>
1224 <action function="set">tw_back=advancedwipe</action>
1225 <action function="set">tw_action=wipe</action>
1226 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001227 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1228 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1229 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <action function="page">action_page</action>
1231 </actions>
1232 </slider>
1233
1234 <action>
1235 <touch key="home"/>
1236 <action function="page">main</action>
1237 </action>
1238
1239 <action>
1240 <touch key="back"/>
1241 <action function="page">wipe</action>
1242 </action>
1243 </page>
1244
1245 <page name="formatdata">
1246 <template name="page"/>
1247
1248 <text style="text_l">
1249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m">
1254 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 </text>
1257
1258 <text style="text_m_fail">
1259 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 </text>
1262
1263 <text style="text_m_fail">
1264 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001265 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001266 </text>
1267
Ethan Yonker66a19492015-12-10 10:19:45 -06001268 <text style="text_m_fail">
1269 <condition var1="tw_has_adopted_storage" var2="1"/>
1270 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1271 <text>{@format_data_adopted=Including Adopted Storage}</text>
1272 </text>
1273
z31s1g28f0a922015-11-07 18:50:22 +01001274 <text style="text_m">
1275 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001276 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001277 </text>
1278
1279 <text style="text_m">
1280 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <input>
1285 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1286 <text>%tw_confirm_formatdata%</text>
1287 <data name="tw_confirm_formatdata"/>
1288 <restrict minlen="3" maxlen="3" allow="yes"/>
1289 <action function="page">formatdata_confirm</action>
1290 </input>
1291
1292 <fill color="%accent_color%">
1293 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1294 </fill>
1295
1296 <template name="keyboardtemplate"/>
1297
1298 <action>
1299 <touch key="home"/>
1300 <action function="page">main</action>
1301 </action>
1302
1303 <action>
1304 <touch key="back"/>
1305 <action function="page">wipe</action>
1306 </action>
1307 </page>
1308
1309 <page name="formatdata_confirm">
1310 <action>
1311 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1312 <actions>
1313 <action function="set">tw_back=formatdata</action>
1314 <action function="set">tw_action=wipe</action>
1315 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1317 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001318 <action function="page">action_page</action>
1319 </actions>
1320 </action>
1321
1322 <action>
1323 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1324 <action function="page">formatdata</action>
1325 </action>
1326 </page>
1327
1328 <page name="checkpartitionlist">
1329 <action>
1330 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1331 <actions>
1332 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001333 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <action function="page">partitionoptions</action>
1335 </actions>
1336 </action>
1337
1338 <action>
1339 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1340 <actions>
1341 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="page">advancedwipe</action>
1343 </actions>
1344 </action>
1345 </page>
1346
1347 <page name="partitionoptions">
1348 <template name="page"/>
1349
1350 <text style="text_l">
1351 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m">
1356 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m_accent">
1361 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <text style="text_m_accent">
1366 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <condition var1="tw_partition_is_present" var2="1"/>
1372 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <text style="text_m">
1377 <condition var1="tw_partition_is_present" var2="0"/>
1378 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m">
1383 <condition var1="tw_partition_removable" var2="1"/>
1384 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001385 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001386 </text>
1387
1388 <text style="text_m">
1389 <condition var1="tw_partition_removable" var2="0"/>
1390 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001392 </text>
1393
1394 <text style="text_m">
1395 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m">
1400 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m">
1405 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001407 </text>
1408
1409 <text style="text_m">
1410 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001412 </text>
1413
1414 <button style="main_button_half_width">
1415 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1416 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001418 <actions>
1419 <action function="set">tw_back=partitionoptions</action>
1420 <action function="set">tw_action=resize</action>
1421 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1422 <action function="set">tw_has_action2=1</action>
1423 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001424 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001426 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1428 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1429 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <action function="page">confirm_action</action>
1431 </actions>
1432 </button>
1433
1434 <button style="main_button_half_width">
1435 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1436 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 <actions>
1439 <action function="set">tw_back=partitionoptions</action>
1440 <action function="set">tw_action=repair</action>
1441 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1442 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001444 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1446 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1447 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001448 <action function="page">confirm_action</action>
1449 </actions>
1450 </button>
1451
1452 <button style="main_button_half_width">
1453 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001454 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001455 <action function="page">selectfilesystem</action>
1456 </button>
1457
1458 <action>
1459 <touch key="home"/>
1460 <action function="page">main</action>
1461 </action>
1462
1463 <action>
1464 <touch key="back"/>
1465 <action function="page">advancedwipe</action>
1466 </action>
1467 </page>
1468
1469 <page name="refreshfilesystem">
1470 <action>
1471 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1472 <actions>
1473 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001474 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">selectfilesystem</action>
1476 </actions>
1477 </action>
1478
1479 <action>
1480 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1481 <actions>
1482 <action function="set">partitionlisterror=1</action>
1483 <action function="set">tw_wipe_list=</action>
1484 <action function="page">advancedwipe</action>
1485 </actions>
1486 </action>
1487 </page>
1488
1489 <page name="selectfilesystem">
1490 <template name="page"/>
1491
1492 <text style="text_l">
1493 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001494 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001495 </text>
1496
1497 <text style="text_m">
1498 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001499 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001500 </text>
1501
1502 <text style="text_m_accent">
1503 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001504 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001505 </text>
1506
1507 <text style="text_m_accent">
1508 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001510 </text>
1511
1512 <text style="text_m_fail">
1513 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m_fail">
1518 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 </text>
1521
1522 <button style="main_button_half_width">
1523 <condition var1="tw_partition_ext" op="=" var2="1"/>
1524 <placement x="%col1_x_left%" y="%row11_y%"/>
1525 <text>EXT2</text>
1526 <actions>
1527 <action function="set">tw_back=refreshfilesystem</action>
1528 <action function="set">tw_action=changefilesystem</action>
1529 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1530 <action function="set">tw_action_new_file_system=ext2</action>
1531 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1533 <action function="set">tw_text2=EXT2</action>
1534 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1535 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1536 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001537 <action function="page">confirm_action</action>
1538 </actions>
1539 </button>
1540
1541 <button style="main_button_half_width">
1542 <condition var1="tw_partition_ext" op="=" var2="1"/>
1543 <placement x="%col2_x_left%" y="%row11_y%"/>
1544 <text>EXT3</text>
1545 <actions>
1546 <action function="set">tw_back=refreshfilesystem</action>
1547 <action function="set">tw_action=changefilesystem</action>
1548 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1549 <action function="set">tw_action_new_file_system=ext3</action>
1550 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1552 <action function="set">tw_text2=EXT3</action>
1553 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1554 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1555 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">confirm_action</action>
1557 </actions>
1558 </button>
1559
1560 <button style="main_button_half_width">
1561 <condition var1="tw_partition_ext" op="=" var2="1"/>
1562 <placement x="%center_x%" y="%row11_y%"/>
1563 <text>EXT4</text>
1564 <actions>
1565 <action function="set">tw_back=refreshfilesystem</action>
1566 <action function="set">tw_action=changefilesystem</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_action_new_file_system=ext4</action>
1569 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001570 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1571 <action function="set">tw_text2=EXT4</action>
1572 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1573 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1574 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001575 <action function="page">confirm_action</action>
1576 </actions>
1577 </button>
1578
1579 <button style="main_button_half_width">
1580 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1581 <placement x="%col2_x_right%" y="%row11_y%"/>
1582 <text>FAT</text>
1583 <actions>
1584 <action function="set">tw_back=refreshfilesystem</action>
1585 <action function="set">tw_action=changefilesystem</action>
1586 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1587 <action function="set">tw_action_new_file_system=vfat</action>
1588 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1590 <action function="set">tw_text2=FAT</action>
1591 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1592 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1593 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001594 <action function="page">confirm_action</action>
1595 </actions>
1596 </button>
1597
1598 <button style="main_button_half_width">
1599 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1600 <placement x="%col2_x_left%" y="%row15a_y%"/>
1601 <text>exFAT</text>
1602 <actions>
1603 <action function="set">tw_back=refreshfilesystem</action>
1604 <action function="set">tw_action=changefilesystem</action>
1605 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1606 <action function="set">tw_action_new_file_system=exfat</action>
1607 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1609 <action function="set">tw_text2=exFAT</action>
1610 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1611 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1612 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001613 <action function="page">confirm_action</action>
1614 </actions>
1615 </button>
1616
1617 <button style="main_button_half_width">
1618 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1619 <placement x="%center_x%" y="%row15a_y%"/>
1620 <text>F2FS</text>
1621 <actions>
1622 <action function="set">tw_back=refreshfilesystem</action>
1623 <action function="set">tw_action=changefilesystem</action>
1624 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1625 <action function="set">tw_action_new_file_system=f2fs</action>
1626 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001627 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1628 <action function="set">tw_text2=F2FS</action>
1629 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1630 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1631 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001632 <action function="page">confirm_action</action>
1633 </actions>
1634 </button>
1635
1636 <action>
1637 <touch key="home"/>
1638 <action function="page">main</action>
1639 </action>
1640
1641 <action>
1642 <touch key="back"/>
1643 <action function="page">partitionoptions</action>
1644 </action>
1645 </page>
1646
1647 <page name="backup">
1648 <template name="page"/>
1649
Noah Jacobson81d638d2019-04-28 00:10:07 -04001650 <action>
1651 <conditions>
1652 <condition var1="tw_is_fbe" var2="1"/>
1653 <condition var1="tw_all_users_decrypted" var2="0"/>
1654 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1655 </conditions>
1656 <actions>
1657 <action function="set">tw_multiuser_warning_destination=backup</action>
1658 <action function="page">multiuser_warning</action>
1659 </actions>
1660 </action>
1661
z31s1g28f0a922015-11-07 18:50:22 +01001662 <text style="text_l">
1663 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <text style="text_m">
1668 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <text style="text_m_accent">
1673 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <text style="text_m">
1678 <placement x="%col1_x_left%" y="%row3_y%"/>
1679 <text>%tw_backup_name%</text>
1680 </text>
1681
1682 <fill color="%fileselector_linecolor%">
1683 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1684 </fill>
1685
1686 <button>
1687 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1688 <fill color="%transparent%"/>
1689 <actions>
1690 <action function="set">tw_fileexists=0</action>
1691 <action function="page">backupname1</action>
1692 </actions>
1693 </button>
1694
1695 <partitionlist>
1696 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <data name="tw_backup_list"/>
1699 <listtype name="backup"/>
1700 </partitionlist>
1701
1702 <text style="text_m_accent">
1703 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001705 </text>
1706
1707 <text style="text_m">
1708 <conditions>
1709 <condition var1="tw_include_encrypted_backup" var2="1"/>
1710 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001711 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </conditions>
1713 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001715 </text>
1716
1717 <text style="text_m">
1718 <conditions>
1719 <condition var1="tw_include_encrypted_backup" var2="1"/>
1720 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001721 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001722 </conditions>
1723 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001724 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001725 </text>
1726
1727 <fill color="%fileselector_linecolor%">
1728 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1729 </fill>
1730
1731 <button>
1732 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1733 <fill color="%transparent%"/>
1734 <actions>
1735 <action function="set">tw_password_not_match=0</action>
1736 <action function="page">backupencryption</action>
1737 </actions>
1738 </button>
1739
1740 <text style="text_m_accent">
1741 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 </text>
1744
1745 <checkbox>
1746 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001748 <data variable="tw_use_compression"/>
1749 </checkbox>
1750
1751 <checkbox>
1752 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001753 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1754 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001755 </checkbox>
1756
1757 <checkbox>
1758 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001759 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001760 <data variable="tw_disable_free_space"/>
1761 </checkbox>
1762
1763 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001764 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001765 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
1768 <action function="set">tw_back=backup</action>
1769 <action function="overlay">select_storage</action>
1770 </actions>
1771 </button>
1772
1773 <button style="main_button_half_width">
1774 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <actions>
1777 <action function="refreshsizes"/>
1778 <action function="page">backup</action>
1779 </actions>
1780 </button>
1781
1782 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001783 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001784 <action function="page">backup_run</action>
1785 </slider>
1786
1787 <action>
1788 <touch key="home"/>
1789 <action function="page">main</action>
1790 </action>
1791
1792 <action>
1793 <touch key="back"/>
1794 <action function="page">main</action>
1795 </action>
1796 </page>
1797
Noah Jacobson81d638d2019-04-28 00:10:07 -04001798 <page name="multiuser_warning">
1799 <template name="page"/>
1800
1801 <text style="text_l">
1802 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1803 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1804 </text>
1805
1806 <text style="text_m_fail">
1807 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1808 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1809 </text>
1810
1811 <text style="text_m_fail">
1812 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1813 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1814 </text>
1815
1816 <button style="main_button_m">
1817 <placement x="%col1_x_left%" y="%row15a_y%"/>
1818 <text>{@decrypt_users=Decrypt Users}</text>
1819 <action function="page">decrypt_users</action>
1820 </button>
1821
1822 <slider>
1823 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1824 <actions>
1825 <action function="set">tw_multiuser_warning_accepted=1</action>
1826 <action function="page">%tw_multiuser_warning_destination%</action>
1827 </actions>
1828 </slider>
1829
1830 <action>
1831 <touch key="home"/>
1832 <action function="page">main</action>
1833 </action>
1834
1835 <action>
1836 <touch key="back"/>
1837 <action function="page">main</action>
1838 </action>
1839 </page>
1840
z31s1g28f0a922015-11-07 18:50:22 +01001841 <page name="backupname1">
1842 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001844 <action function="generatebackupname"/>
1845 </action>
1846
1847 <action>
1848 <action function="page">backupname2</action>
1849 </action>
1850 </page>
1851
1852 <page name="backupname2">
1853 <template name="page"/>
1854
1855 <text style="text_l">
1856 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001857 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001858 </text>
1859
1860 <text style="text_m">
1861 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001863 </text>
1864
1865 <text style="text_m_accent">
1866 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001867 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001868 </text>
1869
1870 <input>
1871 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1872 <text>%tw_backup_name%</text>
1873 <data name="tw_backup_name"/>
1874 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1875 <actions>
1876 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1877 <action function="set">tw_existpage=backupname2</action>
1878 <action function="set">tw_notexistpage=backup</action>
1879 <action function="page">filecheck</action>
1880 </actions>
1881 </input>
1882
1883 <fill color="%accent_color%">
1884 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1885 </fill>
1886
1887 <fill color="%text_fail_color%">
1888 <condition var1="tw_fileexists" var2="1"/>
1889 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1890 </fill>
1891
1892 <text style="text_m_fail">
1893 <condition var1="tw_fileexists" var2="1"/>
1894 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 </text>
1897
1898 <button style="main_button_half_width_low">
1899 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001900 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001901 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001903 <action function="page">backup</action>
1904 </actions>
1905 </button>
1906
1907 <button style="main_button_half_width_low">
1908 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001909 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001910 <action function="appenddatetobackupname"/>
1911 </button>
1912
1913 <template name="keyboardtemplate"/>
1914
1915 <action>
1916 <touch key="home"/>
1917 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001919 <action function="page">main</action>
1920 </actions>
1921 </action>
1922
1923 <action>
1924 <touch key="back"/>
1925 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 <action function="page">backup</action>
1928 </actions>
1929 </action>
1930 </page>
1931
1932 <page name="backupencryption">
1933 <template name="page"/>
1934
1935 <text style="text_l">
1936 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </text>
1939
1940 <text style="text_m">
1941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 </text>
1944
1945 <text style="text_m_accent">
1946 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001947 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001948 </text>
1949
1950 <input>
1951 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1952 <text>%tw_backup_encrypt_display%</text>
1953 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1954 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1955 <action function="page">backupencryption2</action>
1956 </input>
1957
1958 <fill color="%accent_color%">
1959 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1960 </fill>
1961
1962 <fill color="%text_fail_color%">
1963 <condition var1="tw_password_not_match" var2="1"/>
1964 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1965 </fill>
1966
1967 <text style="text_m_fail">
1968 <condition var1="tw_password_not_match" var2="1"/>
1969 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001970 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001971 </text>
1972
1973 <button style="main_button_half_width_low">
1974 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001975 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001976 <actions>
1977 <action function="set">tw_encrypt_backup=0</action>
1978 <action function="set">tw_backup_password=</action>
1979 <action function="set">tw_backup_password2=</action>
1980 <action function="set">tw_backup_encrypt_display=</action>
1981 <action function="set">tw_backup_encrypt_display2=</action>
1982 <action function="page">backup</action>
1983 </actions>
1984 </button>
1985
1986 <template name="keyboardtemplate"/>
1987
1988 <action>
1989 <touch key="home"/>
1990 <action function="page">main</action>
1991 </action>
1992
1993 <action>
1994 <touch key="back"/>
1995 <action function="page">backup</action>
1996 </action>
1997 </page>
1998
1999 <page name="backupencryption2">
2000 <template name="page"/>
2001
2002 <text style="text_l">
2003 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002004 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002005 </text>
2006
2007 <text style="text_m">
2008 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002009 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002010 </text>
2011
2012 <text style="text_m_accent">
2013 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <input>
2018 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2019 <text>%tw_backup_encrypt_display2%</text>
2020 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2021 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2022 <action function="page">checkbackuppassword</action>
2023 </input>
2024
2025 <fill color="%accent_color%">
2026 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2027 </fill>
2028
2029 <text style="text_m">
2030 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 </text>
2033
2034 <button style="main_button_half_width_low">
2035 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 <actions>
2038 <action function="set">tw_encrypt_backup=0</action>
2039 <action function="set">tw_backup_password=</action>
2040 <action function="set">tw_backup_password2=</action>
2041 <action function="set">tw_backup_encrypt_display=</action>
2042 <action function="set">tw_backup_encrypt_display2=</action>
2043 <action function="page">backup</action>
2044 </actions>
2045 </button>
2046
2047 <template name="keyboardtemplate"/>
2048
2049 <action>
2050 <touch key="home"/>
2051 <action function="page">main</action>
2052 </action>
2053
2054 <action>
2055 <touch key="back"/>
2056 <action function="page">backup</action>
2057 </action>
2058 </page>
2059
2060 <page name="checkbackuppassword">
2061 <action>
2062 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2063 <actions>
2064 <action function="set">tw_encrypt_backup=1</action>
2065 <action function="page">backup</action>
2066 </actions>
2067 </action>
2068
2069 <action>
2070 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2071 <actions>
2072 <action function="set">tw_encrypt_backup=0</action>
2073 <action function="set">tw_password_not_match=1</action>
2074 <action function="set">tw_backup_password=</action>
2075 <action function="set">tw_backup_password2=</action>
2076 <action function="set">tw_backup_encrypt_display=</action>
2077 <action function="set">tw_backup_encrypt_display2=</action>
2078 <action function="page">backupencryption</action>
2079 </actions>
2080 </action>
2081 </page>
2082
2083 <page name="backup_run">
2084 <template name="page"/>
2085
2086 <text style="text_l">
2087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2088 <text>%tw_operation%</text>
2089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2093 <text>%tw_partition% Partition</text>
2094 </text>
2095
2096 <template name="console"/>
2097
2098 <template name="progress_bar"/>
2099
2100 <text style="text_m_accent">
2101 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002102 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002103 </text>
2104
2105 <text style="text_m">
2106 <placement x="%progress_text_x%" y="%row17_y%"/>
2107 <text>%tw_file_progress%</text>
2108 </text>
2109
2110 <text style="text_m">
2111 <placement x="%progress_text_x%" y="%row18_y%"/>
2112 <text>%tw_size_progress%</text>
2113 </text>
2114
2115 <button style="main_button_half_width">
2116 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002117 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002118 <action function="cancelbackup"/>
2119 </button>
2120
2121 <action>
2122 <action function="nandroid">backup</action>
2123 </action>
2124
2125 <action>
2126 <condition var1="tw_operation_state" var2="1"/>
2127 <condition var1="tw_cancel_backup" var2="0"/>
2128 <actions>
2129 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002130 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002131 <action function="set">tw_show_reboot=1</action>
2132 <action function="page">action_complete</action>
2133 </actions>
2134 </action>
2135
2136 <action>
2137 <condition var1="tw_operation_state" var2="1"/>
2138 <condition var1="tw_cancel_backup" var2="1"/>
2139 <actions>
2140 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002142 <action function="set">tw_show_reboot=1</action>
2143 <action function="page">action_complete</action>
2144 </actions>
2145 </action>
2146 </page>
2147
2148 <page name="restore">
2149 <template name="page"/>
2150
Noah Jacobson81d638d2019-04-28 00:10:07 -04002151 <action>
2152 <conditions>
2153 <condition var1="tw_is_fbe" var2="1"/>
2154 <condition var1="tw_all_users_decrypted" var2="0"/>
2155 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2156 </conditions>
2157 <actions>
2158 <action function="set">tw_multiuser_warning_destination=restore</action>
2159 <action function="page">multiuser_warning</action>
2160 </actions>
2161 </action>
2162
z31s1g28f0a922015-11-07 18:50:22 +01002163 <text style="text_l">
2164 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </text>
2167
2168 <text style="text_m">
2169 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002170 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002171 </text>
2172
2173 <template name="sort_options"/>
2174
2175 <fileselector>
2176 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002177 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002178 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002179 <path name="tw_backups_folder"/>
2180 <data name="tw_restore" default=""/>
2181 <selection name="tw_restore_name"/>
2182 </fileselector>
2183
2184 <button style="main_button_half_width_low">
2185 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 <actions>
2188 <action function="set">tw_back=restore</action>
2189 <action function="overlay">select_storage</action>
2190 </actions>
2191 </button>
2192
2193 <action>
2194 <condition var1="tw_restore" op="modified"/>
2195 <actions>
2196 <action function="readBackup"/>
2197 <action function="page">restore_read</action>
2198 </actions>
2199 </action>
2200
2201 <action>
2202 <touch key="home"/>
2203 <action function="page">main</action>
2204 </action>
2205
2206 <action>
2207 <touch key="back"/>
2208 <action function="page">main</action>
2209 </action>
2210 </page>
2211
2212 <page name="restore_read">
2213 <action>
2214 <condition var1="tw_restore_encrypted" var2="1"/>
2215 <actions>
2216 <action function="set">tw_password_fail=0</action>
2217 <action function="page">restore_decrypt</action>
2218 </actions>
2219 </action>
2220
2221 <action>
2222 <condition var1="tw_restore_encrypted" var2="0"/>
2223 <actions>
2224 <action function="page">restore_select</action>
2225 </actions>
2226 </action>
2227 </page>
2228
2229 <page name="restore_decrypt">
2230 <template name="page"/>
2231
2232 <text style="text_l">
2233 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002234 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002235 </text>
2236
2237 <text style="text_m">
2238 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m_accent">
2243 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002244 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002245 </text>
2246
2247 <input>
2248 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2249 <text>%tw_restore_display%</text>
2250 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2251 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2252 <action function="page">try_restore_decrypt</action>
2253 </input>
2254
2255 <fill color="%accent_color%">
2256 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2257 </fill>
2258
2259 <fill color="%text_fail_color%">
2260 <condition var1="tw_password_fail" var2="1"/>
2261 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2262 </fill>
2263
2264 <text style="text_m_fail">
2265 <condition var1="tw_password_fail" var2="1"/>
2266 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </text>
2269
2270 <button style="main_button_half_width_low">
2271 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002273 <actions>
2274 <action function="set">tw_page_done=1</action>
2275 <action function="page">restore</action>
2276 </actions>
2277 </button>
2278
2279 <button style="main_button_half_width_low">
2280 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <actions>
2283 <action function="set">tw_back=restore</action>
2284 <action function="set">tw_action=cmd</action>
2285 <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 -05002286 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2287 <action function="set">tw_text2=%tw_restore_name%</action>
2288 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2289 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2290 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2291 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">confirm_action</action>
2293 </actions>
2294 </button>
2295
2296 <template name="keyboardtemplate"/>
2297
2298 <action>
2299 <touch key="home"/>
2300 <action function="page">main</action>
2301 </action>
2302
2303 <action>
2304 <touch key="back"/>
2305 <action function="page">restore</action>
2306 </action>
2307 </page>
2308
2309 <page name="try_restore_decrypt">
2310 <template name="page"/>
2311
2312 <text style="text_l">
2313 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 </text>
2316
2317 <text style="text_m">
2318 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002319 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002320 </text>
2321
2322 <template name="console"/>
2323
2324 <template name="progress_bar"/>
2325
2326 <action>
2327 <action function="decrypt_backup"/>
2328 </action>
2329
2330 <action>
2331 <conditions>
2332 <condition var1="tw_operation_state" var2="1"/>
2333 <condition var1="tw_operation_status" op="!=" var2="0"/>
2334 </conditions>
2335 <actions>
2336 <action function="set">tw_password_fail=1</action>
2337 <action function="page">restore_decrypt</action>
2338 </actions>
2339 </action>
2340
2341 <action>
2342 <conditions>
2343 <condition var1="tw_operation_state" var2="1"/>
2344 <condition var1="tw_operation_status" op="=" var2="0"/>
2345 </conditions>
2346 <actions>
2347 <action function="set">tw_page_done=1</action>
2348 <action function="page">restore_select</action>
2349 </actions>
2350 </action>
2351 </page>
2352
2353 <page name="restore_select">
2354 <template name="page"/>
2355
2356 <text style="text_l">
2357 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <text style="text_m">
2362 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <text style="text_m_accent">
2367 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <text style="text_m">
2372 <placement x="%col1_x_left%" y="%row3_y%"/>
2373 <text>%tw_restore_name%</text>
2374 </text>
2375
2376 <fill color="%fileselector_linecolor%">
2377 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2378 </fill>
2379
2380 <button>
2381 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2382 <fill color="%transparent%"/>
2383 <actions>
2384 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2385 <action function="set">tw_fileexists=0</action>
2386 <action function="page">renamebackup</action>
2387 </actions>
2388 </button>
2389
2390 <partitionlist>
2391 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2394 <listtype name="restore"/>
2395 </partitionlist>
2396
2397 <text style="text_m_accent">
2398 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002399 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002400 </text>
2401
2402 <checkbox>
2403 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002404 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002405 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2406 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </checkbox>
2408
2409 <button style="main_button_half_width">
2410 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <actions>
2413 <action function="set">tw_back=restore</action>
2414 <action function="set">tw_action=cmd</action>
2415 <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 -05002416 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002418 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2419 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2420 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2421 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="page">confirm_action</action>
2423 </actions>
2424 </button>
2425
2426 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <action function="page">restore_run</action>
2429 </slider>
2430
2431 <action>
2432 <touch key="home"/>
2433 <action function="page">main</action>
2434 </action>
2435
2436 <action>
2437 <touch key="back"/>
2438 <action function="page">restore</action>
2439 </action>
2440 </page>
2441
2442 <page name="renamebackup">
2443 <template name="page"/>
2444
2445 <text style="text_l">
2446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002448 </text>
2449
2450 <text style="text_m">
2451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002452 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </text>
2454
2455 <text style="text_m_accent">
2456 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <input>
2461 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2462 <text>%tw_backup_rename%</text>
2463 <data name="tw_backup_rename"/>
2464 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2465 <actions>
2466 <action function="set">tw_back=restore</action>
2467 <action function="set">tw_action=cmd</action>
2468 <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 -05002469 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2470 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2471 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2472 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2473 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002474 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2475 <action function="set">tw_existpage=renamebackup</action>
2476 <action function="set">tw_notexistpage=confirm_action</action>
2477 <action function="page">filecheck</action>
2478 </actions>
2479 </input>
2480
2481 <fill color="%accent_color%">
2482 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2483 </fill>
2484
2485 <fill color="%text_fail_color%">
2486 <condition var1="tw_fileexists" var2="1"/>
2487 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2488 </fill>
2489
2490 <text style="text_m_fail">
2491 <condition var1="tw_fileexists" var2="1"/>
2492 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 </text>
2495
2496 <button style="main_button_half_width_low">
2497 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 <action function="page">restore_select</action>
2500 </button>
2501
2502 <template name="keyboardtemplate"/>
2503
2504 <action>
2505 <touch key="home"/>
2506 <action function="page">main</action>
2507 </action>
2508
2509 <action>
2510 <touch key="back"/>
2511 <action function="page">restore_select</action>
2512 </action>
2513 </page>
2514
2515 <page name="restore_run">
2516 <template name="page"/>
2517
2518 <text style="text_l">
2519 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2525 <text>%tw_operation% %tw_partition%</text>
2526 </text>
2527
2528 <template name="console"/>
2529
2530 <template name="progress_bar"/>
2531
2532 <text style="text_m_accent">
2533 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <text style="text_m">
2538 <placement x="%progress_text_x%" y="%row18_y%"/>
2539 <text>%tw_size_progress%</text>
2540 </text>
2541
2542 <action>
2543 <condition var1="tw_operation_state" var2="1"/>
2544 <actions>
2545 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002546 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002547 <action function="set">tw_show_reboot=1</action>
2548 <action function="page">action_complete</action>
2549 </actions>
2550 </action>
2551
2552 <action>
2553 <action function="nandroid">restore</action>
2554 </action>
2555 </page>
2556
2557 <page name="mount">
2558 <template name="page"/>
2559
2560 <text style="text_l">
2561 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002562 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002563 </text>
2564
2565 <text style="text_m">
2566 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <partitionlist>
2571 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 <listtype name="mount"/>
2574 </partitionlist>
2575
2576 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002577 <conditions>
2578 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2579 <condition var1="tw_is_super" op="=" var2="0"/>
2580 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002581 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002582 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002583 <image resource="checkbox_false"/>
2584 <action function="mountsystemtoggle">1</action>
2585 </button>
2586
2587 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002588 <conditions>
2589 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2590 <condition var1="tw_is_super" op="=" var2="0"/>
2591 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002592 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002593 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002594 <image resource="checkbox_true"/>
2595 <actions>
2596 <action function="set">tw_lifetime_writes=2</action>
2597 <action function="page">system_readonly_check</action>
2598 </actions>
2599 </button>
2600
2601 <button style="main_button_half_width">
2602 <condition var1="tw_has_usb_storage" var2="1"/>
2603 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002604 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="page">usb_mount</action>
2606 </button>
2607
2608 <button style="main_button_half_width">
2609 <conditions>
2610 <condition var1="tw_is_encrypted" var2="1"/>
2611 <condition var1="tw_is_decrypted" var2="0"/>
2612 </conditions>
2613 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002614 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002615 <action function="set">tw_crypto_user_id=0</action>
2616 <action function="set">tw_crypto_password=</action>
2617 <action function="set">tw_password_fail=0</action>
2618 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <action function="page">decrypt</action>
2620 </button>
2621
2622 <button style="main_button_half_width">
2623 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002624 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002625 <actions>
2626 <action function="set">tw_back=mount</action>
2627 <action function="overlay">select_storage</action>
2628 </actions>
2629 </button>
2630
2631 <button style="main_button_half_width">
2632 <conditions>
2633 <condition var1="tw_has_mtp" var2="1"/>
2634 <condition var1="tw_mtp_enabled" var2="0"/>
2635 </conditions>
2636 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002637 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002638 <action function="startmtp"/>
2639 </button>
2640
2641 <button style="main_button_half_width">
2642 <conditions>
2643 <condition var1="tw_has_mtp" var2="1"/>
2644 <condition var1="tw_mtp_enabled" var2="1"/>
2645 </conditions>
2646 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002647 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002648 <action function="stopmtp"/>
2649 </button>
2650
2651 <action>
2652 <touch key="home"/>
2653 <action function="page">main</action>
2654 </action>
2655
2656 <action>
2657 <touch key="back"/>
2658 <action function="page">main</action>
2659 </action>
2660 </page>
2661
2662 <page name="usb_mount">
2663 <template name="page"/>
2664
2665 <text style="text_l">
2666 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002667 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <text style="text_m">
2671 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002672 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 </text>
2674
2675 <text style="text_m_accent">
2676 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002677 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002678 </text>
2679
2680 <text style="text_m">
2681 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002682 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002683 </text>
2684
2685 <text style="text_m">
2686 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002687 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002688 </text>
2689
2690 <button style="main_button_half_width">
2691 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002692 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002693 <action function="page">usb_umount</action>
2694 </button>
2695
2696 <action>
2697 <action function="mount">usb</action>
2698 <action function="set">tw_busy=1</action>
2699 </action>
2700 </page>
2701
2702 <page name="usb_umount">
2703 <action>
2704 <action function="unmount">usb</action>
2705 </action>
2706
2707 <action>
2708 <action function="page">mount</action>
2709 <action function="set">tw_busy=0</action>
2710 </action>
2711 </page>
2712
2713 <page name="system_readonly_check">
2714 <action>
2715 <action function="checkpartitionlifetimewrites">/system</action>
2716 </action>
2717
2718 <action>
2719 <condition var1="tw_lifetime_writes" var2="1"/>
2720 <actions>
2721 <action function="mountsystemtoggle">0</action>
2722 <action function="page">mount</action>
2723 </actions>
2724 </action>
2725
2726 <action>
2727 <condition var1="tw_lifetime_writes" var2="0"/>
2728 <actions>
2729 <action function="set">tw_back=mount</action>
2730 <action function="page">system_readonly</action>
2731 </actions>
2732 </action>
2733 </page>
2734
bigbiffdf8436b2020-08-30 16:22:34 -04002735 <page name="fastbootreboot">
2736 <template name="page"/>
2737
2738 <text style="text_l">
2739 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2740 <text>{@reboot_hdr=Reboot}</text>
2741 </text>
2742
2743 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002744 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002745
2746 <listitem name="{@rb_system_btn=System}">
2747 <condition var1="tw_reboot_system" var2="1"/>
2748 <actions>
2749 <action function="set">tw_back=fastbootreboot</action>
2750 <action function="set">tw_action=reboot</action>
2751 <action function="set">tw_action_param=system</action>
2752 <action function="set">tw_reboot_param=system</action>
2753 <action function="set">tw_has_action2=0</action>
2754 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2755 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2756 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2757 <action function="page">confirm_action</action>
2758 </actions>
2759 </listitem>
2760
2761 <listitem name="{@rb_poweroff_btn=Power Off}">
2762 <condition var1="tw_reboot_poweroff" var2="1"/>
2763 <actions>
2764 <action function="set">tw_back=fastbootreboot</action>
2765 <action function="set">tw_action=reboot</action>
2766 <action function="set">tw_action_param=poweroff</action>
2767 <action function="set">tw_reboot_param=poweroff</action>
2768 <action function="set">tw_has_action2=0</action>
2769 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2770 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2771 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2772 <action function="page">confirm_action</action>
2773 </actions>
2774 </listitem>
2775
2776 <listitem name="{@rb_recovery_btn=Recovery}">
2777 <condition var1="tw_reboot_recovery" var2="1"/>
2778 <actions>
2779 <action function="set">tw_back=fastbootreboot</action>
2780 <action function="set">tw_action=reboot</action>
2781 <action function="set">tw_action_param=recovery</action>
2782 <action function="set">tw_reboot_param=recovery</action>
2783 <action function="set">tw_has_action2=0</action>
2784 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2785 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2786 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2787 <action function="page">confirm_action</action>
2788 </actions>
2789 </listitem>
2790
2791 <listitem name="{@rb_bootloader_btn=Bootloader}">
2792 <condition var1="tw_reboot_bootloader" var2="1"/>
2793 <actions>
2794 <action function="set">tw_back=fastbootreboot</action>
2795 <action function="set">tw_action=reboot</action>
2796 <action function="set">tw_action_param=bootloader</action>
2797 <action function="set">tw_reboot_param=bootloader</action>
2798 <action function="set">tw_has_action2=0</action>
2799 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2800 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2801 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2802 <action function="page">confirm_action</action>
2803 </actions>
2804 </listitem>
2805
2806 <listitem name="{@rb_download_btn=Download}">
2807 <condition var1="tw_download_mode" var2="1"/>
2808 <actions>
2809 <action function="set">tw_back=fastbootreboot</action>
2810 <action function="set">tw_action=reboot</action>
2811 <action function="set">tw_action_param=download</action>
2812 <action function="set">tw_reboot_param=download</action>
2813 <action function="set">tw_has_action2=0</action>
2814 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2815 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2816 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2817 <action function="page">confirm_action</action>
2818 </actions>
2819 </listitem>
2820
2821 <listitem name="{@fastboot_button=Fastboot}">
2822 <condition var1="tw_fastboot_mode" var2="1"/>
2823 <actions>
2824 <action function="set">tw_back=fastbootreboot</action>
2825 <action function="set">tw_action=reboot</action>
2826 <action function="set">tw_action_param=fastboot</action>
2827 <action function="set">tw_reboot_param=fastboot</action>
2828 <action function="set">tw_has_action2=0</action>
2829 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2830 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2831 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2832 <action function="page">confirm_action</action>
2833 </actions>
2834 </listitem>
2835
2836 <listitem name="{@rb_edl_btn=Edl}">
2837 <condition var1="tw_edl_mode" var2="1"/>
2838 <actions>
2839 <action function="set">tw_back=fastbootreboot</action>
2840 <action function="set">tw_action=reboot</action>
2841 <action function="set">tw_action_param=edl</action>
2842 <action function="set">tw_reboot_param=edl</action>
2843 <action function="set">tw_has_action2=0</action>
2844 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2845 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2846 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2847 <action function="page">confirm_action</action>
2848 </actions>
2849 </listitem>
2850 </listbox>
2851 <action>
2852 <touch key="home"/>
2853 <action function="page">fastboot</action>
2854 </action>
2855
2856 <action>
2857 <touch key="back"/>
2858 <action function="page">fastboot</action>
2859 </action>
2860 </page>
2861
z31s1g28f0a922015-11-07 18:50:22 +01002862 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06002863 <action>
2864 <action function="checkforapp"></action>
2865 <action function="page">reboot2</action>
2866 </action>
2867 </page>
2868
2869 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002870 <template name="page"/>
2871
2872 <text style="text_l">
2873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002874 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002875 </text>
2876
bigbiffdf8436b2020-08-30 16:22:34 -04002877 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002878 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002879
2880 <listitem name="{@rb_system_btn=System}">
2881 <condition var1="tw_reboot_system" var2="1"/>
2882 <actions>
2883 <action function="set">tw_back=reboot</action>
2884 <action function="page">reboot_system_routine</action>
2885 </actions>
2886 </listitem>
2887
2888 <listitem name="{@rb_poweroff_btn=Power Off}">
2889 <condition var1="tw_reboot_poweroff" var2="1"/>
2890 <actions>
2891 <action function="set">tw_back=reboot</action>
2892 <action function="set">tw_action=reboot</action>
2893 <action function="set">tw_action_param=poweroff</action>
2894 <action function="set">tw_reboot_param=poweroff</action>
2895 <action function="set">tw_has_action2=0</action>
2896 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2897 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2898 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2899 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2900 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2901 <action function="page">rebootcheck</action>
2902 </actions>
2903 </listitem>
2904
2905 <listitem name="{@rb_recovery_btn=Recovery}">
2906 <condition var1="tw_reboot_recovery" var2="1"/>
2907 <actions>
2908 <action function="set">tw_back=reboot</action>
2909 <action function="set">tw_action=reboot</action>
2910 <action function="set">tw_action_param=recovery</action>
2911 <action function="set">tw_reboot_param=recovery</action>
2912 <action function="set">tw_has_action2=0</action>
2913 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2914 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2915 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2916 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2917 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2918 <action function="page">rebootcheck</action>
2919 </actions>
2920 </listitem>
2921
2922 <listitem name="{@rb_bootloader_btn=Bootloader}">
2923 <condition var1="tw_reboot_bootloader" var2="1"/>
2924 <actions>
2925 <action function="set">tw_back=reboot</action>
2926 <action function="set">tw_action=reboot</action>
2927 <action function="set">tw_action_param=bootloader</action>
2928 <action function="set">tw_reboot_param=bootloader</action>
2929 <action function="set">tw_has_action2=0</action>
2930 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2931 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2932 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2933 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2934 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2935 <action function="page">rebootcheck</action>
2936 </actions>
2937 </listitem>
2938
2939 <listitem name="{@rb_download_btn=Download}">
2940 <condition var1="tw_download_mode" var2="1"/>
2941 <actions>
2942 <action function="set">tw_back=reboot</action>
2943 <action function="set">tw_action=reboot</action>
2944 <action function="set">tw_action_param=download</action>
2945 <action function="set">tw_reboot_param=download</action>
2946 <action function="set">tw_has_action2=0</action>
2947 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2948 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2949 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2950 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2951 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2952 <action function="page">rebootcheck</action>
2953 </actions>
2954 </listitem>
2955
2956
2957 <listitem name="{@fastboot_button=Fastboot}">
2958 <condition var1="tw_fastboot_mode" var2="1"/>
2959 <actions>
2960 <action function="set">tw_back=reboot</action>
2961 <action function="set">tw_action=reboot</action>
2962 <action function="set">tw_action_param=fastboot</action>
2963 <action function="set">tw_reboot_param=fastboot</action>
2964 <action function="set">tw_has_action2=0</action>
2965 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2966 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2967 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2968 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2969 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2970 <action function="page">rebootcheck</action>
2971 </actions>
2972 </listitem>
2973
2974 <listitem name="{@rb_edl_btn=Edl}">
2975 <condition var1="tw_edl_mode" var2="1"/>
2976 <actions>
2977 <action function="set">tw_back=reboot</action>
2978 <action function="set">tw_action=reboot</action>
2979 <action function="set">tw_action_param=edl</action>
2980 <action function="set">tw_reboot_param=edl</action>
2981 <action function="set">tw_has_action2=0</action>
2982 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2983 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2984 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2985 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2986 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2987 <action function="page">rebootcheck</action>
2988 </actions>
2989 </button>
2990 </listbox>
2991
Ethan Yonker8581ab32020-12-17 14:51:50 -06002992 <button style="main_button">
2993 <condition var1="tw_app_install_status" var2="1"/>
2994 <placement x="%center_x%" y="%row12_y%"/>
2995 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2996 <actions>
2997 <action function="set">tw_back=reboot</action>
2998 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2999 <action function="page">installapp</action>
3000 </actions>
3001 </button>
3002
bigbiffdf8436b2020-08-30 16:22:34 -04003003 <text style="text_m">
3004 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003005 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04003006 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
3007 </text>
3008
z31s1g28f0a922015-11-07 18:50:22 +01003009 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003010 <condition var1="tw_has_boot_slots" var2="1"/>
3011 <placement x="%indent%" y="%row16_y%"/>
3012 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003013 <actions>
3014 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003015 <action function="set">tw_action=setbootslot</action>
3016 <action function="set">tw_action_param=A</action>
3017 <action function="set">tw_has_action2=0</action>
3018 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3019 <action function="set">tw_action_text2=</action>
3020 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3021 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01003022 </actions>
3023 </button>
3024
3025 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003026 <condition var1="tw_has_boot_slots" var2="1"/>
3027 <placement x="%center_x%" y="%row16_y%"/>
3028 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003029 <actions>
3030 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003031 <action function="set">tw_action=setbootslot</action>
3032 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01003033 <action function="set">tw_has_action2=0</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003034 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3035 <action function="set">tw_action_text2=</action>
3036 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3037 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003038 </actions>
3039 </button>
3040
z31s1g28f0a922015-11-07 18:50:22 +01003041 <action>
3042 <touch key="home"/>
3043 <action function="page">main</action>
3044 </action>
3045
3046 <action>
3047 <touch key="back"/>
3048 <action function="page">main</action>
3049 </action>
3050 </page>
3051
Ethan Yonker8581ab32020-12-17 14:51:50 -06003052 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003053 <template name="page"/>
3054
3055 <text style="text_l">
3056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003057 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003058 </text>
3059
3060 <text style="text_m">
3061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003062 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003063 </text>
3064
3065 <text style="text_m_accent">
3066 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3067 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3068 </text>
3069
3070 <text style="text_m_accent">
3071 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3072 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3073 </text>
3074
3075 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003076 <condition var1="tw_mount_system_ro" var2="0"/>
3077 <placement x="%indent%" y="%row7_y%"/>
3078 <text>{@reboot_install_app_system=Install as a System App}</text>
3079 <data variable="tw_app_install_system"/>
3080 </checkbox>
3081
3082 <button style="main_button_half_width">
3083 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003084 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003085 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003086 </button>
3087
3088 <slider>
3089 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3090 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003091 <action function="set">tw_action=installapp</action>
3092 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3093 <action function="set">tw_action_text2=</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003094 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003095 <action function="page">action_page</action>
3096 </actions>
3097 </slider>
3098
3099 <action>
3100 <touch key="home"/>
3101 <actions>
3102 <action function="set">tw_app_install_status=0</action>
3103 <action function="page">main</action>
3104 </actions>
3105 </action>
3106
3107 <action>
3108 <touch key="back"/>
3109 <actions>
3110 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003111 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003112 </actions>
3113 </action>
3114 </page>
3115
z31s1g28f0a922015-11-07 18:50:22 +01003116 <page name="system_readonly">
3117 <template name="page"/>
3118
3119 <text style="text_l">
3120 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003122 </text>
3123
3124 <text style="text_m_accent">
3125 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003127 </text>
3128
3129 <text style="text_m">
3130 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@sys_rol1=TWRP can leave your system partition unmodified to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 </text>
3133
3134 <text style="text_m">
3135 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003136 <text>{@sys_rol2=TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003137 </text>
3138
3139 <text style="text_m_fail">
3140 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003142 </text>
3143
3144 <checkbox>
3145 <condition var1="tw_is_encrypted" var2="0"/>
3146 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 <data variable="tw_never_show_system_ro_page"/>
3149 </checkbox>
3150
3151 <button style="main_button_half_width">
3152 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003154 <actions>
3155 <action function="mountsystemtoggle">1</action>
3156 <action function="set">tw_page_done=1</action>
3157 <action function="page">%tw_back%</action>
3158 </actions>
3159 </button>
3160
z31s1g608d7ff2016-01-18 19:47:25 +01003161 <button style="main_button_half_width">
3162 <placement x="%col2_x_left%" y="%row15a_y%"/>
3163 <text>{@sel_lang_btn=Select Language}</text>
3164 <action function="overlay">select_language</action>
3165 </button>
3166
z31s1g28f0a922015-11-07 18:50:22 +01003167 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003168 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003169 <actions>
3170 <action function="mountsystemtoggle">0</action>
3171 <action function="set">tw_page_done=1</action>
3172 <action function="page">%tw_back%</action>
3173 </actions>
3174 </slider>
3175 </page>
3176
3177 <page name="settings">
3178 <template name="page"/>
3179
3180 <text style="text_l">
3181 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 </text>
3184
3185 <text style="text_m">
3186 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003187 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003188 </text>
3189
3190 <template name="tabs_settings"/>
3191
3192 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003194 </fill>
3195
3196 <listbox style="scrolllist">
3197 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3198 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003200 <data variable="tw_signed_zip_verify"/>
3201 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003202 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3203 <data variable="tw_install_reboot"/>
3204 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003206 <data variable="tw_rm_rf"/>
3207 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003208 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3209 <data variable="tw_disable_free_space"/>
3210 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003211 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3212 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003213 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003214 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3215 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003216 </listitem>
epicX9597b842021-03-20 21:58:17 +05303217 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3218 <data variable="tw_skip_digest_check_zip"/>
3219 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003220 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003221 <data variable="tw_military_time"/>
3222 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003223 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003224 <data variable="tw_simulate_actions"/>
3225 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003227 <condition var1="tw_simulate_actions" var2="1"/>
3228 <data variable="tw_simulate_fail"/>
3229 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003230 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3231 <condition var1="tw_no_sha2" var2="0"/>
3232 <data variable="tw_use_sha2"/>
3233 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003234 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3235 <data variable="tw_unmount_system"/>
3236 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003237 </listbox>
3238
3239 <checkbox>
3240 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 <data variable="tw_samsung_navbar"/>
3243 </checkbox>
3244
3245 <button style="radiobutton">
3246 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3247 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003248 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003249 <image resource="radio_false"/>
3250 <action function="set">tw_navbar_button_position=0</action>
3251 </button>
3252
3253 <button style="radiobutton">
3254 <condition var1="tw_navbar_button_position" var2="0"/>
3255 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 <image resource="radio_true"/>
3258 <action function="set">tw_navbar_button_position=0</action>
3259 </button>
3260
3261 <button style="radiobutton">
3262 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3263 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003264 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003265 <image resource="radio_false"/>
3266 <action function="set">tw_navbar_button_position=1</action>
3267 </button>
3268
3269 <button style="radiobutton">
3270 <condition var1="tw_navbar_button_position" var2="1"/>
3271 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <image resource="radio_true"/>
3274 <action function="set">tw_navbar_button_position=1</action>
3275 </button>
3276
3277 <button style="radiobutton">
3278 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3279 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003280 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003281 <image resource="radio_false"/>
3282 <action function="set">tw_navbar_button_position=2</action>
3283 </button>
3284
3285 <button style="radiobutton">
3286 <condition var1="tw_navbar_button_position" var2="2"/>
3287 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003288 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003289 <image resource="radio_true"/>
3290 <action function="set">tw_navbar_button_position=2</action>
3291 </button>
3292
3293 <button style="main_button_half_width">
3294 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <action function="restoredefaultsettings"/>
3297 </button>
3298
3299 <action>
3300 <touch key="home"/>
3301 <action function="page">main</action>
3302 </action>
3303
3304 <action>
3305 <touch key="back"/>
3306 <action function="page">main</action>
3307 </action>
3308 </page>
3309
3310 <page name="settings_timezone">
3311 <template name="page"/>
3312
3313 <text style="text_l">
3314 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </text>
3317
3318 <text style="text_m">
3319 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </text>
3322
3323 <template name="tabs_settings"/>
3324
3325 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003326 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003327 </fill>
3328
3329 <listbox>
3330 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003333 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3334 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3335 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3336 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3337 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3338 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3339 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3340 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3341 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3342 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3343 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3344 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3345 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3346 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3347 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3348 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3349 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3350 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3351 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3352 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3353 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3354 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3355 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3356 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003357 </listbox>
3358
3359 <text style="text_m_accent">
3360 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </text>
3363
3364 <button style="button_quarter_width">
3365 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 <action function="set">tw_time_zone_guioffset=0</action>
3368 </button>
3369
3370 <button style="button_quarter_width">
3371 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003373 <action function="set">tw_time_zone_guioffset=15</action>
3374 </button>
3375
3376 <button style="button_quarter_width">
3377 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003378 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003379 <action function="set">tw_time_zone_guioffset=30</action>
3380 </button>
3381
3382 <button style="button_quarter_width">
3383 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <action function="set">tw_time_zone_guioffset=45</action>
3386 </button>
3387
3388 <checkbox>
3389 <placement x="%col1_x_right%" y="%row7_y%"/>
3390 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003392 <data variable="tw_time_zone_guidst"/>
3393 <image checked="checkbox_true" unchecked="checkbox_false"/>
3394 </checkbox>
3395
3396 <text color="%text_color%">
3397 <font resource="font_m"/>
3398 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003400 </text>
3401
3402 <button>
3403 <highlight color="%highlight_color%"/>
3404 <placement x="%col2_x_right%" y="%row15a_y%"/>
3405 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003406 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003407 <image resource="main_button_half_width"/>
3408 <action function="setguitimezone"/>
3409 </button>
3410
3411 <action>
3412 <touch key="home"/>
3413 <action function="page">main</action>
3414 </action>
3415
3416 <action>
3417 <touch key="back"/>
3418 <action function="page">main</action>
3419 </action>
3420 </page>
3421
3422 <page name="settings_screen">
3423 <template name="page"/>
3424
3425 <text style="text_l">
3426 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003428 </text>
3429
3430 <text style="text_m">
3431 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003432 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003433 </text>
3434
3435 <template name="tabs_settings"/>
3436
3437 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003438 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003439 </fill>
3440
3441 <button>
3442 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3443 <font resource="font_m" color="%text_color%"/>
3444 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3445 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 <image resource="checkbox_false"/>
3448 <action function="set">tw_screen_timeout_secs=60</action>
3449 </button>
3450
3451 <button>
3452 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3453 <font resource="font_m" color="%text_color%"/>
3454 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3455 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003456 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003457 <image resource="checkbox_true"/>
3458 <action function="set">tw_screen_timeout_secs=0</action>
3459 </button>
3460
3461 <slidervalue>
3462 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3463 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3464 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003465 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003466 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3467 </slidervalue>
3468
3469 <slidervalue>
3470 <condition var1="tw_has_brightnesss_file" var2="1"/>
3471 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003473 <data variable="tw_brightness_pct" min="10" max="100"/>
3474 <actions>
3475 <action function="set">tw_brightness=%tw_brightness_max%</action>
3476 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3477 <action function="compute">tw_brightness/100</action>
3478 <action function="setbrightness">%tw_brightness%</action>
3479 </actions>
3480 </slidervalue>
3481
3482 <action>
3483 <touch key="home"/>
3484 <action function="page">main</action>
3485 </action>
3486
3487 <action>
3488 <touch key="back"/>
3489 <action function="page">main</action>
3490 </action>
3491 </page>
3492
3493 <page name="settings_vibration">
3494 <template name="page"/>
3495
3496 <text style="text_l">
3497 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </text>
3500
3501 <text style="text_m">
3502 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003503 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003504 </text>
3505
3506 <template name="tabs_settings"/>
3507
3508 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003509 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003510 </fill>
3511
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003512 <text style="text_m">
3513 <condition var1="tw_disable_haptics" var2="1"/>
3514 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3515 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3516 </text>
3517
z31s1g28f0a922015-11-07 18:50:22 +01003518 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003519 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003520 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003521 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003522 <data variable="tw_button_vibrate" min="0" max="300"/>
3523 </slidervalue>
3524
3525 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003526 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003529 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3530 </slidervalue>
3531
3532 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003533 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003534 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <data variable="tw_action_vibrate" min="0" max="500"/>
3537 </slidervalue>
3538
3539 <action>
3540 <touch key="home"/>
3541 <action function="page">main</action>
3542 </action>
3543
3544 <action>
3545 <touch key="back"/>
3546 <action function="page">main</action>
3547 </action>
3548 </page>
3549
Ethan Yonker74db1572015-10-28 12:44:49 -05003550 <page name="settings_language">
3551 <template name="page"/>
3552
3553 <text style="text_l">
3554 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3555 <text>{@settings_hdr=Settings}</text>
3556 </text>
3557
3558 <text style="text_m">
3559 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3560 <text>{@language_hdr=Language - %tw_language_display%}</text>
3561 </text>
3562
3563 <template name="tabs_settings"/>
3564
3565 <fill color="%text_color%">
3566 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3567 </fill>
3568
3569 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003570 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <text>{@select_language=Select Language:}</text>
3572 <icon selected="radio_true" unselected="radio_false" />
3573 <data name="tw_language" />
3574 </listbox>
3575
z31s1g56189522016-01-13 19:12:40 +01003576 <button>
3577 <highlight color="%highlight_color%"/>
3578 <placement x="%col2_x_right%" y="%row15a_y%"/>
3579 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003580 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003581 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003582 <action function="setlanguage"></action>
3583 </button>
3584
3585 <action>
3586 <touch key="home" />
3587 <action function="page">main</action>
3588 </action>
3589
3590 <action>
3591 <touch key="back" />
3592 <action function="page">settings</action>
3593 </action>
3594 </page>
3595
Matt Mower32676622017-01-18 18:56:13 -06003596 <page name="copylog">
3597 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003598
Matt Mower32676622017-01-18 18:56:13 -06003599 <text style="text_l">
3600 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3601 <text>{@copying_log=Copy Logs to SD Card}</text>
3602 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003603
Matt Mower32676622017-01-18 18:56:13 -06003604 <checkbox>
3605 <placement x="%indent%" y="%row4_y%"/>
3606 <text>{@include_kernel_log=Include Kernel Log}</text>
3607 <data variable="tw_include_kernel_log" value="1"/>
3608 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003609
Matt Mower32676622017-01-18 18:56:13 -06003610 <slider>
3611 <text>{@copying_log=Copy Logs to SD Card}</text>
3612 <actions>
3613 <action function="set">tw_back=advanced</action>
3614 <action function="set">tw_action=copylog</action>
3615 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3616 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3617 <action function="page">action_page</action>
3618 </actions>
3619 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003620
Matt Mower32676622017-01-18 18:56:13 -06003621 <action>
3622 <touch key="home"/>
3623 <action function="page">main</action>
3624 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003625
Matt Mower32676622017-01-18 18:56:13 -06003626 <action>
3627 <touch key="back"/>
3628 <actions>
3629 <action function="page">advanced</action>
3630 </actions>
3631 </action>
3632 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003633
z31s1g28f0a922015-11-07 18:50:22 +01003634 <page name="advanced">
3635 <template name="page"/>
3636
3637 <text style="text_l">
3638 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <button style="main_button">
3643 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003645 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003646 </button>
3647
3648 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003649 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003650 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003651 <action function="page">filemanagerlist</action>
3652 </button>
3653
3654 <button style="main_button">
3655 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003656 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003657 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003658 </button>
3659
3660 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003661 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003662 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003663 <action function="page">sideload</action>
3664 </button>
3665
Ethan Yonker64e0a652018-07-25 09:52:17 -05003666 <listbox style="advanced_listbox">
3667 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05303668 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3669 <condition var1="tw_is_encrypted" var2="0"/>
3670 <action function="page">changeTwrpFolder</action>
3671 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003672 <listitem name="{@decrypt_users=Decrypt Users}">
3673 <conditions>
3674 <condition var1="tw_is_fbe" var2="1"/>
3675 <condition var1="tw_all_users_decrypted" var2="0"/>
3676 </conditions>
3677 <actions>
3678 <action function="set">tw_crypto_user_id=</action>
3679 <action function="page">decrypt_users</action>
3680 </actions>
3681 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003682 <listitem name="{@reload_theme_btn=Reload Theme}">
3683 <action function="reload"/>
3684 </listitem>
3685 <listitem name="{@part_sd_btn=Partition SD Card}">
3686 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3687 <actions>
3688 <action function="set">partitionlisterror=0</action>
3689 <action function="page">partsdcardsel</action>
3690 </actions>
3691 </listitem>
3692 <listitem name="{@fix_context_btn=Fix Contexts}">
3693 <condition var1="tw_has_data_media" var2="1"/>
3694 <action function="page">fixcontexts</action>
3695 </listitem>
3696 <listitem name="{@dumlock_btn=HTC Dumlock}">
3697 <condition var1="tw_show_dumlock" var2="1"/>
3698 <action function="page">htcdumlock</action>
3699 </listitem>
3700 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3701 <condition var1="tw_has_injecttwrp" var2="1"/>
3702 <actions>
3703 <action function="set">tw_back=advanced</action>
3704 <action function="set">tw_action=reinjecttwrp</action>
3705 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3706 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3707 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3708 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3709 <action function="page">confirm_action</action>
3710 </actions>
3711 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003712 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3713 <conditions>
3714 <condition var1="tw_has_boot_slots" var2="1"/>
3715 <condition var1="tw_has_repack_tools" var2="1"/>
3716 </conditions>
3717 <actions>
3718 <action function="set">tw_repack_kernel=0</action>
3719 <action function="page">repackselect</action>
3720 </actions>
3721 </listitem>
3722 <listitem name="{@install_kernel=Install Kernel}">
3723 <conditions>
3724 <condition var1="tw_has_boot_slots" var2="1"/>
3725 <condition var1="tw_has_repack_tools" var2="1"/>
3726 </conditions>
3727 <actions>
3728 <action function="set">tw_repack_kernel=1</action>
3729 <action function="page">repackselect</action>
3730 </actions>
3731 </listitem>
3732 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3733 <conditions>
3734 <condition var1="tw_has_boot_slots" var2="1"/>
3735 <condition var1="tw_has_repack_tools" var2="1"/>
3736 </conditions>
3737 <actions>
3738 <action function="set">tw_back=advanced</action>
3739 <action function="set">tw_action=fixabrecoverybootloop</action>
3740 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3741 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3742 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3743 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3744 <action function="page">confirm_action</action>
3745 </actions>
3746 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003747 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3748 <condition var1="tw_app_install_status" var2="1"/>
3749 <actions>
3750 <action function="set">tw_back=advanced</action>
3751 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3752 <action function="page">installapp</action>
3753 </actions>
3754 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003755 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3756 <condition var1="tw_app_installed_in_system" var2="1"/>
3757 <actions>
3758 <action function="set">tw_back=advanced</action>
3759 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3760 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3761 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3762 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3763 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3764 <action function="page">confirm_action</action>
3765 </actions>
3766 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003767 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003768
3769 <action>
3770 <touch key="home"/>
3771 <action function="page">main</action>
3772 </action>
3773
3774 <action>
3775 <touch key="back"/>
3776 <action function="page">main</action>
3777 </action>
3778 </page>
3779
Ethan Yonker483e9f42016-01-11 22:21:18 -06003780 <page name="partsdcardsel">
3781 <template name="page"/>
3782
3783 <text style="text_l">
3784 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3785 <text>{@advanced_hdr=Advanced}</text>
3786 </text>
3787
3788 <text style="text_m">
3789 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3790 <text>{@part_sd_hdr=Partition SD Card}</text>
3791 </text>
3792
z31s1g782e1c92016-01-30 16:50:09 +01003793 <partitionlist>
3794 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003795 <text>{@sel_storage_list=Select Storage}</text>
3796 <data name="tw_storage_path"/>
3797 <listtype name="storage"/>
3798 </partitionlist>
3799
z31s1g782e1c92016-01-30 16:50:09 +01003800 <text style="text_m_fail">
3801 <condition var1="partitionlisterror" var2="1"/>
3802 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3803 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3804 </text>
3805
3806 <button style="main_button_half_width">
3807 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003808 <text>{@ok_btn=OK}</text>
3809 <actions>
3810 <action function="getpartitiondetails">tw_storage_path</action>
3811 <action function="page">partsdcardcheck</action>
3812 </actions>
3813 </button>
3814
Ethan Yonker483e9f42016-01-11 22:21:18 -06003815 <action>
3816 <touch key="home"/>
3817 <action function="page">main</action>
3818 </action>
3819
3820 <action>
3821 <touch key="back"/>
3822 <action function="page">advanced</action>
3823 </action>
3824 </page>
3825
3826 <page name="partsdcardcheck">
3827 <action>
3828 <condition var1="tw_partition_removable" op="=" var2="1"/>
3829 <actions>
3830 <action function="set">partitionlisterror=0</action>
3831 <action function="page">partsdcard</action>
3832 </actions>
3833 </action>
3834
3835 <action>
3836 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3837 <actions>
3838 <action function="set">partitionlisterror=1</action>
3839 <action function="page">partsdcardsel</action>
3840 </actions>
3841 </action>
3842 </page>
3843
z31s1g28f0a922015-11-07 18:50:22 +01003844 <page name="partsdcard">
3845 <template name="page"/>
3846
3847 <text style="text_l">
3848 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 </text>
3851
3852 <text style="text_m">
3853 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003855 </text>
3856
3857 <text style="text_m_fail">
3858 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003859 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003860 </text>
3861
3862 <text style="text_m_fail">
3863 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003864 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003865 </text>
3866
3867 <text style="text_m_accent">
3868 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003869 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003870 </text>
3871
3872 <text style="text_m">
3873 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3874 <text>%tw_sdext_size%</text>
3875 </text>
3876
3877 <button style="button_quarter_width">
3878 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003880 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </button>
3882
3883 <button style="button_quarter_width">
3884 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003885 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003886 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003887 </button>
3888
3889 <text style="text_m_accent">
3890 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003891 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003892 </text>
3893
3894 <text style="text_m">
3895 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3896 <text>%tw_swap_size%</text>
3897 </text>
3898
3899 <button style="button_quarter_width">
3900 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003901 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003902 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </button>
3904
3905 <button style="button_quarter_width">
3906 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003908 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003909 </button>
3910
3911 <text style="text_m_accent">
3912 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003913 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003914 </text>
3915
3916 <text style="text_m">
3917 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3918 <text>%tw_sdpart_file_system%</text>
3919 </text>
3920
3921 <button style="button_quarter_width">
3922 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3923 <text>EXT3</text>
3924 <action function="set">tw_sdpart_file_system=ext3</action>
3925 </button>
3926
3927 <button style="button_quarter_width">
3928 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3929 <text>EXT4</text>
3930 <action function="set">tw_sdpart_file_system=ext4</action>
3931 </button>
3932
3933 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003934 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003935 <action function="page">partsdcardaction</action>
3936 <actions>
3937 <action function="set">tw_back=partsdcard</action>
3938 <action function="set">tw_action=partitionsd</action>
3939 <action function="set">tw_has_action2=1</action>
3940 <action function="set">tw_action2=set</action>
3941 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003942 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3943 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3944 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003945 <action function="page">action_page</action>
3946 </actions>
3947 </slider>
3948
3949 <action>
3950 <touch key="home"/>
3951 <action function="page">main</action>
3952 </action>
3953
3954 <action>
3955 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003956 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </action>
3958 </page>
3959
3960 <page name="htcdumlock">
3961 <template name="page"/>
3962
3963 <text style="text_l">
3964 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003965 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003966 </text>
3967
3968 <text style="text_m">
3969 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003970 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003971 </text>
3972
3973 <button style="main_button_m">
3974 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <actions>
3977 <action function="set">tw_back=htcdumlock</action>
3978 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003979 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3980 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3981 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3982 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003983 <action function="page">confirm_action</action>
3984 </actions>
3985 </button>
3986
3987 <button style="main_button_m">
3988 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003989 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003990 <actions>
3991 <action function="set">tw_back=htcdumlock</action>
3992 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003993 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3994 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3995 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3996 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003997 <action function="page">confirm_action</action>
3998 </actions>
3999 </button>
4000
4001 <button style="main_button_m">
4002 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004003 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004004 <actions>
4005 <action function="set">tw_back=htcdumlock</action>
4006 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004007 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4008 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4009 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4010 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004011 <action function="page">confirm_action</action>
4012 </actions>
4013 </button>
4014
4015 <action>
4016 <touch key="home"/>
4017 <action function="page">main</action>
4018 </action>
4019
4020 <action>
4021 <touch key="back"/>
4022 <action function="page">advanced</action>
4023 </action>
4024 </page>
4025
Ethan Yonker53796e72019-01-11 22:49:52 -06004026 <page name="repackselect">
4027 <template name="page"/>
4028
4029 <text style="text_l">
4030 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4031 <text>{@repack_image_hdr=Select Image}</text>
4032 </text>
4033
4034 <text style="text_m">
4035 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4036 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4037 </text>
4038
4039 <template name="sort_options"/>
4040
4041 <fileselector>
4042 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4043 <text>%tw_zip_location%</text>
4044 <filter extn=".img" folders="1" files="1"/>
4045 <path name="tw_zip_location" default="/sdcard"/>
4046 <data name="tw_filename"/>
4047 <selection name="tw_file"/>
4048 </fileselector>
4049
4050 <button style="main_button_half_width_low">
4051 <placement x="%col_button_right%" y="%row16a_y%"/>
4052 <text>{@select_storage_btn=Select Storage}</text>
4053 <actions>
4054 <action function="set">tw_back=install</action>
4055 <action function="overlay">select_storage</action>
4056 </actions>
4057 </button>
4058
4059 <action>
4060 <conditions>
4061 <condition var1="tw_filename" op="modified"/>
4062 </conditions>
4063 <action function="page">repackconfirm</action>
4064 </action>
4065
4066 <action>
4067 <touch key="back"/>
4068 <action function="page">advanced</action>
4069 </action>
4070
4071 <action>
4072 <touch key="home"/>
4073 <action function="page">main</action>
4074 </action>
4075 </page>
4076
4077 <page name="repackconfirm">
4078 <template name="page"/>
4079
4080 <text style="text_l">
4081 <condition var1="tw_repack_kernel" var2="1"/>
4082 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4083 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4084 </text>
4085
4086 <text style="text_l">
4087 <condition var1="tw_repack_kernel" var2="0"/>
4088 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4089 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4090 </text>
4091
4092 <text style="text_m">
4093 <condition var1="tw_repack_kernel" var2="1"/>
4094 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4095 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4096 </text>
4097
4098 <text style="text_m">
4099 <condition var1="tw_repack_kernel" var2="0"/>
4100 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4101 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4102 </text>
4103
4104 <text style="text_m_accent">
4105 <placement x="%indent%" y="%row2_y%"/>
4106 <text>{@folder=Folder:}</text>
4107 </text>
4108
4109 <text style="text_m">
4110 <placement x="%indent%" y="%row3_y%"/>
4111 <text>%tw_zip_location%</text>
4112 </text>
4113
4114 <text style="text_m_accent">
4115 <placement x="%indent%" y="%row4_y%"/>
4116 <text>{@file=File:}</text>
4117 </text>
4118
4119 <text style="text_m">
4120 <placement x="%indent%" y="%row5_y%"/>
4121 <text>%tw_file%</text>
4122 </text>
4123
4124 <checkbox>
4125 <placement x="%indent%" y="%row7_y%"/>
4126 <text>{@repack_backup_first=Back up existing image first}</text>
4127 <data variable="tw_repack_backup_first"/>
4128 </checkbox>
4129
4130 <button style="main_button_half_width">
4131 <placement x="%col1_x_left%" y="%row15a_y%"/>
4132 <text>{@install_cancel=Do not Install}</text>
4133 <action function="page">repackselect</action>
4134 </button>
4135
4136 <slider style="slider_centered">
4137 <text>{@swipe_to_install=Swipe to Install}</text>
4138 <actions>
4139 <action function="set">tw_back=advanced</action>
4140 <action function="set">tw_action=repackimage</action>
4141 <action function="set">tw_action_param=/boot</action>
4142 <action function="set">tw_action_text1={@installing=Installing...}</action>
4143 <action function="set">tw_action_text2=</action>
4144 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4145 <action function="page">action_page</action>
4146 </actions>
4147 </slider>
4148
4149 <action>
4150 <touch key="back"/>
4151 <action function="page">repackselect</action>
4152 </action>
4153
4154 <action>
4155 <touch key="home"/>
4156 <action function="page">main</action>
4157 </action>
4158 </page>
4159
z31s1g28f0a922015-11-07 18:50:22 +01004160 <page name="lock">
4161 <background color="%semi_transparent%"/>
4162
4163 <image>
4164 <image resource="unlock_icon"/>
4165 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4166 </image>
4167
4168 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004169 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004170 <action function="overlay"/>
4171 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004172
4173 <action>
4174 <touch key="power"/>
4175 <action function="togglebacklight"/>
4176 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004177 </page>
4178
4179 <page name="filemanagerlist">
4180 <template name="page"/>
4181
4182 <text style="text_l">
4183 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004184 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004185 </text>
4186
4187 <text style="text_m">
4188 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004189 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004190 </text>
4191
4192 <template name="sort_options"/>
4193
4194 <fileselector>
4195 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4196 <text>%tw_file_location1%</text>
4197 <filter folders="1" files="1"/>
4198 <path name="tw_file_location1" default="/"/>
4199 <data name="tw_filename1"/>
4200 <selection name="tw_selection1"/>
4201 </fileselector>
4202
4203 <button style="main_button_half_width_low">
4204 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 <actions>
4207 <action function="set">tw_filename1=tw_file_location1</action>
4208 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004210 <action function="page">filemanageroptions</action>
4211 </actions>
4212 </button>
4213
4214 <action>
4215 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004217 <action function="set">tw_fm_isfolder=0</action>
4218 </actions>
4219 </action>
4220
4221 <action>
4222 <touch key="home"/>
4223 <action function="page">main</action>
4224 </action>
4225
4226 <action>
4227 <touch key="back"/>
4228 <action function="page">advanced</action>
4229 </action>
4230
4231 <action>
4232 <condition var1="tw_filename1" op="modified"/>
4233 <action function="page">filemanageroptions</action>
4234 </action>
4235 </page>
4236
4237 <page name="filemanageroptions">
4238 <template name="page"/>
4239
4240 <text style="text_l">
4241 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004242 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004243 </text>
4244
4245 <text style="text_m">
4246 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004247 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004248 </text>
4249
4250 <text style="text_m_accent">
4251 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004252 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004253 </text>
4254
4255 <text style="text_m">
4256 <placement x="%col1_x_left%" y="%row3_y%"/>
4257 <text>%tw_filename1%</text>
4258 </text>
4259
4260 <button style="main_button_half_width">
4261 <condition var1="tw_fm_isfolder" var2="0"/>
4262 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <actions>
4265 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004266 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004267 <action function="page">choosedestinationfolder</action>
4268 </actions>
4269 </button>
4270
4271 <button style="main_button_half_width">
4272 <condition var1="tw_fm_isfolder" var2="1"/>
4273 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004274 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004275 <actions>
4276 <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 -05004277 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004278 <action function="page">choosedestinationfolder</action>
4279 </actions>
4280 </button>
4281
4282 <button style="main_button_half_width">
Captain Throwback16dd81b2021-02-12 19:32:36 -05004283edi <conditions>
4284 <condition var1="tw_include_nano" var2="1"/>
4285 <condition var1="tw_fm_isfolder" var2="0"/>
4286 </conditions>
4287 <placement x="%col1_x_left%" y="%row15a_y%"/>
4288 <text>{@fm_edit_file=Edit File}</text>
4289 <actions>
4290 <action function="editfile">nano "%tw_filename1%"</action>
4291 <action function="page">terminalcommand</action>
4292 </actions>
4293 </button>
4294
4295 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004296 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004297 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004298 <actions>
4299 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004301 <action function="page">choosedestinationfolder</action>
4302 </actions>
4303 </button>
4304
4305 <button style="main_button_half_width">
4306 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004307 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004308 <actions>
4309 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004311 <action function="set">tw_fm_text2=</action>
4312 <action function="set">tw_fm_text3=</action>
4313 <action function="set">tw_include_text3=0</action>
4314 <action function="set">tw_back=filemanageroptions</action>
4315 <action function="page">filemanagerconfirm</action>
4316 </actions>
4317 </button>
4318
4319 <button style="main_button_half_width">
4320 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004322 <actions>
4323 <action function="set">tw_filemanager_rename=0000</action>
4324 <action function="set">tw_fm_text2=</action>
4325 <action function="set">tw_fm_text3=</action>
4326 <action function="set">tw_include_text3=0</action>
4327 <action function="set">tw_back=filemanageroptions</action>
4328 <action function="page">filemanagerchmod</action>
4329 </actions>
4330 </button>
4331
4332 <button style="main_button_half_width">
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004333 <condition var1="tw_fm_isfolder" var2="1"/>
4334 <placement x="%col2_x_right%" y="%row15a_y%"/>
4335 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4336 <action function="changeterminal">%tw_filename1%</action>
4337 </button>
4338
4339 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004340 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004341 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004342 <actions>
4343 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004345 <action function="set">tw_fm_text2=</action>
4346 <action function="set">tw_fm_text3=</action>
4347 <action function="set">tw_include_text3=0</action>
4348 <action function="set">tw_back=filemanageroptions</action>
4349 <action function="page">filemanagerconfirm</action>
4350 </actions>
4351 </button>
4352
4353 <button style="main_button_half_width">
4354 <condition var1="tw_fm_isfolder" var2="0"/>
4355 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004356 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004357 <actions>
4358 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004359 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004360 <action function="set">tw_filemanager_command=mv</action>
4361 <action function="page">filemanagerrenamefile</action>
4362 </actions>
4363 </button>
4364
4365 <button style="main_button_half_width">
4366 <condition var1="tw_fm_isfolder" var2="1"/>
4367 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004368 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004369 <actions>
4370 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004371 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004372 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4373 <action function="page">filemanagerrenamefolder</action>
4374 </actions>
4375 </button>
4376
4377 <action>
4378 <touch key="home"/>
4379 <action function="page">main</action>
4380 </action>
4381
4382 <action>
4383 <touch key="back"/>
4384 <action function="page">filemanagerlist</action>
4385 </action>
4386 </page>
4387
4388 <page name="choosedestinationfolder">
4389 <template name="page"/>
4390
4391 <text style="text_l">
4392 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004393 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 </text>
4395
4396 <text style="text_m">
4397 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004398 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004399 </text>
4400
4401 <template name="sort_options"/>
4402
4403 <fileselector>
4404 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4405 <text>%tw_file_location2%</text>
4406 <filter folders="1" files="0"/>
4407 <path name="tw_file_location2" default="/"/>
4408 <data name="tw_filename2"/>
4409 <selection name="tw_selection2"/>
4410 </fileselector>
4411
4412 <button style="main_button_half_width_low">
4413 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004414 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004415 <actions>
4416 <action function="set">tw_fm_text2=to</action>
4417 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4418 <action function="set">tw_include_text3=1</action>
4419 <action function="set">tw_back=filemanageroptions</action>
4420 <action function="page">filemanagerconfirm</action>
4421 </actions>
4422 </button>
4423
4424 <action>
4425 <touch key="home"/>
4426 <action function="page">main</action>
4427 </action>
4428
4429 <action>
4430 <touch key="back"/>
4431 <action function="page">filemanageroptions</action>
4432 </action>
4433 </page>
4434
4435 <page name="filemanagerrenamefile">
4436 <template name="page"/>
4437
4438 <text style="text_l">
4439 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004440 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004441 </text>
4442
4443 <text style="text_m">
4444 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </text>
4447
4448 <text style="text_m_accent">
4449 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004450 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004451 </text>
4452
4453 <input>
4454 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4455 <text>%tw_filemanager_rename%</text>
4456 <data name="tw_filemanager_rename"/>
4457 <restrict minlen="1" maxlen="128"/>
4458 <actions>
4459 <action function="set">tw_fm_text2=to</action>
4460 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4461 <action function="set">tw_include_text3=1</action>
4462 <action function="set">tw_back=filemanageroptions</action>
4463 <action function="page">filemanagerconfirm</action>
4464 </actions>
4465 </input>
4466
4467 <fill color="%accent_color%">
4468 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4469 </fill>
4470
4471 <button style="main_button_half_width_low">
4472 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004473 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004474 <action function="page">filemanageroptions</action>
4475 </button>
4476
4477 <template name="keyboardtemplate"/>
4478
4479 <action>
4480 <touch key="home"/>
4481 <action function="page">main</action>
4482 </action>
4483
4484 <action>
4485 <touch key="back"/>
4486 <action function="page">filemanageroptions</action>
4487 </action>
4488 </page>
4489
4490 <page name="filemanagerrenamefolder">
4491 <template name="page"/>
4492
4493 <text style="text_l">
4494 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004495 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004496 </text>
4497
4498 <text style="text_m">
4499 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004500 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004501 </text>
4502
4503 <text style="text_m_accent">
4504 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004505 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004506 </text>
4507
4508 <input>
4509 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4510 <text>%tw_filemanager_rename%</text>
4511 <data name="tw_filemanager_rename"/>
4512 <restrict minlen="1" maxlen="128"/>
4513 <actions>
4514 <action function="set">tw_fm_text2=to</action>
4515 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4516 <action function="set">tw_include_text3=1</action>
4517 <action function="set">tw_back=filemanageroptions</action>
4518 <action function="page">filemanagerconfirm</action>
4519 </actions>
4520 </input>
4521
4522 <fill color="%accent_color%">
4523 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4524 </fill>
4525
4526 <button style="main_button_half_width_low">
4527 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 <action function="page">filemanageroptions</action>
4530 </button>
4531
4532 <template name="keyboardtemplate"/>
4533
4534 <action>
4535 <touch key="home"/>
4536 <action function="page">main</action>
4537 </action>
4538
4539 <action>
4540 <touch key="back"/>
4541 <action function="page">filemanageroptions</action>
4542 </action>
4543 </page>
4544
4545 <page name="filemanagerchmod">
4546 <template name="page"/>
4547
4548 <text style="text_l">
4549 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m">
4554 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
4558 <text style="text_m_accent">
4559 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004560 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004561 </text>
4562
4563 <input>
4564 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4565 <text>%tw_filemanager_rename%</text>
4566 <data name="tw_filemanager_rename"/>
4567 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4568 <actions>
4569 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4570 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4571 <action function="set">tw_back=filemanageroptions</action>
4572 <action function="page">filemanagerconfirm</action>
4573 </actions>
4574 </input>
4575
4576 <fill color="%accent_color%">
4577 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4578 </fill>
4579
4580 <button style="main_button_half_width_low">
4581 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004582 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004583 <action function="page">filemanageroptions</action>
4584 </button>
4585
4586 <template name="keyboardtemplate"/>
4587
4588 <action>
4589 <touch key="home"/>
4590 <action function="page">main</action>
4591 </action>
4592
4593 <action>
4594 <touch key="back"/>
4595 <action function="page">filemanageroptions</action>
4596 </action>
4597 </page>
4598
4599 <page name="filemanagerconfirm">
4600 <template name="page"/>
4601
4602 <text style="text_l">
4603 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <text style="text_m">
4608 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004609 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004610 </text>
4611
4612 <text style="text_m_accent">
4613 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4614 <text>%tw_fm_text1%</text>
4615 </text>
4616
4617 <text style="text_m">
4618 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4619 <text>%tw_filename1%</text>
4620 </text>
4621
4622 <text style="text_m_accent">
4623 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4624 <text>%tw_fm_text2%</text>
4625 </text>
4626
4627 <text style="text_m">
4628 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4629 <text>%tw_fm_text3%</text>
4630 </text>
4631
4632 <text style="text_m">
4633 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </text>
4636
4637 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004638 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004639 <action function="page">filemanageraction</action>
4640 </slider>
4641
4642 <action>
4643 <touch key="back"/>
4644 <action function="page">%tw_back%</action>
4645 </action>
4646
4647 <action>
4648 <touch key="home"/>
4649 <action function="page">main</action>
4650 </action>
4651 </page>
4652
4653 <page name="filemanageraction">
4654 <template name="page"/>
4655
4656 <text style="text_l">
4657 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004658 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004659 </text>
4660
4661 <text style="text_m">
4662 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4663 <text>%tw_fm_text1%</text>
4664 </text>
4665
4666 <template name="console"/>
4667
4668 <template name="progress_bar"/>
4669
4670 <action>
4671 <conditions>
4672 <condition var1="tw_operation_state" var2="1"/>
4673 <condition var1="tw_operation_status" var2="0"/>
4674 </conditions>
4675 <actions>
4676 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004677 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004678 <action function="page">action_complete</action>
4679 </actions>
4680 </action>
4681
4682 <action>
4683 <conditions>
4684 <condition var1="tw_operation_state" var2="1"/>
4685 <condition var1="tw_operation_status" op="!=" var2="0"/>
4686 </conditions>
4687 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004688 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004689 <action function="page">action_complete</action>
4690 </actions>
4691 </action>
4692
4693 <action>
4694 <condition var1="tw_include_text3" var2="0"/>
4695 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4696 </action>
4697
4698 <action>
4699 <condition var1="tw_include_text3" var2="1"/>
4700 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4701 </action>
4702 </page>
4703
4704 <page name="decrypt">
4705 <template name="page"/>
4706
4707 <action>
4708 <condition var1="tw_crypto_pwtype" var2="2"/>
4709 <action function="page">decrypt_pattern</action>
4710 </action>
4711
4712 <text style="text_l">
4713 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004714 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004715 </text>
4716
4717 <text style="text_m">
4718 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004719 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004720 </text>
4721
4722 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004723 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004724 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004726 </text>
4727
Noah Jacobson81d638d2019-04-28 00:10:07 -04004728 <text style="text_m_accent">
4729 <condition var1="tw_is_fbe" var2="1"/>
4730 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4731 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4732 </text>
4733
z31s1g28f0a922015-11-07 18:50:22 +01004734 <input>
4735 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4736 <text>%tw_crypto_display%</text>
4737 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4738 <restrict minlen="1" maxlen="254"/>
4739 <action function="page">trydecrypt</action>
4740 </input>
4741
4742 <fill color="%accent_color%">
4743 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4744 </fill>
4745
4746 <fill color="%text_fail_color%">
4747 <condition var1="tw_password_fail" var2="1"/>
4748 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4749 </fill>
4750
4751 <text style="text_m_fail">
4752 <condition var1="tw_password_fail" var2="1"/>
4753 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004754 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004755 </text>
4756
4757 <button style="main_button_half_width_low">
4758 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004759 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004760 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004761 </button>
4762
z31s1g608d7ff2016-01-18 19:47:25 +01004763 <button style="main_button_half_width_low">
4764 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4765 <text>{@sel_lang_btn=Select Language}</text>
4766 <action function="overlay">select_language</action>
4767 </button>
4768
z31s1g28f0a922015-11-07 18:50:22 +01004769 <template name="keyboardtemplate"/>
4770 </page>
4771
4772 <page name="decrypt_pattern">
4773 <template name="page"/>
4774
4775 <text style="text_l">
4776 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004777 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004778 </text>
4779
4780 <text style="text_m">
4781 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004782 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004783 </text>
4784
4785 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004786 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004787 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004788 </text>
4789
Aleksa Saraib25a1832015-12-31 17:36:00 +01004790 <text style="text_m_fail">
4791 <condition var1="tw_password_fail" var2="1"/>
4792 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004793 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004794 </text>
4795
z31s1g28f0a922015-11-07 18:50:22 +01004796 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004797 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004798 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4799 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4800 <data name="tw_crypto_password"/>
4801 <action function="page">trydecrypt</action>
4802 </patternpassword>
4803
Aleksa Saraib25a1832015-12-31 17:36:00 +01004804 <button style="main_button_half_width_low">
4805 <placement x="%col_button_right%" y="%row1a_y%"/>
4806 <text>3x3</text>
4807 <action function="set">tw_gui_pattern_grid_size=3</action>
4808 </button>
4809
4810 <button style="main_button_half_width_low">
4811 <placement x="%col_button_right%" y="%row4a_y%"/>
4812 <text>4x4</text>
4813 <action function="set">tw_gui_pattern_grid_size=4</action>
4814 </button>
4815
4816 <button style="main_button_half_width_low">
4817 <placement x="%col_button_right%" y="%row7a_y%"/>
4818 <text>5x5</text>
4819 <action function="set">tw_gui_pattern_grid_size=5</action>
4820 </button>
4821
4822 <button style="main_button_half_width_low">
4823 <placement x="%col_button_right%" y="%row10a_y%"/>
4824 <text>6x6</text>
4825 <action function="set">tw_gui_pattern_grid_size=6</action>
4826 </button>
4827
z31s1g28f0a922015-11-07 18:50:22 +01004828 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004829 <placement x="%col1_x_right%" y="%row15a_y%"/>
4830 <text>{@sel_lang_btn=Select Language}</text>
4831 <action function="overlay">select_language</action>
4832 </button>
4833
4834 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004835 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004836 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004837 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004838 </button>
4839 </page>
4840
4841 <page name="trydecrypt">
4842 <template name="page"/>
4843
4844 <text style="text_l">
4845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004846 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004847 </text>
4848
4849 <text style="text_m">
4850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004851 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004852 </text>
4853
4854 <template name="console"/>
4855
4856 <template name="progress_bar"/>
4857
4858 <action>
4859 <action function="decrypt"/>
4860 </action>
4861
4862 <action>
4863 <conditions>
4864 <condition var1="tw_operation_state" var2="1"/>
4865 <condition var1="tw_operation_status" op="!=" var2="0"/>
4866 </conditions>
4867 <actions>
4868 <action function="set">tw_password_fail=1</action>
4869 <action function="page">decrypt</action>
4870 </actions>
4871 </action>
4872
4873 <action>
4874 <conditions>
4875 <condition var1="tw_operation_state" var2="1"/>
4876 <condition var1="tw_operation_status" op="=" var2="0"/>
4877 </conditions>
4878 <actions>
4879 <action function="set">tw_page_done=1</action>
4880 <action function="page">main</action>
4881 </actions>
4882 </action>
4883 </page>
4884
Captain Throwback89b56a12021-02-10 18:25:07 -05004885 <page name="canceldecrypt">
4886 <template name="page"/>
4887
4888 <text style="text_l">
4889 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4890 <text>{@cancel_btn=Cancel}</text>
4891 </text>
4892
4893 <text style="text_m">
4894 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4895 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
4896 </text>
4897
4898 <template name="console"/>
4899
4900 <template name="progress_bar"/>
4901
4902 <action>
4903 <action function="refreshsizes"/>
4904 </action>
4905
4906 <action>
4907 <conditions>
4908 <condition var1="tw_operation_state" var2="1"/>
4909 </conditions>
4910 <actions>
4911 <action function="set">tw_page_done=1</action>
4912 <action function="page">main</action>
4913 </actions>
4914 </action>
4915 </page>
4916
z31s1g28f0a922015-11-07 18:50:22 +01004917 <page name="terminalcommand">
4918 <template name="page"/>
4919
4920 <fill color="%background_color%">
4921 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4922 </fill>
4923
z31s1g56189522016-01-13 19:12:40 +01004924 <terminal>
4925 <condition var1="tw_hide_kb" var2="0"/>
4926 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4927 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004928
z31s1g56189522016-01-13 19:12:40 +01004929 <terminal>
4930 <condition var1="tw_hide_kb" var2="1"/>
4931 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4932 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004933
z31s1g56189522016-01-13 19:12:40 +01004934 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004935
z31s1g56189522016-01-13 19:12:40 +01004936 <object type="fill" color="#000000">
4937 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4938 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004939
z31s1g608d7ff2016-01-18 19:47:25 +01004940 <button>
z31s1g56189522016-01-13 19:12:40 +01004941 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4942 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4943 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4944 <image resource="back" />
4945 <condition var1="tw_busy" var2="0" />
4946 <actions>
4947 <action function="set">tw_hide_kb=0</action>
4948 <action function="page">advanced</action>
4949 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004950 </button>
z31s1g56189522016-01-13 19:12:40 +01004951
z31s1g608d7ff2016-01-18 19:47:25 +01004952 <button>
z31s1g56189522016-01-13 19:12:40 +01004953 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4954 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4955 <condition var1="tw_hide_kb" op="=" var2="0" />
4956 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4957 <image resource="kb_hide" />
4958 <condition var1="tw_busy" var2="0" />
4959 <actions>
4960 <action function="set">tw_hide_kb=1</action>
4961 <action function="page">terminalcommand</action>
4962 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004963 </button>
z31s1g56189522016-01-13 19:12:40 +01004964
z31s1g608d7ff2016-01-18 19:47:25 +01004965 <button>
z31s1g56189522016-01-13 19:12:40 +01004966 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4967 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4968 <condition var1="tw_hide_kb" op="=" var2="1" />
4969 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="kb_show" />
4971 <condition var1="tw_busy" var2="0" />
4972 <actions>
4973 <action function="set">tw_hide_kb=0</action>
4974 <action function="page">terminalcommand</action>
4975 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004976 </button>
z31s1g56189522016-01-13 19:12:40 +01004977
z31s1g608d7ff2016-01-18 19:47:25 +01004978 <button>
z31s1g56189522016-01-13 19:12:40 +01004979 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4980 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4981 <image resource="home" />
4982 <condition var1="tw_busy" var2="0" />
4983 <actions>
4984 <action function="set">tw_hide_kb=0</action>
4985 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004986 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004987 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004988 </button>
z31s1g56189522016-01-13 19:12:40 +01004989
z31s1g608d7ff2016-01-18 19:47:25 +01004990 <button>
z31s1g56189522016-01-13 19:12:40 +01004991 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4992 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4993 <condition var1="tw_hide_kb" op="=" var2="0" />
4994 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4995 <image resource="kb_hide" />
4996 <condition var1="tw_busy" var2="0" />
4997 <actions>
4998 <action function="set">tw_hide_kb=1</action>
4999 <action function="page">terminalcommand</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_navbar_button_position" op="=" var2="0" />
5005 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5006 <condition var1="tw_hide_kb" op="=" var2="1" />
5007 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5008 <image resource="kb_show" />
5009 <condition var1="tw_busy" var2="0" />
5010 <actions>
5011 <action function="set">tw_hide_kb=0</action>
5012 <action function="page">terminalcommand</action>
5013 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005014 </button>
z31s1g56189522016-01-13 19:12:40 +01005015
z31s1g608d7ff2016-01-18 19:47:25 +01005016 <button>
z31s1g56189522016-01-13 19:12:40 +01005017 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5018 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5019 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5020 <image resource="back" />
5021 <condition var1="tw_busy" var2="0" />
5022 <actions>
5023 <action function="set">tw_hide_kb=0</action>
5024 <action function="page">advanced</action>
5025 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005026 </button>
z31s1g56189522016-01-13 19:12:40 +01005027
z31s1g608d7ff2016-01-18 19:47:25 +01005028 <button>
z31s1g56189522016-01-13 19:12:40 +01005029 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5030 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5031 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5032 <image resource="back" />
5033 <condition var1="tw_busy" var2="0" />
5034 <actions>
5035 <action function="set">tw_hide_kb=0</action>
5036 <action function="page">advanced</action>
5037 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005038 </button>
z31s1g56189522016-01-13 19:12:40 +01005039
z31s1g608d7ff2016-01-18 19:47:25 +01005040 <button>
z31s1g56189522016-01-13 19:12:40 +01005041 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5042 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5043 <condition var1="tw_hide_kb" op="=" var2="0" />
5044 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5045 <image resource="kb_hide" />
5046 <condition var1="tw_busy" var2="0" />
5047 <actions>
5048 <action function="set">tw_hide_kb=1</action>
5049 <action function="page">terminalcommand</action>
5050 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005051 </button>
z31s1g56189522016-01-13 19:12:40 +01005052
z31s1g608d7ff2016-01-18 19:47:25 +01005053 <button>
z31s1g56189522016-01-13 19:12:40 +01005054 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5055 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5056 <condition var1="tw_hide_kb" op="=" var2="1" />
5057 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5058 <image resource="kb_show" />
5059 <condition var1="tw_busy" var2="0" />
5060 <actions>
5061 <action function="set">tw_hide_kb=0</action>
5062 <action function="page">terminalcommand</action>
5063 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005064 </button>
z31s1g56189522016-01-13 19:12:40 +01005065
z31s1g608d7ff2016-01-18 19:47:25 +01005066 <button>
z31s1g56189522016-01-13 19:12:40 +01005067 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5068 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5069 <image resource="home" />
5070 <condition var1="tw_busy" var2="0" />
5071 <actions>
5072 <action function="set">tw_hide_kb=0</action>
5073 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005074 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005075 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005076 </button>
z31s1g56189522016-01-13 19:12:40 +01005077
z31s1g608d7ff2016-01-18 19:47:25 +01005078 <button>
z31s1g56189522016-01-13 19:12:40 +01005079 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5080 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5081 <condition var1="tw_hide_kb" op="=" var2="0" />
5082 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5083 <image resource="kb_hide" />
5084 <condition var1="tw_busy" var2="0" />
5085 <actions>
5086 <action function="set">tw_hide_kb=1</action>
5087 <action function="page">terminalcommand</action>
5088 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005089 </button>
z31s1g56189522016-01-13 19:12:40 +01005090
z31s1g608d7ff2016-01-18 19:47:25 +01005091 <button>
z31s1g56189522016-01-13 19:12:40 +01005092 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5093 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5094 <condition var1="tw_hide_kb" op="=" var2="1" />
5095 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5096 <image resource="kb_show" />
5097 <condition var1="tw_busy" var2="0" />
5098 <actions>
5099 <action function="set">tw_hide_kb=0</action>
5100 <action function="page">terminalcommand</action>
5101 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005102 </button>
z31s1g56189522016-01-13 19:12:40 +01005103
z31s1g608d7ff2016-01-18 19:47:25 +01005104 <button>
z31s1g56189522016-01-13 19:12:40 +01005105 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5106 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5107 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5108 <image resource="back" />
5109 <condition var1="tw_busy" var2="0" />
5110 <actions>
5111 <action function="set">tw_hide_kb=0</action>
5112 <action function="page">advanced</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005113 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005114 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005115 </button>
z31s1g56189522016-01-13 19:12:40 +01005116
z31s1g608d7ff2016-01-18 19:47:25 +01005117 <button>
z31s1g56189522016-01-13 19:12:40 +01005118 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5119 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5120 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5121 <image resource="back" />
5122 <condition var1="tw_busy" var2="0" />
5123 <actions>
5124 <action function="set">tw_hide_kb=0</action>
5125 <action function="page">advanced</action>
5126 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005127 </button>
z31s1g56189522016-01-13 19:12:40 +01005128
z31s1g608d7ff2016-01-18 19:47:25 +01005129 <button>
z31s1g56189522016-01-13 19:12:40 +01005130 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5131 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5132 <condition var1="tw_hide_kb" op="=" var2="0" />
5133 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5134 <image resource="kb_hide" />
5135 <condition var1="tw_busy" var2="0" />
5136 <actions>
5137 <action function="set">tw_hide_kb=1</action>
5138 <action function="page">terminalcommand</action>
5139 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005140 </button>
z31s1g56189522016-01-13 19:12:40 +01005141
z31s1g608d7ff2016-01-18 19:47:25 +01005142 <button>
z31s1g56189522016-01-13 19:12:40 +01005143 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5144 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5145 <condition var1="tw_hide_kb" op="=" var2="1" />
5146 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5147 <image resource="kb_show" />
5148 <condition var1="tw_busy" var2="0" />
5149 <actions>
5150 <action function="set">tw_hide_kb=0</action>
5151 <action function="page">terminalcommand</action>
5152 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005153 </button>
z31s1g56189522016-01-13 19:12:40 +01005154
z31s1g608d7ff2016-01-18 19:47:25 +01005155 <button>
z31s1g56189522016-01-13 19:12:40 +01005156 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5157 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5158 <image resource="home" />
5159 <condition var1="tw_busy" var2="0" />
5160 <actions>
5161 <action function="set">tw_hide_kb=0</action>
5162 <action function="key">home</action>
5163 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005164 </button>
z31s1g56189522016-01-13 19:12:40 +01005165
z31s1g608d7ff2016-01-18 19:47:25 +01005166 <button>
z31s1g56189522016-01-13 19:12:40 +01005167 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5168 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5169 <condition var1="tw_hide_kb" op="=" var2="0" />
5170 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5171 <image resource="kb_hide" />
5172 <condition var1="tw_busy" var2="0" />
5173 <actions>
5174 <action function="set">tw_hide_kb=1</action>
5175 <action function="page">terminalcommand</action>
5176 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005177 </button>
z31s1g56189522016-01-13 19:12:40 +01005178
z31s1g608d7ff2016-01-18 19:47:25 +01005179 <button>
z31s1g56189522016-01-13 19:12:40 +01005180 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5181 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5182 <condition var1="tw_hide_kb" op="=" var2="1" />
5183 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5184 <image resource="kb_show" />
5185 <condition var1="tw_busy" var2="0" />
5186 <actions>
5187 <action function="set">tw_hide_kb=0</action>
5188 <action function="page">terminalcommand</action>
5189 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005190 </button>
z31s1g56189522016-01-13 19:12:40 +01005191
z31s1g608d7ff2016-01-18 19:47:25 +01005192 <button>
z31s1g56189522016-01-13 19:12:40 +01005193 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5194 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5195 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5196 <image resource="back" />
5197 <condition var1="tw_busy" var2="0" />
5198 <actions>
5199 <action function="set">tw_hide_kb=0</action>
5200 <action function="page">advanced</action>
5201 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005202 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005203
5204 <action>
5205 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005206 <actions>
5207 <action function="page">main</action>
5208 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005209 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005210 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005211 </action>
5212
5213 <action>
5214 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005215 <actions>
5216 <action function="page">advanced</action>
5217 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005218 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005219 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005220 </action>
z31s1g56189522016-01-13 19:12:40 +01005221
5222 <object type="action">
5223 <touch key="power+voldown" />
5224 <action function="screenshot" />
5225 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005226 </page>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005227
bigbiffdf8436b2020-08-30 16:22:34 -04005228 <page name="fastboot">
5229 <template name="page"/>
5230
5231 <text style="text_l">
5232 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5233 <text>{@fastboot_button=Fastboot}</text>
5234 </text>
5235
5236 <template name="console"/>
5237
5238 <template name="progress_bar"/>
5239
5240 <button style="main_button_half_width">
5241 <condition var1="tw_enable_fastboot" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005242 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005243 <text>{@enable_adb=Enable ADB}</text>
5244 <actions>
5245 <action function="enableadb"/>
5246 <action function="set">tw_enable_adb=1</action>
5247 <action function="set">tw_enable_fastboot=0</action>
5248 </actions>
5249 </button>
5250
5251 <button style="main_button_half_width">
5252 <condition var1="tw_enable_adb" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005253 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005254 <text>{@enable_fastboot=Enable Fastboot}</text>
5255 <actions>
5256 <action function="enablefastboot"/>
5257 <action function="set">tw_enable_fastboot=1</action>
5258 <action function="set">tw_enable_adb=0</action>
5259 </actions>
5260 </button>
5261
5262 <button style="main_button_half_width">
bigbiff7138a0f2020-10-24 19:52:25 -04005263 <placement x="%col2_x_right%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005264 <text>{@reboot_btn=Reboot}</text>
5265 <action function="page">fastbootreboot</action>
5266 </button>
5267 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005268
5269 <page name="sideload">
5270 <template name="page"/>
5271
5272 <text style="text_l">
5273 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005274 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005275 </text>
5276
5277 <text style="text_m">
5278 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005279 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005280 </text>
5281
5282 <checkbox>
5283 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005284 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005285 <data variable="tw_wipe_dalvik"/>
5286 </checkbox>
5287
5288 <checkbox>
5289 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005290 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005291 <data variable="tw_wipe_cache"/>
5292 </checkbox>
5293
5294 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005295 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005296 <actions>
5297 <action function="set">tw_back=advanced</action>
5298 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005299 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5300 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5301 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005302 <action function="set">tw_has_cancel=1</action>
5303 <action function="set">tw_show_reboot=1</action>
5304 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5305 <action function="page">action_page</action>
5306 </actions>
5307 </slider>
5308
5309 <action>
5310 <touch key="home"/>
5311 <action function="page">main</action>
5312 </action>
5313
5314 <action>
5315 <touch key="back"/>
5316 <action function="page">advanced</action>
5317 </action>
5318 </page>
5319
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005320 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005321 <template name="page"/>
5322
5323 <text style="text_l">
5324 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005325 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005326 </text>
5327
5328 <text style="text_m">
5329 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005330 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005331 </text>
5332
5333 <text style="text_m_accent">
5334 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005335 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005336 </text>
5337
z31s1g28f0a922015-11-07 18:50:22 +01005338 <text style="text_m_fail">
5339 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005340 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005341 </text>
5342
5343 <text style="text_m_fail">
5344 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005345 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005346 </text>
5347
5348 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005349 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005350 <actions>
5351 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005352 <action function="set">tw_action=fixcontexts</action>
5353 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5354 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005355 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005356 <action function="set">tw_show_reboot=1</action>
5357 <action function="page">action_page</action>
5358 </actions>
5359 </slider>
5360
5361 <action>
5362 <touch key="home"/>
5363 <action function="page">main</action>
5364 </action>
5365
5366 <action>
5367 <touch key="back"/>
5368 <action function="page">advanced</action>
5369 </action>
5370 </page>
5371
z31s1g28f0a922015-11-07 18:50:22 +01005372 <page name="slideout">
5373 <fill color="%background_color%">
5374 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5375 </fill>
5376
5377 <console>
5378 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5379 </console>
5380
5381 <button>
5382 <fill color="%transparent%"/>
5383 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5384 <action function="overlay"/>
5385 </button>
5386
5387 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005388 <touch key="power"/>
5389 <action function="togglebacklight"/>
5390 </action>
5391
5392 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005393 <touch key="power+voldown"/>
5394 <action function="screenshot"/>
5395 </action>
5396 </page>
5397
5398 <page name="select_storage">
5399 <fill color="%semi_transparent%">
5400 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5401 </fill>
5402
5403 <fill color="%background_color%">
5404 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5405 </fill>
5406
5407 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005408 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005409 <data name="tw_storage_path"/>
5410 <listtype name="storage"/>
5411 </partitionlist>
5412
5413 <button style="button_third_width">
5414 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005415 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005416 <actions>
5417 <action function="set">tw_clear_destination=%tw_back%</action>
5418 <action function="overlay"/>
5419 <action function="page">clear_vars</action>
5420 </actions>
5421 </button>
5422
5423 <fill color="#000000">
5424 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5425 </fill>
5426
5427 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005428 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5429 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5430 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5431 <image resource="back" />
5432 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005433 <actions>
5434 <action function="overlay"/>
5435 <action function="key">%tw_back%</action>
5436 </actions>
5437 </button>
5438
5439 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005440 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5441 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5442 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5443 <image resource="console" />
5444 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005445 <action function="overlay">slideout</action>
5446 </button>
5447
5448 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005449 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5450 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5451 <image resource="home" />
5452 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005453 <actions>
5454 <action function="overlay"/>
5455 <action function="key">home</action>
5456 </actions>
5457 </button>
5458
5459 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005460 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5461 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5462 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5463 <image resource="console" />
5464 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005465 <action function="overlay">slideout</action>
5466 </button>
5467
5468 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005469 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5470 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5471 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5472 <image resource="back" />
5473 <condition var1="tw_busy" var2="0" />
5474 <actions>
5475 <action function="overlay"/>
5476 <action function="key">%tw_back%</action>
5477 </actions>
5478 </button>
5479
5480 <button>
5481 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5482 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5483 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5484 <image resource="back" />
5485 <condition var1="tw_busy" var2="0" />
5486 <actions>
5487 <action function="overlay"/>
5488 <action function="key">%tw_back%</action>
5489 </actions>
5490 </button>
5491
5492 <button>
5493 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5494 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5495 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5496 <image resource="console" />
5497 <condition var1="tw_busy" var2="0" />
5498 <action function="overlay">slideout</action>
5499 </button>
5500
5501 <button>
5502 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5503 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5504 <image resource="home" />
5505 <condition var1="tw_busy" var2="0" />
5506 <actions>
5507 <action function="overlay"/>
5508 <action function="key">home</action>
5509 </actions>
5510 </button>
5511
5512 <button>
5513 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5514 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5515 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5516 <image resource="console" />
5517 <condition var1="tw_busy" var2="0" />
5518 <action function="overlay">slideout</action>
5519 </button>
5520
5521 <button>
5522 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5523 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5524 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5525 <image resource="back" />
5526 <condition var1="tw_busy" var2="0" />
5527 <actions>
5528 <action function="overlay"/>
5529 <action function="key">%tw_back%</action>
5530 </actions>
5531 </button>
5532
5533 <button>
5534 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5535 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5536 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5537 <image resource="back" />
5538 <condition var1="tw_busy" var2="0" />
5539 <actions>
5540 <action function="overlay"/>
5541 <action function="key">%tw_back%</action>
5542 </actions>
5543 </button>
5544
5545 <button>
5546 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5547 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5548 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5549 <image resource="console" />
5550 <condition var1="tw_busy" var2="0" />
5551 <action function="overlay">slideout</action>
5552 </button>
5553
5554 <button>
5555 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5556 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5557 <image resource="home" />
5558 <condition var1="tw_busy" var2="0" />
5559 <actions>
5560 <action function="overlay"/>
5561 <action function="key">home</action>
5562 </actions>
5563 </button>
5564
5565 <button>
5566 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5567 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5568 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5569 <image resource="console" />
5570 <condition var1="tw_busy" var2="0" />
5571 <action function="overlay">slideout</action>
5572 </button>
5573
5574 <button>
5575 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5576 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5577 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5578 <image resource="back" />
5579 <condition var1="tw_busy" var2="0" />
5580 <actions>
5581 <action function="overlay"/>
5582 <action function="key">%tw_back%</action>
5583 </actions>
5584 </button>
5585
5586 <action>
5587 <touch key="power+voldown"/>
5588 <action function="screenshot"/>
5589 </action>
5590 </page>
5591
5592 <page name="select_language">
5593 <fill color="%semi_transparent%">
5594 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5595 </fill>
5596
5597 <fill color="%background_color%">
5598 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5599 </fill>
5600
5601 <listbox>
5602 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5603 <text>{@select_language=Select Language:}</text>
5604 <icon selected="radio_true" unselected="radio_false" />
5605 <data name="tw_language" />
5606 </listbox>
5607
5608 <button style="button_third_width">
5609 <placement x="%dialog_button_x%" y="%row13_y%"/>
5610 <text>{@ok_btn=OK}</text>
5611 <actions>
5612 <action function="overlay"/>
5613 <action function="setlanguage"></action>
5614 </actions>
5615 </button>
5616
5617 <fill color="#000000">
5618 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5619 </fill>
5620
5621 <button>
5622 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5623 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5624 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5625 <image resource="back" />
5626 <condition var1="tw_busy" var2="0" />
5627 <actions>
5628 <action function="overlay"/>
5629 <action function="key">%tw_back%</action>
5630 </actions>
5631 </button>
5632
5633 <button>
5634 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5635 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5636 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5637 <image resource="console" />
5638 <condition var1="tw_busy" var2="0" />
5639 <action function="overlay">slideout</action>
5640 </button>
5641
5642 <button>
5643 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5644 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5645 <image resource="home" />
5646 <condition var1="tw_busy" var2="0" />
5647 <actions>
5648 <action function="overlay"/>
5649 <action function="key">home</action>
5650 </actions>
5651 </button>
5652
5653 <button>
5654 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5655 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5656 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5657 <image resource="console" />
5658 <condition var1="tw_busy" var2="0" />
5659 <action function="overlay">slideout</action>
5660 </button>
5661
5662 <button>
5663 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5664 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5665 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5666 <image resource="back" />
5667 <condition var1="tw_busy" var2="0" />
5668 <actions>
5669 <action function="overlay"/>
5670 <action function="key">%tw_back%</action>
5671 </actions>
5672 </button>
5673
5674 <button>
5675 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5676 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5677 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5678 <image resource="back" />
5679 <condition var1="tw_busy" var2="0" />
5680 <actions>
5681 <action function="overlay"/>
5682 <action function="key">%tw_back%</action>
5683 </actions>
5684 </button>
5685
5686 <button>
5687 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5688 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5689 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5690 <image resource="console" />
5691 <condition var1="tw_busy" var2="0" />
5692 <action function="overlay">slideout</action>
5693 </button>
5694
5695 <button>
5696 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5697 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5698 <image resource="home" />
5699 <condition var1="tw_busy" var2="0" />
5700 <actions>
5701 <action function="overlay"/>
5702 <action function="key">home</action>
5703 </actions>
5704 </button>
5705
5706 <button>
5707 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5708 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5709 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5710 <image resource="console" />
5711 <condition var1="tw_busy" var2="0" />
5712 <action function="overlay">slideout</action>
5713 </button>
5714
5715 <button>
5716 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5717 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5718 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5719 <image resource="back" />
5720 <condition var1="tw_busy" var2="0" />
5721 <actions>
5722 <action function="overlay"/>
5723 <action function="key">%tw_back%</action>
5724 </actions>
5725 </button>
5726
5727 <button>
5728 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5729 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5730 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5731 <image resource="back" />
5732 <condition var1="tw_busy" var2="0" />
5733 <actions>
5734 <action function="overlay"/>
5735 <action function="key">%tw_back%</action>
5736 </actions>
5737 </button>
5738
5739 <button>
5740 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5741 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5742 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5743 <image resource="console" />
5744 <condition var1="tw_busy" var2="0" />
5745 <action function="overlay">slideout</action>
5746 </button>
5747
5748 <button>
5749 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5750 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5751 <image resource="home" />
5752 <condition var1="tw_busy" var2="0" />
5753 <actions>
5754 <action function="overlay"/>
5755 <action function="key">home</action>
5756 </actions>
5757 </button>
5758
5759 <button>
5760 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5761 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5762 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5763 <image resource="console" />
5764 <condition var1="tw_busy" var2="0" />
5765 <action function="overlay">slideout</action>
5766 </button>
5767
5768 <button>
5769 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5770 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5771 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5772 <image resource="back" />
5773 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005774 <actions>
5775 <action function="overlay"/>
5776 <action function="key">%tw_back%</action>
5777 </actions>
5778 </button>
5779
5780 <action>
5781 <touch key="power+voldown"/>
5782 <action function="screenshot"/>
5783 </action>
5784 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005785
5786 <page name="decrypt_users">
5787 <template name="page"/>
5788
5789 <text style="text_l">
5790 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5791 <text>{@decrypt_users=Decrypt Users}</text>
5792 </text>
5793
5794 <text style="text_m_accent">
5795 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5796 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5797 </text>
5798
5799 <listbox>
5800 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5801 <text>{@select_user=Select User}</text>
5802 <icon selected="radio_true" unselected="radio_false" />
5803 <data name="tw_crypto_user_id" />
5804 </listbox>
5805
5806 <button style="main_button_half_width">
5807 <placement x="%col2_x_right%" y="%row15a_y%"/>
5808 <text>{@decrypt_users=Decrypt Users}</text>
5809 <action function="set">tw_crypto_password=</action>
5810 <action function="set">tw_password_fail=0</action>
5811 <action function="page">decrypt</action>
5812 </button>
5813
5814 <action>
5815 <touch key="home"/>
5816 <action function="page">main</action>
5817 </action>
5818
5819 <action>
5820 <touch key="back"/>
5821 <action function="page">advanced</action>
5822 </action>
5823 </page>
epicXa721f952021-01-04 13:01:31 +05305824
5825 <page name="changeTwrpFolder">
5826 <template name="page"/>
5827
5828 <text style="text_l">
5829 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5830 <text>{@advanced_hdr=Advanced}</text>
5831 </text>
5832
5833 <text style="text_m">
5834 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5835 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5836 </text>
5837
5838 <text style="text_m_accent">
5839 <placement x="%col1_x_left%" y="%row2_y%"/>
5840 <text>{@name=Name:}</text>
5841 </text>
5842
5843 <input>
5844 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5845 <text>%tw_custom_folder%</text>
5846 <data name="tw_custom_folder"/>
5847 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5848 <actions>
5849 <action function="set">tw_back=changeTwrpFolder</action>
5850 <action function="set">tw_action=applycustomtwrpfolder</action>
5851 <action function="set">tw_action_param=%tw_custom_folder%</action>
5852 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5853 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5854 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5855 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5856 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5857 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5858 <action function="set">tw_existpage=changeTwrpFolder</action>
5859 <action function="set">tw_notexistpage=confirm_action</action>
5860 <action function="page">filecheck</action>
5861 </actions>
5862 </input>
5863
5864 <fill color="%accent_color%">
5865 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5866 </fill>
5867
5868 <fill color="%text_fail_color%">
5869 <condition var1="tw_fileexists" var2="1"/>
5870 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5871 </fill>
5872
5873 <text style="text_m_fail">
5874 <condition var1="tw_fileexists" var2="1"/>
5875 <placement x="%col1_x_left%" y="%row4_y%"/>
5876 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5877 </text>
5878
5879 <button style="main_button_half_width_low">
5880 <placement x="%indent%" y="%row5_y%"/>
5881 <text>{@cancel_btn=Cancel}</text>
5882 <action function="page">advanced</action>
5883 </button>
5884
5885 <button style="main_button_half_width_low">
5886 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5887 <placement x="%date_button_x%" y="%row5_y%"/>
5888 <text>{@restore_defaults_btn=Restore Defaults}</text>
5889 <actions>
5890 <action function="set">tw_back=changeTwrpFolder</action>
5891 <action function="set">tw_action=applycustomtwrpfolder</action>
5892 <action function="set">tw_action_param=TWRP</action>
5893 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5894 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5895 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5896 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5897 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5898 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5899 <action function="set">tw_existpage=changeTwrpFolder</action>
5900 <action function="set">tw_notexistpage=confirm_action</action>
5901 <action function="page">filecheck</action>
5902 </actions>
5903 </button>
5904
5905 <template name="keyboardtemplate"/>
5906
5907 <action>
5908 <touch key="home"/>
5909 <actions>
5910 <action function="page">main</action>
5911 </actions>
5912 </action>
5913
5914 <action>
5915 <touch key="back"/>
5916 <actions>
5917 <action function="page">advanced</action>
5918 </actions>
5919 </action>
5920 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005921 </pages>
5922</recovery>