blob: bf8912a31fc9b785eb5e74bb8db0811ee487333a [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>
bigbiffcfa875c2021-06-20 16:20:27 -04003767 <listitem name="{@unmap_super_devices=Unmap Super Devices}">
3768 <actions>
3769 <action function="set">tw_back=advanced</action>
3770 <action function="set">tw_action=unmapsuperdevices</action>
3771 <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action>
3772 <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action>
3773 <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action>
3774 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3775 <action function="page">confirm_action</action>
3776 </actions>
3777 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003778 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003779
3780 <action>
3781 <touch key="home"/>
3782 <action function="page">main</action>
3783 </action>
3784
3785 <action>
3786 <touch key="back"/>
3787 <action function="page">main</action>
3788 </action>
3789 </page>
3790
Ethan Yonker483e9f42016-01-11 22:21:18 -06003791 <page name="partsdcardsel">
3792 <template name="page"/>
3793
3794 <text style="text_l">
3795 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3796 <text>{@advanced_hdr=Advanced}</text>
3797 </text>
3798
3799 <text style="text_m">
3800 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3801 <text>{@part_sd_hdr=Partition SD Card}</text>
3802 </text>
3803
z31s1g782e1c92016-01-30 16:50:09 +01003804 <partitionlist>
3805 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003806 <text>{@sel_storage_list=Select Storage}</text>
3807 <data name="tw_storage_path"/>
3808 <listtype name="storage"/>
3809 </partitionlist>
3810
z31s1g782e1c92016-01-30 16:50:09 +01003811 <text style="text_m_fail">
3812 <condition var1="partitionlisterror" var2="1"/>
3813 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3814 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3815 </text>
3816
3817 <button style="main_button_half_width">
3818 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003819 <text>{@ok_btn=OK}</text>
3820 <actions>
3821 <action function="getpartitiondetails">tw_storage_path</action>
3822 <action function="page">partsdcardcheck</action>
3823 </actions>
3824 </button>
3825
Ethan Yonker483e9f42016-01-11 22:21:18 -06003826 <action>
3827 <touch key="home"/>
3828 <action function="page">main</action>
3829 </action>
3830
3831 <action>
3832 <touch key="back"/>
3833 <action function="page">advanced</action>
3834 </action>
3835 </page>
3836
3837 <page name="partsdcardcheck">
3838 <action>
3839 <condition var1="tw_partition_removable" op="=" var2="1"/>
3840 <actions>
3841 <action function="set">partitionlisterror=0</action>
3842 <action function="page">partsdcard</action>
3843 </actions>
3844 </action>
3845
3846 <action>
3847 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3848 <actions>
3849 <action function="set">partitionlisterror=1</action>
3850 <action function="page">partsdcardsel</action>
3851 </actions>
3852 </action>
3853 </page>
3854
z31s1g28f0a922015-11-07 18:50:22 +01003855 <page name="partsdcard">
3856 <template name="page"/>
3857
3858 <text style="text_l">
3859 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003860 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003861 </text>
3862
3863 <text style="text_m">
3864 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003865 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003866 </text>
3867
3868 <text style="text_m_fail">
3869 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003870 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003871 </text>
3872
3873 <text style="text_m_fail">
3874 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003875 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </text>
3877
3878 <text style="text_m_accent">
3879 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </text>
3882
3883 <text style="text_m">
3884 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3885 <text>%tw_sdext_size%</text>
3886 </text>
3887
3888 <button style="button_quarter_width">
3889 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003891 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003892 </button>
3893
3894 <button style="button_quarter_width">
3895 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003897 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </button>
3899
3900 <text style="text_m_accent">
3901 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3907 <text>%tw_swap_size%</text>
3908 </text>
3909
3910 <button style="button_quarter_width">
3911 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003913 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003914 </button>
3915
3916 <button style="button_quarter_width">
3917 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003918 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003919 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003920 </button>
3921
3922 <text style="text_m_accent">
3923 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003924 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003925 </text>
3926
3927 <text style="text_m">
3928 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3929 <text>%tw_sdpart_file_system%</text>
3930 </text>
3931
3932 <button style="button_quarter_width">
3933 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3934 <text>EXT3</text>
3935 <action function="set">tw_sdpart_file_system=ext3</action>
3936 </button>
3937
3938 <button style="button_quarter_width">
3939 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3940 <text>EXT4</text>
3941 <action function="set">tw_sdpart_file_system=ext4</action>
3942 </button>
3943
3944 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003946 <action function="page">partsdcardaction</action>
3947 <actions>
3948 <action function="set">tw_back=partsdcard</action>
3949 <action function="set">tw_action=partitionsd</action>
3950 <action function="set">tw_has_action2=1</action>
3951 <action function="set">tw_action2=set</action>
3952 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003953 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3954 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3955 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <action function="page">action_page</action>
3957 </actions>
3958 </slider>
3959
3960 <action>
3961 <touch key="home"/>
3962 <action function="page">main</action>
3963 </action>
3964
3965 <action>
3966 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003967 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003968 </action>
3969 </page>
3970
3971 <page name="htcdumlock">
3972 <template name="page"/>
3973
3974 <text style="text_l">
3975 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003976 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003977 </text>
3978
3979 <text style="text_m">
3980 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003981 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003982 </text>
3983
3984 <button style="main_button_m">
3985 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003986 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003987 <actions>
3988 <action function="set">tw_back=htcdumlock</action>
3989 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3991 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3992 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3993 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003994 <action function="page">confirm_action</action>
3995 </actions>
3996 </button>
3997
3998 <button style="main_button_m">
3999 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004001 <actions>
4002 <action function="set">tw_back=htcdumlock</action>
4003 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4005 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4006 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4007 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004008 <action function="page">confirm_action</action>
4009 </actions>
4010 </button>
4011
4012 <button style="main_button_m">
4013 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004014 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004015 <actions>
4016 <action function="set">tw_back=htcdumlock</action>
4017 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4019 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4020 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4021 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004022 <action function="page">confirm_action</action>
4023 </actions>
4024 </button>
4025
4026 <action>
4027 <touch key="home"/>
4028 <action function="page">main</action>
4029 </action>
4030
4031 <action>
4032 <touch key="back"/>
4033 <action function="page">advanced</action>
4034 </action>
4035 </page>
4036
Ethan Yonker53796e72019-01-11 22:49:52 -06004037 <page name="repackselect">
4038 <template name="page"/>
4039
4040 <text style="text_l">
4041 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4042 <text>{@repack_image_hdr=Select Image}</text>
4043 </text>
4044
4045 <text style="text_m">
4046 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4047 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4048 </text>
4049
4050 <template name="sort_options"/>
4051
4052 <fileselector>
4053 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4054 <text>%tw_zip_location%</text>
4055 <filter extn=".img" folders="1" files="1"/>
4056 <path name="tw_zip_location" default="/sdcard"/>
4057 <data name="tw_filename"/>
4058 <selection name="tw_file"/>
4059 </fileselector>
4060
4061 <button style="main_button_half_width_low">
4062 <placement x="%col_button_right%" y="%row16a_y%"/>
4063 <text>{@select_storage_btn=Select Storage}</text>
4064 <actions>
4065 <action function="set">tw_back=install</action>
4066 <action function="overlay">select_storage</action>
4067 </actions>
4068 </button>
4069
4070 <action>
4071 <conditions>
4072 <condition var1="tw_filename" op="modified"/>
4073 </conditions>
4074 <action function="page">repackconfirm</action>
4075 </action>
4076
4077 <action>
4078 <touch key="back"/>
4079 <action function="page">advanced</action>
4080 </action>
4081
4082 <action>
4083 <touch key="home"/>
4084 <action function="page">main</action>
4085 </action>
4086 </page>
4087
4088 <page name="repackconfirm">
4089 <template name="page"/>
4090
4091 <text style="text_l">
4092 <condition var1="tw_repack_kernel" var2="1"/>
4093 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4094 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4095 </text>
4096
4097 <text style="text_l">
4098 <condition var1="tw_repack_kernel" var2="0"/>
4099 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4100 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4101 </text>
4102
4103 <text style="text_m">
4104 <condition var1="tw_repack_kernel" var2="1"/>
4105 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4106 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4107 </text>
4108
4109 <text style="text_m">
4110 <condition var1="tw_repack_kernel" var2="0"/>
4111 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4112 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4113 </text>
4114
4115 <text style="text_m_accent">
4116 <placement x="%indent%" y="%row2_y%"/>
4117 <text>{@folder=Folder:}</text>
4118 </text>
4119
4120 <text style="text_m">
4121 <placement x="%indent%" y="%row3_y%"/>
4122 <text>%tw_zip_location%</text>
4123 </text>
4124
4125 <text style="text_m_accent">
4126 <placement x="%indent%" y="%row4_y%"/>
4127 <text>{@file=File:}</text>
4128 </text>
4129
4130 <text style="text_m">
4131 <placement x="%indent%" y="%row5_y%"/>
4132 <text>%tw_file%</text>
4133 </text>
4134
4135 <checkbox>
4136 <placement x="%indent%" y="%row7_y%"/>
4137 <text>{@repack_backup_first=Back up existing image first}</text>
4138 <data variable="tw_repack_backup_first"/>
4139 </checkbox>
4140
4141 <button style="main_button_half_width">
4142 <placement x="%col1_x_left%" y="%row15a_y%"/>
4143 <text>{@install_cancel=Do not Install}</text>
4144 <action function="page">repackselect</action>
4145 </button>
4146
4147 <slider style="slider_centered">
4148 <text>{@swipe_to_install=Swipe to Install}</text>
4149 <actions>
4150 <action function="set">tw_back=advanced</action>
4151 <action function="set">tw_action=repackimage</action>
4152 <action function="set">tw_action_param=/boot</action>
4153 <action function="set">tw_action_text1={@installing=Installing...}</action>
4154 <action function="set">tw_action_text2=</action>
4155 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4156 <action function="page">action_page</action>
4157 </actions>
4158 </slider>
4159
4160 <action>
4161 <touch key="back"/>
4162 <action function="page">repackselect</action>
4163 </action>
4164
4165 <action>
4166 <touch key="home"/>
4167 <action function="page">main</action>
4168 </action>
4169 </page>
4170
z31s1g28f0a922015-11-07 18:50:22 +01004171 <page name="lock">
4172 <background color="%semi_transparent%"/>
4173
4174 <image>
4175 <image resource="unlock_icon"/>
4176 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4177 </image>
4178
4179 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004181 <action function="overlay"/>
4182 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004183
4184 <action>
4185 <touch key="power"/>
4186 <action function="togglebacklight"/>
4187 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004188 </page>
4189
4190 <page name="filemanagerlist">
4191 <template name="page"/>
4192
4193 <text style="text_l">
4194 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004196 </text>
4197
4198 <text style="text_m">
4199 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 </text>
4202
4203 <template name="sort_options"/>
4204
4205 <fileselector>
4206 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4207 <text>%tw_file_location1%</text>
4208 <filter folders="1" files="1"/>
4209 <path name="tw_file_location1" default="/"/>
4210 <data name="tw_filename1"/>
4211 <selection name="tw_selection1"/>
4212 </fileselector>
4213
4214 <button style="main_button_half_width_low">
4215 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004216 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004217 <actions>
4218 <action function="set">tw_filename1=tw_file_location1</action>
4219 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004220 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004221 <action function="page">filemanageroptions</action>
4222 </actions>
4223 </button>
4224
4225 <action>
4226 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004227 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004228 <action function="set">tw_fm_isfolder=0</action>
4229 </actions>
4230 </action>
4231
4232 <action>
4233 <touch key="home"/>
4234 <action function="page">main</action>
4235 </action>
4236
4237 <action>
4238 <touch key="back"/>
4239 <action function="page">advanced</action>
4240 </action>
4241
4242 <action>
4243 <condition var1="tw_filename1" op="modified"/>
4244 <action function="page">filemanageroptions</action>
4245 </action>
4246 </page>
4247
4248 <page name="filemanageroptions">
4249 <template name="page"/>
4250
4251 <text style="text_l">
4252 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 </text>
4255
4256 <text style="text_m">
4257 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004258 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004259 </text>
4260
4261 <text style="text_m_accent">
4262 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 </text>
4265
4266 <text style="text_m">
4267 <placement x="%col1_x_left%" y="%row3_y%"/>
4268 <text>%tw_filename1%</text>
4269 </text>
4270
4271 <button style="main_button_half_width">
4272 <condition var1="tw_fm_isfolder" var2="0"/>
4273 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004274 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004275 <actions>
4276 <action function="set">tw_filemanager_command=cp</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">
4283 <condition var1="tw_fm_isfolder" var2="1"/>
4284 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004285 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004286 <actions>
4287 <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 -05004288 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004289 <action function="page">choosedestinationfolder</action>
4290 </actions>
4291 </button>
4292
4293 <button style="main_button_half_width">
Captain Throwback16dd81b2021-02-12 19:32:36 -05004294edi <conditions>
4295 <condition var1="tw_include_nano" var2="1"/>
4296 <condition var1="tw_fm_isfolder" var2="0"/>
4297 </conditions>
4298 <placement x="%col1_x_left%" y="%row15a_y%"/>
4299 <text>{@fm_edit_file=Edit File}</text>
4300 <actions>
4301 <action function="editfile">nano "%tw_filename1%"</action>
4302 <action function="page">terminalcommand</action>
4303 </actions>
4304 </button>
4305
4306 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004307 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004308 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004309 <actions>
4310 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004312 <action function="page">choosedestinationfolder</action>
4313 </actions>
4314 </button>
4315
4316 <button style="main_button_half_width">
4317 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004318 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004319 <actions>
4320 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004322 <action function="set">tw_fm_text2=</action>
4323 <action function="set">tw_fm_text3=</action>
4324 <action function="set">tw_include_text3=0</action>
4325 <action function="set">tw_back=filemanageroptions</action>
4326 <action function="page">filemanagerconfirm</action>
4327 </actions>
4328 </button>
4329
4330 <button style="main_button_half_width">
4331 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004332 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004333 <actions>
4334 <action function="set">tw_filemanager_rename=0000</action>
4335 <action function="set">tw_fm_text2=</action>
4336 <action function="set">tw_fm_text3=</action>
4337 <action function="set">tw_include_text3=0</action>
4338 <action function="set">tw_back=filemanageroptions</action>
4339 <action function="page">filemanagerchmod</action>
4340 </actions>
4341 </button>
4342
4343 <button style="main_button_half_width">
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004344 <condition var1="tw_fm_isfolder" var2="1"/>
4345 <placement x="%col2_x_right%" y="%row15a_y%"/>
4346 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4347 <action function="changeterminal">%tw_filename1%</action>
4348 </button>
4349
4350 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004351 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004353 <actions>
4354 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <action function="set">tw_fm_text2=</action>
4357 <action function="set">tw_fm_text3=</action>
4358 <action function="set">tw_include_text3=0</action>
4359 <action function="set">tw_back=filemanageroptions</action>
4360 <action function="page">filemanagerconfirm</action>
4361 </actions>
4362 </button>
4363
4364 <button style="main_button_half_width">
4365 <condition var1="tw_fm_isfolder" var2="0"/>
4366 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004367 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004368 <actions>
4369 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004370 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004371 <action function="set">tw_filemanager_command=mv</action>
4372 <action function="page">filemanagerrenamefile</action>
4373 </actions>
4374 </button>
4375
4376 <button style="main_button_half_width">
4377 <condition var1="tw_fm_isfolder" var2="1"/>
4378 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 <actions>
4381 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004383 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4384 <action function="page">filemanagerrenamefolder</action>
4385 </actions>
4386 </button>
4387
4388 <action>
4389 <touch key="home"/>
4390 <action function="page">main</action>
4391 </action>
4392
4393 <action>
4394 <touch key="back"/>
4395 <action function="page">filemanagerlist</action>
4396 </action>
4397 </page>
4398
4399 <page name="choosedestinationfolder">
4400 <template name="page"/>
4401
4402 <text style="text_l">
4403 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </text>
4406
4407 <text style="text_m">
4408 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 </text>
4411
4412 <template name="sort_options"/>
4413
4414 <fileselector>
4415 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4416 <text>%tw_file_location2%</text>
4417 <filter folders="1" files="0"/>
4418 <path name="tw_file_location2" default="/"/>
4419 <data name="tw_filename2"/>
4420 <selection name="tw_selection2"/>
4421 </fileselector>
4422
4423 <button style="main_button_half_width_low">
4424 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004425 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004426 <actions>
4427 <action function="set">tw_fm_text2=to</action>
4428 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4429 <action function="set">tw_include_text3=1</action>
4430 <action function="set">tw_back=filemanageroptions</action>
4431 <action function="page">filemanagerconfirm</action>
4432 </actions>
4433 </button>
4434
4435 <action>
4436 <touch key="home"/>
4437 <action function="page">main</action>
4438 </action>
4439
4440 <action>
4441 <touch key="back"/>
4442 <action function="page">filemanageroptions</action>
4443 </action>
4444 </page>
4445
4446 <page name="filemanagerrenamefile">
4447 <template name="page"/>
4448
4449 <text style="text_l">
4450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m">
4455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004456 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004457 </text>
4458
4459 <text style="text_m_accent">
4460 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 </text>
4463
4464 <input>
4465 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4466 <text>%tw_filemanager_rename%</text>
4467 <data name="tw_filemanager_rename"/>
4468 <restrict minlen="1" maxlen="128"/>
4469 <actions>
4470 <action function="set">tw_fm_text2=to</action>
4471 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4472 <action function="set">tw_include_text3=1</action>
4473 <action function="set">tw_back=filemanageroptions</action>
4474 <action function="page">filemanagerconfirm</action>
4475 </actions>
4476 </input>
4477
4478 <fill color="%accent_color%">
4479 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4480 </fill>
4481
4482 <button style="main_button_half_width_low">
4483 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 <action function="page">filemanageroptions</action>
4486 </button>
4487
4488 <template name="keyboardtemplate"/>
4489
4490 <action>
4491 <touch key="home"/>
4492 <action function="page">main</action>
4493 </action>
4494
4495 <action>
4496 <touch key="back"/>
4497 <action function="page">filemanageroptions</action>
4498 </action>
4499 </page>
4500
4501 <page name="filemanagerrenamefolder">
4502 <template name="page"/>
4503
4504 <text style="text_l">
4505 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </text>
4508
4509 <text style="text_m">
4510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004512 </text>
4513
4514 <text style="text_m_accent">
4515 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004516 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004517 </text>
4518
4519 <input>
4520 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4521 <text>%tw_filemanager_rename%</text>
4522 <data name="tw_filemanager_rename"/>
4523 <restrict minlen="1" maxlen="128"/>
4524 <actions>
4525 <action function="set">tw_fm_text2=to</action>
4526 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4527 <action function="set">tw_include_text3=1</action>
4528 <action function="set">tw_back=filemanageroptions</action>
4529 <action function="page">filemanagerconfirm</action>
4530 </actions>
4531 </input>
4532
4533 <fill color="%accent_color%">
4534 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4535 </fill>
4536
4537 <button style="main_button_half_width_low">
4538 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 <action function="page">filemanageroptions</action>
4541 </button>
4542
4543 <template name="keyboardtemplate"/>
4544
4545 <action>
4546 <touch key="home"/>
4547 <action function="page">main</action>
4548 </action>
4549
4550 <action>
4551 <touch key="back"/>
4552 <action function="page">filemanageroptions</action>
4553 </action>
4554 </page>
4555
4556 <page name="filemanagerchmod">
4557 <template name="page"/>
4558
4559 <text style="text_l">
4560 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004561 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004562 </text>
4563
4564 <text style="text_m">
4565 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004566 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004567 </text>
4568
4569 <text style="text_m_accent">
4570 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004571 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 </text>
4573
4574 <input>
4575 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4576 <text>%tw_filemanager_rename%</text>
4577 <data name="tw_filemanager_rename"/>
4578 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4579 <actions>
4580 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4581 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4582 <action function="set">tw_back=filemanageroptions</action>
4583 <action function="page">filemanagerconfirm</action>
4584 </actions>
4585 </input>
4586
4587 <fill color="%accent_color%">
4588 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4589 </fill>
4590
4591 <button style="main_button_half_width_low">
4592 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 <action function="page">filemanageroptions</action>
4595 </button>
4596
4597 <template name="keyboardtemplate"/>
4598
4599 <action>
4600 <touch key="home"/>
4601 <action function="page">main</action>
4602 </action>
4603
4604 <action>
4605 <touch key="back"/>
4606 <action function="page">filemanageroptions</action>
4607 </action>
4608 </page>
4609
4610 <page name="filemanagerconfirm">
4611 <template name="page"/>
4612
4613 <text style="text_l">
4614 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004615 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004616 </text>
4617
4618 <text style="text_m">
4619 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004620 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004621 </text>
4622
4623 <text style="text_m_accent">
4624 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4625 <text>%tw_fm_text1%</text>
4626 </text>
4627
4628 <text style="text_m">
4629 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4630 <text>%tw_filename1%</text>
4631 </text>
4632
4633 <text style="text_m_accent">
4634 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4635 <text>%tw_fm_text2%</text>
4636 </text>
4637
4638 <text style="text_m">
4639 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4640 <text>%tw_fm_text3%</text>
4641 </text>
4642
4643 <text style="text_m">
4644 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <action function="page">filemanageraction</action>
4651 </slider>
4652
4653 <action>
4654 <touch key="back"/>
4655 <action function="page">%tw_back%</action>
4656 </action>
4657
4658 <action>
4659 <touch key="home"/>
4660 <action function="page">main</action>
4661 </action>
4662 </page>
4663
4664 <page name="filemanageraction">
4665 <template name="page"/>
4666
4667 <text style="text_l">
4668 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004669 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004670 </text>
4671
4672 <text style="text_m">
4673 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4674 <text>%tw_fm_text1%</text>
4675 </text>
4676
4677 <template name="console"/>
4678
4679 <template name="progress_bar"/>
4680
4681 <action>
4682 <conditions>
4683 <condition var1="tw_operation_state" var2="1"/>
4684 <condition var1="tw_operation_status" var2="0"/>
4685 </conditions>
4686 <actions>
4687 <action function="set">tw_back=filemanagerlist</action>
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 <conditions>
4695 <condition var1="tw_operation_state" var2="1"/>
4696 <condition var1="tw_operation_status" op="!=" var2="0"/>
4697 </conditions>
4698 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004699 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004700 <action function="page">action_complete</action>
4701 </actions>
4702 </action>
4703
4704 <action>
4705 <condition var1="tw_include_text3" var2="0"/>
4706 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4707 </action>
4708
4709 <action>
4710 <condition var1="tw_include_text3" var2="1"/>
4711 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4712 </action>
4713 </page>
4714
4715 <page name="decrypt">
4716 <template name="page"/>
4717
4718 <action>
4719 <condition var1="tw_crypto_pwtype" var2="2"/>
4720 <action function="page">decrypt_pattern</action>
4721 </action>
4722
4723 <text style="text_l">
4724 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004726 </text>
4727
4728 <text style="text_m">
4729 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004730 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004731 </text>
4732
4733 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004734 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004735 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004737 </text>
4738
Noah Jacobson81d638d2019-04-28 00:10:07 -04004739 <text style="text_m_accent">
4740 <condition var1="tw_is_fbe" var2="1"/>
4741 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4742 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4743 </text>
4744
z31s1g28f0a922015-11-07 18:50:22 +01004745 <input>
4746 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4747 <text>%tw_crypto_display%</text>
4748 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4749 <restrict minlen="1" maxlen="254"/>
4750 <action function="page">trydecrypt</action>
4751 </input>
4752
4753 <fill color="%accent_color%">
4754 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4755 </fill>
4756
4757 <fill color="%text_fail_color%">
4758 <condition var1="tw_password_fail" var2="1"/>
4759 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4760 </fill>
4761
4762 <text style="text_m_fail">
4763 <condition var1="tw_password_fail" var2="1"/>
4764 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004765 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004766 </text>
4767
4768 <button style="main_button_half_width_low">
4769 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004770 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004771 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004772 </button>
4773
z31s1g608d7ff2016-01-18 19:47:25 +01004774 <button style="main_button_half_width_low">
4775 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4776 <text>{@sel_lang_btn=Select Language}</text>
4777 <action function="overlay">select_language</action>
4778 </button>
4779
z31s1g28f0a922015-11-07 18:50:22 +01004780 <template name="keyboardtemplate"/>
4781 </page>
4782
4783 <page name="decrypt_pattern">
4784 <template name="page"/>
4785
4786 <text style="text_l">
4787 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004788 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004789 </text>
4790
4791 <text style="text_m">
4792 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004793 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004794 </text>
4795
4796 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004797 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004798 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004799 </text>
4800
Aleksa Saraib25a1832015-12-31 17:36:00 +01004801 <text style="text_m_fail">
4802 <condition var1="tw_password_fail" var2="1"/>
4803 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004804 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004805 </text>
4806
z31s1g28f0a922015-11-07 18:50:22 +01004807 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004808 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004809 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4810 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4811 <data name="tw_crypto_password"/>
4812 <action function="page">trydecrypt</action>
4813 </patternpassword>
4814
Aleksa Saraib25a1832015-12-31 17:36:00 +01004815 <button style="main_button_half_width_low">
4816 <placement x="%col_button_right%" y="%row1a_y%"/>
4817 <text>3x3</text>
4818 <action function="set">tw_gui_pattern_grid_size=3</action>
4819 </button>
4820
4821 <button style="main_button_half_width_low">
4822 <placement x="%col_button_right%" y="%row4a_y%"/>
4823 <text>4x4</text>
4824 <action function="set">tw_gui_pattern_grid_size=4</action>
4825 </button>
4826
4827 <button style="main_button_half_width_low">
4828 <placement x="%col_button_right%" y="%row7a_y%"/>
4829 <text>5x5</text>
4830 <action function="set">tw_gui_pattern_grid_size=5</action>
4831 </button>
4832
4833 <button style="main_button_half_width_low">
4834 <placement x="%col_button_right%" y="%row10a_y%"/>
4835 <text>6x6</text>
4836 <action function="set">tw_gui_pattern_grid_size=6</action>
4837 </button>
4838
z31s1g28f0a922015-11-07 18:50:22 +01004839 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004840 <placement x="%col1_x_right%" y="%row15a_y%"/>
4841 <text>{@sel_lang_btn=Select Language}</text>
4842 <action function="overlay">select_language</action>
4843 </button>
4844
4845 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004846 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004847 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004848 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004849 </button>
4850 </page>
4851
4852 <page name="trydecrypt">
4853 <template name="page"/>
4854
4855 <text style="text_l">
4856 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004857 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004858 </text>
4859
4860 <text style="text_m">
4861 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004862 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004863 </text>
4864
4865 <template name="console"/>
4866
4867 <template name="progress_bar"/>
4868
4869 <action>
4870 <action function="decrypt"/>
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_password_fail=1</action>
4880 <action function="page">decrypt</action>
4881 </actions>
4882 </action>
4883
4884 <action>
4885 <conditions>
4886 <condition var1="tw_operation_state" var2="1"/>
4887 <condition var1="tw_operation_status" op="=" var2="0"/>
4888 </conditions>
4889 <actions>
4890 <action function="set">tw_page_done=1</action>
4891 <action function="page">main</action>
4892 </actions>
4893 </action>
4894 </page>
4895
Captain Throwback89b56a12021-02-10 18:25:07 -05004896 <page name="canceldecrypt">
4897 <template name="page"/>
4898
4899 <text style="text_l">
4900 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4901 <text>{@cancel_btn=Cancel}</text>
4902 </text>
4903
4904 <text style="text_m">
4905 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4906 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
4907 </text>
4908
4909 <template name="console"/>
4910
4911 <template name="progress_bar"/>
4912
4913 <action>
4914 <action function="refreshsizes"/>
4915 </action>
4916
4917 <action>
4918 <conditions>
4919 <condition var1="tw_operation_state" var2="1"/>
4920 </conditions>
4921 <actions>
4922 <action function="set">tw_page_done=1</action>
4923 <action function="page">main</action>
4924 </actions>
4925 </action>
4926 </page>
4927
z31s1g28f0a922015-11-07 18:50:22 +01004928 <page name="terminalcommand">
4929 <template name="page"/>
4930
4931 <fill color="%background_color%">
4932 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4933 </fill>
4934
z31s1g56189522016-01-13 19:12:40 +01004935 <terminal>
4936 <condition var1="tw_hide_kb" var2="0"/>
4937 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4938 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004939
z31s1g56189522016-01-13 19:12:40 +01004940 <terminal>
4941 <condition var1="tw_hide_kb" var2="1"/>
4942 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4943 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004944
z31s1g56189522016-01-13 19:12:40 +01004945 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004946
z31s1g56189522016-01-13 19:12:40 +01004947 <object type="fill" color="#000000">
4948 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4949 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004950
z31s1g608d7ff2016-01-18 19:47:25 +01004951 <button>
z31s1g56189522016-01-13 19:12:40 +01004952 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4953 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4954 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4955 <image resource="back" />
4956 <condition var1="tw_busy" var2="0" />
4957 <actions>
4958 <action function="set">tw_hide_kb=0</action>
4959 <action function="page">advanced</action>
4960 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004961 </button>
z31s1g56189522016-01-13 19:12:40 +01004962
z31s1g608d7ff2016-01-18 19:47:25 +01004963 <button>
z31s1g56189522016-01-13 19:12:40 +01004964 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4965 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4966 <condition var1="tw_hide_kb" op="=" var2="0" />
4967 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4968 <image resource="kb_hide" />
4969 <condition var1="tw_busy" var2="0" />
4970 <actions>
4971 <action function="set">tw_hide_kb=1</action>
4972 <action function="page">terminalcommand</action>
4973 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004974 </button>
z31s1g56189522016-01-13 19:12:40 +01004975
z31s1g608d7ff2016-01-18 19:47:25 +01004976 <button>
z31s1g56189522016-01-13 19:12:40 +01004977 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4978 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4979 <condition var1="tw_hide_kb" op="=" var2="1" />
4980 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4981 <image resource="kb_show" />
4982 <condition var1="tw_busy" var2="0" />
4983 <actions>
4984 <action function="set">tw_hide_kb=0</action>
4985 <action function="page">terminalcommand</action>
4986 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004987 </button>
z31s1g56189522016-01-13 19:12:40 +01004988
z31s1g608d7ff2016-01-18 19:47:25 +01004989 <button>
z31s1g56189522016-01-13 19:12:40 +01004990 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4991 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4992 <image resource="home" />
4993 <condition var1="tw_busy" var2="0" />
4994 <actions>
4995 <action function="set">tw_hide_kb=0</action>
4996 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004997 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004998 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004999 </button>
z31s1g56189522016-01-13 19:12:40 +01005000
z31s1g608d7ff2016-01-18 19:47:25 +01005001 <button>
z31s1g56189522016-01-13 19:12:40 +01005002 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5003 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5004 <condition var1="tw_hide_kb" op="=" var2="0" />
5005 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5006 <image resource="kb_hide" />
5007 <condition var1="tw_busy" var2="0" />
5008 <actions>
5009 <action function="set">tw_hide_kb=1</action>
5010 <action function="page">terminalcommand</action>
5011 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005012 </button>
z31s1g56189522016-01-13 19:12:40 +01005013
z31s1g608d7ff2016-01-18 19:47:25 +01005014 <button>
z31s1g56189522016-01-13 19:12:40 +01005015 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5016 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5017 <condition var1="tw_hide_kb" op="=" var2="1" />
5018 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5019 <image resource="kb_show" />
5020 <condition var1="tw_busy" var2="0" />
5021 <actions>
5022 <action function="set">tw_hide_kb=0</action>
5023 <action function="page">terminalcommand</action>
5024 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005025 </button>
z31s1g56189522016-01-13 19:12:40 +01005026
z31s1g608d7ff2016-01-18 19:47:25 +01005027 <button>
z31s1g56189522016-01-13 19:12:40 +01005028 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5029 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5030 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5031 <image resource="back" />
5032 <condition var1="tw_busy" var2="0" />
5033 <actions>
5034 <action function="set">tw_hide_kb=0</action>
5035 <action function="page">advanced</action>
5036 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005037 </button>
z31s1g56189522016-01-13 19:12:40 +01005038
z31s1g608d7ff2016-01-18 19:47:25 +01005039 <button>
z31s1g56189522016-01-13 19:12:40 +01005040 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5041 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5042 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5043 <image resource="back" />
5044 <condition var1="tw_busy" var2="0" />
5045 <actions>
5046 <action function="set">tw_hide_kb=0</action>
5047 <action function="page">advanced</action>
5048 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005049 </button>
z31s1g56189522016-01-13 19:12:40 +01005050
z31s1g608d7ff2016-01-18 19:47:25 +01005051 <button>
z31s1g56189522016-01-13 19:12:40 +01005052 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5053 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5054 <condition var1="tw_hide_kb" op="=" var2="0" />
5055 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5056 <image resource="kb_hide" />
5057 <condition var1="tw_busy" var2="0" />
5058 <actions>
5059 <action function="set">tw_hide_kb=1</action>
5060 <action function="page">terminalcommand</action>
5061 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005062 </button>
z31s1g56189522016-01-13 19:12:40 +01005063
z31s1g608d7ff2016-01-18 19:47:25 +01005064 <button>
z31s1g56189522016-01-13 19:12:40 +01005065 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5066 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5067 <condition var1="tw_hide_kb" op="=" var2="1" />
5068 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5069 <image resource="kb_show" />
5070 <condition var1="tw_busy" var2="0" />
5071 <actions>
5072 <action function="set">tw_hide_kb=0</action>
5073 <action function="page">terminalcommand</action>
5074 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005075 </button>
z31s1g56189522016-01-13 19:12:40 +01005076
z31s1g608d7ff2016-01-18 19:47:25 +01005077 <button>
z31s1g56189522016-01-13 19:12:40 +01005078 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5079 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5080 <image resource="home" />
5081 <condition var1="tw_busy" var2="0" />
5082 <actions>
5083 <action function="set">tw_hide_kb=0</action>
5084 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005085 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005086 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005087 </button>
z31s1g56189522016-01-13 19:12:40 +01005088
z31s1g608d7ff2016-01-18 19:47:25 +01005089 <button>
z31s1g56189522016-01-13 19:12:40 +01005090 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5091 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5092 <condition var1="tw_hide_kb" op="=" var2="0" />
5093 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5094 <image resource="kb_hide" />
5095 <condition var1="tw_busy" var2="0" />
5096 <actions>
5097 <action function="set">tw_hide_kb=1</action>
5098 <action function="page">terminalcommand</action>
5099 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005100 </button>
z31s1g56189522016-01-13 19:12:40 +01005101
z31s1g608d7ff2016-01-18 19:47:25 +01005102 <button>
z31s1g56189522016-01-13 19:12:40 +01005103 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5104 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5105 <condition var1="tw_hide_kb" op="=" var2="1" />
5106 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5107 <image resource="kb_show" />
5108 <condition var1="tw_busy" var2="0" />
5109 <actions>
5110 <action function="set">tw_hide_kb=0</action>
5111 <action function="page">terminalcommand</action>
5112 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005113 </button>
z31s1g56189522016-01-13 19:12:40 +01005114
z31s1g608d7ff2016-01-18 19:47:25 +01005115 <button>
z31s1g56189522016-01-13 19:12:40 +01005116 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5117 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5118 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5119 <image resource="back" />
5120 <condition var1="tw_busy" var2="0" />
5121 <actions>
5122 <action function="set">tw_hide_kb=0</action>
5123 <action function="page">advanced</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005124 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005125 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005126 </button>
z31s1g56189522016-01-13 19:12:40 +01005127
z31s1g608d7ff2016-01-18 19:47:25 +01005128 <button>
z31s1g56189522016-01-13 19:12:40 +01005129 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5130 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5131 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5132 <image resource="back" />
5133 <condition var1="tw_busy" var2="0" />
5134 <actions>
5135 <action function="set">tw_hide_kb=0</action>
5136 <action function="page">advanced</action>
5137 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005138 </button>
z31s1g56189522016-01-13 19:12:40 +01005139
z31s1g608d7ff2016-01-18 19:47:25 +01005140 <button>
z31s1g56189522016-01-13 19:12:40 +01005141 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5142 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5143 <condition var1="tw_hide_kb" op="=" var2="0" />
5144 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5145 <image resource="kb_hide" />
5146 <condition var1="tw_busy" var2="0" />
5147 <actions>
5148 <action function="set">tw_hide_kb=1</action>
5149 <action function="page">terminalcommand</action>
5150 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005151 </button>
z31s1g56189522016-01-13 19:12:40 +01005152
z31s1g608d7ff2016-01-18 19:47:25 +01005153 <button>
z31s1g56189522016-01-13 19:12:40 +01005154 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5155 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5156 <condition var1="tw_hide_kb" op="=" var2="1" />
5157 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5158 <image resource="kb_show" />
5159 <condition var1="tw_busy" var2="0" />
5160 <actions>
5161 <action function="set">tw_hide_kb=0</action>
5162 <action function="page">terminalcommand</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 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5169 <image resource="home" />
5170 <condition var1="tw_busy" var2="0" />
5171 <actions>
5172 <action function="set">tw_hide_kb=0</action>
5173 <action function="key">home</action>
5174 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005175 </button>
z31s1g56189522016-01-13 19:12:40 +01005176
z31s1g608d7ff2016-01-18 19:47:25 +01005177 <button>
z31s1g56189522016-01-13 19:12:40 +01005178 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5179 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5180 <condition var1="tw_hide_kb" op="=" var2="0" />
5181 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5182 <image resource="kb_hide" />
5183 <condition var1="tw_busy" var2="0" />
5184 <actions>
5185 <action function="set">tw_hide_kb=1</action>
5186 <action function="page">terminalcommand</action>
5187 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005188 </button>
z31s1g56189522016-01-13 19:12:40 +01005189
z31s1g608d7ff2016-01-18 19:47:25 +01005190 <button>
z31s1g56189522016-01-13 19:12:40 +01005191 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5192 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5193 <condition var1="tw_hide_kb" op="=" var2="1" />
5194 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5195 <image resource="kb_show" />
5196 <condition var1="tw_busy" var2="0" />
5197 <actions>
5198 <action function="set">tw_hide_kb=0</action>
5199 <action function="page">terminalcommand</action>
5200 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005201 </button>
z31s1g56189522016-01-13 19:12:40 +01005202
z31s1g608d7ff2016-01-18 19:47:25 +01005203 <button>
z31s1g56189522016-01-13 19:12:40 +01005204 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5205 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5206 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5207 <image resource="back" />
5208 <condition var1="tw_busy" var2="0" />
5209 <actions>
5210 <action function="set">tw_hide_kb=0</action>
5211 <action function="page">advanced</action>
5212 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005213 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005214
5215 <action>
5216 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005217 <actions>
5218 <action function="page">main</action>
5219 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005220 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005221 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005222 </action>
5223
5224 <action>
5225 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005226 <actions>
5227 <action function="page">advanced</action>
5228 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005229 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005230 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005231 </action>
z31s1g56189522016-01-13 19:12:40 +01005232
5233 <object type="action">
5234 <touch key="power+voldown" />
5235 <action function="screenshot" />
5236 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005237 </page>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005238
bigbiffdf8436b2020-08-30 16:22:34 -04005239 <page name="fastboot">
5240 <template name="page"/>
5241
5242 <text style="text_l">
5243 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5244 <text>{@fastboot_button=Fastboot}</text>
5245 </text>
5246
5247 <template name="console"/>
5248
5249 <template name="progress_bar"/>
5250
5251 <button style="main_button_half_width">
5252 <condition var1="tw_enable_fastboot" 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_adb=Enable ADB}</text>
5255 <actions>
5256 <action function="enableadb"/>
5257 <action function="set">tw_enable_adb=1</action>
5258 <action function="set">tw_enable_fastboot=0</action>
5259 </actions>
5260 </button>
5261
5262 <button style="main_button_half_width">
5263 <condition var1="tw_enable_adb" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005264 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005265 <text>{@enable_fastboot=Enable Fastboot}</text>
5266 <actions>
5267 <action function="enablefastboot"/>
5268 <action function="set">tw_enable_fastboot=1</action>
5269 <action function="set">tw_enable_adb=0</action>
5270 </actions>
5271 </button>
5272
5273 <button style="main_button_half_width">
bigbiff7138a0f2020-10-24 19:52:25 -04005274 <placement x="%col2_x_right%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005275 <text>{@reboot_btn=Reboot}</text>
5276 <action function="page">fastbootreboot</action>
5277 </button>
5278 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005279
5280 <page name="sideload">
5281 <template name="page"/>
5282
5283 <text style="text_l">
5284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005285 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005286 </text>
5287
5288 <text style="text_m">
5289 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005290 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005291 </text>
5292
5293 <checkbox>
5294 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005295 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005296 <data variable="tw_wipe_dalvik"/>
5297 </checkbox>
5298
5299 <checkbox>
5300 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005301 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005302 <data variable="tw_wipe_cache"/>
5303 </checkbox>
5304
5305 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005306 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005307 <actions>
5308 <action function="set">tw_back=advanced</action>
5309 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005310 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5311 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5312 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005313 <action function="set">tw_has_cancel=1</action>
5314 <action function="set">tw_show_reboot=1</action>
5315 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5316 <action function="page">action_page</action>
5317 </actions>
5318 </slider>
5319
5320 <action>
5321 <touch key="home"/>
5322 <action function="page">main</action>
5323 </action>
5324
5325 <action>
5326 <touch key="back"/>
5327 <action function="page">advanced</action>
5328 </action>
5329 </page>
5330
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005331 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005332 <template name="page"/>
5333
5334 <text style="text_l">
5335 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005336 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005337 </text>
5338
5339 <text style="text_m">
5340 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005341 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005342 </text>
5343
5344 <text style="text_m_accent">
5345 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005346 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005347 </text>
5348
z31s1g28f0a922015-11-07 18:50:22 +01005349 <text style="text_m_fail">
5350 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005351 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005352 </text>
5353
5354 <text style="text_m_fail">
5355 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005356 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005357 </text>
5358
5359 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005360 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005361 <actions>
5362 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005363 <action function="set">tw_action=fixcontexts</action>
5364 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5365 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005366 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005367 <action function="set">tw_show_reboot=1</action>
5368 <action function="page">action_page</action>
5369 </actions>
5370 </slider>
5371
5372 <action>
5373 <touch key="home"/>
5374 <action function="page">main</action>
5375 </action>
5376
5377 <action>
5378 <touch key="back"/>
5379 <action function="page">advanced</action>
5380 </action>
5381 </page>
5382
z31s1g28f0a922015-11-07 18:50:22 +01005383 <page name="slideout">
5384 <fill color="%background_color%">
5385 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5386 </fill>
5387
5388 <console>
5389 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5390 </console>
5391
5392 <button>
5393 <fill color="%transparent%"/>
5394 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5395 <action function="overlay"/>
5396 </button>
5397
5398 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005399 <touch key="power"/>
5400 <action function="togglebacklight"/>
5401 </action>
5402
5403 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005404 <touch key="power+voldown"/>
5405 <action function="screenshot"/>
5406 </action>
5407 </page>
5408
5409 <page name="select_storage">
5410 <fill color="%semi_transparent%">
5411 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5412 </fill>
5413
5414 <fill color="%background_color%">
5415 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5416 </fill>
5417
5418 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005419 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005420 <data name="tw_storage_path"/>
5421 <listtype name="storage"/>
5422 </partitionlist>
5423
5424 <button style="button_third_width">
5425 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005426 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005427 <actions>
5428 <action function="set">tw_clear_destination=%tw_back%</action>
5429 <action function="overlay"/>
5430 <action function="page">clear_vars</action>
5431 </actions>
5432 </button>
5433
5434 <fill color="#000000">
5435 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5436 </fill>
5437
5438 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005439 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5440 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5441 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5442 <image resource="back" />
5443 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005444 <actions>
5445 <action function="overlay"/>
5446 <action function="key">%tw_back%</action>
5447 </actions>
5448 </button>
5449
5450 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005451 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5452 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5453 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5454 <image resource="console" />
5455 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005456 <action function="overlay">slideout</action>
5457 </button>
5458
5459 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005460 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5461 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5462 <image resource="home" />
5463 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005464 <actions>
5465 <action function="overlay"/>
5466 <action function="key">home</action>
5467 </actions>
5468 </button>
5469
5470 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005471 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5472 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5473 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5474 <image resource="console" />
5475 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005476 <action function="overlay">slideout</action>
5477 </button>
5478
5479 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005480 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5481 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5482 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5483 <image resource="back" />
5484 <condition var1="tw_busy" var2="0" />
5485 <actions>
5486 <action function="overlay"/>
5487 <action function="key">%tw_back%</action>
5488 </actions>
5489 </button>
5490
5491 <button>
5492 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5493 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5494 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5495 <image resource="back" />
5496 <condition var1="tw_busy" var2="0" />
5497 <actions>
5498 <action function="overlay"/>
5499 <action function="key">%tw_back%</action>
5500 </actions>
5501 </button>
5502
5503 <button>
5504 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5505 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5506 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5507 <image resource="console" />
5508 <condition var1="tw_busy" var2="0" />
5509 <action function="overlay">slideout</action>
5510 </button>
5511
5512 <button>
5513 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5514 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5515 <image resource="home" />
5516 <condition var1="tw_busy" var2="0" />
5517 <actions>
5518 <action function="overlay"/>
5519 <action function="key">home</action>
5520 </actions>
5521 </button>
5522
5523 <button>
5524 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5525 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5526 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5527 <image resource="console" />
5528 <condition var1="tw_busy" var2="0" />
5529 <action function="overlay">slideout</action>
5530 </button>
5531
5532 <button>
5533 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5534 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5535 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5536 <image resource="back" />
5537 <condition var1="tw_busy" var2="0" />
5538 <actions>
5539 <action function="overlay"/>
5540 <action function="key">%tw_back%</action>
5541 </actions>
5542 </button>
5543
5544 <button>
5545 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5546 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5547 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5548 <image resource="back" />
5549 <condition var1="tw_busy" var2="0" />
5550 <actions>
5551 <action function="overlay"/>
5552 <action function="key">%tw_back%</action>
5553 </actions>
5554 </button>
5555
5556 <button>
5557 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5558 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5559 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5560 <image resource="console" />
5561 <condition var1="tw_busy" var2="0" />
5562 <action function="overlay">slideout</action>
5563 </button>
5564
5565 <button>
5566 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5567 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5568 <image resource="home" />
5569 <condition var1="tw_busy" var2="0" />
5570 <actions>
5571 <action function="overlay"/>
5572 <action function="key">home</action>
5573 </actions>
5574 </button>
5575
5576 <button>
5577 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5578 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5579 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5580 <image resource="console" />
5581 <condition var1="tw_busy" var2="0" />
5582 <action function="overlay">slideout</action>
5583 </button>
5584
5585 <button>
5586 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5587 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5588 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5589 <image resource="back" />
5590 <condition var1="tw_busy" var2="0" />
5591 <actions>
5592 <action function="overlay"/>
5593 <action function="key">%tw_back%</action>
5594 </actions>
5595 </button>
5596
5597 <action>
5598 <touch key="power+voldown"/>
5599 <action function="screenshot"/>
5600 </action>
5601 </page>
5602
5603 <page name="select_language">
5604 <fill color="%semi_transparent%">
5605 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5606 </fill>
5607
5608 <fill color="%background_color%">
5609 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5610 </fill>
5611
5612 <listbox>
5613 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5614 <text>{@select_language=Select Language:}</text>
5615 <icon selected="radio_true" unselected="radio_false" />
5616 <data name="tw_language" />
5617 </listbox>
5618
5619 <button style="button_third_width">
5620 <placement x="%dialog_button_x%" y="%row13_y%"/>
5621 <text>{@ok_btn=OK}</text>
5622 <actions>
5623 <action function="overlay"/>
5624 <action function="setlanguage"></action>
5625 </actions>
5626 </button>
5627
5628 <fill color="#000000">
5629 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5630 </fill>
5631
5632 <button>
5633 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5634 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5635 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5636 <image resource="back" />
5637 <condition var1="tw_busy" var2="0" />
5638 <actions>
5639 <action function="overlay"/>
5640 <action function="key">%tw_back%</action>
5641 </actions>
5642 </button>
5643
5644 <button>
5645 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5646 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5647 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5648 <image resource="console" />
5649 <condition var1="tw_busy" var2="0" />
5650 <action function="overlay">slideout</action>
5651 </button>
5652
5653 <button>
5654 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5655 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5656 <image resource="home" />
5657 <condition var1="tw_busy" var2="0" />
5658 <actions>
5659 <action function="overlay"/>
5660 <action function="key">home</action>
5661 </actions>
5662 </button>
5663
5664 <button>
5665 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5666 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5667 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5668 <image resource="console" />
5669 <condition var1="tw_busy" var2="0" />
5670 <action function="overlay">slideout</action>
5671 </button>
5672
5673 <button>
5674 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5675 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5676 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5677 <image resource="back" />
5678 <condition var1="tw_busy" var2="0" />
5679 <actions>
5680 <action function="overlay"/>
5681 <action function="key">%tw_back%</action>
5682 </actions>
5683 </button>
5684
5685 <button>
5686 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5687 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5688 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5689 <image resource="back" />
5690 <condition var1="tw_busy" var2="0" />
5691 <actions>
5692 <action function="overlay"/>
5693 <action function="key">%tw_back%</action>
5694 </actions>
5695 </button>
5696
5697 <button>
5698 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5699 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5700 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5701 <image resource="console" />
5702 <condition var1="tw_busy" var2="0" />
5703 <action function="overlay">slideout</action>
5704 </button>
5705
5706 <button>
5707 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5708 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5709 <image resource="home" />
5710 <condition var1="tw_busy" var2="0" />
5711 <actions>
5712 <action function="overlay"/>
5713 <action function="key">home</action>
5714 </actions>
5715 </button>
5716
5717 <button>
5718 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5719 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5720 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5721 <image resource="console" />
5722 <condition var1="tw_busy" var2="0" />
5723 <action function="overlay">slideout</action>
5724 </button>
5725
5726 <button>
5727 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5728 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5729 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5730 <image resource="back" />
5731 <condition var1="tw_busy" var2="0" />
5732 <actions>
5733 <action function="overlay"/>
5734 <action function="key">%tw_back%</action>
5735 </actions>
5736 </button>
5737
5738 <button>
5739 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5740 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5741 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5742 <image resource="back" />
5743 <condition var1="tw_busy" var2="0" />
5744 <actions>
5745 <action function="overlay"/>
5746 <action function="key">%tw_back%</action>
5747 </actions>
5748 </button>
5749
5750 <button>
5751 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5752 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5753 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5754 <image resource="console" />
5755 <condition var1="tw_busy" var2="0" />
5756 <action function="overlay">slideout</action>
5757 </button>
5758
5759 <button>
5760 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5761 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5762 <image resource="home" />
5763 <condition var1="tw_busy" var2="0" />
5764 <actions>
5765 <action function="overlay"/>
5766 <action function="key">home</action>
5767 </actions>
5768 </button>
5769
5770 <button>
5771 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5772 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5773 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5774 <image resource="console" />
5775 <condition var1="tw_busy" var2="0" />
5776 <action function="overlay">slideout</action>
5777 </button>
5778
5779 <button>
5780 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5781 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5782 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5783 <image resource="back" />
5784 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005785 <actions>
5786 <action function="overlay"/>
5787 <action function="key">%tw_back%</action>
5788 </actions>
5789 </button>
5790
5791 <action>
5792 <touch key="power+voldown"/>
5793 <action function="screenshot"/>
5794 </action>
5795 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005796
5797 <page name="decrypt_users">
5798 <template name="page"/>
5799
5800 <text style="text_l">
5801 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5802 <text>{@decrypt_users=Decrypt Users}</text>
5803 </text>
5804
5805 <text style="text_m_accent">
5806 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5807 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5808 </text>
5809
5810 <listbox>
5811 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5812 <text>{@select_user=Select User}</text>
5813 <icon selected="radio_true" unselected="radio_false" />
5814 <data name="tw_crypto_user_id" />
5815 </listbox>
5816
5817 <button style="main_button_half_width">
5818 <placement x="%col2_x_right%" y="%row15a_y%"/>
5819 <text>{@decrypt_users=Decrypt Users}</text>
5820 <action function="set">tw_crypto_password=</action>
5821 <action function="set">tw_password_fail=0</action>
5822 <action function="page">decrypt</action>
5823 </button>
5824
5825 <action>
5826 <touch key="home"/>
5827 <action function="page">main</action>
5828 </action>
5829
5830 <action>
5831 <touch key="back"/>
5832 <action function="page">advanced</action>
5833 </action>
5834 </page>
epicXa721f952021-01-04 13:01:31 +05305835
5836 <page name="changeTwrpFolder">
5837 <template name="page"/>
5838
5839 <text style="text_l">
5840 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5841 <text>{@advanced_hdr=Advanced}</text>
5842 </text>
5843
5844 <text style="text_m">
5845 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5846 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5847 </text>
5848
5849 <text style="text_m_accent">
5850 <placement x="%col1_x_left%" y="%row2_y%"/>
5851 <text>{@name=Name:}</text>
5852 </text>
5853
5854 <input>
5855 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5856 <text>%tw_custom_folder%</text>
5857 <data name="tw_custom_folder"/>
5858 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5859 <actions>
5860 <action function="set">tw_back=changeTwrpFolder</action>
5861 <action function="set">tw_action=applycustomtwrpfolder</action>
5862 <action function="set">tw_action_param=%tw_custom_folder%</action>
5863 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5864 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5865 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5866 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5867 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5868 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5869 <action function="set">tw_existpage=changeTwrpFolder</action>
5870 <action function="set">tw_notexistpage=confirm_action</action>
5871 <action function="page">filecheck</action>
5872 </actions>
5873 </input>
5874
5875 <fill color="%accent_color%">
5876 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5877 </fill>
5878
5879 <fill color="%text_fail_color%">
5880 <condition var1="tw_fileexists" var2="1"/>
5881 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5882 </fill>
5883
5884 <text style="text_m_fail">
5885 <condition var1="tw_fileexists" var2="1"/>
5886 <placement x="%col1_x_left%" y="%row4_y%"/>
5887 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5888 </text>
5889
5890 <button style="main_button_half_width_low">
5891 <placement x="%indent%" y="%row5_y%"/>
5892 <text>{@cancel_btn=Cancel}</text>
5893 <action function="page">advanced</action>
5894 </button>
5895
5896 <button style="main_button_half_width_low">
5897 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5898 <placement x="%date_button_x%" y="%row5_y%"/>
5899 <text>{@restore_defaults_btn=Restore Defaults}</text>
5900 <actions>
5901 <action function="set">tw_back=changeTwrpFolder</action>
5902 <action function="set">tw_action=applycustomtwrpfolder</action>
5903 <action function="set">tw_action_param=TWRP</action>
5904 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5905 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5906 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5907 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5908 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5909 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5910 <action function="set">tw_existpage=changeTwrpFolder</action>
5911 <action function="set">tw_notexistpage=confirm_action</action>
5912 <action function="page">filecheck</action>
5913 </actions>
5914 </button>
5915
5916 <template name="keyboardtemplate"/>
5917
5918 <action>
5919 <touch key="home"/>
5920 <actions>
5921 <action function="page">main</action>
5922 </actions>
5923 </action>
5924
5925 <action>
5926 <touch key="back"/>
5927 <actions>
5928 <action function="page">advanced</action>
5929 </actions>
5930 </action>
5931 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005932 </pages>
5933</recovery>