blob: 2514a2783eb3d8216ac8db5e8ff3f892e3f443eb [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
epicX40b7f7a2021-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>
mauronofrio0ff59842019-10-26 19:47:55 +0200322 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
Ian Macdonald15430b62021-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>
epicXb7337372021-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
epicX40b7f7a2021-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>
nebrassyfe1c2372021-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>
epicX40b7f7a2021-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">
Chaosmaster90df3de2020-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
Chaosmaster90df3de2020-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
epicXb7337372021-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 Jacobson5a79f672019-04-28 00:10:07 -0400805 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400806 <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 Yonkercbd4e0c2020-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">
z31s1g28f0a922015-11-07 18:50:22 +01001089 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-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 Jacobson3ad80f42020-07-21 01:28:22 -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 Jacobson3ad80f42020-07-21 01:28:22 -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 Jacobson3ad80f42020-07-21 01:28:22 -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">
2584 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2585 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002586 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002587 <image resource="checkbox_false"/>
2588 <action function="mountsystemtoggle">1</action>
2589 </button>
2590
2591 <button style="checkbox">
2592 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2593 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002595 <image resource="checkbox_true"/>
2596 <actions>
2597 <action function="set">tw_lifetime_writes=2</action>
2598 <action function="page">system_readonly_check</action>
2599 </actions>
2600 </button>
2601
2602 <button style="main_button_half_width">
2603 <condition var1="tw_has_usb_storage" var2="1"/>
2604 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002605 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002606 <action function="page">usb_mount</action>
2607 </button>
2608
2609 <button style="main_button_half_width">
2610 <conditions>
2611 <condition var1="tw_is_encrypted" var2="1"/>
2612 <condition var1="tw_is_decrypted" var2="0"/>
2613 </conditions>
2614 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002615 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002616 <action function="set">tw_crypto_user_id=0</action>
2617 <action function="set">tw_crypto_password=</action>
2618 <action function="set">tw_password_fail=0</action>
2619 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002620 <action function="page">decrypt</action>
2621 </button>
2622
2623 <button style="main_button_half_width">
2624 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 <actions>
2627 <action function="set">tw_back=mount</action>
2628 <action function="overlay">select_storage</action>
2629 </actions>
2630 </button>
2631
2632 <button style="main_button_half_width">
2633 <conditions>
2634 <condition var1="tw_has_mtp" var2="1"/>
2635 <condition var1="tw_mtp_enabled" var2="0"/>
2636 </conditions>
2637 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002638 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002639 <action function="startmtp"/>
2640 </button>
2641
2642 <button style="main_button_half_width">
2643 <conditions>
2644 <condition var1="tw_has_mtp" var2="1"/>
2645 <condition var1="tw_mtp_enabled" var2="1"/>
2646 </conditions>
2647 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002648 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002649 <action function="stopmtp"/>
2650 </button>
2651
2652 <action>
2653 <touch key="home"/>
2654 <action function="page">main</action>
2655 </action>
2656
2657 <action>
2658 <touch key="back"/>
2659 <action function="page">main</action>
2660 </action>
2661 </page>
2662
2663 <page name="usb_mount">
2664 <template name="page"/>
2665
2666 <text style="text_l">
2667 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002668 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002669 </text>
2670
2671 <text style="text_m">
2672 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002673 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 </text>
2675
2676 <text style="text_m_accent">
2677 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 </text>
2680
2681 <text style="text_m">
2682 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 </text>
2685
2686 <text style="text_m">
2687 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002688 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002689 </text>
2690
2691 <button style="main_button_half_width">
2692 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002694 <action function="page">usb_umount</action>
2695 </button>
2696
2697 <action>
2698 <action function="mount">usb</action>
2699 <action function="set">tw_busy=1</action>
2700 </action>
2701 </page>
2702
2703 <page name="usb_umount">
2704 <action>
2705 <action function="unmount">usb</action>
2706 </action>
2707
2708 <action>
2709 <action function="page">mount</action>
2710 <action function="set">tw_busy=0</action>
2711 </action>
2712 </page>
2713
2714 <page name="system_readonly_check">
2715 <action>
2716 <action function="checkpartitionlifetimewrites">/system</action>
2717 </action>
2718
2719 <action>
2720 <condition var1="tw_lifetime_writes" var2="1"/>
2721 <actions>
2722 <action function="mountsystemtoggle">0</action>
2723 <action function="page">mount</action>
2724 </actions>
2725 </action>
2726
2727 <action>
2728 <condition var1="tw_lifetime_writes" var2="0"/>
2729 <actions>
2730 <action function="set">tw_back=mount</action>
2731 <action function="page">system_readonly</action>
2732 </actions>
2733 </action>
2734 </page>
2735
2736 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002737 <action>
2738 <action function="checkforapp"></action>
2739 <action function="page">reboot2</action>
2740 </action>
2741 </page>
2742
2743 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002744 <template name="page"/>
2745
2746 <text style="text_l">
2747 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002748 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002749 </text>
2750
bigbiff97829df2020-12-20 12:26:15 -05002751 <listbox style="advanced_listbox">
Captain Throwback4a78bda2020-12-25 22:46:59 -05002752 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiff97829df2020-12-20 12:26:15 -05002753
2754 <listitem name="{@rb_system_btn=System}">
2755 <condition var1="tw_reboot_system" var2="1"/>
2756 <actions>
2757 <action function="set">tw_back=reboot</action>
2758 <action function="page">reboot_system_routine</action>
2759 </actions>
2760 </listitem>
2761
2762 <listitem name="{@rb_poweroff_btn=Power Off}">
2763 <condition var1="tw_reboot_poweroff" var2="1"/>
2764 <actions>
2765 <action function="set">tw_back=reboot</action>
2766 <action function="set">tw_action=reboot</action>
2767 <action function="set">tw_action_param=poweroff</action>
2768 <action function="set">tw_reboot_param=poweroff</action>
2769 <action function="set">tw_has_action2=0</action>
2770 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2771 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2772 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2773 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2774 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2775 <action function="page">rebootcheck</action>
2776 </actions>
2777 </listitem>
2778
2779 <listitem name="{@rb_recovery_btn=Recovery}">
2780 <condition var1="tw_reboot_recovery" var2="1"/>
2781 <actions>
2782 <action function="set">tw_back=reboot</action>
2783 <action function="set">tw_action=reboot</action>
2784 <action function="set">tw_action_param=recovery</action>
2785 <action function="set">tw_reboot_param=recovery</action>
2786 <action function="set">tw_has_action2=0</action>
2787 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2788 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2789 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2790 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2791 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2792 <action function="page">rebootcheck</action>
2793 </actions>
2794 </listitem>
2795
2796 <listitem name="{@rb_bootloader_btn=Bootloader}">
2797 <condition var1="tw_reboot_bootloader" var2="1"/>
2798 <actions>
2799 <action function="set">tw_back=reboot</action>
2800 <action function="set">tw_action=reboot</action>
2801 <action function="set">tw_action_param=bootloader</action>
2802 <action function="set">tw_reboot_param=bootloader</action>
2803 <action function="set">tw_has_action2=0</action>
2804 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2805 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</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">rebootcheck</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=reboot</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_text1={@no_os1=No OS Installed! Are you}</action>
2822 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2823 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2824 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2825 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2826 <action function="page">rebootcheck</action>
2827 </actions>
2828 </listitem>
2829
2830 <listitem name="{@rb_edl_btn=Edl}">
2831 <condition var1="tw_edl_mode" var2="1"/>
2832 <actions>
2833 <action function="set">tw_back=reboot</action>
2834 <action function="set">tw_action=reboot</action>
2835 <action function="set">tw_action_param=edl</action>
2836 <action function="set">tw_reboot_param=edl</action>
2837 <action function="set">tw_has_action2=0</action>
2838 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2839 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2840 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2841 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2842 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2843 <action function="page">rebootcheck</action>
2844 </actions>
2845 </button>
2846 </listbox>
2847
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002848 <button style="main_button">
2849 <condition var1="tw_app_install_status" var2="1"/>
2850 <placement x="%center_x%" y="%row12_y%"/>
2851 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2852 <actions>
2853 <action function="set">tw_back=reboot</action>
2854 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2855 <action function="page">installapp</action>
2856 </actions>
2857 </button>
2858
bigbiff97829df2020-12-20 12:26:15 -05002859 <text style="text_m">
2860 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002861 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiff97829df2020-12-20 12:26:15 -05002862 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2863 </text>
2864
z31s1g28f0a922015-11-07 18:50:22 +01002865 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002866 <condition var1="tw_has_boot_slots" var2="1"/>
2867 <placement x="%indent%" y="%row16_y%"/>
2868 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002869 <actions>
2870 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002871 <action function="set">tw_action=setbootslot</action>
2872 <action function="set">tw_action_param=A</action>
2873 <action function="set">tw_has_action2=0</action>
2874 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2875 <action function="set">tw_action_text2=</action>
2876 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2877 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002878 </actions>
2879 </button>
2880
2881 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002882 <condition var1="tw_has_boot_slots" var2="1"/>
2883 <placement x="%center_x%" y="%row16_y%"/>
2884 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002885 <actions>
2886 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002887 <action function="set">tw_action=setbootslot</action>
2888 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002889 <action function="set">tw_has_action2=0</action>
bigbiff97829df2020-12-20 12:26:15 -05002890 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2891 <action function="set">tw_action_text2=</action>
2892 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2893 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002894 </actions>
2895 </button>
2896
z31s1g28f0a922015-11-07 18:50:22 +01002897 <action>
2898 <touch key="home"/>
2899 <action function="page">main</action>
2900 </action>
2901
2902 <action>
2903 <touch key="back"/>
2904 <action function="page">main</action>
2905 </action>
2906 </page>
2907
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002908 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002909 <template name="page"/>
2910
2911 <text style="text_l">
2912 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002913 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002914 </text>
2915
2916 <text style="text_m">
2917 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002918 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002919 </text>
2920
2921 <text style="text_m_accent">
2922 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2923 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2924 </text>
2925
2926 <text style="text_m_accent">
2927 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2928 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2929 </text>
2930
2931 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002932 <condition var1="tw_mount_system_ro" var2="0"/>
2933 <placement x="%indent%" y="%row7_y%"/>
2934 <text>{@reboot_install_app_system=Install as a System App}</text>
2935 <data variable="tw_app_install_system"/>
2936 </checkbox>
2937
2938 <button style="main_button_half_width">
2939 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002940 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002941 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002942 </button>
2943
2944 <slider>
2945 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2946 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002947 <action function="set">tw_action=installapp</action>
2948 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2949 <action function="set">tw_action_text2=</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002950 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002951 <action function="page">action_page</action>
2952 </actions>
2953 </slider>
2954
2955 <action>
2956 <touch key="home"/>
2957 <actions>
2958 <action function="set">tw_app_install_status=0</action>
2959 <action function="page">main</action>
2960 </actions>
2961 </action>
2962
2963 <action>
2964 <touch key="back"/>
2965 <actions>
2966 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002967 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002968 </actions>
2969 </action>
2970 </page>
2971
z31s1g28f0a922015-11-07 18:50:22 +01002972 <page name="system_readonly">
2973 <template name="page"/>
2974
2975 <text style="text_l">
2976 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002977 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002978 </text>
2979
2980 <text style="text_m_accent">
2981 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002982 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002983 </text>
2984
2985 <text style="text_m">
2986 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002987 <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 +01002988 </text>
2989
2990 <text style="text_m">
2991 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002992 <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 +01002993 </text>
2994
2995 <text style="text_m_fail">
2996 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002997 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002998 </text>
2999
3000 <checkbox>
3001 <condition var1="tw_is_encrypted" var2="0"/>
3002 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003003 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003004 <data variable="tw_never_show_system_ro_page"/>
3005 </checkbox>
3006
3007 <button style="main_button_half_width">
3008 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 <actions>
3011 <action function="mountsystemtoggle">1</action>
3012 <action function="set">tw_page_done=1</action>
3013 <action function="page">%tw_back%</action>
3014 </actions>
3015 </button>
3016
z31s1g608d7ff2016-01-18 19:47:25 +01003017 <button style="main_button_half_width">
3018 <placement x="%col2_x_left%" y="%row15a_y%"/>
3019 <text>{@sel_lang_btn=Select Language}</text>
3020 <action function="overlay">select_language</action>
3021 </button>
3022
z31s1g28f0a922015-11-07 18:50:22 +01003023 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003024 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <actions>
3026 <action function="mountsystemtoggle">0</action>
3027 <action function="set">tw_page_done=1</action>
3028 <action function="page">%tw_back%</action>
3029 </actions>
3030 </slider>
3031 </page>
3032
3033 <page name="settings">
3034 <template name="page"/>
3035
3036 <text style="text_l">
3037 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 </text>
3040
3041 <text style="text_m">
3042 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003043 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003044 </text>
3045
3046 <template name="tabs_settings"/>
3047
3048 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003049 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003050 </fill>
3051
3052 <listbox style="scrolllist">
3053 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3054 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003055 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003056 <data variable="tw_signed_zip_verify"/>
3057 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003058 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3059 <data variable="tw_install_reboot"/>
3060 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003062 <data variable="tw_rm_rf"/>
3063 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003064 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3065 <data variable="tw_disable_free_space"/>
3066 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003067 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3068 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003069 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003070 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3071 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003072 </listitem>
epicX40b7f7a2021-03-20 21:58:17 +05303073 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3074 <data variable="tw_skip_digest_check_zip"/>
3075 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003076 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003077 <data variable="tw_military_time"/>
3078 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003079 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003080 <data variable="tw_simulate_actions"/>
3081 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003083 <condition var1="tw_simulate_actions" var2="1"/>
3084 <data variable="tw_simulate_fail"/>
3085 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003086 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3087 <condition var1="tw_no_sha2" var2="0"/>
3088 <data variable="tw_use_sha2"/>
3089 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003090 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3091 <data variable="tw_unmount_system"/>
3092 </listitem>
nebrassyfe1c2372021-05-20 13:03:30 +02003093 <listitem name="{@auto_reflashtwrp_chk=Automatically Reflash TWRP after flashing a ROM}">
3094 <conditions>
3095 <condition var1="tw_has_boot_slots" var2="1"/>
3096 <condition var1="tw_has_repack_tools" var2="1"/>
3097 </conditions>
3098 <data variable="tw_auto_reflashtwrp"/>
3099 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003100 </listbox>
3101
3102 <checkbox>
3103 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003105 <data variable="tw_samsung_navbar"/>
3106 </checkbox>
3107
3108 <button style="radiobutton">
3109 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3110 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003111 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003112 <image resource="radio_false"/>
3113 <action function="set">tw_navbar_button_position=0</action>
3114 </button>
3115
3116 <button style="radiobutton">
3117 <condition var1="tw_navbar_button_position" var2="0"/>
3118 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003120 <image resource="radio_true"/>
3121 <action function="set">tw_navbar_button_position=0</action>
3122 </button>
3123
3124 <button style="radiobutton">
3125 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3126 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003127 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003128 <image resource="radio_false"/>
3129 <action function="set">tw_navbar_button_position=1</action>
3130 </button>
3131
3132 <button style="radiobutton">
3133 <condition var1="tw_navbar_button_position" var2="1"/>
3134 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003135 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003136 <image resource="radio_true"/>
3137 <action function="set">tw_navbar_button_position=1</action>
3138 </button>
3139
3140 <button style="radiobutton">
3141 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3142 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003144 <image resource="radio_false"/>
3145 <action function="set">tw_navbar_button_position=2</action>
3146 </button>
3147
3148 <button style="radiobutton">
3149 <condition var1="tw_navbar_button_position" var2="2"/>
3150 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003151 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003152 <image resource="radio_true"/>
3153 <action function="set">tw_navbar_button_position=2</action>
3154 </button>
3155
3156 <button style="main_button_half_width">
3157 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 <action function="restoredefaultsettings"/>
3160 </button>
3161
3162 <action>
3163 <touch key="home"/>
3164 <action function="page">main</action>
3165 </action>
3166
3167 <action>
3168 <touch key="back"/>
3169 <action function="page">main</action>
3170 </action>
3171 </page>
3172
3173 <page name="settings_timezone">
3174 <template name="page"/>
3175
3176 <text style="text_l">
3177 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003178 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003179 </text>
3180
3181 <text style="text_m">
3182 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 </text>
3185
3186 <template name="tabs_settings"/>
3187
3188 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003190 </fill>
3191
3192 <listbox>
3193 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3197 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3198 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3199 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3200 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3201 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3202 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3203 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3204 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3205 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3206 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3207 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3208 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3209 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3210 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3211 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3212 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3213 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3214 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3215 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3216 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3217 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3218 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3219 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003220 </listbox>
3221
3222 <text style="text_m_accent">
3223 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <button style="button_quarter_width">
3228 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 <action function="set">tw_time_zone_guioffset=0</action>
3231 </button>
3232
3233 <button style="button_quarter_width">
3234 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003236 <action function="set">tw_time_zone_guioffset=15</action>
3237 </button>
3238
3239 <button style="button_quarter_width">
3240 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003241 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003242 <action function="set">tw_time_zone_guioffset=30</action>
3243 </button>
3244
3245 <button style="button_quarter_width">
3246 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003247 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003248 <action function="set">tw_time_zone_guioffset=45</action>
3249 </button>
3250
3251 <checkbox>
3252 <placement x="%col1_x_right%" y="%row7_y%"/>
3253 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003255 <data variable="tw_time_zone_guidst"/>
3256 <image checked="checkbox_true" unchecked="checkbox_false"/>
3257 </checkbox>
3258
3259 <text color="%text_color%">
3260 <font resource="font_m"/>
3261 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 </text>
3264
3265 <button>
3266 <highlight color="%highlight_color%"/>
3267 <placement x="%col2_x_right%" y="%row15a_y%"/>
3268 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 <image resource="main_button_half_width"/>
3271 <action function="setguitimezone"/>
3272 </button>
3273
3274 <action>
3275 <touch key="home"/>
3276 <action function="page">main</action>
3277 </action>
3278
3279 <action>
3280 <touch key="back"/>
3281 <action function="page">main</action>
3282 </action>
3283 </page>
3284
3285 <page name="settings_screen">
3286 <template name="page"/>
3287
3288 <text style="text_l">
3289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003290 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003291 </text>
3292
3293 <text style="text_m">
3294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <template name="tabs_settings"/>
3299
3300 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003301 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003302 </fill>
3303
3304 <button>
3305 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3306 <font resource="font_m" color="%text_color%"/>
3307 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3308 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <image resource="checkbox_false"/>
3311 <action function="set">tw_screen_timeout_secs=60</action>
3312 </button>
3313
3314 <button>
3315 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3316 <font resource="font_m" color="%text_color%"/>
3317 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3318 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003320 <image resource="checkbox_true"/>
3321 <action function="set">tw_screen_timeout_secs=0</action>
3322 </button>
3323
3324 <slidervalue>
3325 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3326 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3327 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003328 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003329 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3330 </slidervalue>
3331
3332 <slidervalue>
3333 <condition var1="tw_has_brightnesss_file" var2="1"/>
3334 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003335 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003336 <data variable="tw_brightness_pct" min="10" max="100"/>
3337 <actions>
3338 <action function="set">tw_brightness=%tw_brightness_max%</action>
3339 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3340 <action function="compute">tw_brightness/100</action>
3341 <action function="setbrightness">%tw_brightness%</action>
3342 </actions>
3343 </slidervalue>
3344
3345 <action>
3346 <touch key="home"/>
3347 <action function="page">main</action>
3348 </action>
3349
3350 <action>
3351 <touch key="back"/>
3352 <action function="page">main</action>
3353 </action>
3354 </page>
3355
3356 <page name="settings_vibration">
3357 <template name="page"/>
3358
3359 <text style="text_l">
3360 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 </text>
3363
3364 <text style="text_m">
3365 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003366 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003367 </text>
3368
3369 <template name="tabs_settings"/>
3370
3371 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003372 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003373 </fill>
3374
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003375 <text style="text_m">
3376 <condition var1="tw_disable_haptics" var2="1"/>
3377 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3378 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3379 </text>
3380
z31s1g28f0a922015-11-07 18:50:22 +01003381 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003382 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003383 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <data variable="tw_button_vibrate" min="0" max="300"/>
3386 </slidervalue>
3387
3388 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003389 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003390 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003392 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3393 </slidervalue>
3394
3395 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003396 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003397 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003399 <data variable="tw_action_vibrate" min="0" max="500"/>
3400 </slidervalue>
3401
3402 <action>
3403 <touch key="home"/>
3404 <action function="page">main</action>
3405 </action>
3406
3407 <action>
3408 <touch key="back"/>
3409 <action function="page">main</action>
3410 </action>
3411 </page>
3412
Ethan Yonker74db1572015-10-28 12:44:49 -05003413 <page name="settings_language">
3414 <template name="page"/>
3415
3416 <text style="text_l">
3417 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3418 <text>{@settings_hdr=Settings}</text>
3419 </text>
3420
3421 <text style="text_m">
3422 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3423 <text>{@language_hdr=Language - %tw_language_display%}</text>
3424 </text>
3425
3426 <template name="tabs_settings"/>
3427
3428 <fill color="%text_color%">
3429 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3430 </fill>
3431
3432 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003433 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@select_language=Select Language:}</text>
3435 <icon selected="radio_true" unselected="radio_false" />
3436 <data name="tw_language" />
3437 </listbox>
3438
z31s1g56189522016-01-13 19:12:40 +01003439 <button>
3440 <highlight color="%highlight_color%"/>
3441 <placement x="%col2_x_right%" y="%row15a_y%"/>
3442 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003444 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <action function="setlanguage"></action>
3446 </button>
3447
3448 <action>
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </action>
3452
3453 <action>
3454 <touch key="back" />
3455 <action function="page">settings</action>
3456 </action>
3457 </page>
3458
Matt Mower32676622017-01-18 18:56:13 -06003459 <page name="copylog">
3460 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003461
Matt Mower32676622017-01-18 18:56:13 -06003462 <text style="text_l">
3463 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3464 <text>{@copying_log=Copy Logs to SD Card}</text>
3465 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003466
Matt Mower32676622017-01-18 18:56:13 -06003467 <checkbox>
3468 <placement x="%indent%" y="%row4_y%"/>
3469 <text>{@include_kernel_log=Include Kernel Log}</text>
3470 <data variable="tw_include_kernel_log" value="1"/>
3471 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003472
Matt Mower32676622017-01-18 18:56:13 -06003473 <slider>
3474 <text>{@copying_log=Copy Logs to SD Card}</text>
3475 <actions>
3476 <action function="set">tw_back=advanced</action>
3477 <action function="set">tw_action=copylog</action>
3478 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3479 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3480 <action function="page">action_page</action>
3481 </actions>
3482 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003483
Matt Mower32676622017-01-18 18:56:13 -06003484 <action>
3485 <touch key="home"/>
3486 <action function="page">main</action>
3487 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003488
Matt Mower32676622017-01-18 18:56:13 -06003489 <action>
3490 <touch key="back"/>
3491 <actions>
3492 <action function="page">advanced</action>
3493 </actions>
3494 </action>
3495 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003496
z31s1g28f0a922015-11-07 18:50:22 +01003497 <page name="advanced">
3498 <template name="page"/>
3499
3500 <text style="text_l">
3501 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </text>
3504
3505 <button style="main_button">
3506 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003508 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003509 </button>
3510
3511 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003512 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <action function="page">filemanagerlist</action>
3515 </button>
3516
3517 <button style="main_button">
3518 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003519 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003520 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003521 </button>
3522
3523 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003524 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003525 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003526 <action function="page">sideload</action>
3527 </button>
3528
Ethan Yonker64e0a652018-07-25 09:52:17 -05003529 <listbox style="advanced_listbox">
3530 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicX98053c32021-01-04 13:01:31 +05303531 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3532 <condition var1="tw_is_encrypted" var2="0"/>
3533 <action function="page">changeTwrpFolder</action>
3534 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003535 <listitem name="{@decrypt_users=Decrypt Users}">
3536 <conditions>
3537 <condition var1="tw_is_fbe" var2="1"/>
3538 <condition var1="tw_all_users_decrypted" var2="0"/>
3539 </conditions>
3540 <actions>
3541 <action function="set">tw_crypto_user_id=</action>
3542 <action function="page">decrypt_users</action>
3543 </actions>
3544 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003545 <listitem name="{@reload_theme_btn=Reload Theme}">
3546 <action function="reload"/>
3547 </listitem>
3548 <listitem name="{@part_sd_btn=Partition SD Card}">
3549 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3550 <actions>
3551 <action function="set">partitionlisterror=0</action>
3552 <action function="page">partsdcardsel</action>
3553 </actions>
3554 </listitem>
3555 <listitem name="{@fix_context_btn=Fix Contexts}">
3556 <condition var1="tw_has_data_media" var2="1"/>
3557 <action function="page">fixcontexts</action>
3558 </listitem>
3559 <listitem name="{@dumlock_btn=HTC Dumlock}">
3560 <condition var1="tw_show_dumlock" var2="1"/>
3561 <action function="page">htcdumlock</action>
3562 </listitem>
3563 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3564 <condition var1="tw_has_injecttwrp" var2="1"/>
3565 <actions>
3566 <action function="set">tw_back=advanced</action>
3567 <action function="set">tw_action=reinjecttwrp</action>
3568 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3569 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3570 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3571 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3572 <action function="page">confirm_action</action>
3573 </actions>
3574 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003575 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3576 <conditions>
3577 <condition var1="tw_has_boot_slots" var2="1"/>
3578 <condition var1="tw_has_repack_tools" var2="1"/>
3579 </conditions>
3580 <actions>
3581 <action function="set">tw_repack_kernel=0</action>
3582 <action function="page">repackselect</action>
3583 </actions>
3584 </listitem>
nebrassyfe1c2372021-05-20 13:03:30 +02003585 <listitem name="{@reflash_twrp=Flash Current TWRP}">
3586 <conditions>
3587 <condition var1="tw_has_boot_slots" var2="1"/>
3588 <condition var1="tw_has_repack_tools" var2="1"/>
3589 </conditions>
3590 <actions>
3591 <action function="set">tw_repack_kernel=0</action>
3592 <action function="set">tw_back=advanced</action>
3593 <action function="set">tw_action=reflashtwrp</action>
3594 <action function="set">tw_text1={@reflash_twrp_confirm=Flash Current TWRP?}</action>
3595 <action function="set">tw_action_text1={@reflashing_twrp=Flashing TWRP...}</action>
3596 <action function="set">tw_complete_text1={@reflash_twrp_complete=Done flashing TWRP}</action>
3597 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3598 <action function="page">confirm_action</action>
3599 </actions>
3600 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003601 <listitem name="{@install_kernel=Install Kernel}">
3602 <conditions>
3603 <condition var1="tw_has_boot_slots" var2="1"/>
3604 <condition var1="tw_has_repack_tools" var2="1"/>
3605 </conditions>
3606 <actions>
3607 <action function="set">tw_repack_kernel=1</action>
3608 <action function="page">repackselect</action>
3609 </actions>
3610 </listitem>
3611 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3612 <conditions>
3613 <condition var1="tw_has_boot_slots" var2="1"/>
3614 <condition var1="tw_has_repack_tools" var2="1"/>
3615 </conditions>
3616 <actions>
3617 <action function="set">tw_back=advanced</action>
3618 <action function="set">tw_action=fixabrecoverybootloop</action>
3619 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3620 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3621 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3622 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3623 <action function="page">confirm_action</action>
3624 </actions>
3625 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003626 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3627 <condition var1="tw_app_install_status" var2="1"/>
3628 <actions>
3629 <action function="set">tw_back=advanced</action>
3630 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3631 <action function="page">installapp</action>
3632 </actions>
3633 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003634 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3635 <condition var1="tw_app_installed_in_system" var2="1"/>
3636 <actions>
3637 <action function="set">tw_back=advanced</action>
3638 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3639 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3640 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3641 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3642 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3643 <action function="page">confirm_action</action>
3644 </actions>
3645 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003646 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003647
3648 <action>
3649 <touch key="home"/>
3650 <action function="page">main</action>
3651 </action>
3652
3653 <action>
3654 <touch key="back"/>
3655 <action function="page">main</action>
3656 </action>
3657 </page>
3658
Ethan Yonker483e9f42016-01-11 22:21:18 -06003659 <page name="partsdcardsel">
3660 <template name="page"/>
3661
3662 <text style="text_l">
3663 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3664 <text>{@advanced_hdr=Advanced}</text>
3665 </text>
3666
3667 <text style="text_m">
3668 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3669 <text>{@part_sd_hdr=Partition SD Card}</text>
3670 </text>
3671
z31s1g782e1c92016-01-30 16:50:09 +01003672 <partitionlist>
3673 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003674 <text>{@sel_storage_list=Select Storage}</text>
3675 <data name="tw_storage_path"/>
3676 <listtype name="storage"/>
3677 </partitionlist>
3678
z31s1g782e1c92016-01-30 16:50:09 +01003679 <text style="text_m_fail">
3680 <condition var1="partitionlisterror" var2="1"/>
3681 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3682 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3683 </text>
3684
3685 <button style="main_button_half_width">
3686 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003687 <text>{@ok_btn=OK}</text>
3688 <actions>
3689 <action function="getpartitiondetails">tw_storage_path</action>
3690 <action function="page">partsdcardcheck</action>
3691 </actions>
3692 </button>
3693
Ethan Yonker483e9f42016-01-11 22:21:18 -06003694 <action>
3695 <touch key="home"/>
3696 <action function="page">main</action>
3697 </action>
3698
3699 <action>
3700 <touch key="back"/>
3701 <action function="page">advanced</action>
3702 </action>
3703 </page>
3704
3705 <page name="partsdcardcheck">
3706 <action>
3707 <condition var1="tw_partition_removable" op="=" var2="1"/>
3708 <actions>
3709 <action function="set">partitionlisterror=0</action>
3710 <action function="page">partsdcard</action>
3711 </actions>
3712 </action>
3713
3714 <action>
3715 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3716 <actions>
3717 <action function="set">partitionlisterror=1</action>
3718 <action function="page">partsdcardsel</action>
3719 </actions>
3720 </action>
3721 </page>
3722
z31s1g28f0a922015-11-07 18:50:22 +01003723 <page name="partsdcard">
3724 <template name="page"/>
3725
3726 <text style="text_l">
3727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <text style="text_m">
3732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 </text>
3735
3736 <text style="text_m_fail">
3737 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003738 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003739 </text>
3740
3741 <text style="text_m_fail">
3742 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003744 </text>
3745
3746 <text style="text_m_accent">
3747 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003749 </text>
3750
3751 <text style="text_m">
3752 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3753 <text>%tw_sdext_size%</text>
3754 </text>
3755
3756 <button style="button_quarter_width">
3757 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003758 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003759 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003760 </button>
3761
3762 <button style="button_quarter_width">
3763 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003765 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003766 </button>
3767
3768 <text style="text_m_accent">
3769 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003770 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003771 </text>
3772
3773 <text style="text_m">
3774 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3775 <text>%tw_swap_size%</text>
3776 </text>
3777
3778 <button style="button_quarter_width">
3779 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003781 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003782 </button>
3783
3784 <button style="button_quarter_width">
3785 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003787 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003788 </button>
3789
3790 <text style="text_m_accent">
3791 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003793 </text>
3794
3795 <text style="text_m">
3796 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3797 <text>%tw_sdpart_file_system%</text>
3798 </text>
3799
3800 <button style="button_quarter_width">
3801 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3802 <text>EXT3</text>
3803 <action function="set">tw_sdpart_file_system=ext3</action>
3804 </button>
3805
3806 <button style="button_quarter_width">
3807 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3808 <text>EXT4</text>
3809 <action function="set">tw_sdpart_file_system=ext4</action>
3810 </button>
3811
3812 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003814 <action function="page">partsdcardaction</action>
3815 <actions>
3816 <action function="set">tw_back=partsdcard</action>
3817 <action function="set">tw_action=partitionsd</action>
3818 <action function="set">tw_has_action2=1</action>
3819 <action function="set">tw_action2=set</action>
3820 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003821 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3822 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3823 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003824 <action function="page">action_page</action>
3825 </actions>
3826 </slider>
3827
3828 <action>
3829 <touch key="home"/>
3830 <action function="page">main</action>
3831 </action>
3832
3833 <action>
3834 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003835 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003836 </action>
3837 </page>
3838
3839 <page name="htcdumlock">
3840 <template name="page"/>
3841
3842 <text style="text_l">
3843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003844 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003845 </text>
3846
3847 <text style="text_m">
3848 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003849 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003850 </text>
3851
3852 <button style="main_button_m">
3853 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003854 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003855 <actions>
3856 <action function="set">tw_back=htcdumlock</action>
3857 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3859 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3860 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3861 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003862 <action function="page">confirm_action</action>
3863 </actions>
3864 </button>
3865
3866 <button style="main_button_m">
3867 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003869 <actions>
3870 <action function="set">tw_back=htcdumlock</action>
3871 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003872 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3873 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3874 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3875 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003876 <action function="page">confirm_action</action>
3877 </actions>
3878 </button>
3879
3880 <button style="main_button_m">
3881 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003882 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003883 <actions>
3884 <action function="set">tw_back=htcdumlock</action>
3885 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003886 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3887 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3888 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3889 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003890 <action function="page">confirm_action</action>
3891 </actions>
3892 </button>
3893
3894 <action>
3895 <touch key="home"/>
3896 <action function="page">main</action>
3897 </action>
3898
3899 <action>
3900 <touch key="back"/>
3901 <action function="page">advanced</action>
3902 </action>
3903 </page>
3904
Ethan Yonker53796e72019-01-11 22:49:52 -06003905 <page name="repackselect">
3906 <template name="page"/>
3907
3908 <text style="text_l">
3909 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3910 <text>{@repack_image_hdr=Select Image}</text>
3911 </text>
3912
3913 <text style="text_m">
3914 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3915 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3916 </text>
3917
3918 <template name="sort_options"/>
3919
3920 <fileselector>
3921 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3922 <text>%tw_zip_location%</text>
3923 <filter extn=".img" folders="1" files="1"/>
3924 <path name="tw_zip_location" default="/sdcard"/>
3925 <data name="tw_filename"/>
3926 <selection name="tw_file"/>
3927 </fileselector>
3928
3929 <button style="main_button_half_width_low">
3930 <placement x="%col_button_right%" y="%row16a_y%"/>
3931 <text>{@select_storage_btn=Select Storage}</text>
3932 <actions>
3933 <action function="set">tw_back=install</action>
3934 <action function="overlay">select_storage</action>
3935 </actions>
3936 </button>
3937
3938 <action>
3939 <conditions>
3940 <condition var1="tw_filename" op="modified"/>
3941 </conditions>
3942 <action function="page">repackconfirm</action>
3943 </action>
3944
3945 <action>
3946 <touch key="back"/>
3947 <action function="page">advanced</action>
3948 </action>
3949
3950 <action>
3951 <touch key="home"/>
3952 <action function="page">main</action>
3953 </action>
3954 </page>
3955
3956 <page name="repackconfirm">
3957 <template name="page"/>
3958
3959 <text style="text_l">
3960 <condition var1="tw_repack_kernel" var2="1"/>
3961 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3962 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3963 </text>
3964
3965 <text style="text_l">
3966 <condition var1="tw_repack_kernel" var2="0"/>
3967 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3968 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3969 </text>
3970
3971 <text style="text_m">
3972 <condition var1="tw_repack_kernel" var2="1"/>
3973 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3974 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3975 </text>
3976
3977 <text style="text_m">
3978 <condition var1="tw_repack_kernel" var2="0"/>
3979 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3980 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3981 </text>
3982
3983 <text style="text_m_accent">
3984 <placement x="%indent%" y="%row2_y%"/>
3985 <text>{@folder=Folder:}</text>
3986 </text>
3987
3988 <text style="text_m">
3989 <placement x="%indent%" y="%row3_y%"/>
3990 <text>%tw_zip_location%</text>
3991 </text>
3992
3993 <text style="text_m_accent">
3994 <placement x="%indent%" y="%row4_y%"/>
3995 <text>{@file=File:}</text>
3996 </text>
3997
3998 <text style="text_m">
3999 <placement x="%indent%" y="%row5_y%"/>
4000 <text>%tw_file%</text>
4001 </text>
4002
4003 <checkbox>
4004 <placement x="%indent%" y="%row7_y%"/>
4005 <text>{@repack_backup_first=Back up existing image first}</text>
4006 <data variable="tw_repack_backup_first"/>
4007 </checkbox>
4008
4009 <button style="main_button_half_width">
4010 <placement x="%col1_x_left%" y="%row15a_y%"/>
4011 <text>{@install_cancel=Do not Install}</text>
4012 <action function="page">repackselect</action>
4013 </button>
4014
4015 <slider style="slider_centered">
4016 <text>{@swipe_to_install=Swipe to Install}</text>
4017 <actions>
4018 <action function="set">tw_back=advanced</action>
4019 <action function="set">tw_action=repackimage</action>
4020 <action function="set">tw_action_param=/boot</action>
4021 <action function="set">tw_action_text1={@installing=Installing...}</action>
4022 <action function="set">tw_action_text2=</action>
4023 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4024 <action function="page">action_page</action>
4025 </actions>
4026 </slider>
4027
4028 <action>
4029 <touch key="back"/>
4030 <action function="page">repackselect</action>
4031 </action>
4032
4033 <action>
4034 <touch key="home"/>
4035 <action function="page">main</action>
4036 </action>
4037 </page>
4038
z31s1g28f0a922015-11-07 18:50:22 +01004039 <page name="lock">
4040 <background color="%semi_transparent%"/>
4041
4042 <image>
4043 <image resource="unlock_icon"/>
4044 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4045 </image>
4046
4047 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 <action function="overlay"/>
4050 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004051
4052 <action>
4053 <touch key="power"/>
4054 <action function="togglebacklight"/>
4055 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004056 </page>
4057
4058 <page name="filemanagerlist">
4059 <template name="page"/>
4060
4061 <text style="text_l">
4062 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 </text>
4065
4066 <text style="text_m">
4067 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004068 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004069 </text>
4070
4071 <template name="sort_options"/>
4072
4073 <fileselector>
4074 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4075 <text>%tw_file_location1%</text>
4076 <filter folders="1" files="1"/>
4077 <path name="tw_file_location1" default="/"/>
4078 <data name="tw_filename1"/>
4079 <selection name="tw_selection1"/>
4080 </fileselector>
4081
4082 <button style="main_button_half_width_low">
4083 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004084 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004085 <actions>
4086 <action function="set">tw_filename1=tw_file_location1</action>
4087 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004088 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004089 <action function="page">filemanageroptions</action>
4090 </actions>
4091 </button>
4092
4093 <action>
4094 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004095 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004096 <action function="set">tw_fm_isfolder=0</action>
4097 </actions>
4098 </action>
4099
4100 <action>
4101 <touch key="home"/>
4102 <action function="page">main</action>
4103 </action>
4104
4105 <action>
4106 <touch key="back"/>
4107 <action function="page">advanced</action>
4108 </action>
4109
4110 <action>
4111 <condition var1="tw_filename1" op="modified"/>
4112 <action function="page">filemanageroptions</action>
4113 </action>
4114 </page>
4115
4116 <page name="filemanageroptions">
4117 <template name="page"/>
4118
4119 <text style="text_l">
4120 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004121 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004122 </text>
4123
4124 <text style="text_m">
4125 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004126 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004127 </text>
4128
4129 <text style="text_m_accent">
4130 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004131 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004132 </text>
4133
4134 <text style="text_m">
4135 <placement x="%col1_x_left%" y="%row3_y%"/>
4136 <text>%tw_filename1%</text>
4137 </text>
4138
4139 <button style="main_button_half_width">
4140 <condition var1="tw_fm_isfolder" var2="0"/>
4141 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004142 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004143 <actions>
4144 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004145 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004146 <action function="page">choosedestinationfolder</action>
4147 </actions>
4148 </button>
4149
4150 <button style="main_button_half_width">
4151 <condition var1="tw_fm_isfolder" var2="1"/>
4152 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004153 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004154 <actions>
4155 <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 -05004156 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004157 <action function="page">choosedestinationfolder</action>
4158 </actions>
4159 </button>
4160
4161 <button style="main_button_half_width">
Captain Throwback3b556102021-02-12 19:32:36 -05004162edi <conditions>
4163 <condition var1="tw_include_nano" var2="1"/>
4164 <condition var1="tw_fm_isfolder" var2="0"/>
4165 </conditions>
4166 <placement x="%col1_x_left%" y="%row15a_y%"/>
4167 <text>{@fm_edit_file=Edit File}</text>
4168 <actions>
4169 <action function="editfile">nano "%tw_filename1%"</action>
4170 <action function="page">terminalcommand</action>
4171 </actions>
4172 </button>
4173
4174 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004175 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004176 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004177 <actions>
4178 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004180 <action function="page">choosedestinationfolder</action>
4181 </actions>
4182 </button>
4183
4184 <button style="main_button_half_width">
4185 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 <actions>
4188 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004189 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004190 <action function="set">tw_fm_text2=</action>
4191 <action function="set">tw_fm_text3=</action>
4192 <action function="set">tw_include_text3=0</action>
4193 <action function="set">tw_back=filemanageroptions</action>
4194 <action function="page">filemanagerconfirm</action>
4195 </actions>
4196 </button>
4197
4198 <button style="main_button_half_width">
4199 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004200 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004201 <actions>
4202 <action function="set">tw_filemanager_rename=0000</action>
4203 <action function="set">tw_fm_text2=</action>
4204 <action function="set">tw_fm_text3=</action>
4205 <action function="set">tw_include_text3=0</action>
4206 <action function="set">tw_back=filemanageroptions</action>
4207 <action function="page">filemanagerchmod</action>
4208 </actions>
4209 </button>
4210
4211 <button style="main_button_half_width">
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004212 <condition var1="tw_fm_isfolder" var2="1"/>
4213 <placement x="%col2_x_right%" y="%row15a_y%"/>
4214 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4215 <action function="changeterminal">%tw_filename1%</action>
4216 </button>
4217
4218 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004219 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004220 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004221 <actions>
4222 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004223 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004224 <action function="set">tw_fm_text2=</action>
4225 <action function="set">tw_fm_text3=</action>
4226 <action function="set">tw_include_text3=0</action>
4227 <action function="set">tw_back=filemanageroptions</action>
4228 <action function="page">filemanagerconfirm</action>
4229 </actions>
4230 </button>
4231
4232 <button style="main_button_half_width">
4233 <condition var1="tw_fm_isfolder" var2="0"/>
4234 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004236 <actions>
4237 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004238 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004239 <action function="set">tw_filemanager_command=mv</action>
4240 <action function="page">filemanagerrenamefile</action>
4241 </actions>
4242 </button>
4243
4244 <button style="main_button_half_width">
4245 <condition var1="tw_fm_isfolder" var2="1"/>
4246 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004247 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004248 <actions>
4249 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004250 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004251 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4252 <action function="page">filemanagerrenamefolder</action>
4253 </actions>
4254 </button>
4255
4256 <action>
4257 <touch key="home"/>
4258 <action function="page">main</action>
4259 </action>
4260
4261 <action>
4262 <touch key="back"/>
4263 <action function="page">filemanagerlist</action>
4264 </action>
4265 </page>
4266
4267 <page name="choosedestinationfolder">
4268 <template name="page"/>
4269
4270 <text style="text_l">
4271 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004272 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004273 </text>
4274
4275 <text style="text_m">
4276 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004277 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004278 </text>
4279
4280 <template name="sort_options"/>
4281
4282 <fileselector>
4283 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4284 <text>%tw_file_location2%</text>
4285 <filter folders="1" files="0"/>
4286 <path name="tw_file_location2" default="/"/>
4287 <data name="tw_filename2"/>
4288 <selection name="tw_selection2"/>
4289 </fileselector>
4290
4291 <button style="main_button_half_width_low">
4292 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004294 <actions>
4295 <action function="set">tw_fm_text2=to</action>
4296 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4297 <action function="set">tw_include_text3=1</action>
4298 <action function="set">tw_back=filemanageroptions</action>
4299 <action function="page">filemanagerconfirm</action>
4300 </actions>
4301 </button>
4302
4303 <action>
4304 <touch key="home"/>
4305 <action function="page">main</action>
4306 </action>
4307
4308 <action>
4309 <touch key="back"/>
4310 <action function="page">filemanageroptions</action>
4311 </action>
4312 </page>
4313
4314 <page name="filemanagerrenamefile">
4315 <template name="page"/>
4316
4317 <text style="text_l">
4318 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004319 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004320 </text>
4321
4322 <text style="text_m">
4323 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004324 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004325 </text>
4326
4327 <text style="text_m_accent">
4328 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004329 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004330 </text>
4331
4332 <input>
4333 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4334 <text>%tw_filemanager_rename%</text>
4335 <data name="tw_filemanager_rename"/>
4336 <restrict minlen="1" maxlen="128"/>
4337 <actions>
4338 <action function="set">tw_fm_text2=to</action>
4339 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4340 <action function="set">tw_include_text3=1</action>
4341 <action function="set">tw_back=filemanageroptions</action>
4342 <action function="page">filemanagerconfirm</action>
4343 </actions>
4344 </input>
4345
4346 <fill color="%accent_color%">
4347 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4348 </fill>
4349
4350 <button style="main_button_half_width_low">
4351 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004352 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004353 <action function="page">filemanageroptions</action>
4354 </button>
4355
4356 <template name="keyboardtemplate"/>
4357
4358 <action>
4359 <touch key="home"/>
4360 <action function="page">main</action>
4361 </action>
4362
4363 <action>
4364 <touch key="back"/>
4365 <action function="page">filemanageroptions</action>
4366 </action>
4367 </page>
4368
4369 <page name="filemanagerrenamefolder">
4370 <template name="page"/>
4371
4372 <text style="text_l">
4373 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 </text>
4376
4377 <text style="text_m">
4378 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004379 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004380 </text>
4381
4382 <text style="text_m_accent">
4383 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004384 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004385 </text>
4386
4387 <input>
4388 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4389 <text>%tw_filemanager_rename%</text>
4390 <data name="tw_filemanager_rename"/>
4391 <restrict minlen="1" maxlen="128"/>
4392 <actions>
4393 <action function="set">tw_fm_text2=to</action>
4394 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4395 <action function="set">tw_include_text3=1</action>
4396 <action function="set">tw_back=filemanageroptions</action>
4397 <action function="page">filemanagerconfirm</action>
4398 </actions>
4399 </input>
4400
4401 <fill color="%accent_color%">
4402 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4403 </fill>
4404
4405 <button style="main_button_half_width_low">
4406 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004407 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004408 <action function="page">filemanageroptions</action>
4409 </button>
4410
4411 <template name="keyboardtemplate"/>
4412
4413 <action>
4414 <touch key="home"/>
4415 <action function="page">main</action>
4416 </action>
4417
4418 <action>
4419 <touch key="back"/>
4420 <action function="page">filemanageroptions</action>
4421 </action>
4422 </page>
4423
4424 <page name="filemanagerchmod">
4425 <template name="page"/>
4426
4427 <text style="text_l">
4428 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m">
4433 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m_accent">
4438 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </text>
4441
4442 <input>
4443 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4444 <text>%tw_filemanager_rename%</text>
4445 <data name="tw_filemanager_rename"/>
4446 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4447 <actions>
4448 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4449 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4450 <action function="set">tw_back=filemanageroptions</action>
4451 <action function="page">filemanagerconfirm</action>
4452 </actions>
4453 </input>
4454
4455 <fill color="%accent_color%">
4456 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4457 </fill>
4458
4459 <button style="main_button_half_width_low">
4460 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 <action function="page">filemanageroptions</action>
4463 </button>
4464
4465 <template name="keyboardtemplate"/>
4466
4467 <action>
4468 <touch key="home"/>
4469 <action function="page">main</action>
4470 </action>
4471
4472 <action>
4473 <touch key="back"/>
4474 <action function="page">filemanageroptions</action>
4475 </action>
4476 </page>
4477
4478 <page name="filemanagerconfirm">
4479 <template name="page"/>
4480
4481 <text style="text_l">
4482 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <text style="text_m">
4487 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004489 </text>
4490
4491 <text style="text_m_accent">
4492 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4493 <text>%tw_fm_text1%</text>
4494 </text>
4495
4496 <text style="text_m">
4497 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4498 <text>%tw_filename1%</text>
4499 </text>
4500
4501 <text style="text_m_accent">
4502 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4503 <text>%tw_fm_text2%</text>
4504 </text>
4505
4506 <text style="text_m">
4507 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4508 <text>%tw_fm_text3%</text>
4509 </text>
4510
4511 <text style="text_m">
4512 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004513 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004514 </text>
4515
4516 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004518 <action function="page">filemanageraction</action>
4519 </slider>
4520
4521 <action>
4522 <touch key="back"/>
4523 <action function="page">%tw_back%</action>
4524 </action>
4525
4526 <action>
4527 <touch key="home"/>
4528 <action function="page">main</action>
4529 </action>
4530 </page>
4531
4532 <page name="filemanageraction">
4533 <template name="page"/>
4534
4535 <text style="text_l">
4536 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </text>
4539
4540 <text style="text_m">
4541 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4542 <text>%tw_fm_text1%</text>
4543 </text>
4544
4545 <template name="console"/>
4546
4547 <template name="progress_bar"/>
4548
4549 <action>
4550 <conditions>
4551 <condition var1="tw_operation_state" var2="1"/>
4552 <condition var1="tw_operation_status" var2="0"/>
4553 </conditions>
4554 <actions>
4555 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004556 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004557 <action function="page">action_complete</action>
4558 </actions>
4559 </action>
4560
4561 <action>
4562 <conditions>
4563 <condition var1="tw_operation_state" var2="1"/>
4564 <condition var1="tw_operation_status" op="!=" var2="0"/>
4565 </conditions>
4566 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004567 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004568 <action function="page">action_complete</action>
4569 </actions>
4570 </action>
4571
4572 <action>
4573 <condition var1="tw_include_text3" var2="0"/>
4574 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4575 </action>
4576
4577 <action>
4578 <condition var1="tw_include_text3" var2="1"/>
4579 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4580 </action>
4581 </page>
4582
4583 <page name="decrypt">
4584 <template name="page"/>
4585
4586 <action>
4587 <condition var1="tw_crypto_pwtype" var2="2"/>
4588 <action function="page">decrypt_pattern</action>
4589 </action>
4590
4591 <text style="text_l">
4592 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </text>
4595
4596 <text style="text_m">
4597 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 </text>
4600
4601 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004602 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004603 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
Noah Jacobson5a79f672019-04-28 00:10:07 -04004607 <text style="text_m_accent">
4608 <condition var1="tw_is_fbe" var2="1"/>
4609 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4610 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4611 </text>
4612
z31s1g28f0a922015-11-07 18:50:22 +01004613 <input>
4614 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4615 <text>%tw_crypto_display%</text>
4616 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4617 <restrict minlen="1" maxlen="254"/>
4618 <action function="page">trydecrypt</action>
4619 </input>
4620
4621 <fill color="%accent_color%">
4622 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4623 </fill>
4624
4625 <fill color="%text_fail_color%">
4626 <condition var1="tw_password_fail" var2="1"/>
4627 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4628 </fill>
4629
4630 <text style="text_m_fail">
4631 <condition var1="tw_password_fail" var2="1"/>
4632 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004633 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004634 </text>
4635
4636 <button style="main_button_half_width_low">
4637 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004638 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004639 <actions>
4640 <action function="set">tw_page_done=1</action>
4641 <action function="page">main</action>
4642 </actions>
4643 </button>
4644
z31s1g608d7ff2016-01-18 19:47:25 +01004645 <button style="main_button_half_width_low">
4646 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4647 <text>{@sel_lang_btn=Select Language}</text>
4648 <action function="overlay">select_language</action>
4649 </button>
4650
z31s1g28f0a922015-11-07 18:50:22 +01004651 <template name="keyboardtemplate"/>
4652 </page>
4653
4654 <page name="decrypt_pattern">
4655 <template name="page"/>
4656
4657 <text style="text_l">
4658 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004659 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004660 </text>
4661
4662 <text style="text_m">
4663 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004664 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004665 </text>
4666
4667 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004668 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004669 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004670 </text>
4671
Aleksa Saraib25a1832015-12-31 17:36:00 +01004672 <text style="text_m_fail">
4673 <condition var1="tw_password_fail" var2="1"/>
4674 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004675 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004676 </text>
4677
z31s1g28f0a922015-11-07 18:50:22 +01004678 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004679 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004680 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4681 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4682 <data name="tw_crypto_password"/>
4683 <action function="page">trydecrypt</action>
4684 </patternpassword>
4685
Aleksa Saraib25a1832015-12-31 17:36:00 +01004686 <button style="main_button_half_width_low">
4687 <placement x="%col_button_right%" y="%row1a_y%"/>
4688 <text>3x3</text>
4689 <action function="set">tw_gui_pattern_grid_size=3</action>
4690 </button>
4691
4692 <button style="main_button_half_width_low">
4693 <placement x="%col_button_right%" y="%row4a_y%"/>
4694 <text>4x4</text>
4695 <action function="set">tw_gui_pattern_grid_size=4</action>
4696 </button>
4697
4698 <button style="main_button_half_width_low">
4699 <placement x="%col_button_right%" y="%row7a_y%"/>
4700 <text>5x5</text>
4701 <action function="set">tw_gui_pattern_grid_size=5</action>
4702 </button>
4703
4704 <button style="main_button_half_width_low">
4705 <placement x="%col_button_right%" y="%row10a_y%"/>
4706 <text>6x6</text>
4707 <action function="set">tw_gui_pattern_grid_size=6</action>
4708 </button>
4709
z31s1g28f0a922015-11-07 18:50:22 +01004710 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004711 <placement x="%col1_x_right%" y="%row15a_y%"/>
4712 <text>{@sel_lang_btn=Select Language}</text>
4713 <action function="overlay">select_language</action>
4714 </button>
4715
4716 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004717 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004718 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004719 <actions>
4720 <action function="set">tw_page_done=1</action>
4721 <action function="page">main</action>
4722 </actions>
4723 </button>
4724 </page>
4725
4726 <page name="trydecrypt">
4727 <template name="page"/>
4728
4729 <text style="text_l">
4730 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004731 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004732 </text>
4733
4734 <text style="text_m">
4735 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004737 </text>
4738
4739 <template name="console"/>
4740
4741 <template name="progress_bar"/>
4742
4743 <action>
4744 <action function="decrypt"/>
4745 </action>
4746
4747 <action>
4748 <conditions>
4749 <condition var1="tw_operation_state" var2="1"/>
4750 <condition var1="tw_operation_status" op="!=" var2="0"/>
4751 </conditions>
4752 <actions>
4753 <action function="set">tw_password_fail=1</action>
4754 <action function="page">decrypt</action>
4755 </actions>
4756 </action>
4757
4758 <action>
4759 <conditions>
4760 <condition var1="tw_operation_state" var2="1"/>
4761 <condition var1="tw_operation_status" op="=" var2="0"/>
4762 </conditions>
4763 <actions>
4764 <action function="set">tw_page_done=1</action>
4765 <action function="page">main</action>
4766 </actions>
4767 </action>
4768 </page>
4769
z31s1g28f0a922015-11-07 18:50:22 +01004770 <page name="terminalcommand">
4771 <template name="page"/>
4772
4773 <fill color="%background_color%">
4774 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4775 </fill>
4776
z31s1g56189522016-01-13 19:12:40 +01004777 <terminal>
4778 <condition var1="tw_hide_kb" var2="0"/>
4779 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4780 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004781
z31s1g56189522016-01-13 19:12:40 +01004782 <terminal>
4783 <condition var1="tw_hide_kb" var2="1"/>
4784 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4785 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004786
z31s1g56189522016-01-13 19:12:40 +01004787 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004788
z31s1g56189522016-01-13 19:12:40 +01004789 <object type="fill" color="#000000">
4790 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4791 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004792
z31s1g608d7ff2016-01-18 19:47:25 +01004793 <button>
z31s1g56189522016-01-13 19:12:40 +01004794 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4795 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4796 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4797 <image resource="back" />
4798 <condition var1="tw_busy" var2="0" />
4799 <actions>
4800 <action function="set">tw_hide_kb=0</action>
4801 <action function="page">advanced</action>
4802 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004803 </button>
z31s1g56189522016-01-13 19:12:40 +01004804
z31s1g608d7ff2016-01-18 19:47:25 +01004805 <button>
z31s1g56189522016-01-13 19:12:40 +01004806 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4807 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4808 <condition var1="tw_hide_kb" op="=" var2="0" />
4809 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4810 <image resource="kb_hide" />
4811 <condition var1="tw_busy" var2="0" />
4812 <actions>
4813 <action function="set">tw_hide_kb=1</action>
4814 <action function="page">terminalcommand</action>
4815 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004816 </button>
z31s1g56189522016-01-13 19:12:40 +01004817
z31s1g608d7ff2016-01-18 19:47:25 +01004818 <button>
z31s1g56189522016-01-13 19:12:40 +01004819 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4820 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4821 <condition var1="tw_hide_kb" op="=" var2="1" />
4822 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4823 <image resource="kb_show" />
4824 <condition var1="tw_busy" var2="0" />
4825 <actions>
4826 <action function="set">tw_hide_kb=0</action>
4827 <action function="page">terminalcommand</action>
4828 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004829 </button>
z31s1g56189522016-01-13 19:12:40 +01004830
z31s1g608d7ff2016-01-18 19:47:25 +01004831 <button>
z31s1g56189522016-01-13 19:12:40 +01004832 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4833 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4834 <image resource="home" />
4835 <condition var1="tw_busy" var2="0" />
4836 <actions>
4837 <action function="set">tw_hide_kb=0</action>
4838 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004839 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004840 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004841 </button>
z31s1g56189522016-01-13 19:12:40 +01004842
z31s1g608d7ff2016-01-18 19:47:25 +01004843 <button>
z31s1g56189522016-01-13 19:12:40 +01004844 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4845 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4846 <condition var1="tw_hide_kb" op="=" var2="0" />
4847 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4848 <image resource="kb_hide" />
4849 <condition var1="tw_busy" var2="0" />
4850 <actions>
4851 <action function="set">tw_hide_kb=1</action>
4852 <action function="page">terminalcommand</action>
4853 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004854 </button>
z31s1g56189522016-01-13 19:12:40 +01004855
z31s1g608d7ff2016-01-18 19:47:25 +01004856 <button>
z31s1g56189522016-01-13 19:12:40 +01004857 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4858 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4859 <condition var1="tw_hide_kb" op="=" var2="1" />
4860 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4861 <image resource="kb_show" />
4862 <condition var1="tw_busy" var2="0" />
4863 <actions>
4864 <action function="set">tw_hide_kb=0</action>
4865 <action function="page">terminalcommand</action>
4866 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004867 </button>
z31s1g56189522016-01-13 19:12:40 +01004868
z31s1g608d7ff2016-01-18 19:47:25 +01004869 <button>
z31s1g56189522016-01-13 19:12:40 +01004870 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4871 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4872 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4873 <image resource="back" />
4874 <condition var1="tw_busy" var2="0" />
4875 <actions>
4876 <action function="set">tw_hide_kb=0</action>
4877 <action function="page">advanced</action>
4878 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004879 </button>
z31s1g56189522016-01-13 19:12:40 +01004880
z31s1g608d7ff2016-01-18 19:47:25 +01004881 <button>
z31s1g56189522016-01-13 19:12:40 +01004882 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4883 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4884 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4885 <image resource="back" />
4886 <condition var1="tw_busy" var2="0" />
4887 <actions>
4888 <action function="set">tw_hide_kb=0</action>
4889 <action function="page">advanced</action>
4890 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004891 </button>
z31s1g56189522016-01-13 19:12:40 +01004892
z31s1g608d7ff2016-01-18 19:47:25 +01004893 <button>
z31s1g56189522016-01-13 19:12:40 +01004894 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4895 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4896 <condition var1="tw_hide_kb" op="=" var2="0" />
4897 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4898 <image resource="kb_hide" />
4899 <condition var1="tw_busy" var2="0" />
4900 <actions>
4901 <action function="set">tw_hide_kb=1</action>
4902 <action function="page">terminalcommand</action>
4903 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004904 </button>
z31s1g56189522016-01-13 19:12:40 +01004905
z31s1g608d7ff2016-01-18 19:47:25 +01004906 <button>
z31s1g56189522016-01-13 19:12:40 +01004907 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4908 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4909 <condition var1="tw_hide_kb" op="=" var2="1" />
4910 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4911 <image resource="kb_show" />
4912 <condition var1="tw_busy" var2="0" />
4913 <actions>
4914 <action function="set">tw_hide_kb=0</action>
4915 <action function="page">terminalcommand</action>
4916 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004917 </button>
z31s1g56189522016-01-13 19:12:40 +01004918
z31s1g608d7ff2016-01-18 19:47:25 +01004919 <button>
z31s1g56189522016-01-13 19:12:40 +01004920 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4921 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4922 <image resource="home" />
4923 <condition var1="tw_busy" var2="0" />
4924 <actions>
4925 <action function="set">tw_hide_kb=0</action>
4926 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004927 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004928 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004929 </button>
z31s1g56189522016-01-13 19:12:40 +01004930
z31s1g608d7ff2016-01-18 19:47:25 +01004931 <button>
z31s1g56189522016-01-13 19:12:40 +01004932 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4933 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4934 <condition var1="tw_hide_kb" op="=" var2="0" />
4935 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4936 <image resource="kb_hide" />
4937 <condition var1="tw_busy" var2="0" />
4938 <actions>
4939 <action function="set">tw_hide_kb=1</action>
4940 <action function="page">terminalcommand</action>
4941 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004942 </button>
z31s1g56189522016-01-13 19:12:40 +01004943
z31s1g608d7ff2016-01-18 19:47:25 +01004944 <button>
z31s1g56189522016-01-13 19:12:40 +01004945 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4946 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4947 <condition var1="tw_hide_kb" op="=" var2="1" />
4948 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4949 <image resource="kb_show" />
4950 <condition var1="tw_busy" var2="0" />
4951 <actions>
4952 <action function="set">tw_hide_kb=0</action>
4953 <action function="page">terminalcommand</action>
4954 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004955 </button>
z31s1g56189522016-01-13 19:12:40 +01004956
z31s1g608d7ff2016-01-18 19:47:25 +01004957 <button>
z31s1g56189522016-01-13 19:12:40 +01004958 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4959 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4960 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4961 <image resource="back" />
4962 <condition var1="tw_busy" var2="0" />
4963 <actions>
4964 <action function="set">tw_hide_kb=0</action>
4965 <action function="page">advanced</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004966 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004967 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004968 </button>
z31s1g56189522016-01-13 19:12:40 +01004969
z31s1g608d7ff2016-01-18 19:47:25 +01004970 <button>
z31s1g56189522016-01-13 19:12:40 +01004971 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4972 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4973 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4974 <image resource="back" />
4975 <condition var1="tw_busy" var2="0" />
4976 <actions>
4977 <action function="set">tw_hide_kb=0</action>
4978 <action function="page">advanced</action>
4979 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004980 </button>
z31s1g56189522016-01-13 19:12:40 +01004981
z31s1g608d7ff2016-01-18 19:47:25 +01004982 <button>
z31s1g56189522016-01-13 19:12:40 +01004983 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4984 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4985 <condition var1="tw_hide_kb" op="=" var2="0" />
4986 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4987 <image resource="kb_hide" />
4988 <condition var1="tw_busy" var2="0" />
4989 <actions>
4990 <action function="set">tw_hide_kb=1</action>
4991 <action function="page">terminalcommand</action>
4992 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004993 </button>
z31s1g56189522016-01-13 19:12:40 +01004994
z31s1g608d7ff2016-01-18 19:47:25 +01004995 <button>
z31s1g56189522016-01-13 19:12:40 +01004996 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4997 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4998 <condition var1="tw_hide_kb" op="=" var2="1" />
4999 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5000 <image resource="kb_show" />
5001 <condition var1="tw_busy" var2="0" />
5002 <actions>
5003 <action function="set">tw_hide_kb=0</action>
5004 <action function="page">terminalcommand</action>
5005 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005006 </button>
z31s1g56189522016-01-13 19:12:40 +01005007
z31s1g608d7ff2016-01-18 19:47:25 +01005008 <button>
z31s1g56189522016-01-13 19:12:40 +01005009 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5010 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5011 <image resource="home" />
5012 <condition var1="tw_busy" var2="0" />
5013 <actions>
5014 <action function="set">tw_hide_kb=0</action>
5015 <action function="key">home</action>
5016 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005017 </button>
z31s1g56189522016-01-13 19:12:40 +01005018
z31s1g608d7ff2016-01-18 19:47:25 +01005019 <button>
z31s1g56189522016-01-13 19:12:40 +01005020 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5021 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5022 <condition var1="tw_hide_kb" op="=" var2="0" />
5023 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5024 <image resource="kb_hide" />
5025 <condition var1="tw_busy" var2="0" />
5026 <actions>
5027 <action function="set">tw_hide_kb=1</action>
5028 <action function="page">terminalcommand</action>
5029 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005030 </button>
z31s1g56189522016-01-13 19:12:40 +01005031
z31s1g608d7ff2016-01-18 19:47:25 +01005032 <button>
z31s1g56189522016-01-13 19:12:40 +01005033 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5034 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5035 <condition var1="tw_hide_kb" op="=" var2="1" />
5036 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5037 <image resource="kb_show" />
5038 <condition var1="tw_busy" var2="0" />
5039 <actions>
5040 <action function="set">tw_hide_kb=0</action>
5041 <action function="page">terminalcommand</action>
5042 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005043 </button>
z31s1g56189522016-01-13 19:12:40 +01005044
z31s1g608d7ff2016-01-18 19:47:25 +01005045 <button>
z31s1g56189522016-01-13 19:12:40 +01005046 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5047 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5048 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5049 <image resource="back" />
5050 <condition var1="tw_busy" var2="0" />
5051 <actions>
5052 <action function="set">tw_hide_kb=0</action>
5053 <action function="page">advanced</action>
5054 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005055 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005056
5057 <action>
5058 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005059 <actions>
5060 <action function="page">main</action>
5061 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00005062 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005063 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005064 </action>
5065
5066 <action>
5067 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005068 <actions>
5069 <action function="page">advanced</action>
5070 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00005071 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005072 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005073 </action>
z31s1g56189522016-01-13 19:12:40 +01005074
5075 <object type="action">
5076 <touch key="power+voldown" />
5077 <action function="screenshot" />
5078 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005079 </page>
5080
5081 <page name="sideload">
5082 <template name="page"/>
5083
5084 <text style="text_l">
5085 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005086 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005087 </text>
5088
5089 <text style="text_m">
5090 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005091 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005092 </text>
5093
5094 <checkbox>
5095 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005096 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005097 <data variable="tw_wipe_dalvik"/>
5098 </checkbox>
5099
5100 <checkbox>
5101 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005102 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005103 <data variable="tw_wipe_cache"/>
5104 </checkbox>
5105
5106 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005107 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005108 <actions>
5109 <action function="set">tw_back=advanced</action>
5110 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005111 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5112 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5113 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005114 <action function="set">tw_has_cancel=1</action>
5115 <action function="set">tw_show_reboot=1</action>
5116 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5117 <action function="page">action_page</action>
5118 </actions>
5119 </slider>
5120
5121 <action>
5122 <touch key="home"/>
5123 <action function="page">main</action>
5124 </action>
5125
5126 <action>
5127 <touch key="back"/>
5128 <action function="page">advanced</action>
5129 </action>
5130 </page>
5131
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005132 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005133 <template name="page"/>
5134
5135 <text style="text_l">
5136 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005137 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005138 </text>
5139
5140 <text style="text_m">
5141 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005142 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005143 </text>
5144
5145 <text style="text_m_accent">
5146 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005147 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005148 </text>
5149
z31s1g28f0a922015-11-07 18:50:22 +01005150 <text style="text_m_fail">
5151 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005152 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005153 </text>
5154
5155 <text style="text_m_fail">
5156 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005157 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005158 </text>
5159
5160 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005161 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005162 <actions>
5163 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005164 <action function="set">tw_action=fixcontexts</action>
5165 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5166 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005167 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005168 <action function="set">tw_show_reboot=1</action>
5169 <action function="page">action_page</action>
5170 </actions>
5171 </slider>
5172
5173 <action>
5174 <touch key="home"/>
5175 <action function="page">main</action>
5176 </action>
5177
5178 <action>
5179 <touch key="back"/>
5180 <action function="page">advanced</action>
5181 </action>
5182 </page>
5183
z31s1g28f0a922015-11-07 18:50:22 +01005184 <page name="slideout">
5185 <fill color="%background_color%">
5186 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5187 </fill>
5188
5189 <console>
5190 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5191 </console>
5192
5193 <button>
5194 <fill color="%transparent%"/>
5195 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5196 <action function="overlay"/>
5197 </button>
5198
5199 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005200 <touch key="power"/>
5201 <action function="togglebacklight"/>
5202 </action>
5203
5204 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005205 <touch key="power+voldown"/>
5206 <action function="screenshot"/>
5207 </action>
5208 </page>
5209
5210 <page name="select_storage">
5211 <fill color="%semi_transparent%">
5212 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5213 </fill>
5214
5215 <fill color="%background_color%">
5216 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5217 </fill>
5218
5219 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005220 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005221 <data name="tw_storage_path"/>
5222 <listtype name="storage"/>
5223 </partitionlist>
5224
5225 <button style="button_third_width">
5226 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005227 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005228 <actions>
5229 <action function="set">tw_clear_destination=%tw_back%</action>
5230 <action function="overlay"/>
5231 <action function="page">clear_vars</action>
5232 </actions>
5233 </button>
5234
5235 <fill color="#000000">
5236 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5237 </fill>
5238
5239 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005240 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5241 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5242 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5243 <image resource="back" />
5244 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005245 <actions>
5246 <action function="overlay"/>
5247 <action function="key">%tw_back%</action>
5248 </actions>
5249 </button>
5250
5251 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005252 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5253 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5254 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5255 <image resource="console" />
5256 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005257 <action function="overlay">slideout</action>
5258 </button>
5259
5260 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005261 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5262 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5263 <image resource="home" />
5264 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005265 <actions>
5266 <action function="overlay"/>
5267 <action function="key">home</action>
5268 </actions>
5269 </button>
5270
5271 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005272 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5273 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5274 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5275 <image resource="console" />
5276 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005277 <action function="overlay">slideout</action>
5278 </button>
5279
5280 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005281 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5282 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5283 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5284 <image resource="back" />
5285 <condition var1="tw_busy" var2="0" />
5286 <actions>
5287 <action function="overlay"/>
5288 <action function="key">%tw_back%</action>
5289 </actions>
5290 </button>
5291
5292 <button>
5293 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5294 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5295 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5296 <image resource="back" />
5297 <condition var1="tw_busy" var2="0" />
5298 <actions>
5299 <action function="overlay"/>
5300 <action function="key">%tw_back%</action>
5301 </actions>
5302 </button>
5303
5304 <button>
5305 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5306 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5307 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5308 <image resource="console" />
5309 <condition var1="tw_busy" var2="0" />
5310 <action function="overlay">slideout</action>
5311 </button>
5312
5313 <button>
5314 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5315 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5316 <image resource="home" />
5317 <condition var1="tw_busy" var2="0" />
5318 <actions>
5319 <action function="overlay"/>
5320 <action function="key">home</action>
5321 </actions>
5322 </button>
5323
5324 <button>
5325 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5326 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5327 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5328 <image resource="console" />
5329 <condition var1="tw_busy" var2="0" />
5330 <action function="overlay">slideout</action>
5331 </button>
5332
5333 <button>
5334 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5335 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5336 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5337 <image resource="back" />
5338 <condition var1="tw_busy" var2="0" />
5339 <actions>
5340 <action function="overlay"/>
5341 <action function="key">%tw_back%</action>
5342 </actions>
5343 </button>
5344
5345 <button>
5346 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5347 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5348 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5349 <image resource="back" />
5350 <condition var1="tw_busy" var2="0" />
5351 <actions>
5352 <action function="overlay"/>
5353 <action function="key">%tw_back%</action>
5354 </actions>
5355 </button>
5356
5357 <button>
5358 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5359 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5360 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5361 <image resource="console" />
5362 <condition var1="tw_busy" var2="0" />
5363 <action function="overlay">slideout</action>
5364 </button>
5365
5366 <button>
5367 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5368 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5369 <image resource="home" />
5370 <condition var1="tw_busy" var2="0" />
5371 <actions>
5372 <action function="overlay"/>
5373 <action function="key">home</action>
5374 </actions>
5375 </button>
5376
5377 <button>
5378 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5379 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5380 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5381 <image resource="console" />
5382 <condition var1="tw_busy" var2="0" />
5383 <action function="overlay">slideout</action>
5384 </button>
5385
5386 <button>
5387 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5388 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5389 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5390 <image resource="back" />
5391 <condition var1="tw_busy" var2="0" />
5392 <actions>
5393 <action function="overlay"/>
5394 <action function="key">%tw_back%</action>
5395 </actions>
5396 </button>
5397
5398 <action>
5399 <touch key="power+voldown"/>
5400 <action function="screenshot"/>
5401 </action>
5402 </page>
5403
5404 <page name="select_language">
5405 <fill color="%semi_transparent%">
5406 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5407 </fill>
5408
5409 <fill color="%background_color%">
5410 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5411 </fill>
5412
5413 <listbox>
5414 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5415 <text>{@select_language=Select Language:}</text>
5416 <icon selected="radio_true" unselected="radio_false" />
5417 <data name="tw_language" />
5418 </listbox>
5419
5420 <button style="button_third_width">
5421 <placement x="%dialog_button_x%" y="%row13_y%"/>
5422 <text>{@ok_btn=OK}</text>
5423 <actions>
5424 <action function="overlay"/>
5425 <action function="setlanguage"></action>
5426 </actions>
5427 </button>
5428
5429 <fill color="#000000">
5430 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5431 </fill>
5432
5433 <button>
5434 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5435 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5436 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5437 <image resource="back" />
5438 <condition var1="tw_busy" var2="0" />
5439 <actions>
5440 <action function="overlay"/>
5441 <action function="key">%tw_back%</action>
5442 </actions>
5443 </button>
5444
5445 <button>
5446 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5447 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5448 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5449 <image resource="console" />
5450 <condition var1="tw_busy" var2="0" />
5451 <action function="overlay">slideout</action>
5452 </button>
5453
5454 <button>
5455 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5456 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5457 <image resource="home" />
5458 <condition var1="tw_busy" var2="0" />
5459 <actions>
5460 <action function="overlay"/>
5461 <action function="key">home</action>
5462 </actions>
5463 </button>
5464
5465 <button>
5466 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5467 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5468 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5469 <image resource="console" />
5470 <condition var1="tw_busy" var2="0" />
5471 <action function="overlay">slideout</action>
5472 </button>
5473
5474 <button>
5475 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5476 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5477 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5478 <image resource="back" />
5479 <condition var1="tw_busy" var2="0" />
5480 <actions>
5481 <action function="overlay"/>
5482 <action function="key">%tw_back%</action>
5483 </actions>
5484 </button>
5485
5486 <button>
5487 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5488 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5489 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5490 <image resource="back" />
5491 <condition var1="tw_busy" var2="0" />
5492 <actions>
5493 <action function="overlay"/>
5494 <action function="key">%tw_back%</action>
5495 </actions>
5496 </button>
5497
5498 <button>
5499 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5500 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5501 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5502 <image resource="console" />
5503 <condition var1="tw_busy" var2="0" />
5504 <action function="overlay">slideout</action>
5505 </button>
5506
5507 <button>
5508 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5509 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5510 <image resource="home" />
5511 <condition var1="tw_busy" var2="0" />
5512 <actions>
5513 <action function="overlay"/>
5514 <action function="key">home</action>
5515 </actions>
5516 </button>
5517
5518 <button>
5519 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5520 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5521 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5522 <image resource="console" />
5523 <condition var1="tw_busy" var2="0" />
5524 <action function="overlay">slideout</action>
5525 </button>
5526
5527 <button>
5528 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5529 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5530 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5531 <image resource="back" />
5532 <condition var1="tw_busy" var2="0" />
5533 <actions>
5534 <action function="overlay"/>
5535 <action function="key">%tw_back%</action>
5536 </actions>
5537 </button>
5538
5539 <button>
5540 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5541 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5542 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5543 <image resource="back" />
5544 <condition var1="tw_busy" var2="0" />
5545 <actions>
5546 <action function="overlay"/>
5547 <action function="key">%tw_back%</action>
5548 </actions>
5549 </button>
5550
5551 <button>
5552 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5553 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5554 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5555 <image resource="console" />
5556 <condition var1="tw_busy" var2="0" />
5557 <action function="overlay">slideout</action>
5558 </button>
5559
5560 <button>
5561 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5562 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5563 <image resource="home" />
5564 <condition var1="tw_busy" var2="0" />
5565 <actions>
5566 <action function="overlay"/>
5567 <action function="key">home</action>
5568 </actions>
5569 </button>
5570
5571 <button>
5572 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5573 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5574 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5575 <image resource="console" />
5576 <condition var1="tw_busy" var2="0" />
5577 <action function="overlay">slideout</action>
5578 </button>
5579
5580 <button>
5581 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5582 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5583 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5584 <image resource="back" />
5585 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005586 <actions>
5587 <action function="overlay"/>
5588 <action function="key">%tw_back%</action>
5589 </actions>
5590 </button>
5591
5592 <action>
5593 <touch key="power+voldown"/>
5594 <action function="screenshot"/>
5595 </action>
5596 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005597
5598 <page name="decrypt_users">
5599 <template name="page"/>
5600
5601 <text style="text_l">
5602 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5603 <text>{@decrypt_users=Decrypt Users}</text>
5604 </text>
5605
5606 <text style="text_m_accent">
5607 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5608 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5609 </text>
5610
5611 <listbox>
5612 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5613 <text>{@select_user=Select User}</text>
5614 <icon selected="radio_true" unselected="radio_false" />
5615 <data name="tw_crypto_user_id" />
5616 </listbox>
5617
5618 <button style="main_button_half_width">
5619 <placement x="%col2_x_right%" y="%row15a_y%"/>
5620 <text>{@decrypt_users=Decrypt Users}</text>
5621 <action function="set">tw_crypto_password=</action>
5622 <action function="set">tw_password_fail=0</action>
5623 <action function="page">decrypt</action>
5624 </button>
5625
5626 <action>
5627 <touch key="home"/>
5628 <action function="page">main</action>
5629 </action>
5630
5631 <action>
5632 <touch key="back"/>
5633 <action function="page">advanced</action>
5634 </action>
5635 </page>
epicX98053c32021-01-04 13:01:31 +05305636
5637 <page name="changeTwrpFolder">
5638 <template name="page"/>
5639
5640 <text style="text_l">
5641 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5642 <text>{@advanced_hdr=Advanced}</text>
5643 </text>
5644
5645 <text style="text_m">
5646 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5647 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5648 </text>
5649
5650 <text style="text_m_accent">
5651 <placement x="%col1_x_left%" y="%row2_y%"/>
5652 <text>{@name=Name:}</text>
5653 </text>
5654
5655 <input>
5656 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5657 <text>%tw_custom_folder%</text>
5658 <data name="tw_custom_folder"/>
5659 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5660 <actions>
5661 <action function="set">tw_back=changeTwrpFolder</action>
5662 <action function="set">tw_action=applycustomtwrpfolder</action>
5663 <action function="set">tw_action_param=%tw_custom_folder%</action>
5664 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5665 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5666 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5667 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5668 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5669 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5670 <action function="set">tw_existpage=changeTwrpFolder</action>
5671 <action function="set">tw_notexistpage=confirm_action</action>
5672 <action function="page">filecheck</action>
5673 </actions>
5674 </input>
5675
5676 <fill color="%accent_color%">
5677 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5678 </fill>
5679
5680 <fill color="%text_fail_color%">
5681 <condition var1="tw_fileexists" var2="1"/>
5682 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5683 </fill>
5684
5685 <text style="text_m_fail">
5686 <condition var1="tw_fileexists" var2="1"/>
5687 <placement x="%col1_x_left%" y="%row4_y%"/>
5688 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5689 </text>
5690
5691 <button style="main_button_half_width_low">
5692 <placement x="%indent%" y="%row5_y%"/>
5693 <text>{@cancel_btn=Cancel}</text>
5694 <action function="page">advanced</action>
5695 </button>
5696
5697 <button style="main_button_half_width_low">
5698 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5699 <placement x="%date_button_x%" y="%row5_y%"/>
5700 <text>{@restore_defaults_btn=Restore Defaults}</text>
5701 <actions>
5702 <action function="set">tw_back=changeTwrpFolder</action>
5703 <action function="set">tw_action=applycustomtwrpfolder</action>
5704 <action function="set">tw_action_param=TWRP</action>
5705 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5706 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5707 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5708 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5709 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5710 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5711 <action function="set">tw_existpage=changeTwrpFolder</action>
5712 <action function="set">tw_notexistpage=confirm_action</action>
5713 <action function="page">filecheck</action>
5714 </actions>
5715 </button>
5716
5717 <template name="keyboardtemplate"/>
5718
5719 <action>
5720 <touch key="home"/>
5721 <actions>
5722 <action function="page">main</action>
5723 </actions>
5724 </action>
5725
5726 <action>
5727 <touch key="back"/>
5728 <actions>
5729 <action function="page">advanced</action>
5730 </actions>
5731 </action>
5732 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005733 </pages>
5734</recovery>