blob: 0367e5511b86196d26b2dc8b0ea4d19fc3f32302 [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>
nebrassyac29e692021-05-20 13:03:30 +0200463 <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}">
464 <conditions>
465 <condition var1="tw_has_boot_slots" var2="1"/>
466 <condition var1="tw_has_repack_tools" var2="1"/>
467 </conditions>
468 <data variable="tw_auto_reflashtwrp"/>
469 </listitem>
epicX9597b842021-03-20 21:58:17 +0530470 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
471 <data variable="tw_install_reboot"/>
472 </listitem>
473 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
474 <condition var1="tw_has_injecttwrp" var2="1"/>
475 <data variable="tw_inject_after_zip"/>
476 </listitem>
477 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500478
z31s1g28f0a922015-11-07 18:50:22 +0100479 <button style="main_button_half_width">
480 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500481 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100482 <action function="page">install</action>
483 </button>
484
485 <button style="main_button_half_width">
486 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500487 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100488 <actions>
489 <action function="queueclear"/>
490 <action function="page">install</action>
491 </actions>
492 </button>
493
494 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500495 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100496 <action function="flash">flash_zip</action>
497 </slider>
498
499 <action>
500 <touch key="back"/>
501 <actions>
502 <action function="cancelzip"/>
503 <action function="page">install</action>
504 </actions>
505 </action>
506
507 <action>
508 <touch key="home"/>
509 <action function="page">main</action>
510 </action>
511 </page>
512
513 <page name="flash_zip">
514 <template name="page"/>
515
516 <text style="text_l">
517 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500518 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100519 </text>
520
521 <text style="text_m">
522 <placement x="%col1_x_header%" y="%row4_header_y%"/>
523 <text>%tw_file%</text>
524 </text>
525
526 <template name="console"/>
527
528 <template name="progress_bar"/>
529
530 <action>
531 <condition var1="tw_operation_state" var2="1"/>
532 <action function="page">flash_done</action>
533 </action>
534 </page>
535
536 <page name="flash_done">
537 <template name="page"/>
538
539 <text style="text_l">
540 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500541 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100542 </text>
543
544 <text style="text_m_fail">
545 <condition var1="tw_operation_status" op="!=" var2="0"/>
546 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500547 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100548 </text>
549
550 <text style="text_m">
551 <condition var1="tw_operation_status" var2="0"/>
552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500553 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100554 </text>
555
556 <template name="console"/>
557
558 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500559 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100560 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500561 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100562 <actions>
563 <action function="set">tw_back=flash_done</action>
564 <action function="set">tw_action=wipe</action>
565 <action function="set">tw_action_param=/cache</action>
566 <action function="set">tw_has_action2=1</action>
567 <action function="set">tw_action2=wipe</action>
568 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500569 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
570 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
571 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
572 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100573 <action function="page">confirm_action</action>
574 </actions>
575 </button>
576
577 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500578 <condition var1="tw_ab_device" var2="1"/>
579 <placement x="%indent%" y="%row21a_y%"/>
580 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
581 <actions>
582 <action function="set">tw_back=flash_done</action>
583 <action function="set">tw_action=wipe</action>
584 <action function="set">tw_action_param=dalvik</action>
585 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
586 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
587 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
588 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
589 <action function="page">confirm_action</action>
590 </actions>
591 </button>
592
593 <button style="main_button_half_width">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100594 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100595 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500596 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100597 <actions>
598 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500599 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100600 </actions>
601 </button>
602
Chaosmaster7b66bf52020-02-07 20:33:43 +0100603 <button style="main_button_half_width">
604 <condition var1="tw_ab_device" var2="1"/>
605 <placement x="%center_x%" y="%row15a_y%"/>
606 <text>{@reboot_btn=Reboot}</text>
607 <actions>
608 <action function="set">tw_back=main2</action>
609 <action function="page">reboot</action>
610 </actions>
611 </button>
612
613
z31s1g28f0a922015-11-07 18:50:22 +0100614 <action>
615 <touch key="back"/>
616 <actions>
617 <action function="set">tw_clear_destination=install</action>
618 <action function="page">clear_vars</action>
619 </actions>
620 </action>
621
622 <action>
623 <touch key="home"/>
624 <actions>
625 <action function="set">tw_clear_destination=main2</action>
626 <action function="page">clear_vars</action>
627 </actions>
628 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500629
630 <action>
631 <conditions>
632 <condition var1="tw_install_reboot" var2="1"/>
633 <condition var1="tw_operation_status" var2="0"/>
634 <condition var1="tw_reboot_system" var2="1"/>
635 </conditions>
636 <actions>
637 <action function="set">tw_sleep=%tw_sleep_total%</action>
638 <action function="page">flash_sleep_and_reboot</action>
639 </actions>
640 </action>
641 </page>
642
643 <page name="flash_sleep_and_reboot">
644 <template name="page"/>
645
646 <text style="text_l">
647 <placement x="%col1_x_header%" y="%row3_header_y%"/>
648 <text>{@install_zip_hdr=Install Zip}</text>
649 </text>
650
651 <text style="text_m">
652 <placement x="%col1_x_header%" y="%row4_header_y%"/>
653 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
654 </text>
655
656 <template name="console"/>
657
658 <template name="progress_bar"/>
659
660 <button style="main_button_half_width">
661 <condition var1="tw_sleep" op="&gt;" var2="0"/>
662 <placement x="%center_x%" y="%row15a_y%"/>
663 <text>{@cancel_btn=Cancel}</text>
664 <actions>
665 <action function="set">tw_install_reboot=0</action>
666 <action function="page">flash_done</action>
667 </actions>
668 </button>
669
670 <action>
671 <conditions>
672 <condition var1="tw_sleep" var2="tw_sleep_total"/>
673 <condition var1="tw_install_reboot" var2="1"/>
674 </conditions>
675 <action function="sleepcounter">%tw_sleep_total%</action>
676 </action>
677
678 <action>
679 <conditions>
680 <condition var1="tw_sleep" var2="0"/>
681 <condition var1="tw_install_reboot" var2="1"/>
682 </conditions>
683 <actions>
684 <action function="sleep">50000</action>
685 <action function="set">tw_back=main2</action>
686 <action function="page">reboot_system_routine</action>
687 </actions>
688 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100689 </page>
690
691 <page name="flashimage_confirm">
692 <template name="page"/>
693
694 <text style="text_l">
695 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500696 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100697 </text>
698
699 <text style="text_m">
700 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500701 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100702 </text>
703
704 <text style="text_m_accent">
705 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500706 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100707 </text>
708
709 <text style="text_m">
710 <placement x="%col1_x_left%" y="%row9_y%"/>
711 <text>%tw_zip_location%</text>
712 </text>
713
714 <text style="text_m_accent">
715 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500716 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100717 </text>
718
719 <text style="text_m">
720 <placement x="%col1_x_left%" y="%row12_y%"/>
721 <text>%tw_file%</text>
722 </text>
723
724 <partitionlist>
725 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
726 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500727 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100728 <data name="tw_flash_partition"/>
729 <listtype name="flashimg"/>
730 </partitionlist>
731
epicX8f52c0a2021-02-24 23:12:08 +0530732 <button style="checkbox">
733 <conditions>
734 <condition var1="tw_is_slot_part" op="=" var2="1"/>
735 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
736 <condition var1="tw_has_boot_slots" var2="1"/>
737 </conditions>
738 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
739 <text>{@flash_ab_both_slots=Flash to both slots}</text>
740 <image resource="checkbox_false"/>
741 <action function="set">tw_flash_both_slots=1</action>
742 </button>
743
744 <button style="checkbox">
745 <conditions>
746 <condition var1="tw_is_slot_part" op="=" var2="1"/>
747 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
748 <condition var1="tw_has_boot_slots" var2="1"/>
749 </conditions>
750 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
751 <text>{@flash_ab_both_slots=Flash to both slots}</text>
752 <image resource="checkbox_true"/>
753 <action function="set">tw_flash_both_slots=0</action>
754 </button>
755
z31s1g28f0a922015-11-07 18:50:22 +0100756 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500757 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100758 <actions>
759 <action function="set">tw_back=flashimage_confirm</action>
760 <action function="set">tw_action=flashimage</action>
761 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500762 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100763 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500764 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100765 <action function="page">action_page</action>
766 </actions>
767 <action function="flashimage"/>
768 </slider>
769
770 <action>
771 <touch key="back"/>
772 <actions>
773 <action function="set">tw_clear_destination=install</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </action>
777
778 <action>
779 <touch key="home"/>
780 <actions>
781 <action function="set">tw_clear_destination=main2</action>
782 <action function="page">clear_vars</action>
783 </actions>
784 </action>
785 </page>
786
787 <page name="clear_vars">
788 <action>
789 <action function="set">tw_operation_state=0</action>
790 <action function="set">tw_text1=</action>
791 <action function="set">tw_text2=</action>
792 <action function="set">tw_text3=</action>
793 <action function="set">tw_text4=</action>
794 <action function="set">tw_action_text1=</action>
795 <action function="set">tw_action_text2=</action>
796 <action function="set">tw_action_param=</action>
797 <action function="set">tw_has_action2=0</action>
798 <action function="set">tw_action2=</action>
799 <action function="set">tw_action2_param=</action>
800 <action function="set">tw_has_cancel=0</action>
801 <action function="set">tw_cancel_action=</action>
802 <action function="set">tw_cancel_param=</action>
803 <action function="set">tw_show_exclamation=0</action>
804 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400805 <action function="set">tw_crypto_user_id=</action>
806 <action function="set">tw_multiuser_warning_accepted=</action>
807 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100808 <action function="page">%tw_clear_destination%</action>
809 </action>
810 </page>
811
Matt Mower908dd252016-05-25 02:26:50 -0500812 <page name="reboot_system_routine">
813 <action>
814 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500815 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500816 <action function="set">tw_has_action2=0</action>
817 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
818 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
819 <action function="set">tw_text3=</action>
820 <action function="set">tw_text4=</action>
821 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
822 <action function="set">tw_action_text2=</action>
823 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
824 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
825 <action function="page">rebootcheck</action>
826 </action>
827 </page>
828
z31s1g28f0a922015-11-07 18:50:22 +0100829 <page name="confirm_action">
830 <template name="page"/>
831
832 <text style="text_l">
833 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500834 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100835 </text>
836
837 <text style="text_m">
838 <placement x="%col1_x_header%" y="%row4_header_y%"/>
839 <text/>
840 </text>
841
842 <text style="text_m_accent">
843 <placement x="%center_x%" y="%row2_y%" placement="5"/>
844 <text>%tw_text1%</text>
845 </text>
846
847 <text style="text_m_accent">
848 <placement x="%center_x%" y="%row3_y%" placement="5"/>
849 <text>%tw_text2%</text>
850 </text>
851
852 <text style="text_m">
853 <placement x="%center_x%" y="%row4_y%" placement="5"/>
854 <text>%tw_text3%</text>
855 </text>
856
857 <text style="text_m">
858 <placement x="%center_x%" y="%row5_y%" placement="5"/>
859 <text>%tw_text4%</text>
860 </text>
861
862 <text style="text_m">
863 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100865 </text>
866
867 <slider style="slider_centered">
868 <text>%tw_slider_text%</text>
869 <action function="page">action_page</action>
870 </slider>
871
872 <action>
873 <touch key="back"/>
874 <actions>
875 <action function="set">tw_clear_destination=%tw_back%</action>
876 <action function="page">clear_vars</action>
877 </actions>
878 </action>
879
880 <action>
881 <touch key="home"/>
882 <action function="page">main</action>
883 </action>
884 </page>
885
886 <page name="action_page">
887 <template name="page"/>
888
889 <text style="text_l">
890 <placement x="%col1_x_header%" y="%row3_header_y%"/>
891 <text>%tw_action_text1%</text>
892 </text>
893
894 <text style="text_m">
895 <placement x="%col1_x_header%" y="%row4_header_y%"/>
896 <text>%tw_action_text2%</text>
897 </text>
898
899 <template name="console"/>
900
901 <template name="progress_bar"/>
902
903 <button style="main_button_half_width">
904 <condition var1="tw_has_cancel" var2="1"/>
905 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500906 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100907 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
908 </button>
909
910 <action>
911 <condition var1="tw_operation_state" var2="1"/>
912 <actions>
913 <action function="page">action_complete</action>
914 </actions>
915 </action>
916
917 <action>
918 <condition var1="tw_has_action2" var2="0"/>
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 </actions>
922 </action>
923
924 <action>
925 <condition var1="tw_has_action2" var2="1"/>
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 <action function="%tw_action2%">%tw_action2_param%</action>
929 </actions>
930 </action>
931 </page>
932
933 <page name="singleaction_page">
934 <template name="page"/>
935
936 <text style="text_l">
937 <placement x="%col1_x_header%" y="%row3_header_y%"/>
938 <text>%tw_action_text1%</text>
939 </text>
940
941 <text style="text_m">
942 <placement x="%col1_x_header%" y="%row4_header_y%"/>
943 <text>%tw_action_text2%</text>
944 </text>
945
946 <template name="console"/>
947
948 <template name="progress_bar"/>
949
950 <action>
951 <condition var1="tw_operation_state" var2="1"/>
952 <actions>
953 <action function="set">tw_page_done=1</action>
954 </actions>
955 </action>
956
957 <action>
958 <condition var1="tw_has_action2" var2="0"/>
959 <actions>
960 <action function="%tw_action%">%tw_action_param%</action>
961 </actions>
962 </action>
963
964 <action>
965 <condition var1="tw_has_action2" var2="1"/>
966 <actions>
967 <action function="%tw_action%">%tw_action_param%</action>
968 <action function="%tw_action2%">%tw_action2_param%</action>
969 </actions>
970 </action>
971 </page>
972
973 <page name="action_complete">
974 <template name="page"/>
975
976 <text style="text_l">
977 <placement x="%col1_x_header%" y="%row3_header_y%"/>
978 <text>%tw_complete_text1%</text>
979 </text>
980
981 <text style="text_m_fail">
982 <condition var1="tw_operation_status" op="!=" var2="0"/>
983 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500984 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100985 </text>
986
987 <text style="text_m">
988 <condition var1="tw_operation_status" var2="0"/>
989 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500990 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100991 </text>
992
993 <template name="console"/>
994
995 <button style="main_button_half_width">
996 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500997 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100998 <actions>
999 <action function="set">tw_clear_destination=%tw_back%</action>
1000 <action function="page">clear_vars</action>
1001 </actions>
1002 </button>
1003
1004 <button style="main_button_half_width">
1005 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001006 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001007 <actions>
1008 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001009 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001010 </actions>
1011 </button>
1012
1013 <action>
1014 <touch key="home"/>
1015 <actions>
1016 <action function="set">tw_clear_destination=main2</action>
1017 <action function="page">clear_vars</action>
1018 </actions>
1019 </action>
1020
1021 <action>
1022 <touch key="back"/>
1023 <actions>
1024 <action function="set">tw_clear_destination=%tw_back%</action>
1025 <action function="page">clear_vars</action>
1026 </actions>
1027 </action>
1028 </page>
1029
1030 <page name="filecheck">
1031 <action>
1032 <action function="fileexists">%tw_filecheck%</action>
1033 </action>
1034
1035 <action>
1036 <conditions>
1037 <condition var1="tw_operation_state" var2="1"/>
1038 <condition var1="tw_operation_status" var2="0"/>
1039 </conditions>
1040 <actions>
1041 <action function="set">tw_fileexists=1</action>
1042 <action function="page">%tw_existpage%</action>
1043 </actions>
1044 </action>
1045
1046 <action>
1047 <conditions>
1048 <condition var1="tw_operation_state" var2="1"/>
1049 <condition var1="tw_operation_status" var2="1"/>
1050 </conditions>
1051 <actions>
1052 <action function="set">tw_fileexists=0</action>
1053 <action function="page">%tw_notexistpage%</action>
1054 </actions>
1055 </action>
1056 </page>
1057
1058 <page name="rebootcheck">
1059 <action>
1060 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001061 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001062 </action>
1063
1064 <action>
1065 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1066 <action function="page">confirm_action</action>
1067 </action>
1068 </page>
1069
1070 <page name="wipe">
1071 <template name="page"/>
1072
1073 <text style="text_l">
1074 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 </text>
1077
1078 <text style="text_m">
1079 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001080 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001081 </text>
1082
1083 <text style="text_m_accent">
1084 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001085 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001086 </text>
1087
1088 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001089 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001090 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1091 </text>
1092
1093 <text style="text_m_accent">
1094 <condition var1="tw_has_data_media" var2="1"/>
1095 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001096 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001097 </text>
1098
1099 <text style="text_m_accent">
1100 <conditions>
1101 <condition var1="tw_has_android_secure" var2="1"/>
1102 <condition var1="fileexists" var2="/and-sec"/>
1103 </conditions>
1104 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <text style="text_m_accent">
1109 <condition var1="tw_has_sdext_partition" var2="1"/>
1110 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 </text>
1113
1114 <text style="text_m">
1115 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 </text>
1118
1119 <text style="text_m">
1120 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001121 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001122 </text>
1123
1124 <text style="text_m">
1125 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001126 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001127 </text>
1128
1129 <button style="main_button_half_width">
1130 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001131 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001132 <actions>
1133 <action function="set">partitionlisterror=0</action>
1134 <action function="page">advancedwipe</action>
1135 </actions>
1136 </button>
1137
1138 <button style="main_button_half_width">
1139 <condition var1="tw_has_data_media" var2="1"/>
1140 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001141 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001142 <action function="page">formatdata</action>
1143 </button>
1144
1145 <button style="main_button_half_width">
1146 <conditions>
1147 <condition var1="tw_is_encrypted" var2="1"/>
1148 <condition var1="tw_has_data_media" var2="0"/>
1149 </conditions>
1150 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001152 <actions>
1153 <action function="set">tw_back=wipe</action>
1154 <action function="set">tw_action=wipe</action>
1155 <action function="set">tw_action_param=DATAMEDIA</action>
1156 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001158 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001159 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1160 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1161 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001162 <action function="page">confirm_action</action>
1163 </actions>
1164 </button>
1165
1166 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001167 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001168 <actions>
1169 <action function="set">tw_back=wipe</action>
1170 <action function="set">tw_action=wipe</action>
1171 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001172 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1173 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001174 <action function="page">action_page</action>
1175 </actions>
1176 </slider>
1177
1178 <action>
1179 <touch key="back"/>
1180 <action function="page">main</action>
1181 </action>
1182
1183 <action>
1184 <touch key="home"/>
1185 <action function="page">main</action>
1186 </action>
1187 </page>
1188
1189 <page name="advancedwipe">
1190 <template name="page"/>
1191
1192 <action>
1193 <action function="set">tw_wipe_list=</action>
1194 </action>
1195
1196 <text style="text_l">
1197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001198 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001199 </text>
1200
1201 <text style="text_m">
1202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001203 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001204 </text>
1205
1206 <partitionlist>
1207 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001208 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001209 <data name="tw_wipe_list"/>
1210 <listtype name="wipe"/>
1211 </partitionlist>
1212
1213 <text style="text_m_fail">
1214 <condition var1="partitionlisterror" var2="1"/>
1215 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001216 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001217 </text>
1218
1219 <button style="main_button_m">
1220 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001221 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001222 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001223 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001224 <action function="page">checkpartitionlist</action>
1225 </actions>
1226 </button>
1227
1228 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <actions>
1231 <action function="set">tw_back=advancedwipe</action>
1232 <action function="set">tw_action=wipe</action>
1233 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001234 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1235 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1236 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001237 <action function="page">action_page</action>
1238 </actions>
1239 </slider>
1240
1241 <action>
1242 <touch key="home"/>
1243 <action function="page">main</action>
1244 </action>
1245
1246 <action>
1247 <touch key="back"/>
1248 <action function="page">wipe</action>
1249 </action>
1250 </page>
1251
1252 <page name="formatdata">
1253 <template name="page"/>
1254
1255 <text style="text_l">
1256 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
1260 <text style="text_m">
1261 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m_fail">
1266 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <text style="text_m_fail">
1271 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001272 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001273 </text>
1274
Ethan Yonker66a19492015-12-10 10:19:45 -06001275 <text style="text_m_fail">
1276 <condition var1="tw_has_adopted_storage" var2="1"/>
1277 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1278 <text>{@format_data_adopted=Including Adopted Storage}</text>
1279 </text>
1280
z31s1g28f0a922015-11-07 18:50:22 +01001281 <text style="text_m">
1282 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001283 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001284 </text>
1285
1286 <text style="text_m">
1287 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001288 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001289 </text>
1290
1291 <input>
1292 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1293 <text>%tw_confirm_formatdata%</text>
1294 <data name="tw_confirm_formatdata"/>
1295 <restrict minlen="3" maxlen="3" allow="yes"/>
1296 <action function="page">formatdata_confirm</action>
1297 </input>
1298
1299 <fill color="%accent_color%">
1300 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1301 </fill>
1302
1303 <template name="keyboardtemplate"/>
1304
1305 <action>
1306 <touch key="home"/>
1307 <action function="page">main</action>
1308 </action>
1309
1310 <action>
1311 <touch key="back"/>
1312 <action function="page">wipe</action>
1313 </action>
1314 </page>
1315
1316 <page name="formatdata_confirm">
1317 <action>
1318 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1319 <actions>
1320 <action function="set">tw_back=formatdata</action>
1321 <action function="set">tw_action=wipe</action>
1322 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001323 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1324 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001325 <action function="page">action_page</action>
1326 </actions>
1327 </action>
1328
1329 <action>
1330 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1331 <action function="page">formatdata</action>
1332 </action>
1333 </page>
1334
1335 <page name="checkpartitionlist">
1336 <action>
1337 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1338 <actions>
1339 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001340 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <action function="page">partitionoptions</action>
1342 </actions>
1343 </action>
1344
1345 <action>
1346 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1347 <actions>
1348 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <action function="page">advancedwipe</action>
1350 </actions>
1351 </action>
1352 </page>
1353
1354 <page name="partitionoptions">
1355 <template name="page"/>
1356
1357 <text style="text_l">
1358 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <text style="text_m">
1363 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001364 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001365 </text>
1366
1367 <text style="text_m_accent">
1368 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001369 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001370 </text>
1371
1372 <text style="text_m_accent">
1373 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001374 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001375 </text>
1376
1377 <text style="text_m">
1378 <condition var1="tw_partition_is_present" var2="1"/>
1379 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001380 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001381 </text>
1382
1383 <text style="text_m">
1384 <condition var1="tw_partition_is_present" var2="0"/>
1385 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001386 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001387 </text>
1388
1389 <text style="text_m">
1390 <condition var1="tw_partition_removable" var2="1"/>
1391 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <text style="text_m">
1396 <condition var1="tw_partition_removable" var2="0"/>
1397 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001398 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001399 </text>
1400
1401 <text style="text_m">
1402 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 </text>
1405
1406 <text style="text_m">
1407 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001409 </text>
1410
1411 <text style="text_m">
1412 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001414 </text>
1415
1416 <text style="text_m">
1417 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001418 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001419 </text>
1420
1421 <button style="main_button_half_width">
1422 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1423 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001424 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001425 <actions>
1426 <action function="set">tw_back=partitionoptions</action>
1427 <action function="set">tw_action=resize</action>
1428 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1429 <action function="set">tw_has_action2=1</action>
1430 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001431 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001433 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001434 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1435 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1436 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001437 <action function="page">confirm_action</action>
1438 </actions>
1439 </button>
1440
1441 <button style="main_button_half_width">
1442 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1443 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001444 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001445 <actions>
1446 <action function="set">tw_back=partitionoptions</action>
1447 <action function="set">tw_action=repair</action>
1448 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1449 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001450 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001451 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001452 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1453 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1454 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001455 <action function="page">confirm_action</action>
1456 </actions>
1457 </button>
1458
1459 <button style="main_button_half_width">
1460 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001461 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001462 <action function="page">selectfilesystem</action>
1463 </button>
1464
1465 <action>
1466 <touch key="home"/>
1467 <action function="page">main</action>
1468 </action>
1469
1470 <action>
1471 <touch key="back"/>
1472 <action function="page">advancedwipe</action>
1473 </action>
1474 </page>
1475
1476 <page name="refreshfilesystem">
1477 <action>
1478 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1479 <actions>
1480 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001481 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001482 <action function="page">selectfilesystem</action>
1483 </actions>
1484 </action>
1485
1486 <action>
1487 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1488 <actions>
1489 <action function="set">partitionlisterror=1</action>
1490 <action function="set">tw_wipe_list=</action>
1491 <action function="page">advancedwipe</action>
1492 </actions>
1493 </action>
1494 </page>
1495
1496 <page name="selectfilesystem">
1497 <template name="page"/>
1498
1499 <text style="text_l">
1500 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m">
1505 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_accent">
1510 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <text style="text_m_accent">
1515 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001516 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001517 </text>
1518
1519 <text style="text_m_fail">
1520 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001521 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001522 </text>
1523
1524 <text style="text_m_fail">
1525 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001526 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001527 </text>
1528
1529 <button style="main_button_half_width">
1530 <condition var1="tw_partition_ext" op="=" var2="1"/>
1531 <placement x="%col1_x_left%" y="%row11_y%"/>
1532 <text>EXT2</text>
1533 <actions>
1534 <action function="set">tw_back=refreshfilesystem</action>
1535 <action function="set">tw_action=changefilesystem</action>
1536 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1537 <action function="set">tw_action_new_file_system=ext2</action>
1538 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001539 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1540 <action function="set">tw_text2=EXT2</action>
1541 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1542 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1543 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001544 <action function="page">confirm_action</action>
1545 </actions>
1546 </button>
1547
1548 <button style="main_button_half_width">
1549 <condition var1="tw_partition_ext" op="=" var2="1"/>
1550 <placement x="%col2_x_left%" y="%row11_y%"/>
1551 <text>EXT3</text>
1552 <actions>
1553 <action function="set">tw_back=refreshfilesystem</action>
1554 <action function="set">tw_action=changefilesystem</action>
1555 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1556 <action function="set">tw_action_new_file_system=ext3</action>
1557 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001558 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1559 <action function="set">tw_text2=EXT3</action>
1560 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1561 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1562 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001563 <action function="page">confirm_action</action>
1564 </actions>
1565 </button>
1566
1567 <button style="main_button_half_width">
1568 <condition var1="tw_partition_ext" op="=" var2="1"/>
1569 <placement x="%center_x%" y="%row11_y%"/>
1570 <text>EXT4</text>
1571 <actions>
1572 <action function="set">tw_back=refreshfilesystem</action>
1573 <action function="set">tw_action=changefilesystem</action>
1574 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1575 <action function="set">tw_action_new_file_system=ext4</action>
1576 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001577 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1578 <action function="set">tw_text2=EXT4</action>
1579 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1580 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1581 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001582 <action function="page">confirm_action</action>
1583 </actions>
1584 </button>
1585
1586 <button style="main_button_half_width">
1587 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1588 <placement x="%col2_x_right%" y="%row11_y%"/>
1589 <text>FAT</text>
1590 <actions>
1591 <action function="set">tw_back=refreshfilesystem</action>
1592 <action function="set">tw_action=changefilesystem</action>
1593 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1594 <action function="set">tw_action_new_file_system=vfat</action>
1595 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1597 <action function="set">tw_text2=FAT</action>
1598 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1599 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1600 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001601 <action function="page">confirm_action</action>
1602 </actions>
1603 </button>
1604
1605 <button style="main_button_half_width">
1606 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1607 <placement x="%col2_x_left%" y="%row15a_y%"/>
1608 <text>exFAT</text>
1609 <actions>
1610 <action function="set">tw_back=refreshfilesystem</action>
1611 <action function="set">tw_action=changefilesystem</action>
1612 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1613 <action function="set">tw_action_new_file_system=exfat</action>
1614 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001615 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1616 <action function="set">tw_text2=exFAT</action>
1617 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1618 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1619 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001620 <action function="page">confirm_action</action>
1621 </actions>
1622 </button>
1623
1624 <button style="main_button_half_width">
1625 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1626 <placement x="%center_x%" y="%row15a_y%"/>
1627 <text>F2FS</text>
1628 <actions>
1629 <action function="set">tw_back=refreshfilesystem</action>
1630 <action function="set">tw_action=changefilesystem</action>
1631 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1632 <action function="set">tw_action_new_file_system=f2fs</action>
1633 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1635 <action function="set">tw_text2=F2FS</action>
1636 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1637 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1638 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001639 <action function="page">confirm_action</action>
1640 </actions>
1641 </button>
1642
1643 <action>
1644 <touch key="home"/>
1645 <action function="page">main</action>
1646 </action>
1647
1648 <action>
1649 <touch key="back"/>
1650 <action function="page">partitionoptions</action>
1651 </action>
1652 </page>
1653
1654 <page name="backup">
1655 <template name="page"/>
1656
Noah Jacobson81d638d2019-04-28 00:10:07 -04001657 <action>
1658 <conditions>
1659 <condition var1="tw_is_fbe" var2="1"/>
1660 <condition var1="tw_all_users_decrypted" var2="0"/>
1661 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1662 </conditions>
1663 <actions>
1664 <action function="set">tw_multiuser_warning_destination=backup</action>
1665 <action function="page">multiuser_warning</action>
1666 </actions>
1667 </action>
1668
z31s1g28f0a922015-11-07 18:50:22 +01001669 <text style="text_l">
1670 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001671 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001672 </text>
1673
1674 <text style="text_m">
1675 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001676 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </text>
1678
1679 <text style="text_m_accent">
1680 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001681 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001682 </text>
1683
1684 <text style="text_m">
1685 <placement x="%col1_x_left%" y="%row3_y%"/>
1686 <text>%tw_backup_name%</text>
1687 </text>
1688
1689 <fill color="%fileselector_linecolor%">
1690 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1691 </fill>
1692
1693 <button>
1694 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1695 <fill color="%transparent%"/>
1696 <actions>
1697 <action function="set">tw_fileexists=0</action>
1698 <action function="page">backupname1</action>
1699 </actions>
1700 </button>
1701
1702 <partitionlist>
1703 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001705 <data name="tw_backup_list"/>
1706 <listtype name="backup"/>
1707 </partitionlist>
1708
1709 <text style="text_m_accent">
1710 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </text>
1713
1714 <text style="text_m">
1715 <conditions>
1716 <condition var1="tw_include_encrypted_backup" var2="1"/>
1717 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001718 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001719 </conditions>
1720 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001721 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001722 </text>
1723
1724 <text style="text_m">
1725 <conditions>
1726 <condition var1="tw_include_encrypted_backup" var2="1"/>
1727 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001728 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </conditions>
1730 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001731 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001732 </text>
1733
1734 <fill color="%fileselector_linecolor%">
1735 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1736 </fill>
1737
1738 <button>
1739 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1740 <fill color="%transparent%"/>
1741 <actions>
1742 <action function="set">tw_password_not_match=0</action>
1743 <action function="page">backupencryption</action>
1744 </actions>
1745 </button>
1746
1747 <text style="text_m_accent">
1748 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001749 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001750 </text>
1751
1752 <checkbox>
1753 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001754 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001755 <data variable="tw_use_compression"/>
1756 </checkbox>
1757
1758 <checkbox>
1759 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001760 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1761 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001762 </checkbox>
1763
1764 <checkbox>
1765 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001766 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <data variable="tw_disable_free_space"/>
1768 </checkbox>
1769
1770 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001771 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001772 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001773 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001774 <actions>
1775 <action function="set">tw_back=backup</action>
1776 <action function="overlay">select_storage</action>
1777 </actions>
1778 </button>
1779
1780 <button style="main_button_half_width">
1781 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001782 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001783 <actions>
1784 <action function="refreshsizes"/>
1785 <action function="page">backup</action>
1786 </actions>
1787 </button>
1788
1789 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001790 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001791 <action function="page">backup_run</action>
1792 </slider>
1793
1794 <action>
1795 <touch key="home"/>
1796 <action function="page">main</action>
1797 </action>
1798
1799 <action>
1800 <touch key="back"/>
1801 <action function="page">main</action>
1802 </action>
1803 </page>
1804
Noah Jacobson81d638d2019-04-28 00:10:07 -04001805 <page name="multiuser_warning">
1806 <template name="page"/>
1807
1808 <text style="text_l">
1809 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1810 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1811 </text>
1812
1813 <text style="text_m_fail">
1814 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1815 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1816 </text>
1817
1818 <text style="text_m_fail">
1819 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1820 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1821 </text>
1822
1823 <button style="main_button_m">
1824 <placement x="%col1_x_left%" y="%row15a_y%"/>
1825 <text>{@decrypt_users=Decrypt Users}</text>
1826 <action function="page">decrypt_users</action>
1827 </button>
1828
1829 <slider>
1830 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1831 <actions>
1832 <action function="set">tw_multiuser_warning_accepted=1</action>
1833 <action function="page">%tw_multiuser_warning_destination%</action>
1834 </actions>
1835 </slider>
1836
1837 <action>
1838 <touch key="home"/>
1839 <action function="page">main</action>
1840 </action>
1841
1842 <action>
1843 <touch key="back"/>
1844 <action function="page">main</action>
1845 </action>
1846 </page>
1847
z31s1g28f0a922015-11-07 18:50:22 +01001848 <page name="backupname1">
1849 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001850 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001851 <action function="generatebackupname"/>
1852 </action>
1853
1854 <action>
1855 <action function="page">backupname2</action>
1856 </action>
1857 </page>
1858
1859 <page name="backupname2">
1860 <template name="page"/>
1861
1862 <text style="text_l">
1863 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001865 </text>
1866
1867 <text style="text_m">
1868 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001869 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001870 </text>
1871
1872 <text style="text_m_accent">
1873 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001874 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001875 </text>
1876
1877 <input>
1878 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1879 <text>%tw_backup_name%</text>
1880 <data name="tw_backup_name"/>
1881 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1882 <actions>
1883 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1884 <action function="set">tw_existpage=backupname2</action>
1885 <action function="set">tw_notexistpage=backup</action>
1886 <action function="page">filecheck</action>
1887 </actions>
1888 </input>
1889
1890 <fill color="%accent_color%">
1891 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1892 </fill>
1893
1894 <fill color="%text_fail_color%">
1895 <condition var1="tw_fileexists" var2="1"/>
1896 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1897 </fill>
1898
1899 <text style="text_m_fail">
1900 <condition var1="tw_fileexists" var2="1"/>
1901 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 </text>
1904
1905 <button style="main_button_half_width_low">
1906 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001907 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001908 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001909 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001910 <action function="page">backup</action>
1911 </actions>
1912 </button>
1913
1914 <button style="main_button_half_width_low">
1915 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001916 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001917 <action function="appenddatetobackupname"/>
1918 </button>
1919
1920 <template name="keyboardtemplate"/>
1921
1922 <action>
1923 <touch key="home"/>
1924 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001925 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001926 <action function="page">main</action>
1927 </actions>
1928 </action>
1929
1930 <action>
1931 <touch key="back"/>
1932 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001934 <action function="page">backup</action>
1935 </actions>
1936 </action>
1937 </page>
1938
1939 <page name="backupencryption">
1940 <template name="page"/>
1941
1942 <text style="text_l">
1943 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001944 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001945 </text>
1946
1947 <text style="text_m">
1948 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001949 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001950 </text>
1951
1952 <text style="text_m_accent">
1953 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001954 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001955 </text>
1956
1957 <input>
1958 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1959 <text>%tw_backup_encrypt_display%</text>
1960 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1961 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1962 <action function="page">backupencryption2</action>
1963 </input>
1964
1965 <fill color="%accent_color%">
1966 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1967 </fill>
1968
1969 <fill color="%text_fail_color%">
1970 <condition var1="tw_password_not_match" var2="1"/>
1971 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1972 </fill>
1973
1974 <text style="text_m_fail">
1975 <condition var1="tw_password_not_match" var2="1"/>
1976 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001977 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001978 </text>
1979
1980 <button style="main_button_half_width_low">
1981 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001982 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001983 <actions>
1984 <action function="set">tw_encrypt_backup=0</action>
1985 <action function="set">tw_backup_password=</action>
1986 <action function="set">tw_backup_password2=</action>
1987 <action function="set">tw_backup_encrypt_display=</action>
1988 <action function="set">tw_backup_encrypt_display2=</action>
1989 <action function="page">backup</action>
1990 </actions>
1991 </button>
1992
1993 <template name="keyboardtemplate"/>
1994
1995 <action>
1996 <touch key="home"/>
1997 <action function="page">main</action>
1998 </action>
1999
2000 <action>
2001 <touch key="back"/>
2002 <action function="page">backup</action>
2003 </action>
2004 </page>
2005
2006 <page name="backupencryption2">
2007 <template name="page"/>
2008
2009 <text style="text_l">
2010 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002011 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002012 </text>
2013
2014 <text style="text_m">
2015 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002016 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002017 </text>
2018
2019 <text style="text_m_accent">
2020 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002021 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002022 </text>
2023
2024 <input>
2025 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2026 <text>%tw_backup_encrypt_display2%</text>
2027 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2028 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2029 <action function="page">checkbackuppassword</action>
2030 </input>
2031
2032 <fill color="%accent_color%">
2033 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2034 </fill>
2035
2036 <text style="text_m">
2037 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002038 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002039 </text>
2040
2041 <button style="main_button_half_width_low">
2042 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002043 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002044 <actions>
2045 <action function="set">tw_encrypt_backup=0</action>
2046 <action function="set">tw_backup_password=</action>
2047 <action function="set">tw_backup_password2=</action>
2048 <action function="set">tw_backup_encrypt_display=</action>
2049 <action function="set">tw_backup_encrypt_display2=</action>
2050 <action function="page">backup</action>
2051 </actions>
2052 </button>
2053
2054 <template name="keyboardtemplate"/>
2055
2056 <action>
2057 <touch key="home"/>
2058 <action function="page">main</action>
2059 </action>
2060
2061 <action>
2062 <touch key="back"/>
2063 <action function="page">backup</action>
2064 </action>
2065 </page>
2066
2067 <page name="checkbackuppassword">
2068 <action>
2069 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2070 <actions>
2071 <action function="set">tw_encrypt_backup=1</action>
2072 <action function="page">backup</action>
2073 </actions>
2074 </action>
2075
2076 <action>
2077 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2078 <actions>
2079 <action function="set">tw_encrypt_backup=0</action>
2080 <action function="set">tw_password_not_match=1</action>
2081 <action function="set">tw_backup_password=</action>
2082 <action function="set">tw_backup_password2=</action>
2083 <action function="set">tw_backup_encrypt_display=</action>
2084 <action function="set">tw_backup_encrypt_display2=</action>
2085 <action function="page">backupencryption</action>
2086 </actions>
2087 </action>
2088 </page>
2089
2090 <page name="backup_run">
2091 <template name="page"/>
2092
2093 <text style="text_l">
2094 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2095 <text>%tw_operation%</text>
2096 </text>
2097
2098 <text style="text_m">
2099 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2100 <text>%tw_partition% Partition</text>
2101 </text>
2102
2103 <template name="console"/>
2104
2105 <template name="progress_bar"/>
2106
2107 <text style="text_m_accent">
2108 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002109 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002110 </text>
2111
2112 <text style="text_m">
2113 <placement x="%progress_text_x%" y="%row17_y%"/>
2114 <text>%tw_file_progress%</text>
2115 </text>
2116
2117 <text style="text_m">
2118 <placement x="%progress_text_x%" y="%row18_y%"/>
2119 <text>%tw_size_progress%</text>
2120 </text>
2121
2122 <button style="main_button_half_width">
2123 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002124 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002125 <action function="cancelbackup"/>
2126 </button>
2127
2128 <action>
2129 <action function="nandroid">backup</action>
2130 </action>
2131
2132 <action>
2133 <condition var1="tw_operation_state" var2="1"/>
2134 <condition var1="tw_cancel_backup" var2="0"/>
2135 <actions>
2136 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002137 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002138 <action function="set">tw_show_reboot=1</action>
2139 <action function="page">action_complete</action>
2140 </actions>
2141 </action>
2142
2143 <action>
2144 <condition var1="tw_operation_state" var2="1"/>
2145 <condition var1="tw_cancel_backup" var2="1"/>
2146 <actions>
2147 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002148 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002149 <action function="set">tw_show_reboot=1</action>
2150 <action function="page">action_complete</action>
2151 </actions>
2152 </action>
2153 </page>
2154
2155 <page name="restore">
2156 <template name="page"/>
2157
Noah Jacobson81d638d2019-04-28 00:10:07 -04002158 <action>
2159 <conditions>
2160 <condition var1="tw_is_fbe" var2="1"/>
2161 <condition var1="tw_all_users_decrypted" var2="0"/>
2162 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2163 </conditions>
2164 <actions>
2165 <action function="set">tw_multiuser_warning_destination=restore</action>
2166 <action function="page">multiuser_warning</action>
2167 </actions>
2168 </action>
2169
z31s1g28f0a922015-11-07 18:50:22 +01002170 <text style="text_l">
2171 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002173 </text>
2174
2175 <text style="text_m">
2176 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002177 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002178 </text>
2179
2180 <template name="sort_options"/>
2181
2182 <fileselector>
2183 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002184 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002185 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002186 <path name="tw_backups_folder"/>
2187 <data name="tw_restore" default=""/>
2188 <selection name="tw_restore_name"/>
2189 </fileselector>
2190
2191 <button style="main_button_half_width_low">
2192 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002193 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002194 <actions>
2195 <action function="set">tw_back=restore</action>
2196 <action function="overlay">select_storage</action>
2197 </actions>
2198 </button>
2199
2200 <action>
2201 <condition var1="tw_restore" op="modified"/>
2202 <actions>
2203 <action function="readBackup"/>
2204 <action function="page">restore_read</action>
2205 </actions>
2206 </action>
2207
2208 <action>
2209 <touch key="home"/>
2210 <action function="page">main</action>
2211 </action>
2212
2213 <action>
2214 <touch key="back"/>
2215 <action function="page">main</action>
2216 </action>
2217 </page>
2218
2219 <page name="restore_read">
2220 <action>
2221 <condition var1="tw_restore_encrypted" var2="1"/>
2222 <actions>
2223 <action function="set">tw_password_fail=0</action>
2224 <action function="page">restore_decrypt</action>
2225 </actions>
2226 </action>
2227
2228 <action>
2229 <condition var1="tw_restore_encrypted" var2="0"/>
2230 <actions>
2231 <action function="page">restore_select</action>
2232 </actions>
2233 </action>
2234 </page>
2235
2236 <page name="restore_decrypt">
2237 <template name="page"/>
2238
2239 <text style="text_l">
2240 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002241 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002242 </text>
2243
2244 <text style="text_m">
2245 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002246 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002247 </text>
2248
2249 <text style="text_m_accent">
2250 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002251 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002252 </text>
2253
2254 <input>
2255 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2256 <text>%tw_restore_display%</text>
2257 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2258 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2259 <action function="page">try_restore_decrypt</action>
2260 </input>
2261
2262 <fill color="%accent_color%">
2263 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2264 </fill>
2265
2266 <fill color="%text_fail_color%">
2267 <condition var1="tw_password_fail" var2="1"/>
2268 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2269 </fill>
2270
2271 <text style="text_m_fail">
2272 <condition var1="tw_password_fail" var2="1"/>
2273 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002274 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002275 </text>
2276
2277 <button style="main_button_half_width_low">
2278 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 <actions>
2281 <action function="set">tw_page_done=1</action>
2282 <action function="page">restore</action>
2283 </actions>
2284 </button>
2285
2286 <button style="main_button_half_width_low">
2287 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002288 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002289 <actions>
2290 <action function="set">tw_back=restore</action>
2291 <action function="set">tw_action=cmd</action>
2292 <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 -05002293 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2294 <action function="set">tw_text2=%tw_restore_name%</action>
2295 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2296 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2297 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2298 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002299 <action function="page">confirm_action</action>
2300 </actions>
2301 </button>
2302
2303 <template name="keyboardtemplate"/>
2304
2305 <action>
2306 <touch key="home"/>
2307 <action function="page">main</action>
2308 </action>
2309
2310 <action>
2311 <touch key="back"/>
2312 <action function="page">restore</action>
2313 </action>
2314 </page>
2315
2316 <page name="try_restore_decrypt">
2317 <template name="page"/>
2318
2319 <text style="text_l">
2320 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002321 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002322 </text>
2323
2324 <text style="text_m">
2325 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002326 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002327 </text>
2328
2329 <template name="console"/>
2330
2331 <template name="progress_bar"/>
2332
2333 <action>
2334 <action function="decrypt_backup"/>
2335 </action>
2336
2337 <action>
2338 <conditions>
2339 <condition var1="tw_operation_state" var2="1"/>
2340 <condition var1="tw_operation_status" op="!=" var2="0"/>
2341 </conditions>
2342 <actions>
2343 <action function="set">tw_password_fail=1</action>
2344 <action function="page">restore_decrypt</action>
2345 </actions>
2346 </action>
2347
2348 <action>
2349 <conditions>
2350 <condition var1="tw_operation_state" var2="1"/>
2351 <condition var1="tw_operation_status" op="=" var2="0"/>
2352 </conditions>
2353 <actions>
2354 <action function="set">tw_page_done=1</action>
2355 <action function="page">restore_select</action>
2356 </actions>
2357 </action>
2358 </page>
2359
2360 <page name="restore_select">
2361 <template name="page"/>
2362
2363 <text style="text_l">
2364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002365 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002366 </text>
2367
2368 <text style="text_m">
2369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002370 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002371 </text>
2372
2373 <text style="text_m_accent">
2374 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002375 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002376 </text>
2377
2378 <text style="text_m">
2379 <placement x="%col1_x_left%" y="%row3_y%"/>
2380 <text>%tw_restore_name%</text>
2381 </text>
2382
2383 <fill color="%fileselector_linecolor%">
2384 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2385 </fill>
2386
2387 <button>
2388 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2389 <fill color="%transparent%"/>
2390 <actions>
2391 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2392 <action function="set">tw_fileexists=0</action>
2393 <action function="page">renamebackup</action>
2394 </actions>
2395 </button>
2396
2397 <partitionlist>
2398 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002399 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002400 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2401 <listtype name="restore"/>
2402 </partitionlist>
2403
2404 <text style="text_m_accent">
2405 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002406 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </text>
2408
2409 <checkbox>
2410 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002411 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002412 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2413 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002414 </checkbox>
2415
2416 <button style="main_button_half_width">
2417 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002418 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002419 <actions>
2420 <action function="set">tw_back=restore</action>
2421 <action function="set">tw_action=cmd</action>
2422 <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 -05002423 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002424 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002425 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2426 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2427 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2428 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002429 <action function="page">confirm_action</action>
2430 </actions>
2431 </button>
2432
2433 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002434 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002435 <action function="page">restore_run</action>
2436 </slider>
2437
2438 <action>
2439 <touch key="home"/>
2440 <action function="page">main</action>
2441 </action>
2442
2443 <action>
2444 <touch key="back"/>
2445 <action function="page">restore</action>
2446 </action>
2447 </page>
2448
2449 <page name="renamebackup">
2450 <template name="page"/>
2451
2452 <text style="text_l">
2453 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002454 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002455 </text>
2456
2457 <text style="text_m">
2458 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002459 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002460 </text>
2461
2462 <text style="text_m_accent">
2463 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002464 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002465 </text>
2466
2467 <input>
2468 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2469 <text>%tw_backup_rename%</text>
2470 <data name="tw_backup_rename"/>
2471 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2472 <actions>
2473 <action function="set">tw_back=restore</action>
2474 <action function="set">tw_action=cmd</action>
2475 <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 -05002476 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2477 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2478 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2479 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2480 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002481 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2482 <action function="set">tw_existpage=renamebackup</action>
2483 <action function="set">tw_notexistpage=confirm_action</action>
2484 <action function="page">filecheck</action>
2485 </actions>
2486 </input>
2487
2488 <fill color="%accent_color%">
2489 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2490 </fill>
2491
2492 <fill color="%text_fail_color%">
2493 <condition var1="tw_fileexists" var2="1"/>
2494 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2495 </fill>
2496
2497 <text style="text_m_fail">
2498 <condition var1="tw_fileexists" var2="1"/>
2499 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002500 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002501 </text>
2502
2503 <button style="main_button_half_width_low">
2504 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002505 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002506 <action function="page">restore_select</action>
2507 </button>
2508
2509 <template name="keyboardtemplate"/>
2510
2511 <action>
2512 <touch key="home"/>
2513 <action function="page">main</action>
2514 </action>
2515
2516 <action>
2517 <touch key="back"/>
2518 <action function="page">restore_select</action>
2519 </action>
2520 </page>
2521
2522 <page name="restore_run">
2523 <template name="page"/>
2524
2525 <text style="text_l">
2526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2532 <text>%tw_operation% %tw_partition%</text>
2533 </text>
2534
2535 <template name="console"/>
2536
2537 <template name="progress_bar"/>
2538
2539 <text style="text_m_accent">
2540 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002541 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002542 </text>
2543
2544 <text style="text_m">
2545 <placement x="%progress_text_x%" y="%row18_y%"/>
2546 <text>%tw_size_progress%</text>
2547 </text>
2548
2549 <action>
2550 <condition var1="tw_operation_state" var2="1"/>
2551 <actions>
2552 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002553 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002554 <action function="set">tw_show_reboot=1</action>
2555 <action function="page">action_complete</action>
2556 </actions>
2557 </action>
2558
2559 <action>
2560 <action function="nandroid">restore</action>
2561 </action>
2562 </page>
2563
2564 <page name="mount">
2565 <template name="page"/>
2566
2567 <text style="text_l">
2568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002569 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002570 </text>
2571
2572 <text style="text_m">
2573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002574 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002575 </text>
2576
2577 <partitionlist>
2578 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002579 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002580 <listtype name="mount"/>
2581 </partitionlist>
2582
2583 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002584 <conditions>
2585 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2586 <condition var1="tw_is_super" op="=" var2="0"/>
2587 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002588 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002589 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002590 <image resource="checkbox_false"/>
2591 <action function="mountsystemtoggle">1</action>
2592 </button>
2593
2594 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002595 <conditions>
2596 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2597 <condition var1="tw_is_super" op="=" var2="0"/>
2598 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002599 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002600 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002601 <image resource="checkbox_true"/>
2602 <actions>
2603 <action function="set">tw_lifetime_writes=2</action>
2604 <action function="page">system_readonly_check</action>
2605 </actions>
2606 </button>
2607
2608 <button style="main_button_half_width">
2609 <condition var1="tw_has_usb_storage" var2="1"/>
2610 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002611 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002612 <action function="page">usb_mount</action>
2613 </button>
2614
2615 <button style="main_button_half_width">
2616 <conditions>
2617 <condition var1="tw_is_encrypted" var2="1"/>
2618 <condition var1="tw_is_decrypted" var2="0"/>
2619 </conditions>
2620 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002621 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002622 <action function="set">tw_crypto_user_id=0</action>
2623 <action function="set">tw_crypto_password=</action>
2624 <action function="set">tw_password_fail=0</action>
2625 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <action function="page">decrypt</action>
2627 </button>
2628
2629 <button style="main_button_half_width">
2630 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002631 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002632 <actions>
2633 <action function="set">tw_back=mount</action>
2634 <action function="overlay">select_storage</action>
2635 </actions>
2636 </button>
2637
2638 <button style="main_button_half_width">
2639 <conditions>
2640 <condition var1="tw_has_mtp" var2="1"/>
2641 <condition var1="tw_mtp_enabled" var2="0"/>
2642 </conditions>
2643 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002644 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002645 <action function="startmtp"/>
2646 </button>
2647
2648 <button style="main_button_half_width">
2649 <conditions>
2650 <condition var1="tw_has_mtp" var2="1"/>
2651 <condition var1="tw_mtp_enabled" var2="1"/>
2652 </conditions>
2653 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="stopmtp"/>
2656 </button>
2657
2658 <action>
2659 <touch key="home"/>
2660 <action function="page">main</action>
2661 </action>
2662
2663 <action>
2664 <touch key="back"/>
2665 <action function="page">main</action>
2666 </action>
2667 </page>
2668
2669 <page name="usb_mount">
2670 <template name="page"/>
2671
2672 <text style="text_l">
2673 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002674 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002675 </text>
2676
2677 <text style="text_m">
2678 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002679 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002680 </text>
2681
2682 <text style="text_m_accent">
2683 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 </text>
2686
2687 <text style="text_m">
2688 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002689 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002690 </text>
2691
2692 <text style="text_m">
2693 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002694 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002695 </text>
2696
2697 <button style="main_button_half_width">
2698 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002699 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002700 <action function="page">usb_umount</action>
2701 </button>
2702
2703 <action>
2704 <action function="mount">usb</action>
2705 <action function="set">tw_busy=1</action>
2706 </action>
2707 </page>
2708
2709 <page name="usb_umount">
2710 <action>
2711 <action function="unmount">usb</action>
2712 </action>
2713
2714 <action>
2715 <action function="page">mount</action>
2716 <action function="set">tw_busy=0</action>
2717 </action>
2718 </page>
2719
2720 <page name="system_readonly_check">
2721 <action>
2722 <action function="checkpartitionlifetimewrites">/system</action>
2723 </action>
2724
2725 <action>
2726 <condition var1="tw_lifetime_writes" var2="1"/>
2727 <actions>
2728 <action function="mountsystemtoggle">0</action>
2729 <action function="page">mount</action>
2730 </actions>
2731 </action>
2732
2733 <action>
2734 <condition var1="tw_lifetime_writes" var2="0"/>
2735 <actions>
2736 <action function="set">tw_back=mount</action>
2737 <action function="page">system_readonly</action>
2738 </actions>
2739 </action>
2740 </page>
2741
bigbiffdf8436b2020-08-30 16:22:34 -04002742 <page name="fastbootreboot">
2743 <template name="page"/>
2744
2745 <text style="text_l">
2746 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2747 <text>{@reboot_hdr=Reboot}</text>
2748 </text>
2749
2750 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002751 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002752
2753 <listitem name="{@rb_system_btn=System}">
2754 <condition var1="tw_reboot_system" var2="1"/>
2755 <actions>
2756 <action function="set">tw_back=fastbootreboot</action>
2757 <action function="set">tw_action=reboot</action>
2758 <action function="set">tw_action_param=system</action>
2759 <action function="set">tw_reboot_param=system</action>
2760 <action function="set">tw_has_action2=0</action>
2761 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2762 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2763 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2764 <action function="page">confirm_action</action>
2765 </actions>
2766 </listitem>
2767
2768 <listitem name="{@rb_poweroff_btn=Power Off}">
2769 <condition var1="tw_reboot_poweroff" var2="1"/>
2770 <actions>
2771 <action function="set">tw_back=fastbootreboot</action>
2772 <action function="set">tw_action=reboot</action>
2773 <action function="set">tw_action_param=poweroff</action>
2774 <action function="set">tw_reboot_param=poweroff</action>
2775 <action function="set">tw_has_action2=0</action>
2776 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2777 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2778 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2779 <action function="page">confirm_action</action>
2780 </actions>
2781 </listitem>
2782
2783 <listitem name="{@rb_recovery_btn=Recovery}">
2784 <condition var1="tw_reboot_recovery" var2="1"/>
2785 <actions>
2786 <action function="set">tw_back=fastbootreboot</action>
2787 <action function="set">tw_action=reboot</action>
2788 <action function="set">tw_action_param=recovery</action>
2789 <action function="set">tw_reboot_param=recovery</action>
2790 <action function="set">tw_has_action2=0</action>
2791 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2792 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2793 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2794 <action function="page">confirm_action</action>
2795 </actions>
2796 </listitem>
2797
2798 <listitem name="{@rb_bootloader_btn=Bootloader}">
2799 <condition var1="tw_reboot_bootloader" var2="1"/>
2800 <actions>
2801 <action function="set">tw_back=fastbootreboot</action>
2802 <action function="set">tw_action=reboot</action>
2803 <action function="set">tw_action_param=bootloader</action>
2804 <action function="set">tw_reboot_param=bootloader</action>
2805 <action function="set">tw_has_action2=0</action>
2806 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2807 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2808 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2809 <action function="page">confirm_action</action>
2810 </actions>
2811 </listitem>
2812
2813 <listitem name="{@rb_download_btn=Download}">
2814 <condition var1="tw_download_mode" var2="1"/>
2815 <actions>
2816 <action function="set">tw_back=fastbootreboot</action>
2817 <action function="set">tw_action=reboot</action>
2818 <action function="set">tw_action_param=download</action>
2819 <action function="set">tw_reboot_param=download</action>
2820 <action function="set">tw_has_action2=0</action>
2821 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2823 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2824 <action function="page">confirm_action</action>
2825 </actions>
2826 </listitem>
2827
2828 <listitem name="{@fastboot_button=Fastboot}">
2829 <condition var1="tw_fastboot_mode" var2="1"/>
2830 <actions>
2831 <action function="set">tw_back=fastbootreboot</action>
2832 <action function="set">tw_action=reboot</action>
2833 <action function="set">tw_action_param=fastboot</action>
2834 <action function="set">tw_reboot_param=fastboot</action>
2835 <action function="set">tw_has_action2=0</action>
2836 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2837 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2838 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2839 <action function="page">confirm_action</action>
2840 </actions>
2841 </listitem>
2842
2843 <listitem name="{@rb_edl_btn=Edl}">
2844 <condition var1="tw_edl_mode" var2="1"/>
2845 <actions>
2846 <action function="set">tw_back=fastbootreboot</action>
2847 <action function="set">tw_action=reboot</action>
2848 <action function="set">tw_action_param=edl</action>
2849 <action function="set">tw_reboot_param=edl</action>
2850 <action function="set">tw_has_action2=0</action>
2851 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2852 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2853 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2854 <action function="page">confirm_action</action>
2855 </actions>
2856 </listitem>
2857 </listbox>
2858 <action>
2859 <touch key="home"/>
2860 <action function="page">fastboot</action>
2861 </action>
2862
2863 <action>
2864 <touch key="back"/>
2865 <action function="page">fastboot</action>
2866 </action>
2867 </page>
2868
z31s1g28f0a922015-11-07 18:50:22 +01002869 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06002870 <action>
2871 <action function="checkforapp"></action>
2872 <action function="page">reboot2</action>
2873 </action>
2874 </page>
2875
2876 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002877 <template name="page"/>
2878
2879 <text style="text_l">
2880 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002881 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002882 </text>
2883
bigbiffdf8436b2020-08-30 16:22:34 -04002884 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002885 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002886
2887 <listitem name="{@rb_system_btn=System}">
2888 <condition var1="tw_reboot_system" var2="1"/>
2889 <actions>
2890 <action function="set">tw_back=reboot</action>
2891 <action function="page">reboot_system_routine</action>
2892 </actions>
2893 </listitem>
2894
2895 <listitem name="{@rb_poweroff_btn=Power Off}">
2896 <condition var1="tw_reboot_poweroff" var2="1"/>
2897 <actions>
2898 <action function="set">tw_back=reboot</action>
2899 <action function="set">tw_action=reboot</action>
2900 <action function="set">tw_action_param=poweroff</action>
2901 <action function="set">tw_reboot_param=poweroff</action>
2902 <action function="set">tw_has_action2=0</action>
2903 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2904 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2905 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2906 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2907 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2908 <action function="page">rebootcheck</action>
2909 </actions>
2910 </listitem>
2911
2912 <listitem name="{@rb_recovery_btn=Recovery}">
2913 <condition var1="tw_reboot_recovery" var2="1"/>
2914 <actions>
2915 <action function="set">tw_back=reboot</action>
2916 <action function="set">tw_action=reboot</action>
2917 <action function="set">tw_action_param=recovery</action>
2918 <action function="set">tw_reboot_param=recovery</action>
2919 <action function="set">tw_has_action2=0</action>
2920 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2921 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2922 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2923 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2924 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2925 <action function="page">rebootcheck</action>
2926 </actions>
2927 </listitem>
2928
2929 <listitem name="{@rb_bootloader_btn=Bootloader}">
2930 <condition var1="tw_reboot_bootloader" var2="1"/>
2931 <actions>
2932 <action function="set">tw_back=reboot</action>
2933 <action function="set">tw_action=reboot</action>
2934 <action function="set">tw_action_param=bootloader</action>
2935 <action function="set">tw_reboot_param=bootloader</action>
2936 <action function="set">tw_has_action2=0</action>
2937 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2938 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2939 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2940 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2941 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2942 <action function="page">rebootcheck</action>
2943 </actions>
2944 </listitem>
2945
2946 <listitem name="{@rb_download_btn=Download}">
2947 <condition var1="tw_download_mode" var2="1"/>
2948 <actions>
2949 <action function="set">tw_back=reboot</action>
2950 <action function="set">tw_action=reboot</action>
2951 <action function="set">tw_action_param=download</action>
2952 <action function="set">tw_reboot_param=download</action>
2953 <action function="set">tw_has_action2=0</action>
2954 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2955 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2956 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2957 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2958 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2959 <action function="page">rebootcheck</action>
2960 </actions>
2961 </listitem>
2962
2963
2964 <listitem name="{@fastboot_button=Fastboot}">
2965 <condition var1="tw_fastboot_mode" var2="1"/>
2966 <actions>
2967 <action function="set">tw_back=reboot</action>
2968 <action function="set">tw_action=reboot</action>
2969 <action function="set">tw_action_param=fastboot</action>
2970 <action function="set">tw_reboot_param=fastboot</action>
2971 <action function="set">tw_has_action2=0</action>
2972 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2973 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2974 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2975 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2976 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2977 <action function="page">rebootcheck</action>
2978 </actions>
2979 </listitem>
2980
2981 <listitem name="{@rb_edl_btn=Edl}">
2982 <condition var1="tw_edl_mode" var2="1"/>
2983 <actions>
2984 <action function="set">tw_back=reboot</action>
2985 <action function="set">tw_action=reboot</action>
2986 <action function="set">tw_action_param=edl</action>
2987 <action function="set">tw_reboot_param=edl</action>
2988 <action function="set">tw_has_action2=0</action>
2989 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2990 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2991 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2992 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2993 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2994 <action function="page">rebootcheck</action>
2995 </actions>
Captain Throwback52978932021-09-05 15:11:07 -04002996 </listitem>
bigbiffdf8436b2020-08-30 16:22:34 -04002997 </listbox>
2998
Ethan Yonker8581ab32020-12-17 14:51:50 -06002999 <button style="main_button">
3000 <condition var1="tw_app_install_status" var2="1"/>
3001 <placement x="%center_x%" y="%row12_y%"/>
3002 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
3003 <actions>
3004 <action function="set">tw_back=reboot</action>
3005 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
3006 <action function="page">installapp</action>
3007 </actions>
3008 </button>
3009
bigbiffdf8436b2020-08-30 16:22:34 -04003010 <text style="text_m">
3011 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003012 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04003013 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
3014 </text>
3015
z31s1g28f0a922015-11-07 18:50:22 +01003016 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003017 <condition var1="tw_has_boot_slots" var2="1"/>
3018 <placement x="%indent%" y="%row16_y%"/>
3019 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003020 <actions>
3021 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003022 <action function="set">tw_action=setbootslot</action>
3023 <action function="set">tw_action_param=A</action>
3024 <action function="set">tw_has_action2=0</action>
3025 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3026 <action function="set">tw_action_text2=</action>
3027 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3028 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01003029 </actions>
3030 </button>
3031
3032 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003033 <condition var1="tw_has_boot_slots" var2="1"/>
3034 <placement x="%center_x%" y="%row16_y%"/>
3035 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003036 <actions>
3037 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003038 <action function="set">tw_action=setbootslot</action>
3039 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01003040 <action function="set">tw_has_action2=0</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003041 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3042 <action function="set">tw_action_text2=</action>
3043 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3044 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003045 </actions>
3046 </button>
3047
z31s1g28f0a922015-11-07 18:50:22 +01003048 <action>
3049 <touch key="home"/>
3050 <action function="page">main</action>
3051 </action>
3052
3053 <action>
3054 <touch key="back"/>
3055 <action function="page">main</action>
3056 </action>
3057 </page>
3058
Ethan Yonker8581ab32020-12-17 14:51:50 -06003059 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003060 <template name="page"/>
3061
3062 <text style="text_l">
3063 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003064 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003065 </text>
3066
3067 <text style="text_m">
3068 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003069 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003070 </text>
3071
3072 <text style="text_m_accent">
3073 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3074 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3075 </text>
3076
3077 <text style="text_m_accent">
3078 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3079 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3080 </text>
3081
3082 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003083 <condition var1="tw_mount_system_ro" var2="0"/>
3084 <placement x="%indent%" y="%row7_y%"/>
3085 <text>{@reboot_install_app_system=Install as a System App}</text>
3086 <data variable="tw_app_install_system"/>
3087 </checkbox>
3088
3089 <button style="main_button_half_width">
3090 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003091 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003092 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003093 </button>
3094
3095 <slider>
3096 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3097 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003098 <action function="set">tw_action=installapp</action>
3099 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3100 <action function="set">tw_action_text2=</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003101 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003102 <action function="page">action_page</action>
3103 </actions>
3104 </slider>
3105
3106 <action>
3107 <touch key="home"/>
3108 <actions>
3109 <action function="set">tw_app_install_status=0</action>
3110 <action function="page">main</action>
3111 </actions>
3112 </action>
3113
3114 <action>
3115 <touch key="back"/>
3116 <actions>
3117 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003118 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003119 </actions>
3120 </action>
3121 </page>
3122
z31s1g28f0a922015-11-07 18:50:22 +01003123 <page name="system_readonly">
3124 <template name="page"/>
3125
3126 <text style="text_l">
3127 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003129 </text>
3130
3131 <text style="text_m_accent">
3132 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <text style="text_m">
3137 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003138 <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 +01003139 </text>
3140
3141 <text style="text_m">
3142 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <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 +01003144 </text>
3145
3146 <text style="text_m_fail">
3147 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003148 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003149 </text>
3150
3151 <checkbox>
3152 <condition var1="tw_is_encrypted" var2="0"/>
3153 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003154 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003155 <data variable="tw_never_show_system_ro_page"/>
3156 </checkbox>
3157
3158 <button style="main_button_half_width">
3159 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <actions>
3162 <action function="mountsystemtoggle">1</action>
3163 <action function="set">tw_page_done=1</action>
3164 <action function="page">%tw_back%</action>
3165 </actions>
3166 </button>
3167
z31s1g608d7ff2016-01-18 19:47:25 +01003168 <button style="main_button_half_width">
3169 <placement x="%col2_x_left%" y="%row15a_y%"/>
3170 <text>{@sel_lang_btn=Select Language}</text>
3171 <action function="overlay">select_language</action>
3172 </button>
3173
z31s1g28f0a922015-11-07 18:50:22 +01003174 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <actions>
3177 <action function="mountsystemtoggle">0</action>
3178 <action function="set">tw_page_done=1</action>
3179 <action function="page">%tw_back%</action>
3180 </actions>
3181 </slider>
3182 </page>
3183
3184 <page name="settings">
3185 <template name="page"/>
3186
3187 <text style="text_l">
3188 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 </text>
3191
3192 <text style="text_m">
3193 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 </text>
3196
3197 <template name="tabs_settings"/>
3198
3199 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003200 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003201 </fill>
3202
3203 <listbox style="scrolllist">
3204 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3205 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003206 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003207 <data variable="tw_signed_zip_verify"/>
3208 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003209 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3210 <data variable="tw_install_reboot"/>
3211 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003212 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003213 <data variable="tw_rm_rf"/>
3214 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003215 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3216 <data variable="tw_disable_free_space"/>
3217 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003218 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3219 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003221 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3222 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003223 </listitem>
epicX9597b842021-03-20 21:58:17 +05303224 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3225 <data variable="tw_skip_digest_check_zip"/>
3226 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003228 <data variable="tw_military_time"/>
3229 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003231 <data variable="tw_simulate_actions"/>
3232 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003234 <condition var1="tw_simulate_actions" var2="1"/>
3235 <data variable="tw_simulate_fail"/>
3236 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003237 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3238 <condition var1="tw_no_sha2" var2="0"/>
3239 <data variable="tw_use_sha2"/>
3240 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003241 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3242 <data variable="tw_unmount_system"/>
3243 </listitem>
nebrassyac29e692021-05-20 13:03:30 +02003244 <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}">
3245 <conditions>
3246 <condition var1="tw_has_boot_slots" var2="1"/>
3247 <condition var1="tw_has_repack_tools" var2="1"/>
3248 </conditions>
3249 <data variable="tw_auto_reflashtwrp"/>
3250 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003251 </listbox>
3252
3253 <checkbox>
3254 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003256 <data variable="tw_samsung_navbar"/>
3257 </checkbox>
3258
3259 <button style="radiobutton">
3260 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3261 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 <image resource="radio_false"/>
3264 <action function="set">tw_navbar_button_position=0</action>
3265 </button>
3266
3267 <button style="radiobutton">
3268 <condition var1="tw_navbar_button_position" var2="0"/>
3269 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003270 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003271 <image resource="radio_true"/>
3272 <action function="set">tw_navbar_button_position=0</action>
3273 </button>
3274
3275 <button style="radiobutton">
3276 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3277 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003278 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003279 <image resource="radio_false"/>
3280 <action function="set">tw_navbar_button_position=1</action>
3281 </button>
3282
3283 <button style="radiobutton">
3284 <condition var1="tw_navbar_button_position" var2="1"/>
3285 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003286 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003287 <image resource="radio_true"/>
3288 <action function="set">tw_navbar_button_position=1</action>
3289 </button>
3290
3291 <button style="radiobutton">
3292 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3293 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003294 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003295 <image resource="radio_false"/>
3296 <action function="set">tw_navbar_button_position=2</action>
3297 </button>
3298
3299 <button style="radiobutton">
3300 <condition var1="tw_navbar_button_position" var2="2"/>
3301 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003302 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003303 <image resource="radio_true"/>
3304 <action function="set">tw_navbar_button_position=2</action>
3305 </button>
3306
3307 <button style="main_button_half_width">
3308 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <action function="restoredefaultsettings"/>
3311 </button>
3312
3313 <action>
3314 <touch key="home"/>
3315 <action function="page">main</action>
3316 </action>
3317
3318 <action>
3319 <touch key="back"/>
3320 <action function="page">main</action>
3321 </action>
3322 </page>
3323
3324 <page name="settings_timezone">
3325 <template name="page"/>
3326
3327 <text style="text_l">
3328 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003329 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003330 </text>
3331
3332 <text style="text_m">
3333 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003334 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </text>
3336
3337 <template name="tabs_settings"/>
3338
3339 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003340 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003341 </fill>
3342
3343 <listbox>
3344 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3348 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3349 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3350 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3351 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3352 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3353 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3354 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3355 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3356 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3357 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3358 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3359 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3360 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3361 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3362 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3363 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3364 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3365 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3366 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3367 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3368 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3369 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3370 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003371 </listbox>
3372
3373 <text style="text_m_accent">
3374 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003376 </text>
3377
3378 <button style="button_quarter_width">
3379 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <action function="set">tw_time_zone_guioffset=0</action>
3382 </button>
3383
3384 <button style="button_quarter_width">
3385 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003386 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003387 <action function="set">tw_time_zone_guioffset=15</action>
3388 </button>
3389
3390 <button style="button_quarter_width">
3391 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <action function="set">tw_time_zone_guioffset=30</action>
3394 </button>
3395
3396 <button style="button_quarter_width">
3397 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003399 <action function="set">tw_time_zone_guioffset=45</action>
3400 </button>
3401
3402 <checkbox>
3403 <placement x="%col1_x_right%" y="%row7_y%"/>
3404 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 <data variable="tw_time_zone_guidst"/>
3407 <image checked="checkbox_true" unchecked="checkbox_false"/>
3408 </checkbox>
3409
3410 <text color="%text_color%">
3411 <font resource="font_m"/>
3412 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003414 </text>
3415
3416 <button>
3417 <highlight color="%highlight_color%"/>
3418 <placement x="%col2_x_right%" y="%row15a_y%"/>
3419 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003421 <image resource="main_button_half_width"/>
3422 <action function="setguitimezone"/>
3423 </button>
3424
3425 <action>
3426 <touch key="home"/>
3427 <action function="page">main</action>
3428 </action>
3429
3430 <action>
3431 <touch key="back"/>
3432 <action function="page">main</action>
3433 </action>
3434 </page>
3435
3436 <page name="settings_screen">
3437 <template name="page"/>
3438
3439 <text style="text_l">
3440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003442 </text>
3443
3444 <text style="text_m">
3445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003446 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003447 </text>
3448
3449 <template name="tabs_settings"/>
3450
3451 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003452 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003453 </fill>
3454
3455 <button>
3456 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3457 <font resource="font_m" color="%text_color%"/>
3458 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3459 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <image resource="checkbox_false"/>
3462 <action function="set">tw_screen_timeout_secs=60</action>
3463 </button>
3464
3465 <button>
3466 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3467 <font resource="font_m" color="%text_color%"/>
3468 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3469 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003470 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003471 <image resource="checkbox_true"/>
3472 <action function="set">tw_screen_timeout_secs=0</action>
3473 </button>
3474
3475 <slidervalue>
3476 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3477 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3478 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003479 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003480 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3481 </slidervalue>
3482
3483 <slidervalue>
3484 <condition var1="tw_has_brightnesss_file" var2="1"/>
3485 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003486 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003487 <data variable="tw_brightness_pct" min="10" max="100"/>
3488 <actions>
3489 <action function="set">tw_brightness=%tw_brightness_max%</action>
3490 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3491 <action function="compute">tw_brightness/100</action>
3492 <action function="setbrightness">%tw_brightness%</action>
3493 </actions>
3494 </slidervalue>
3495
3496 <action>
3497 <touch key="home"/>
3498 <action function="page">main</action>
3499 </action>
3500
3501 <action>
3502 <touch key="back"/>
3503 <action function="page">main</action>
3504 </action>
3505 </page>
3506
3507 <page name="settings_vibration">
3508 <template name="page"/>
3509
3510 <text style="text_l">
3511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003512 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003513 </text>
3514
3515 <text style="text_m">
3516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 </text>
3519
3520 <template name="tabs_settings"/>
3521
3522 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003523 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003524 </fill>
3525
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003526 <text style="text_m">
3527 <condition var1="tw_disable_haptics" var2="1"/>
3528 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3529 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3530 </text>
3531
z31s1g28f0a922015-11-07 18:50:22 +01003532 <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="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003535 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003536 <data variable="tw_button_vibrate" min="0" max="300"/>
3537 </slidervalue>
3538
3539 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003540 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003541 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003542 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003543 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3544 </slidervalue>
3545
3546 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003547 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003548 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003550 <data variable="tw_action_vibrate" min="0" max="500"/>
3551 </slidervalue>
3552
3553 <action>
3554 <touch key="home"/>
3555 <action function="page">main</action>
3556 </action>
3557
3558 <action>
3559 <touch key="back"/>
3560 <action function="page">main</action>
3561 </action>
3562 </page>
3563
Ethan Yonker74db1572015-10-28 12:44:49 -05003564 <page name="settings_language">
3565 <template name="page"/>
3566
3567 <text style="text_l">
3568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3569 <text>{@settings_hdr=Settings}</text>
3570 </text>
3571
3572 <text style="text_m">
3573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3574 <text>{@language_hdr=Language - %tw_language_display%}</text>
3575 </text>
3576
3577 <template name="tabs_settings"/>
3578
3579 <fill color="%text_color%">
3580 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3581 </fill>
3582
3583 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003584 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003585 <text>{@select_language=Select Language:}</text>
3586 <icon selected="radio_true" unselected="radio_false" />
3587 <data name="tw_language" />
3588 </listbox>
3589
z31s1g56189522016-01-13 19:12:40 +01003590 <button>
3591 <highlight color="%highlight_color%"/>
3592 <placement x="%col2_x_right%" y="%row15a_y%"/>
3593 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003594 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003595 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003596 <action function="setlanguage"></action>
3597 </button>
3598
3599 <action>
3600 <touch key="home" />
3601 <action function="page">main</action>
3602 </action>
3603
3604 <action>
3605 <touch key="back" />
3606 <action function="page">settings</action>
3607 </action>
3608 </page>
3609
Matt Mower32676622017-01-18 18:56:13 -06003610 <page name="copylog">
3611 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003612
Matt Mower32676622017-01-18 18:56:13 -06003613 <text style="text_l">
3614 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3615 <text>{@copying_log=Copy Logs to SD Card}</text>
3616 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003617
Matt Mower32676622017-01-18 18:56:13 -06003618 <checkbox>
Captain Throwback52978932021-09-05 15:11:07 -04003619 <condition var1="tw_logcat_exists" var2="1"/>
Matt Mower32676622017-01-18 18:56:13 -06003620 <placement x="%indent%" y="%row4_y%"/>
Captain Throwback52978932021-09-05 15:11:07 -04003621 <text>{@include_logcat=Include Logcat}</text>
3622 <data variable="tw_include_logcat" value="1"/>
3623 </checkbox>
3624
3625 <checkbox>
3626 <placement x="%indent%" y="%row6_y%"/>
Matt Mower32676622017-01-18 18:56:13 -06003627 <text>{@include_kernel_log=Include Kernel Log}</text>
3628 <data variable="tw_include_kernel_log" value="1"/>
3629 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003630
Matt Mower32676622017-01-18 18:56:13 -06003631 <slider>
3632 <text>{@copying_log=Copy Logs to SD Card}</text>
3633 <actions>
3634 <action function="set">tw_back=advanced</action>
3635 <action function="set">tw_action=copylog</action>
3636 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3637 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3638 <action function="page">action_page</action>
3639 </actions>
3640 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003641
Matt Mower32676622017-01-18 18:56:13 -06003642 <action>
3643 <touch key="home"/>
3644 <action function="page">main</action>
3645 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003646
Matt Mower32676622017-01-18 18:56:13 -06003647 <action>
3648 <touch key="back"/>
3649 <actions>
3650 <action function="page">advanced</action>
3651 </actions>
3652 </action>
3653 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003654
z31s1g28f0a922015-11-07 18:50:22 +01003655 <page name="advanced">
3656 <template name="page"/>
3657
3658 <text style="text_l">
3659 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 </text>
3662
3663 <button style="main_button">
3664 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003666 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003667 </button>
3668
3669 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003670 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003671 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003672 <action function="page">filemanagerlist</action>
3673 </button>
3674
3675 <button style="main_button">
3676 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003677 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003678 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003679 </button>
3680
3681 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003682 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003683 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003684 <action function="page">sideload</action>
3685 </button>
3686
Ethan Yonker64e0a652018-07-25 09:52:17 -05003687 <listbox style="advanced_listbox">
3688 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05303689 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3690 <condition var1="tw_is_encrypted" var2="0"/>
3691 <action function="page">changeTwrpFolder</action>
3692 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003693 <listitem name="{@decrypt_users=Decrypt Users}">
3694 <conditions>
3695 <condition var1="tw_is_fbe" var2="1"/>
3696 <condition var1="tw_all_users_decrypted" var2="0"/>
3697 </conditions>
3698 <actions>
3699 <action function="set">tw_crypto_user_id=</action>
3700 <action function="page">decrypt_users</action>
3701 </actions>
3702 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003703 <listitem name="{@reload_theme_btn=Reload Theme}">
3704 <action function="reload"/>
3705 </listitem>
3706 <listitem name="{@part_sd_btn=Partition SD Card}">
3707 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3708 <actions>
3709 <action function="set">partitionlisterror=0</action>
3710 <action function="page">partsdcardsel</action>
3711 </actions>
3712 </listitem>
3713 <listitem name="{@fix_context_btn=Fix Contexts}">
3714 <condition var1="tw_has_data_media" var2="1"/>
3715 <action function="page">fixcontexts</action>
3716 </listitem>
3717 <listitem name="{@dumlock_btn=HTC Dumlock}">
3718 <condition var1="tw_show_dumlock" var2="1"/>
3719 <action function="page">htcdumlock</action>
3720 </listitem>
3721 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3722 <condition var1="tw_has_injecttwrp" var2="1"/>
3723 <actions>
3724 <action function="set">tw_back=advanced</action>
3725 <action function="set">tw_action=reinjecttwrp</action>
3726 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3727 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3728 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3729 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3730 <action function="page">confirm_action</action>
3731 </actions>
3732 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003733 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3734 <conditions>
3735 <condition var1="tw_has_boot_slots" var2="1"/>
3736 <condition var1="tw_has_repack_tools" var2="1"/>
3737 </conditions>
3738 <actions>
3739 <action function="set">tw_repack_kernel=0</action>
3740 <action function="page">repackselect</action>
3741 </actions>
3742 </listitem>
nebrassyac29e692021-05-20 13:03:30 +02003743 <listitem name="{@reflash_twrp=Flash Current TWRP}">
3744 <conditions>
3745 <condition var1="tw_has_boot_slots" var2="1"/>
3746 <condition var1="tw_has_repack_tools" var2="1"/>
3747 </conditions>
3748 <actions>
3749 <action function="set">tw_repack_kernel=0</action>
3750 <action function="set">tw_back=advanced</action>
3751 <action function="set">tw_action=reflashtwrp</action>
3752 <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action>
3753 <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action>
3754 <action function="set">tw_complete_text1={@reflash_twrp_complete=Done flashing TWRP}</action>
3755 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3756 <action function="page">confirm_action</action>
3757 </actions>
3758 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003759 <listitem name="{@install_kernel=Install Kernel}">
3760 <conditions>
3761 <condition var1="tw_has_boot_slots" var2="1"/>
3762 <condition var1="tw_has_repack_tools" var2="1"/>
3763 </conditions>
3764 <actions>
3765 <action function="set">tw_repack_kernel=1</action>
3766 <action function="page">repackselect</action>
3767 </actions>
3768 </listitem>
3769 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3770 <conditions>
3771 <condition var1="tw_has_boot_slots" var2="1"/>
3772 <condition var1="tw_has_repack_tools" var2="1"/>
3773 </conditions>
3774 <actions>
3775 <action function="set">tw_back=advanced</action>
3776 <action function="set">tw_action=fixabrecoverybootloop</action>
3777 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3778 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3779 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3780 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3781 <action function="page">confirm_action</action>
3782 </actions>
3783 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003784 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3785 <condition var1="tw_app_install_status" var2="1"/>
3786 <actions>
3787 <action function="set">tw_back=advanced</action>
3788 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3789 <action function="page">installapp</action>
3790 </actions>
3791 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003792 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3793 <condition var1="tw_app_installed_in_system" var2="1"/>
3794 <actions>
3795 <action function="set">tw_back=advanced</action>
3796 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3797 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3798 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3799 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3800 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3801 <action function="page">confirm_action</action>
3802 </actions>
3803 </listitem>
bigbiffcfa875c2021-06-20 16:20:27 -04003804 <listitem name="{@unmap_super_devices=Unmap Super Devices}">
3805 <actions>
3806 <action function="set">tw_back=advanced</action>
3807 <action function="set">tw_action=unmapsuperdevices</action>
3808 <action function="set">tw_text1={@unmap_super_devices_confirm=Unmap all Super Devices?}</action>
3809 <action function="set">tw_action_text1={@unmapping_super_devices=Unmapping Super Devices...}</action>
3810 <action function="set">tw_complete_text1={@unmap_super_devices_complete=Unmapped all Super Devices}</action>
3811 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3812 <action function="page">confirm_action</action>
3813 </actions>
3814 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003815 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003816
3817 <action>
3818 <touch key="home"/>
3819 <action function="page">main</action>
3820 </action>
3821
3822 <action>
3823 <touch key="back"/>
3824 <action function="page">main</action>
3825 </action>
3826 </page>
3827
Ethan Yonker483e9f42016-01-11 22:21:18 -06003828 <page name="partsdcardsel">
3829 <template name="page"/>
3830
3831 <text style="text_l">
3832 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3833 <text>{@advanced_hdr=Advanced}</text>
3834 </text>
3835
3836 <text style="text_m">
3837 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3838 <text>{@part_sd_hdr=Partition SD Card}</text>
3839 </text>
3840
z31s1g782e1c92016-01-30 16:50:09 +01003841 <partitionlist>
3842 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003843 <text>{@sel_storage_list=Select Storage}</text>
3844 <data name="tw_storage_path"/>
3845 <listtype name="storage"/>
3846 </partitionlist>
3847
z31s1g782e1c92016-01-30 16:50:09 +01003848 <text style="text_m_fail">
3849 <condition var1="partitionlisterror" var2="1"/>
3850 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3851 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3852 </text>
3853
3854 <button style="main_button_half_width">
3855 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003856 <text>{@ok_btn=OK}</text>
3857 <actions>
3858 <action function="getpartitiondetails">tw_storage_path</action>
3859 <action function="page">partsdcardcheck</action>
3860 </actions>
3861 </button>
3862
Ethan Yonker483e9f42016-01-11 22:21:18 -06003863 <action>
3864 <touch key="home"/>
3865 <action function="page">main</action>
3866 </action>
3867
3868 <action>
3869 <touch key="back"/>
3870 <action function="page">advanced</action>
3871 </action>
3872 </page>
3873
3874 <page name="partsdcardcheck">
3875 <action>
3876 <condition var1="tw_partition_removable" op="=" var2="1"/>
3877 <actions>
3878 <action function="set">partitionlisterror=0</action>
3879 <action function="page">partsdcard</action>
3880 </actions>
3881 </action>
3882
3883 <action>
3884 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3885 <actions>
3886 <action function="set">partitionlisterror=1</action>
3887 <action function="page">partsdcardsel</action>
3888 </actions>
3889 </action>
3890 </page>
3891
z31s1g28f0a922015-11-07 18:50:22 +01003892 <page name="partsdcard">
3893 <template name="page"/>
3894
3895 <text style="text_l">
3896 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003897 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </text>
3899
3900 <text style="text_m">
3901 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m_fail">
3906 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003907 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003908 </text>
3909
3910 <text style="text_m_fail">
3911 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003912 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003913 </text>
3914
3915 <text style="text_m_accent">
3916 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003917 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003918 </text>
3919
3920 <text style="text_m">
3921 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3922 <text>%tw_sdext_size%</text>
3923 </text>
3924
3925 <button style="button_quarter_width">
3926 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003927 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003928 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003929 </button>
3930
3931 <button style="button_quarter_width">
3932 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003933 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003934 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003935 </button>
3936
3937 <text style="text_m_accent">
3938 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003939 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003940 </text>
3941
3942 <text style="text_m">
3943 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3944 <text>%tw_swap_size%</text>
3945 </text>
3946
3947 <button style="button_quarter_width">
3948 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003949 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003950 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003951 </button>
3952
3953 <button style="button_quarter_width">
3954 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003956 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003957 </button>
3958
3959 <text style="text_m_accent">
3960 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003961 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </text>
3963
3964 <text style="text_m">
3965 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3966 <text>%tw_sdpart_file_system%</text>
3967 </text>
3968
3969 <button style="button_quarter_width">
3970 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3971 <text>EXT3</text>
3972 <action function="set">tw_sdpart_file_system=ext3</action>
3973 </button>
3974
3975 <button style="button_quarter_width">
3976 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3977 <text>EXT4</text>
3978 <action function="set">tw_sdpart_file_system=ext4</action>
3979 </button>
3980
3981 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003983 <action function="page">partsdcardaction</action>
3984 <actions>
3985 <action function="set">tw_back=partsdcard</action>
3986 <action function="set">tw_action=partitionsd</action>
3987 <action function="set">tw_has_action2=1</action>
3988 <action function="set">tw_action2=set</action>
3989 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3991 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3992 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <action function="page">action_page</action>
3994 </actions>
3995 </slider>
3996
3997 <action>
3998 <touch key="home"/>
3999 <action function="page">main</action>
4000 </action>
4001
4002 <action>
4003 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06004004 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01004005 </action>
4006 </page>
4007
4008 <page name="htcdumlock">
4009 <template name="page"/>
4010
4011 <text style="text_l">
4012 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004013 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004014 </text>
4015
4016 <text style="text_m">
4017 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004019 </text>
4020
4021 <button style="main_button_m">
4022 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004023 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004024 <actions>
4025 <action function="set">tw_back=htcdumlock</action>
4026 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
4028 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
4029 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
4030 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004031 <action function="page">confirm_action</action>
4032 </actions>
4033 </button>
4034
4035 <button style="main_button_m">
4036 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 <actions>
4039 <action function="set">tw_back=htcdumlock</action>
4040 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004041 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
4042 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
4043 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
4044 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004045 <action function="page">confirm_action</action>
4046 </actions>
4047 </button>
4048
4049 <button style="main_button_m">
4050 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004051 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004052 <actions>
4053 <action function="set">tw_back=htcdumlock</action>
4054 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004055 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
4056 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
4057 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
4058 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <action function="page">confirm_action</action>
4060 </actions>
4061 </button>
4062
4063 <action>
4064 <touch key="home"/>
4065 <action function="page">main</action>
4066 </action>
4067
4068 <action>
4069 <touch key="back"/>
4070 <action function="page">advanced</action>
4071 </action>
4072 </page>
4073
Ethan Yonker53796e72019-01-11 22:49:52 -06004074 <page name="repackselect">
4075 <template name="page"/>
4076
4077 <text style="text_l">
4078 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4079 <text>{@repack_image_hdr=Select Image}</text>
4080 </text>
4081
4082 <text style="text_m">
4083 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4084 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4085 </text>
4086
4087 <template name="sort_options"/>
4088
4089 <fileselector>
4090 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4091 <text>%tw_zip_location%</text>
4092 <filter extn=".img" folders="1" files="1"/>
4093 <path name="tw_zip_location" default="/sdcard"/>
4094 <data name="tw_filename"/>
4095 <selection name="tw_file"/>
4096 </fileselector>
4097
4098 <button style="main_button_half_width_low">
4099 <placement x="%col_button_right%" y="%row16a_y%"/>
4100 <text>{@select_storage_btn=Select Storage}</text>
4101 <actions>
4102 <action function="set">tw_back=install</action>
4103 <action function="overlay">select_storage</action>
4104 </actions>
4105 </button>
4106
4107 <action>
4108 <conditions>
4109 <condition var1="tw_filename" op="modified"/>
4110 </conditions>
4111 <action function="page">repackconfirm</action>
4112 </action>
4113
4114 <action>
4115 <touch key="back"/>
4116 <action function="page">advanced</action>
4117 </action>
4118
4119 <action>
4120 <touch key="home"/>
4121 <action function="page">main</action>
4122 </action>
4123 </page>
4124
4125 <page name="repackconfirm">
4126 <template name="page"/>
4127
4128 <text style="text_l">
4129 <condition var1="tw_repack_kernel" var2="1"/>
4130 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4131 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4132 </text>
4133
4134 <text style="text_l">
4135 <condition var1="tw_repack_kernel" var2="0"/>
4136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4137 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4138 </text>
4139
4140 <text style="text_m">
4141 <condition var1="tw_repack_kernel" var2="1"/>
4142 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4143 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4144 </text>
4145
4146 <text style="text_m">
4147 <condition var1="tw_repack_kernel" var2="0"/>
4148 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4149 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4150 </text>
4151
4152 <text style="text_m_accent">
4153 <placement x="%indent%" y="%row2_y%"/>
4154 <text>{@folder=Folder:}</text>
4155 </text>
4156
4157 <text style="text_m">
4158 <placement x="%indent%" y="%row3_y%"/>
4159 <text>%tw_zip_location%</text>
4160 </text>
4161
4162 <text style="text_m_accent">
4163 <placement x="%indent%" y="%row4_y%"/>
4164 <text>{@file=File:}</text>
4165 </text>
4166
4167 <text style="text_m">
4168 <placement x="%indent%" y="%row5_y%"/>
4169 <text>%tw_file%</text>
4170 </text>
4171
4172 <checkbox>
4173 <placement x="%indent%" y="%row7_y%"/>
4174 <text>{@repack_backup_first=Back up existing image first}</text>
4175 <data variable="tw_repack_backup_first"/>
4176 </checkbox>
4177
4178 <button style="main_button_half_width">
4179 <placement x="%col1_x_left%" y="%row15a_y%"/>
4180 <text>{@install_cancel=Do not Install}</text>
4181 <action function="page">repackselect</action>
4182 </button>
4183
4184 <slider style="slider_centered">
4185 <text>{@swipe_to_install=Swipe to Install}</text>
4186 <actions>
4187 <action function="set">tw_back=advanced</action>
4188 <action function="set">tw_action=repackimage</action>
4189 <action function="set">tw_action_param=/boot</action>
4190 <action function="set">tw_action_text1={@installing=Installing...}</action>
4191 <action function="set">tw_action_text2=</action>
4192 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4193 <action function="page">action_page</action>
4194 </actions>
4195 </slider>
4196
4197 <action>
4198 <touch key="back"/>
4199 <action function="page">repackselect</action>
4200 </action>
4201
4202 <action>
4203 <touch key="home"/>
4204 <action function="page">main</action>
4205 </action>
4206 </page>
4207
z31s1g28f0a922015-11-07 18:50:22 +01004208 <page name="lock">
4209 <background color="%semi_transparent%"/>
4210
4211 <image>
4212 <image resource="unlock_icon"/>
4213 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4214 </image>
4215
4216 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 <action function="overlay"/>
4219 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004220
4221 <action>
4222 <touch key="power"/>
4223 <action function="togglebacklight"/>
4224 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004225 </page>
4226
4227 <page name="filemanagerlist">
4228 <template name="page"/>
4229
4230 <text style="text_l">
4231 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004233 </text>
4234
4235 <text style="text_m">
4236 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004237 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004238 </text>
4239
4240 <template name="sort_options"/>
4241
4242 <fileselector>
4243 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4244 <text>%tw_file_location1%</text>
4245 <filter folders="1" files="1"/>
4246 <path name="tw_file_location1" default="/"/>
4247 <data name="tw_filename1"/>
4248 <selection name="tw_selection1"/>
4249 </fileselector>
4250
4251 <button style="main_button_half_width_low">
4252 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004254 <actions>
4255 <action function="set">tw_filename1=tw_file_location1</action>
4256 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004257 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004258 <action function="page">filemanageroptions</action>
4259 </actions>
4260 </button>
4261
4262 <action>
4263 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004264 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004265 <action function="set">tw_fm_isfolder=0</action>
4266 </actions>
4267 </action>
4268
4269 <action>
4270 <touch key="home"/>
4271 <action function="page">main</action>
4272 </action>
4273
4274 <action>
4275 <touch key="back"/>
4276 <action function="page">advanced</action>
4277 </action>
4278
4279 <action>
4280 <condition var1="tw_filename1" op="modified"/>
4281 <action function="page">filemanageroptions</action>
4282 </action>
4283 </page>
4284
4285 <page name="filemanageroptions">
4286 <template name="page"/>
4287
4288 <text style="text_l">
4289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 </text>
4292
4293 <text style="text_m">
4294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004296 </text>
4297
4298 <text style="text_m_accent">
4299 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </text>
4302
4303 <text style="text_m">
4304 <placement x="%col1_x_left%" y="%row3_y%"/>
4305 <text>%tw_filename1%</text>
4306 </text>
4307
4308 <button style="main_button_half_width">
4309 <condition var1="tw_fm_isfolder" var2="0"/>
4310 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004312 <actions>
4313 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004314 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004315 <action function="page">choosedestinationfolder</action>
4316 </actions>
4317 </button>
4318
4319 <button style="main_button_half_width">
4320 <condition var1="tw_fm_isfolder" var2="1"/>
4321 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004323 <actions>
4324 <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 -05004325 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004326 <action function="page">choosedestinationfolder</action>
4327 </actions>
4328 </button>
4329
4330 <button style="main_button_half_width">
Captain Throwback16dd81b2021-02-12 19:32:36 -05004331edi <conditions>
4332 <condition var1="tw_include_nano" var2="1"/>
4333 <condition var1="tw_fm_isfolder" var2="0"/>
4334 </conditions>
4335 <placement x="%col1_x_left%" y="%row15a_y%"/>
4336 <text>{@fm_edit_file=Edit File}</text>
4337 <actions>
4338 <action function="editfile">nano "%tw_filename1%"</action>
4339 <action function="page">terminalcommand</action>
4340 </actions>
4341 </button>
4342
4343 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004344 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 <actions>
4347 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004349 <action function="page">choosedestinationfolder</action>
4350 </actions>
4351 </button>
4352
4353 <button style="main_button_half_width">
4354 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004356 <actions>
4357 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004358 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004359 <action function="set">tw_fm_text2=</action>
4360 <action function="set">tw_fm_text3=</action>
4361 <action function="set">tw_include_text3=0</action>
4362 <action function="set">tw_back=filemanageroptions</action>
4363 <action function="page">filemanagerconfirm</action>
4364 </actions>
4365 </button>
4366
4367 <button style="main_button_half_width">
4368 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 <actions>
4371 <action function="set">tw_filemanager_rename=0000</action>
4372 <action function="set">tw_fm_text2=</action>
4373 <action function="set">tw_fm_text3=</action>
4374 <action function="set">tw_include_text3=0</action>
4375 <action function="set">tw_back=filemanageroptions</action>
4376 <action function="page">filemanagerchmod</action>
4377 </actions>
4378 </button>
4379
4380 <button style="main_button_half_width">
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004381 <condition var1="tw_fm_isfolder" var2="1"/>
4382 <placement x="%col2_x_right%" y="%row15a_y%"/>
4383 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4384 <action function="changeterminal">%tw_filename1%</action>
4385 </button>
4386
4387 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004388 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004389 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004390 <actions>
4391 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004392 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004393 <action function="set">tw_fm_text2=</action>
4394 <action function="set">tw_fm_text3=</action>
4395 <action function="set">tw_include_text3=0</action>
4396 <action function="set">tw_back=filemanageroptions</action>
4397 <action function="page">filemanagerconfirm</action>
4398 </actions>
4399 </button>
4400
4401 <button style="main_button_half_width">
4402 <condition var1="tw_fm_isfolder" var2="0"/>
4403 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 <actions>
4406 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004407 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004408 <action function="set">tw_filemanager_command=mv</action>
4409 <action function="page">filemanagerrenamefile</action>
4410 </actions>
4411 </button>
4412
4413 <button style="main_button_half_width">
4414 <condition var1="tw_fm_isfolder" var2="1"/>
4415 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004416 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004417 <actions>
4418 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004420 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4421 <action function="page">filemanagerrenamefolder</action>
4422 </actions>
4423 </button>
4424
4425 <action>
4426 <touch key="home"/>
4427 <action function="page">main</action>
4428 </action>
4429
4430 <action>
4431 <touch key="back"/>
4432 <action function="page">filemanagerlist</action>
4433 </action>
4434 </page>
4435
4436 <page name="choosedestinationfolder">
4437 <template name="page"/>
4438
4439 <text style="text_l">
4440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m">
4445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <template name="sort_options"/>
4450
4451 <fileselector>
4452 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4453 <text>%tw_file_location2%</text>
4454 <filter folders="1" files="0"/>
4455 <path name="tw_file_location2" default="/"/>
4456 <data name="tw_filename2"/>
4457 <selection name="tw_selection2"/>
4458 </fileselector>
4459
4460 <button style="main_button_half_width_low">
4461 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004462 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004463 <actions>
4464 <action function="set">tw_fm_text2=to</action>
4465 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4466 <action function="set">tw_include_text3=1</action>
4467 <action function="set">tw_back=filemanageroptions</action>
4468 <action function="page">filemanagerconfirm</action>
4469 </actions>
4470 </button>
4471
4472 <action>
4473 <touch key="home"/>
4474 <action function="page">main</action>
4475 </action>
4476
4477 <action>
4478 <touch key="back"/>
4479 <action function="page">filemanageroptions</action>
4480 </action>
4481 </page>
4482
4483 <page name="filemanagerrenamefile">
4484 <template name="page"/>
4485
4486 <text style="text_l">
4487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m">
4492 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004493 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004494 </text>
4495
4496 <text style="text_m_accent">
4497 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004498 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004499 </text>
4500
4501 <input>
4502 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4503 <text>%tw_filemanager_rename%</text>
4504 <data name="tw_filemanager_rename"/>
4505 <restrict minlen="1" maxlen="128"/>
4506 <actions>
4507 <action function="set">tw_fm_text2=to</action>
4508 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4509 <action function="set">tw_include_text3=1</action>
4510 <action function="set">tw_back=filemanageroptions</action>
4511 <action function="page">filemanagerconfirm</action>
4512 </actions>
4513 </input>
4514
4515 <fill color="%accent_color%">
4516 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4517 </fill>
4518
4519 <button style="main_button_half_width_low">
4520 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004521 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004522 <action function="page">filemanageroptions</action>
4523 </button>
4524
4525 <template name="keyboardtemplate"/>
4526
4527 <action>
4528 <touch key="home"/>
4529 <action function="page">main</action>
4530 </action>
4531
4532 <action>
4533 <touch key="back"/>
4534 <action function="page">filemanageroptions</action>
4535 </action>
4536 </page>
4537
4538 <page name="filemanagerrenamefolder">
4539 <template name="page"/>
4540
4541 <text style="text_l">
4542 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004543 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004544 </text>
4545
4546 <text style="text_m">
4547 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004548 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004549 </text>
4550
4551 <text style="text_m_accent">
4552 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004553 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004554 </text>
4555
4556 <input>
4557 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4558 <text>%tw_filemanager_rename%</text>
4559 <data name="tw_filemanager_rename"/>
4560 <restrict minlen="1" maxlen="128"/>
4561 <actions>
4562 <action function="set">tw_fm_text2=to</action>
4563 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4564 <action function="set">tw_include_text3=1</action>
4565 <action function="set">tw_back=filemanageroptions</action>
4566 <action function="page">filemanagerconfirm</action>
4567 </actions>
4568 </input>
4569
4570 <fill color="%accent_color%">
4571 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4572 </fill>
4573
4574 <button style="main_button_half_width_low">
4575 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004576 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004577 <action function="page">filemanageroptions</action>
4578 </button>
4579
4580 <template name="keyboardtemplate"/>
4581
4582 <action>
4583 <touch key="home"/>
4584 <action function="page">main</action>
4585 </action>
4586
4587 <action>
4588 <touch key="back"/>
4589 <action function="page">filemanageroptions</action>
4590 </action>
4591 </page>
4592
4593 <page name="filemanagerchmod">
4594 <template name="page"/>
4595
4596 <text style="text_l">
4597 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 </text>
4600
4601 <text style="text_m">
4602 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004603 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </text>
4605
4606 <text style="text_m_accent">
4607 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004608 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004609 </text>
4610
4611 <input>
4612 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4613 <text>%tw_filemanager_rename%</text>
4614 <data name="tw_filemanager_rename"/>
4615 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4616 <actions>
4617 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4618 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4619 <action function="set">tw_back=filemanageroptions</action>
4620 <action function="page">filemanagerconfirm</action>
4621 </actions>
4622 </input>
4623
4624 <fill color="%accent_color%">
4625 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4626 </fill>
4627
4628 <button style="main_button_half_width_low">
4629 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004630 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004631 <action function="page">filemanageroptions</action>
4632 </button>
4633
4634 <template name="keyboardtemplate"/>
4635
4636 <action>
4637 <touch key="home"/>
4638 <action function="page">main</action>
4639 </action>
4640
4641 <action>
4642 <touch key="back"/>
4643 <action function="page">filemanageroptions</action>
4644 </action>
4645 </page>
4646
4647 <page name="filemanagerconfirm">
4648 <template name="page"/>
4649
4650 <text style="text_l">
4651 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004652 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004653 </text>
4654
4655 <text style="text_m">
4656 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004657 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004658 </text>
4659
4660 <text style="text_m_accent">
4661 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4662 <text>%tw_fm_text1%</text>
4663 </text>
4664
4665 <text style="text_m">
4666 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4667 <text>%tw_filename1%</text>
4668 </text>
4669
4670 <text style="text_m_accent">
4671 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4672 <text>%tw_fm_text2%</text>
4673 </text>
4674
4675 <text style="text_m">
4676 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4677 <text>%tw_fm_text3%</text>
4678 </text>
4679
4680 <text style="text_m">
4681 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004682 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004683 </text>
4684
4685 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004686 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004687 <action function="page">filemanageraction</action>
4688 </slider>
4689
4690 <action>
4691 <touch key="back"/>
4692 <action function="page">%tw_back%</action>
4693 </action>
4694
4695 <action>
4696 <touch key="home"/>
4697 <action function="page">main</action>
4698 </action>
4699 </page>
4700
4701 <page name="filemanageraction">
4702 <template name="page"/>
4703
4704 <text style="text_l">
4705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004706 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 </text>
4708
4709 <text style="text_m">
4710 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4711 <text>%tw_fm_text1%</text>
4712 </text>
4713
4714 <template name="console"/>
4715
4716 <template name="progress_bar"/>
4717
4718 <action>
4719 <conditions>
4720 <condition var1="tw_operation_state" var2="1"/>
4721 <condition var1="tw_operation_status" var2="0"/>
4722 </conditions>
4723 <actions>
4724 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004725 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004726 <action function="page">action_complete</action>
4727 </actions>
4728 </action>
4729
4730 <action>
4731 <conditions>
4732 <condition var1="tw_operation_state" var2="1"/>
4733 <condition var1="tw_operation_status" op="!=" var2="0"/>
4734 </conditions>
4735 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004737 <action function="page">action_complete</action>
4738 </actions>
4739 </action>
4740
4741 <action>
4742 <condition var1="tw_include_text3" var2="0"/>
4743 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4744 </action>
4745
4746 <action>
4747 <condition var1="tw_include_text3" var2="1"/>
4748 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4749 </action>
4750 </page>
4751
4752 <page name="decrypt">
4753 <template name="page"/>
4754
4755 <action>
4756 <condition var1="tw_crypto_pwtype" var2="2"/>
4757 <action function="page">decrypt_pattern</action>
4758 </action>
4759
4760 <text style="text_l">
4761 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004762 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004763 </text>
4764
4765 <text style="text_m">
4766 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004767 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004768 </text>
4769
4770 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004771 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004772 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004773 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004774 </text>
4775
Noah Jacobson81d638d2019-04-28 00:10:07 -04004776 <text style="text_m_accent">
4777 <condition var1="tw_is_fbe" var2="1"/>
4778 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4779 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4780 </text>
4781
z31s1g28f0a922015-11-07 18:50:22 +01004782 <input>
4783 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4784 <text>%tw_crypto_display%</text>
4785 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4786 <restrict minlen="1" maxlen="254"/>
4787 <action function="page">trydecrypt</action>
4788 </input>
4789
4790 <fill color="%accent_color%">
4791 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4792 </fill>
4793
4794 <fill color="%text_fail_color%">
4795 <condition var1="tw_password_fail" var2="1"/>
4796 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4797 </fill>
4798
4799 <text style="text_m_fail">
4800 <condition var1="tw_password_fail" var2="1"/>
4801 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004802 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004803 </text>
4804
4805 <button style="main_button_half_width_low">
4806 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004807 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004808 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004809 </button>
4810
z31s1g608d7ff2016-01-18 19:47:25 +01004811 <button style="main_button_half_width_low">
4812 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4813 <text>{@sel_lang_btn=Select Language}</text>
4814 <action function="overlay">select_language</action>
4815 </button>
4816
z31s1g28f0a922015-11-07 18:50:22 +01004817 <template name="keyboardtemplate"/>
4818 </page>
4819
4820 <page name="decrypt_pattern">
4821 <template name="page"/>
4822
4823 <text style="text_l">
4824 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004825 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004826 </text>
4827
4828 <text style="text_m">
4829 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004830 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004831 </text>
4832
4833 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004834 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004835 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004836 </text>
4837
Aleksa Saraib25a1832015-12-31 17:36:00 +01004838 <text style="text_m_fail">
4839 <condition var1="tw_password_fail" var2="1"/>
4840 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004841 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004842 </text>
4843
z31s1g28f0a922015-11-07 18:50:22 +01004844 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004845 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004846 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4847 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4848 <data name="tw_crypto_password"/>
4849 <action function="page">trydecrypt</action>
4850 </patternpassword>
4851
Aleksa Saraib25a1832015-12-31 17:36:00 +01004852 <button style="main_button_half_width_low">
4853 <placement x="%col_button_right%" y="%row1a_y%"/>
4854 <text>3x3</text>
4855 <action function="set">tw_gui_pattern_grid_size=3</action>
4856 </button>
4857
4858 <button style="main_button_half_width_low">
4859 <placement x="%col_button_right%" y="%row4a_y%"/>
4860 <text>4x4</text>
4861 <action function="set">tw_gui_pattern_grid_size=4</action>
4862 </button>
4863
4864 <button style="main_button_half_width_low">
4865 <placement x="%col_button_right%" y="%row7a_y%"/>
4866 <text>5x5</text>
4867 <action function="set">tw_gui_pattern_grid_size=5</action>
4868 </button>
4869
4870 <button style="main_button_half_width_low">
4871 <placement x="%col_button_right%" y="%row10a_y%"/>
4872 <text>6x6</text>
4873 <action function="set">tw_gui_pattern_grid_size=6</action>
4874 </button>
4875
z31s1g28f0a922015-11-07 18:50:22 +01004876 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004877 <placement x="%col1_x_right%" y="%row15a_y%"/>
4878 <text>{@sel_lang_btn=Select Language}</text>
4879 <action function="overlay">select_language</action>
4880 </button>
4881
4882 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004883 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004884 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004885 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004886 </button>
4887 </page>
4888
4889 <page name="trydecrypt">
4890 <template name="page"/>
4891
4892 <text style="text_l">
4893 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004894 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004895 </text>
4896
4897 <text style="text_m">
4898 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004899 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004900 </text>
4901
4902 <template name="console"/>
4903
4904 <template name="progress_bar"/>
4905
4906 <action>
4907 <action function="decrypt"/>
4908 </action>
4909
4910 <action>
4911 <conditions>
4912 <condition var1="tw_operation_state" var2="1"/>
4913 <condition var1="tw_operation_status" op="!=" var2="0"/>
4914 </conditions>
4915 <actions>
4916 <action function="set">tw_password_fail=1</action>
4917 <action function="page">decrypt</action>
4918 </actions>
4919 </action>
4920
4921 <action>
4922 <conditions>
4923 <condition var1="tw_operation_state" var2="1"/>
4924 <condition var1="tw_operation_status" op="=" var2="0"/>
4925 </conditions>
4926 <actions>
4927 <action function="set">tw_page_done=1</action>
4928 <action function="page">main</action>
4929 </actions>
4930 </action>
4931 </page>
4932
Captain Throwback89b56a12021-02-10 18:25:07 -05004933 <page name="canceldecrypt">
4934 <template name="page"/>
4935
4936 <text style="text_l">
4937 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4938 <text>{@cancel_btn=Cancel}</text>
4939 </text>
4940
4941 <text style="text_m">
4942 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4943 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
4944 </text>
4945
4946 <template name="console"/>
4947
4948 <template name="progress_bar"/>
4949
4950 <action>
4951 <action function="refreshsizes"/>
4952 </action>
4953
4954 <action>
4955 <conditions>
4956 <condition var1="tw_operation_state" var2="1"/>
4957 </conditions>
4958 <actions>
4959 <action function="set">tw_page_done=1</action>
4960 <action function="page">main</action>
4961 </actions>
4962 </action>
4963 </page>
4964
z31s1g28f0a922015-11-07 18:50:22 +01004965 <page name="terminalcommand">
4966 <template name="page"/>
4967
4968 <fill color="%background_color%">
4969 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4970 </fill>
4971
z31s1g56189522016-01-13 19:12:40 +01004972 <terminal>
4973 <condition var1="tw_hide_kb" var2="0"/>
4974 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4975 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004976
z31s1g56189522016-01-13 19:12:40 +01004977 <terminal>
4978 <condition var1="tw_hide_kb" var2="1"/>
4979 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4980 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004981
z31s1g56189522016-01-13 19:12:40 +01004982 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004983
z31s1g56189522016-01-13 19:12:40 +01004984 <object type="fill" color="#000000">
4985 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4986 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004987
z31s1g608d7ff2016-01-18 19:47:25 +01004988 <button>
z31s1g56189522016-01-13 19:12:40 +01004989 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4990 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4991 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4992 <image resource="back" />
4993 <condition var1="tw_busy" var2="0" />
4994 <actions>
4995 <action function="set">tw_hide_kb=0</action>
4996 <action function="page">advanced</action>
4997 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004998 </button>
z31s1g56189522016-01-13 19:12:40 +01004999
z31s1g608d7ff2016-01-18 19:47:25 +01005000 <button>
z31s1g56189522016-01-13 19:12:40 +01005001 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5002 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5003 <condition var1="tw_hide_kb" op="=" var2="0" />
5004 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5005 <image resource="kb_hide" />
5006 <condition var1="tw_busy" var2="0" />
5007 <actions>
5008 <action function="set">tw_hide_kb=1</action>
5009 <action function="page">terminalcommand</action>
5010 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005011 </button>
z31s1g56189522016-01-13 19:12:40 +01005012
z31s1g608d7ff2016-01-18 19:47:25 +01005013 <button>
z31s1g56189522016-01-13 19:12:40 +01005014 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5015 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5016 <condition var1="tw_hide_kb" op="=" var2="1" />
5017 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5018 <image resource="kb_show" />
5019 <condition var1="tw_busy" var2="0" />
5020 <actions>
5021 <action function="set">tw_hide_kb=0</action>
5022 <action function="page">terminalcommand</action>
5023 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005024 </button>
z31s1g56189522016-01-13 19:12:40 +01005025
z31s1g608d7ff2016-01-18 19:47:25 +01005026 <button>
z31s1g56189522016-01-13 19:12:40 +01005027 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5028 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5029 <image resource="home" />
5030 <condition var1="tw_busy" var2="0" />
5031 <actions>
5032 <action function="set">tw_hide_kb=0</action>
5033 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005034 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005035 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005036 </button>
z31s1g56189522016-01-13 19:12:40 +01005037
z31s1g608d7ff2016-01-18 19:47:25 +01005038 <button>
z31s1g56189522016-01-13 19:12:40 +01005039 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5040 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5041 <condition var1="tw_hide_kb" op="=" var2="0" />
5042 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5043 <image resource="kb_hide" />
5044 <condition var1="tw_busy" var2="0" />
5045 <actions>
5046 <action function="set">tw_hide_kb=1</action>
5047 <action function="page">terminalcommand</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="0" />
5053 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5054 <condition var1="tw_hide_kb" op="=" var2="1" />
5055 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5056 <image resource="kb_show" />
5057 <condition var1="tw_busy" var2="0" />
5058 <actions>
5059 <action function="set">tw_hide_kb=0</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="0" />
5066 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5067 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5068 <image resource="back" />
5069 <condition var1="tw_busy" var2="0" />
5070 <actions>
5071 <action function="set">tw_hide_kb=0</action>
5072 <action function="page">advanced</action>
5073 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005074 </button>
z31s1g56189522016-01-13 19:12:40 +01005075
z31s1g608d7ff2016-01-18 19:47:25 +01005076 <button>
z31s1g56189522016-01-13 19:12:40 +01005077 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5078 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5079 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5080 <image resource="back" />
5081 <condition var1="tw_busy" var2="0" />
5082 <actions>
5083 <action function="set">tw_hide_kb=0</action>
5084 <action function="page">advanced</action>
5085 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005086 </button>
z31s1g56189522016-01-13 19:12:40 +01005087
z31s1g608d7ff2016-01-18 19:47:25 +01005088 <button>
z31s1g56189522016-01-13 19:12:40 +01005089 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5090 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5091 <condition var1="tw_hide_kb" op="=" var2="0" />
5092 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5093 <image resource="kb_hide" />
5094 <condition var1="tw_busy" var2="0" />
5095 <actions>
5096 <action function="set">tw_hide_kb=1</action>
5097 <action function="page">terminalcommand</action>
5098 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005099 </button>
z31s1g56189522016-01-13 19:12:40 +01005100
z31s1g608d7ff2016-01-18 19:47:25 +01005101 <button>
z31s1g56189522016-01-13 19:12:40 +01005102 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5103 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5104 <condition var1="tw_hide_kb" op="=" var2="1" />
5105 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5106 <image resource="kb_show" />
5107 <condition var1="tw_busy" var2="0" />
5108 <actions>
5109 <action function="set">tw_hide_kb=0</action>
5110 <action function="page">terminalcommand</action>
5111 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005112 </button>
z31s1g56189522016-01-13 19:12:40 +01005113
z31s1g608d7ff2016-01-18 19:47:25 +01005114 <button>
z31s1g56189522016-01-13 19:12:40 +01005115 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5116 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5117 <image resource="home" />
5118 <condition var1="tw_busy" var2="0" />
5119 <actions>
5120 <action function="set">tw_hide_kb=0</action>
5121 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005122 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005123 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005124 </button>
z31s1g56189522016-01-13 19:12:40 +01005125
z31s1g608d7ff2016-01-18 19:47:25 +01005126 <button>
z31s1g56189522016-01-13 19:12:40 +01005127 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5128 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5129 <condition var1="tw_hide_kb" op="=" var2="0" />
5130 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5131 <image resource="kb_hide" />
5132 <condition var1="tw_busy" var2="0" />
5133 <actions>
5134 <action function="set">tw_hide_kb=1</action>
5135 <action function="page">terminalcommand</action>
5136 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005137 </button>
z31s1g56189522016-01-13 19:12:40 +01005138
z31s1g608d7ff2016-01-18 19:47:25 +01005139 <button>
z31s1g56189522016-01-13 19:12:40 +01005140 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5141 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5142 <condition var1="tw_hide_kb" op="=" var2="1" />
5143 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5144 <image resource="kb_show" />
5145 <condition var1="tw_busy" var2="0" />
5146 <actions>
5147 <action function="set">tw_hide_kb=0</action>
5148 <action function="page">terminalcommand</action>
5149 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005150 </button>
z31s1g56189522016-01-13 19:12:40 +01005151
z31s1g608d7ff2016-01-18 19:47:25 +01005152 <button>
z31s1g56189522016-01-13 19:12:40 +01005153 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5154 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5155 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5156 <image resource="back" />
5157 <condition var1="tw_busy" var2="0" />
5158 <actions>
5159 <action function="set">tw_hide_kb=0</action>
5160 <action function="page">advanced</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005161 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005162 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005163 </button>
z31s1g56189522016-01-13 19:12:40 +01005164
z31s1g608d7ff2016-01-18 19:47:25 +01005165 <button>
z31s1g56189522016-01-13 19:12:40 +01005166 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5167 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5168 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5169 <image resource="back" />
5170 <condition var1="tw_busy" var2="0" />
5171 <actions>
5172 <action function="set">tw_hide_kb=0</action>
5173 <action function="page">advanced</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="%back_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="%back_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 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5206 <image resource="home" />
5207 <condition var1="tw_busy" var2="0" />
5208 <actions>
5209 <action function="set">tw_hide_kb=0</action>
5210 <action function="key">home</action>
5211 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005212 </button>
z31s1g56189522016-01-13 19:12:40 +01005213
z31s1g608d7ff2016-01-18 19:47:25 +01005214 <button>
z31s1g56189522016-01-13 19:12:40 +01005215 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5216 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5217 <condition var1="tw_hide_kb" op="=" var2="0" />
5218 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5219 <image resource="kb_hide" />
5220 <condition var1="tw_busy" var2="0" />
5221 <actions>
5222 <action function="set">tw_hide_kb=1</action>
5223 <action function="page">terminalcommand</action>
5224 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005225 </button>
z31s1g56189522016-01-13 19:12:40 +01005226
z31s1g608d7ff2016-01-18 19:47:25 +01005227 <button>
z31s1g56189522016-01-13 19:12:40 +01005228 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5229 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5230 <condition var1="tw_hide_kb" op="=" var2="1" />
5231 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5232 <image resource="kb_show" />
5233 <condition var1="tw_busy" var2="0" />
5234 <actions>
5235 <action function="set">tw_hide_kb=0</action>
5236 <action function="page">terminalcommand</action>
5237 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005238 </button>
z31s1g56189522016-01-13 19:12:40 +01005239
z31s1g608d7ff2016-01-18 19:47:25 +01005240 <button>
z31s1g56189522016-01-13 19:12:40 +01005241 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5242 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5243 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5244 <image resource="back" />
5245 <condition var1="tw_busy" var2="0" />
5246 <actions>
5247 <action function="set">tw_hide_kb=0</action>
5248 <action function="page">advanced</action>
5249 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005250 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005251
5252 <action>
5253 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005254 <actions>
5255 <action function="page">main</action>
5256 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005257 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005258 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005259 </action>
5260
5261 <action>
5262 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005263 <actions>
5264 <action function="page">advanced</action>
5265 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005266 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005267 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005268 </action>
z31s1g56189522016-01-13 19:12:40 +01005269
5270 <object type="action">
5271 <touch key="power+voldown" />
5272 <action function="screenshot" />
5273 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005274 </page>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005275
bigbiffdf8436b2020-08-30 16:22:34 -04005276 <page name="fastboot">
5277 <template name="page"/>
5278
5279 <text style="text_l">
5280 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5281 <text>{@fastboot_button=Fastboot}</text>
5282 </text>
5283
5284 <template name="console"/>
5285
5286 <template name="progress_bar"/>
5287
5288 <button style="main_button_half_width">
5289 <condition var1="tw_enable_fastboot" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005290 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005291 <text>{@enable_adb=Enable ADB}</text>
5292 <actions>
5293 <action function="enableadb"/>
5294 <action function="set">tw_enable_adb=1</action>
5295 <action function="set">tw_enable_fastboot=0</action>
5296 </actions>
5297 </button>
5298
5299 <button style="main_button_half_width">
5300 <condition var1="tw_enable_adb" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005301 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005302 <text>{@enable_fastboot=Enable Fastboot}</text>
5303 <actions>
5304 <action function="enablefastboot"/>
5305 <action function="set">tw_enable_fastboot=1</action>
5306 <action function="set">tw_enable_adb=0</action>
5307 </actions>
5308 </button>
5309
5310 <button style="main_button_half_width">
bigbiff7138a0f2020-10-24 19:52:25 -04005311 <placement x="%col2_x_right%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005312 <text>{@reboot_btn=Reboot}</text>
5313 <action function="page">fastbootreboot</action>
5314 </button>
5315 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005316
5317 <page name="sideload">
5318 <template name="page"/>
5319
5320 <text style="text_l">
5321 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005322 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005323 </text>
5324
5325 <text style="text_m">
5326 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005327 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005328 </text>
5329
5330 <checkbox>
5331 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005332 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005333 <data variable="tw_wipe_dalvik"/>
5334 </checkbox>
5335
5336 <checkbox>
5337 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005338 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005339 <data variable="tw_wipe_cache"/>
5340 </checkbox>
5341
5342 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005343 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005344 <actions>
5345 <action function="set">tw_back=advanced</action>
5346 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005347 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5348 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5349 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005350 <action function="set">tw_has_cancel=1</action>
5351 <action function="set">tw_show_reboot=1</action>
5352 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5353 <action function="page">action_page</action>
5354 </actions>
5355 </slider>
5356
5357 <action>
5358 <touch key="home"/>
5359 <action function="page">main</action>
5360 </action>
5361
5362 <action>
5363 <touch key="back"/>
5364 <action function="page">advanced</action>
5365 </action>
5366 </page>
5367
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005368 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005369 <template name="page"/>
5370
5371 <text style="text_l">
5372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005373 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005374 </text>
5375
5376 <text style="text_m">
5377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005378 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005379 </text>
5380
5381 <text style="text_m_accent">
5382 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005383 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005384 </text>
5385
z31s1g28f0a922015-11-07 18:50:22 +01005386 <text style="text_m_fail">
5387 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005388 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005389 </text>
5390
5391 <text style="text_m_fail">
5392 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005393 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005394 </text>
5395
5396 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005397 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005398 <actions>
5399 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005400 <action function="set">tw_action=fixcontexts</action>
5401 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5402 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005403 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005404 <action function="set">tw_show_reboot=1</action>
5405 <action function="page">action_page</action>
5406 </actions>
5407 </slider>
5408
5409 <action>
5410 <touch key="home"/>
5411 <action function="page">main</action>
5412 </action>
5413
5414 <action>
5415 <touch key="back"/>
5416 <action function="page">advanced</action>
5417 </action>
5418 </page>
5419
z31s1g28f0a922015-11-07 18:50:22 +01005420 <page name="slideout">
5421 <fill color="%background_color%">
5422 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5423 </fill>
5424
5425 <console>
5426 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5427 </console>
5428
5429 <button>
5430 <fill color="%transparent%"/>
5431 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5432 <action function="overlay"/>
5433 </button>
5434
5435 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005436 <touch key="power"/>
5437 <action function="togglebacklight"/>
5438 </action>
5439
5440 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005441 <touch key="power+voldown"/>
5442 <action function="screenshot"/>
5443 </action>
5444 </page>
5445
5446 <page name="select_storage">
5447 <fill color="%semi_transparent%">
5448 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5449 </fill>
5450
5451 <fill color="%background_color%">
5452 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5453 </fill>
5454
5455 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005456 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005457 <data name="tw_storage_path"/>
5458 <listtype name="storage"/>
5459 </partitionlist>
5460
5461 <button style="button_third_width">
5462 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005463 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005464 <actions>
5465 <action function="set">tw_clear_destination=%tw_back%</action>
5466 <action function="overlay"/>
5467 <action function="page">clear_vars</action>
5468 </actions>
5469 </button>
5470
5471 <fill color="#000000">
5472 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5473 </fill>
5474
5475 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005476 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5477 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5478 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5479 <image resource="back" />
5480 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005481 <actions>
5482 <action function="overlay"/>
5483 <action function="key">%tw_back%</action>
5484 </actions>
5485 </button>
5486
5487 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005488 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5489 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5490 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5491 <image resource="console" />
5492 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005493 <action function="overlay">slideout</action>
5494 </button>
5495
5496 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005497 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5498 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5499 <image resource="home" />
5500 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005501 <actions>
5502 <action function="overlay"/>
5503 <action function="key">home</action>
5504 </actions>
5505 </button>
5506
5507 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005508 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5509 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5510 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5511 <image resource="console" />
5512 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005513 <action function="overlay">slideout</action>
5514 </button>
5515
5516 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005517 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5518 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5519 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5520 <image resource="back" />
5521 <condition var1="tw_busy" var2="0" />
5522 <actions>
5523 <action function="overlay"/>
5524 <action function="key">%tw_back%</action>
5525 </actions>
5526 </button>
5527
5528 <button>
5529 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5530 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5531 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5532 <image resource="back" />
5533 <condition var1="tw_busy" var2="0" />
5534 <actions>
5535 <action function="overlay"/>
5536 <action function="key">%tw_back%</action>
5537 </actions>
5538 </button>
5539
5540 <button>
5541 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5542 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5543 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5544 <image resource="console" />
5545 <condition var1="tw_busy" var2="0" />
5546 <action function="overlay">slideout</action>
5547 </button>
5548
5549 <button>
5550 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5551 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5552 <image resource="home" />
5553 <condition var1="tw_busy" var2="0" />
5554 <actions>
5555 <action function="overlay"/>
5556 <action function="key">home</action>
5557 </actions>
5558 </button>
5559
5560 <button>
5561 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5562 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5563 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5564 <image resource="console" />
5565 <condition var1="tw_busy" var2="0" />
5566 <action function="overlay">slideout</action>
5567 </button>
5568
5569 <button>
5570 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5571 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5572 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5573 <image resource="back" />
5574 <condition var1="tw_busy" var2="0" />
5575 <actions>
5576 <action function="overlay"/>
5577 <action function="key">%tw_back%</action>
5578 </actions>
5579 </button>
5580
5581 <button>
5582 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5583 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5584 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5585 <image resource="back" />
5586 <condition var1="tw_busy" var2="0" />
5587 <actions>
5588 <action function="overlay"/>
5589 <action function="key">%tw_back%</action>
5590 </actions>
5591 </button>
5592
5593 <button>
5594 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5595 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5596 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5597 <image resource="console" />
5598 <condition var1="tw_busy" var2="0" />
5599 <action function="overlay">slideout</action>
5600 </button>
5601
5602 <button>
5603 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5604 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5605 <image resource="home" />
5606 <condition var1="tw_busy" var2="0" />
5607 <actions>
5608 <action function="overlay"/>
5609 <action function="key">home</action>
5610 </actions>
5611 </button>
5612
5613 <button>
5614 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5615 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5616 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5617 <image resource="console" />
5618 <condition var1="tw_busy" var2="0" />
5619 <action function="overlay">slideout</action>
5620 </button>
5621
5622 <button>
5623 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5624 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5625 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5626 <image resource="back" />
5627 <condition var1="tw_busy" var2="0" />
5628 <actions>
5629 <action function="overlay"/>
5630 <action function="key">%tw_back%</action>
5631 </actions>
5632 </button>
5633
5634 <action>
5635 <touch key="power+voldown"/>
5636 <action function="screenshot"/>
5637 </action>
5638 </page>
5639
5640 <page name="select_language">
5641 <fill color="%semi_transparent%">
5642 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5643 </fill>
5644
5645 <fill color="%background_color%">
5646 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5647 </fill>
5648
5649 <listbox>
5650 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5651 <text>{@select_language=Select Language:}</text>
5652 <icon selected="radio_true" unselected="radio_false" />
5653 <data name="tw_language" />
5654 </listbox>
5655
5656 <button style="button_third_width">
5657 <placement x="%dialog_button_x%" y="%row13_y%"/>
5658 <text>{@ok_btn=OK}</text>
5659 <actions>
5660 <action function="overlay"/>
5661 <action function="setlanguage"></action>
5662 </actions>
5663 </button>
5664
5665 <fill color="#000000">
5666 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5667 </fill>
5668
5669 <button>
5670 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5671 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5672 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5673 <image resource="back" />
5674 <condition var1="tw_busy" var2="0" />
5675 <actions>
5676 <action function="overlay"/>
5677 <action function="key">%tw_back%</action>
5678 </actions>
5679 </button>
5680
5681 <button>
5682 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5683 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5684 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5685 <image resource="console" />
5686 <condition var1="tw_busy" var2="0" />
5687 <action function="overlay">slideout</action>
5688 </button>
5689
5690 <button>
5691 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5692 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5693 <image resource="home" />
5694 <condition var1="tw_busy" var2="0" />
5695 <actions>
5696 <action function="overlay"/>
5697 <action function="key">home</action>
5698 </actions>
5699 </button>
5700
5701 <button>
5702 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5703 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5704 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5705 <image resource="console" />
5706 <condition var1="tw_busy" var2="0" />
5707 <action function="overlay">slideout</action>
5708 </button>
5709
5710 <button>
5711 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5712 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5713 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5714 <image resource="back" />
5715 <condition var1="tw_busy" var2="0" />
5716 <actions>
5717 <action function="overlay"/>
5718 <action function="key">%tw_back%</action>
5719 </actions>
5720 </button>
5721
5722 <button>
5723 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5724 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5725 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5726 <image resource="back" />
5727 <condition var1="tw_busy" var2="0" />
5728 <actions>
5729 <action function="overlay"/>
5730 <action function="key">%tw_back%</action>
5731 </actions>
5732 </button>
5733
5734 <button>
5735 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5736 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5737 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5738 <image resource="console" />
5739 <condition var1="tw_busy" var2="0" />
5740 <action function="overlay">slideout</action>
5741 </button>
5742
5743 <button>
5744 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5745 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5746 <image resource="home" />
5747 <condition var1="tw_busy" var2="0" />
5748 <actions>
5749 <action function="overlay"/>
5750 <action function="key">home</action>
5751 </actions>
5752 </button>
5753
5754 <button>
5755 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5756 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5757 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5758 <image resource="console" />
5759 <condition var1="tw_busy" var2="0" />
5760 <action function="overlay">slideout</action>
5761 </button>
5762
5763 <button>
5764 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5765 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5766 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5767 <image resource="back" />
5768 <condition var1="tw_busy" var2="0" />
5769 <actions>
5770 <action function="overlay"/>
5771 <action function="key">%tw_back%</action>
5772 </actions>
5773 </button>
5774
5775 <button>
5776 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5777 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5778 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5779 <image resource="back" />
5780 <condition var1="tw_busy" var2="0" />
5781 <actions>
5782 <action function="overlay"/>
5783 <action function="key">%tw_back%</action>
5784 </actions>
5785 </button>
5786
5787 <button>
5788 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5789 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5790 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5791 <image resource="console" />
5792 <condition var1="tw_busy" var2="0" />
5793 <action function="overlay">slideout</action>
5794 </button>
5795
5796 <button>
5797 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5798 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5799 <image resource="home" />
5800 <condition var1="tw_busy" var2="0" />
5801 <actions>
5802 <action function="overlay"/>
5803 <action function="key">home</action>
5804 </actions>
5805 </button>
5806
5807 <button>
5808 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5809 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5810 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5811 <image resource="console" />
5812 <condition var1="tw_busy" var2="0" />
5813 <action function="overlay">slideout</action>
5814 </button>
5815
5816 <button>
5817 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5818 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5819 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5820 <image resource="back" />
5821 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005822 <actions>
5823 <action function="overlay"/>
5824 <action function="key">%tw_back%</action>
5825 </actions>
5826 </button>
5827
5828 <action>
5829 <touch key="power+voldown"/>
5830 <action function="screenshot"/>
5831 </action>
5832 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005833
5834 <page name="decrypt_users">
5835 <template name="page"/>
5836
5837 <text style="text_l">
5838 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5839 <text>{@decrypt_users=Decrypt Users}</text>
5840 </text>
5841
5842 <text style="text_m_accent">
5843 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5844 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5845 </text>
5846
5847 <listbox>
5848 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5849 <text>{@select_user=Select User}</text>
5850 <icon selected="radio_true" unselected="radio_false" />
5851 <data name="tw_crypto_user_id" />
5852 </listbox>
5853
5854 <button style="main_button_half_width">
5855 <placement x="%col2_x_right%" y="%row15a_y%"/>
5856 <text>{@decrypt_users=Decrypt Users}</text>
5857 <action function="set">tw_crypto_password=</action>
5858 <action function="set">tw_password_fail=0</action>
5859 <action function="page">decrypt</action>
5860 </button>
5861
5862 <action>
5863 <touch key="home"/>
5864 <action function="page">main</action>
5865 </action>
5866
5867 <action>
5868 <touch key="back"/>
5869 <action function="page">advanced</action>
5870 </action>
5871 </page>
epicXa721f952021-01-04 13:01:31 +05305872
5873 <page name="changeTwrpFolder">
5874 <template name="page"/>
5875
5876 <text style="text_l">
5877 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5878 <text>{@advanced_hdr=Advanced}</text>
5879 </text>
5880
5881 <text style="text_m">
5882 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5883 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5884 </text>
5885
5886 <text style="text_m_accent">
5887 <placement x="%col1_x_left%" y="%row2_y%"/>
5888 <text>{@name=Name:}</text>
5889 </text>
5890
5891 <input>
5892 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5893 <text>%tw_custom_folder%</text>
5894 <data name="tw_custom_folder"/>
5895 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5896 <actions>
5897 <action function="set">tw_back=changeTwrpFolder</action>
5898 <action function="set">tw_action=applycustomtwrpfolder</action>
5899 <action function="set">tw_action_param=%tw_custom_folder%</action>
5900 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5901 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5902 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5903 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5904 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5905 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5906 <action function="set">tw_existpage=changeTwrpFolder</action>
5907 <action function="set">tw_notexistpage=confirm_action</action>
5908 <action function="page">filecheck</action>
5909 </actions>
5910 </input>
5911
5912 <fill color="%accent_color%">
5913 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5914 </fill>
5915
5916 <fill color="%text_fail_color%">
5917 <condition var1="tw_fileexists" var2="1"/>
5918 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5919 </fill>
5920
5921 <text style="text_m_fail">
5922 <condition var1="tw_fileexists" var2="1"/>
5923 <placement x="%col1_x_left%" y="%row4_y%"/>
5924 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5925 </text>
5926
5927 <button style="main_button_half_width_low">
5928 <placement x="%indent%" y="%row5_y%"/>
5929 <text>{@cancel_btn=Cancel}</text>
5930 <action function="page">advanced</action>
5931 </button>
5932
5933 <button style="main_button_half_width_low">
5934 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5935 <placement x="%date_button_x%" y="%row5_y%"/>
5936 <text>{@restore_defaults_btn=Restore Defaults}</text>
5937 <actions>
5938 <action function="set">tw_back=changeTwrpFolder</action>
5939 <action function="set">tw_action=applycustomtwrpfolder</action>
5940 <action function="set">tw_action_param=TWRP</action>
5941 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5942 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5943 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5944 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5945 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5946 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5947 <action function="set">tw_existpage=changeTwrpFolder</action>
5948 <action function="set">tw_notexistpage=confirm_action</action>
5949 <action function="page">filecheck</action>
5950 </actions>
5951 </button>
5952
5953 <template name="keyboardtemplate"/>
5954
5955 <action>
5956 <touch key="home"/>
5957 <actions>
5958 <action function="page">main</action>
5959 </actions>
5960 </action>
5961
5962 <action>
5963 <touch key="back"/>
5964 <actions>
5965 <action function="page">advanced</action>
5966 </actions>
5967 </action>
5968 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005969 </pages>
5970</recovery>