blob: cdaf229cb8c732ff33037868d029a9be3bc5e497 [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>
463 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
464 <data variable="tw_install_reboot"/>
465 </listitem>
466 <listitem name="{@inject_twrp_chk=Inject TWRP after install}">
467 <condition var1="tw_has_injecttwrp" var2="1"/>
468 <data variable="tw_inject_after_zip"/>
469 </listitem>
470 </listbox>
bigbiffa869fc72016-03-01 19:40:36 -0500471
z31s1g28f0a922015-11-07 18:50:22 +0100472 <button style="main_button_half_width">
473 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 <action function="page">install</action>
476 </button>
477
478 <button style="main_button_half_width">
479 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 <actions>
482 <action function="queueclear"/>
483 <action function="page">install</action>
484 </actions>
485 </button>
486
487 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500488 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100489 <action function="flash">flash_zip</action>
490 </slider>
491
492 <action>
493 <touch key="back"/>
494 <actions>
495 <action function="cancelzip"/>
496 <action function="page">install</action>
497 </actions>
498 </action>
499
500 <action>
501 <touch key="home"/>
502 <action function="page">main</action>
503 </action>
504 </page>
505
506 <page name="flash_zip">
507 <template name="page"/>
508
509 <text style="text_l">
510 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500511 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100512 </text>
513
514 <text style="text_m">
515 <placement x="%col1_x_header%" y="%row4_header_y%"/>
516 <text>%tw_file%</text>
517 </text>
518
519 <template name="console"/>
520
521 <template name="progress_bar"/>
522
523 <action>
524 <condition var1="tw_operation_state" var2="1"/>
525 <action function="page">flash_done</action>
526 </action>
527 </page>
528
529 <page name="flash_done">
530 <template name="page"/>
531
532 <text style="text_l">
533 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <text style="text_m_fail">
538 <condition var1="tw_operation_status" op="!=" var2="0"/>
539 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500540 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100541 </text>
542
543 <text style="text_m">
544 <condition var1="tw_operation_status" var2="0"/>
545 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500546 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 </text>
548
549 <template name="console"/>
550
551 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500552 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100553 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500554 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100555 <actions>
556 <action function="set">tw_back=flash_done</action>
557 <action function="set">tw_action=wipe</action>
558 <action function="set">tw_action_param=/cache</action>
559 <action function="set">tw_has_action2=1</action>
560 <action function="set">tw_action2=wipe</action>
561 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500562 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
563 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
564 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
565 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100566 <action function="page">confirm_action</action>
567 </actions>
568 </button>
569
570 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500571 <condition var1="tw_ab_device" var2="1"/>
572 <placement x="%indent%" y="%row21a_y%"/>
573 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
574 <actions>
575 <action function="set">tw_back=flash_done</action>
576 <action function="set">tw_action=wipe</action>
577 <action function="set">tw_action_param=dalvik</action>
578 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
579 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
580 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
581 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
582 <action function="page">confirm_action</action>
583 </actions>
584 </button>
585
586 <button style="main_button_half_width">
Chaosmaster90df3de2020-02-07 20:33:43 +0100587 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100588 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500589 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100590 <actions>
591 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500592 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100593 </actions>
594 </button>
595
Chaosmaster90df3de2020-02-07 20:33:43 +0100596 <button style="main_button_half_width">
597 <condition var1="tw_ab_device" var2="1"/>
598 <placement x="%center_x%" y="%row15a_y%"/>
599 <text>{@reboot_btn=Reboot}</text>
600 <actions>
601 <action function="set">tw_back=main2</action>
602 <action function="page">reboot</action>
603 </actions>
604 </button>
605
606
z31s1g28f0a922015-11-07 18:50:22 +0100607 <action>
608 <touch key="back"/>
609 <actions>
610 <action function="set">tw_clear_destination=install</action>
611 <action function="page">clear_vars</action>
612 </actions>
613 </action>
614
615 <action>
616 <touch key="home"/>
617 <actions>
618 <action function="set">tw_clear_destination=main2</action>
619 <action function="page">clear_vars</action>
620 </actions>
621 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500622
623 <action>
624 <conditions>
625 <condition var1="tw_install_reboot" var2="1"/>
626 <condition var1="tw_operation_status" var2="0"/>
627 <condition var1="tw_reboot_system" var2="1"/>
628 </conditions>
629 <actions>
630 <action function="set">tw_sleep=%tw_sleep_total%</action>
631 <action function="page">flash_sleep_and_reboot</action>
632 </actions>
633 </action>
634 </page>
635
636 <page name="flash_sleep_and_reboot">
637 <template name="page"/>
638
639 <text style="text_l">
640 <placement x="%col1_x_header%" y="%row3_header_y%"/>
641 <text>{@install_zip_hdr=Install Zip}</text>
642 </text>
643
644 <text style="text_m">
645 <placement x="%col1_x_header%" y="%row4_header_y%"/>
646 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
647 </text>
648
649 <template name="console"/>
650
651 <template name="progress_bar"/>
652
653 <button style="main_button_half_width">
654 <condition var1="tw_sleep" op="&gt;" var2="0"/>
655 <placement x="%center_x%" y="%row15a_y%"/>
656 <text>{@cancel_btn=Cancel}</text>
657 <actions>
658 <action function="set">tw_install_reboot=0</action>
659 <action function="page">flash_done</action>
660 </actions>
661 </button>
662
663 <action>
664 <conditions>
665 <condition var1="tw_sleep" var2="tw_sleep_total"/>
666 <condition var1="tw_install_reboot" var2="1"/>
667 </conditions>
668 <action function="sleepcounter">%tw_sleep_total%</action>
669 </action>
670
671 <action>
672 <conditions>
673 <condition var1="tw_sleep" var2="0"/>
674 <condition var1="tw_install_reboot" var2="1"/>
675 </conditions>
676 <actions>
677 <action function="sleep">50000</action>
678 <action function="set">tw_back=main2</action>
679 <action function="page">reboot_system_routine</action>
680 </actions>
681 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100682 </page>
683
684 <page name="flashimage_confirm">
685 <template name="page"/>
686
687 <text style="text_l">
688 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500689 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100690 </text>
691
692 <text style="text_m">
693 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500694 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100695 </text>
696
697 <text style="text_m_accent">
698 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500699 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100700 </text>
701
702 <text style="text_m">
703 <placement x="%col1_x_left%" y="%row9_y%"/>
704 <text>%tw_zip_location%</text>
705 </text>
706
707 <text style="text_m_accent">
708 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500709 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100710 </text>
711
712 <text style="text_m">
713 <placement x="%col1_x_left%" y="%row12_y%"/>
714 <text>%tw_file%</text>
715 </text>
716
717 <partitionlist>
718 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
719 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500720 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100721 <data name="tw_flash_partition"/>
722 <listtype name="flashimg"/>
723 </partitionlist>
724
epicXb7337372021-02-24 23:12:08 +0530725 <button style="checkbox">
726 <conditions>
727 <condition var1="tw_is_slot_part" op="=" var2="1"/>
728 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
729 <condition var1="tw_has_boot_slots" var2="1"/>
730 </conditions>
731 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
732 <text>{@flash_ab_both_slots=Flash to both slots}</text>
733 <image resource="checkbox_false"/>
734 <action function="set">tw_flash_both_slots=1</action>
735 </button>
736
737 <button style="checkbox">
738 <conditions>
739 <condition var1="tw_is_slot_part" op="=" var2="1"/>
740 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
741 <condition var1="tw_has_boot_slots" var2="1"/>
742 </conditions>
743 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
744 <text>{@flash_ab_both_slots=Flash to both slots}</text>
745 <image resource="checkbox_true"/>
746 <action function="set">tw_flash_both_slots=0</action>
747 </button>
748
z31s1g28f0a922015-11-07 18:50:22 +0100749 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500750 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100751 <actions>
752 <action function="set">tw_back=flashimage_confirm</action>
753 <action function="set">tw_action=flashimage</action>
754 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500755 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100756 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500757 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100758 <action function="page">action_page</action>
759 </actions>
760 <action function="flashimage"/>
761 </slider>
762
763 <action>
764 <touch key="back"/>
765 <actions>
766 <action function="set">tw_clear_destination=install</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </action>
770
771 <action>
772 <touch key="home"/>
773 <actions>
774 <action function="set">tw_clear_destination=main2</action>
775 <action function="page">clear_vars</action>
776 </actions>
777 </action>
778 </page>
779
780 <page name="clear_vars">
781 <action>
782 <action function="set">tw_operation_state=0</action>
783 <action function="set">tw_text1=</action>
784 <action function="set">tw_text2=</action>
785 <action function="set">tw_text3=</action>
786 <action function="set">tw_text4=</action>
787 <action function="set">tw_action_text1=</action>
788 <action function="set">tw_action_text2=</action>
789 <action function="set">tw_action_param=</action>
790 <action function="set">tw_has_action2=0</action>
791 <action function="set">tw_action2=</action>
792 <action function="set">tw_action2_param=</action>
793 <action function="set">tw_has_cancel=0</action>
794 <action function="set">tw_cancel_action=</action>
795 <action function="set">tw_cancel_param=</action>
796 <action function="set">tw_show_exclamation=0</action>
797 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400798 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400799 <action function="set">tw_multiuser_warning_accepted=</action>
800 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100801 <action function="page">%tw_clear_destination%</action>
802 </action>
803 </page>
804
Matt Mower908dd252016-05-25 02:26:50 -0500805 <page name="reboot_system_routine">
806 <action>
807 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500808 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500809 <action function="set">tw_has_action2=0</action>
810 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
811 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
812 <action function="set">tw_text3=</action>
813 <action function="set">tw_text4=</action>
814 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
815 <action function="set">tw_action_text2=</action>
816 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
817 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
818 <action function="page">rebootcheck</action>
819 </action>
820 </page>
821
z31s1g28f0a922015-11-07 18:50:22 +0100822 <page name="confirm_action">
823 <template name="page"/>
824
825 <text style="text_l">
826 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500827 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100828 </text>
829
830 <text style="text_m">
831 <placement x="%col1_x_header%" y="%row4_header_y%"/>
832 <text/>
833 </text>
834
835 <text style="text_m_accent">
836 <placement x="%center_x%" y="%row2_y%" placement="5"/>
837 <text>%tw_text1%</text>
838 </text>
839
840 <text style="text_m_accent">
841 <placement x="%center_x%" y="%row3_y%" placement="5"/>
842 <text>%tw_text2%</text>
843 </text>
844
845 <text style="text_m">
846 <placement x="%center_x%" y="%row4_y%" placement="5"/>
847 <text>%tw_text3%</text>
848 </text>
849
850 <text style="text_m">
851 <placement x="%center_x%" y="%row5_y%" placement="5"/>
852 <text>%tw_text4%</text>
853 </text>
854
855 <text style="text_m">
856 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500857 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100858 </text>
859
860 <slider style="slider_centered">
861 <text>%tw_slider_text%</text>
862 <action function="page">action_page</action>
863 </slider>
864
865 <action>
866 <touch key="back"/>
867 <actions>
868 <action function="set">tw_clear_destination=%tw_back%</action>
869 <action function="page">clear_vars</action>
870 </actions>
871 </action>
872
873 <action>
874 <touch key="home"/>
875 <action function="page">main</action>
876 </action>
877 </page>
878
879 <page name="action_page">
880 <template name="page"/>
881
882 <text style="text_l">
883 <placement x="%col1_x_header%" y="%row3_header_y%"/>
884 <text>%tw_action_text1%</text>
885 </text>
886
887 <text style="text_m">
888 <placement x="%col1_x_header%" y="%row4_header_y%"/>
889 <text>%tw_action_text2%</text>
890 </text>
891
892 <template name="console"/>
893
894 <template name="progress_bar"/>
895
896 <button style="main_button_half_width">
897 <condition var1="tw_has_cancel" var2="1"/>
898 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500899 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100900 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
901 </button>
902
903 <action>
904 <condition var1="tw_operation_state" var2="1"/>
905 <actions>
906 <action function="page">action_complete</action>
907 </actions>
908 </action>
909
910 <action>
911 <condition var1="tw_has_action2" var2="0"/>
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 </actions>
915 </action>
916
917 <action>
918 <condition var1="tw_has_action2" var2="1"/>
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 <action function="%tw_action2%">%tw_action2_param%</action>
922 </actions>
923 </action>
924 </page>
925
926 <page name="singleaction_page">
927 <template name="page"/>
928
929 <text style="text_l">
930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
931 <text>%tw_action_text1%</text>
932 </text>
933
934 <text style="text_m">
935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
936 <text>%tw_action_text2%</text>
937 </text>
938
939 <template name="console"/>
940
941 <template name="progress_bar"/>
942
943 <action>
944 <condition var1="tw_operation_state" var2="1"/>
945 <actions>
946 <action function="set">tw_page_done=1</action>
947 </actions>
948 </action>
949
950 <action>
951 <condition var1="tw_has_action2" var2="0"/>
952 <actions>
953 <action function="%tw_action%">%tw_action_param%</action>
954 </actions>
955 </action>
956
957 <action>
958 <condition var1="tw_has_action2" var2="1"/>
959 <actions>
960 <action function="%tw_action%">%tw_action_param%</action>
961 <action function="%tw_action2%">%tw_action2_param%</action>
962 </actions>
963 </action>
964 </page>
965
966 <page name="action_complete">
967 <template name="page"/>
968
969 <text style="text_l">
970 <placement x="%col1_x_header%" y="%row3_header_y%"/>
971 <text>%tw_complete_text1%</text>
972 </text>
973
974 <text style="text_m_fail">
975 <condition var1="tw_operation_status" op="!=" var2="0"/>
976 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500977 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100978 </text>
979
980 <text style="text_m">
981 <condition var1="tw_operation_status" var2="0"/>
982 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500983 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100984 </text>
985
986 <template name="console"/>
987
988 <button style="main_button_half_width">
989 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500990 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100991 <actions>
992 <action function="set">tw_clear_destination=%tw_back%</action>
993 <action function="page">clear_vars</action>
994 </actions>
995 </button>
996
997 <button style="main_button_half_width">
998 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500999 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001000 <actions>
1001 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -05001002 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01001003 </actions>
1004 </button>
1005
1006 <action>
1007 <touch key="home"/>
1008 <actions>
1009 <action function="set">tw_clear_destination=main2</action>
1010 <action function="page">clear_vars</action>
1011 </actions>
1012 </action>
1013
1014 <action>
1015 <touch key="back"/>
1016 <actions>
1017 <action function="set">tw_clear_destination=%tw_back%</action>
1018 <action function="page">clear_vars</action>
1019 </actions>
1020 </action>
1021 </page>
1022
1023 <page name="filecheck">
1024 <action>
1025 <action function="fileexists">%tw_filecheck%</action>
1026 </action>
1027
1028 <action>
1029 <conditions>
1030 <condition var1="tw_operation_state" var2="1"/>
1031 <condition var1="tw_operation_status" var2="0"/>
1032 </conditions>
1033 <actions>
1034 <action function="set">tw_fileexists=1</action>
1035 <action function="page">%tw_existpage%</action>
1036 </actions>
1037 </action>
1038
1039 <action>
1040 <conditions>
1041 <condition var1="tw_operation_state" var2="1"/>
1042 <condition var1="tw_operation_status" var2="1"/>
1043 </conditions>
1044 <actions>
1045 <action function="set">tw_fileexists=0</action>
1046 <action function="page">%tw_notexistpage%</action>
1047 </actions>
1048 </action>
1049 </page>
1050
1051 <page name="rebootcheck">
1052 <action>
1053 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001054 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </action>
1056
1057 <action>
1058 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1059 <action function="page">confirm_action</action>
1060 </action>
1061 </page>
1062
1063 <page name="wipe">
1064 <template name="page"/>
1065
1066 <text style="text_l">
1067 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 </text>
1070
1071 <text style="text_m">
1072 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 </text>
1075
1076 <text style="text_m_accent">
1077 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 </text>
1080
1081 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001082 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001083 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1084 </text>
1085
1086 <text style="text_m_accent">
1087 <condition var1="tw_has_data_media" var2="1"/>
1088 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001090 </text>
1091
1092 <text style="text_m_accent">
1093 <conditions>
1094 <condition var1="tw_has_android_secure" var2="1"/>
1095 <condition var1="fileexists" var2="/and-sec"/>
1096 </conditions>
1097 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 </text>
1100
1101 <text style="text_m_accent">
1102 <condition var1="tw_has_sdext_partition" var2="1"/>
1103 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001104 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001105 </text>
1106
1107 <text style="text_m">
1108 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 </text>
1111
1112 <text style="text_m">
1113 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001114 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001115 </text>
1116
1117 <text style="text_m">
1118 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 </text>
1121
1122 <button style="main_button_half_width">
1123 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <actions>
1126 <action function="set">partitionlisterror=0</action>
1127 <action function="page">advancedwipe</action>
1128 </actions>
1129 </button>
1130
1131 <button style="main_button_half_width">
1132 <condition var1="tw_has_data_media" var2="1"/>
1133 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001134 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <action function="page">formatdata</action>
1136 </button>
1137
1138 <button style="main_button_half_width">
1139 <conditions>
1140 <condition var1="tw_is_encrypted" var2="1"/>
1141 <condition var1="tw_has_data_media" var2="0"/>
1142 </conditions>
1143 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001144 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001145 <actions>
1146 <action function="set">tw_back=wipe</action>
1147 <action function="set">tw_action=wipe</action>
1148 <action function="set">tw_action_param=DATAMEDIA</action>
1149 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001150 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001151 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1153 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1154 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001155 <action function="page">confirm_action</action>
1156 </actions>
1157 </button>
1158
1159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
1164 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1166 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001167 <action function="page">action_page</action>
1168 </actions>
1169 </slider>
1170
1171 <action>
1172 <touch key="back"/>
1173 <action function="page">main</action>
1174 </action>
1175
1176 <action>
1177 <touch key="home"/>
1178 <action function="page">main</action>
1179 </action>
1180 </page>
1181
1182 <page name="advancedwipe">
1183 <template name="page"/>
1184
1185 <action>
1186 <action function="set">tw_wipe_list=</action>
1187 </action>
1188
1189 <text style="text_l">
1190 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001192 </text>
1193
1194 <text style="text_m">
1195 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001196 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001197 </text>
1198
1199 <partitionlist>
1200 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 <data name="tw_wipe_list"/>
1203 <listtype name="wipe"/>
1204 </partitionlist>
1205
1206 <text style="text_m_fail">
1207 <condition var1="partitionlisterror" var2="1"/>
1208 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001209 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001210 </text>
1211
1212 <button style="main_button_m">
1213 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001216 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001217 <action function="page">checkpartitionlist</action>
1218 </actions>
1219 </button>
1220
1221 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001222 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001223 <actions>
1224 <action function="set">tw_back=advancedwipe</action>
1225 <action function="set">tw_action=wipe</action>
1226 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001227 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1228 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1229 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001230 <action function="page">action_page</action>
1231 </actions>
1232 </slider>
1233
1234 <action>
1235 <touch key="home"/>
1236 <action function="page">main</action>
1237 </action>
1238
1239 <action>
1240 <touch key="back"/>
1241 <action function="page">wipe</action>
1242 </action>
1243 </page>
1244
1245 <page name="formatdata">
1246 <template name="page"/>
1247
1248 <text style="text_l">
1249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001250 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001251 </text>
1252
1253 <text style="text_m">
1254 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001255 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001256 </text>
1257
1258 <text style="text_m_fail">
1259 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001260 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001261 </text>
1262
1263 <text style="text_m_fail">
1264 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001265 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001266 </text>
1267
Ethan Yonker66a19492015-12-10 10:19:45 -06001268 <text style="text_m_fail">
1269 <condition var1="tw_has_adopted_storage" var2="1"/>
1270 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1271 <text>{@format_data_adopted=Including Adopted Storage}</text>
1272 </text>
1273
z31s1g28f0a922015-11-07 18:50:22 +01001274 <text style="text_m">
1275 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001276 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001277 </text>
1278
1279 <text style="text_m">
1280 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001282 </text>
1283
1284 <input>
1285 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1286 <text>%tw_confirm_formatdata%</text>
1287 <data name="tw_confirm_formatdata"/>
1288 <restrict minlen="3" maxlen="3" allow="yes"/>
1289 <action function="page">formatdata_confirm</action>
1290 </input>
1291
1292 <fill color="%accent_color%">
1293 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1294 </fill>
1295
1296 <template name="keyboardtemplate"/>
1297
1298 <action>
1299 <touch key="home"/>
1300 <action function="page">main</action>
1301 </action>
1302
1303 <action>
1304 <touch key="back"/>
1305 <action function="page">wipe</action>
1306 </action>
1307 </page>
1308
1309 <page name="formatdata_confirm">
1310 <action>
1311 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1312 <actions>
1313 <action function="set">tw_back=formatdata</action>
1314 <action function="set">tw_action=wipe</action>
1315 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1317 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001318 <action function="page">action_page</action>
1319 </actions>
1320 </action>
1321
1322 <action>
1323 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1324 <action function="page">formatdata</action>
1325 </action>
1326 </page>
1327
1328 <page name="checkpartitionlist">
1329 <action>
1330 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1331 <actions>
1332 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001333 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <action function="page">partitionoptions</action>
1335 </actions>
1336 </action>
1337
1338 <action>
1339 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1340 <actions>
1341 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001342 <action function="page">advancedwipe</action>
1343 </actions>
1344 </action>
1345 </page>
1346
1347 <page name="partitionoptions">
1348 <template name="page"/>
1349
1350 <text style="text_l">
1351 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001352 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001353 </text>
1354
1355 <text style="text_m">
1356 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001357 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001358 </text>
1359
1360 <text style="text_m_accent">
1361 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001362 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001363 </text>
1364
1365 <text style="text_m_accent">
1366 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001367 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001368 </text>
1369
1370 <text style="text_m">
1371 <condition var1="tw_partition_is_present" var2="1"/>
1372 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001373 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001374 </text>
1375
1376 <text style="text_m">
1377 <condition var1="tw_partition_is_present" var2="0"/>
1378 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001379 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001380 </text>
1381
1382 <text style="text_m">
1383 <condition var1="tw_partition_removable" var2="1"/>
1384 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001385 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001386 </text>
1387
1388 <text style="text_m">
1389 <condition var1="tw_partition_removable" var2="0"/>
1390 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001392 </text>
1393
1394 <text style="text_m">
1395 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001396 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001397 </text>
1398
1399 <text style="text_m">
1400 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 </text>
1403
1404 <text style="text_m">
1405 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001406 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001407 </text>
1408
1409 <text style="text_m">
1410 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001412 </text>
1413
1414 <button style="main_button_half_width">
1415 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1416 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001418 <actions>
1419 <action function="set">tw_back=partitionoptions</action>
1420 <action function="set">tw_action=resize</action>
1421 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1422 <action function="set">tw_has_action2=1</action>
1423 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001424 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001425 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001426 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1428 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1429 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <action function="page">confirm_action</action>
1431 </actions>
1432 </button>
1433
1434 <button style="main_button_half_width">
1435 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1436 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 <actions>
1439 <action function="set">tw_back=partitionoptions</action>
1440 <action function="set">tw_action=repair</action>
1441 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1442 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001443 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001444 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001445 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1446 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1447 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001448 <action function="page">confirm_action</action>
1449 </actions>
1450 </button>
1451
1452 <button style="main_button_half_width">
1453 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001454 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001455 <action function="page">selectfilesystem</action>
1456 </button>
1457
1458 <action>
1459 <touch key="home"/>
1460 <action function="page">main</action>
1461 </action>
1462
1463 <action>
1464 <touch key="back"/>
1465 <action function="page">advancedwipe</action>
1466 </action>
1467 </page>
1468
1469 <page name="refreshfilesystem">
1470 <action>
1471 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1472 <actions>
1473 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001474 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001475 <action function="page">selectfilesystem</action>
1476 </actions>
1477 </action>
1478
1479 <action>
1480 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1481 <actions>
1482 <action function="set">partitionlisterror=1</action>
1483 <action function="set">tw_wipe_list=</action>
1484 <action function="page">advancedwipe</action>
1485 </actions>
1486 </action>
1487 </page>
1488
1489 <page name="selectfilesystem">
1490 <template name="page"/>
1491
1492 <text style="text_l">
1493 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001494 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001495 </text>
1496
1497 <text style="text_m">
1498 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001499 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001500 </text>
1501
1502 <text style="text_m_accent">
1503 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001504 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001505 </text>
1506
1507 <text style="text_m_accent">
1508 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001509 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001510 </text>
1511
1512 <text style="text_m_fail">
1513 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001514 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001515 </text>
1516
1517 <text style="text_m_fail">
1518 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001519 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001520 </text>
1521
1522 <button style="main_button_half_width">
1523 <condition var1="tw_partition_ext" op="=" var2="1"/>
1524 <placement x="%col1_x_left%" y="%row11_y%"/>
1525 <text>EXT2</text>
1526 <actions>
1527 <action function="set">tw_back=refreshfilesystem</action>
1528 <action function="set">tw_action=changefilesystem</action>
1529 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1530 <action function="set">tw_action_new_file_system=ext2</action>
1531 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001532 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1533 <action function="set">tw_text2=EXT2</action>
1534 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1535 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1536 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001537 <action function="page">confirm_action</action>
1538 </actions>
1539 </button>
1540
1541 <button style="main_button_half_width">
1542 <condition var1="tw_partition_ext" op="=" var2="1"/>
1543 <placement x="%col2_x_left%" y="%row11_y%"/>
1544 <text>EXT3</text>
1545 <actions>
1546 <action function="set">tw_back=refreshfilesystem</action>
1547 <action function="set">tw_action=changefilesystem</action>
1548 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1549 <action function="set">tw_action_new_file_system=ext3</action>
1550 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001551 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1552 <action function="set">tw_text2=EXT3</action>
1553 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1554 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1555 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001556 <action function="page">confirm_action</action>
1557 </actions>
1558 </button>
1559
1560 <button style="main_button_half_width">
1561 <condition var1="tw_partition_ext" op="=" var2="1"/>
1562 <placement x="%center_x%" y="%row11_y%"/>
1563 <text>EXT4</text>
1564 <actions>
1565 <action function="set">tw_back=refreshfilesystem</action>
1566 <action function="set">tw_action=changefilesystem</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_action_new_file_system=ext4</action>
1569 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001570 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1571 <action function="set">tw_text2=EXT4</action>
1572 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1573 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1574 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001575 <action function="page">confirm_action</action>
1576 </actions>
1577 </button>
1578
1579 <button style="main_button_half_width">
1580 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1581 <placement x="%col2_x_right%" y="%row11_y%"/>
1582 <text>FAT</text>
1583 <actions>
1584 <action function="set">tw_back=refreshfilesystem</action>
1585 <action function="set">tw_action=changefilesystem</action>
1586 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1587 <action function="set">tw_action_new_file_system=vfat</action>
1588 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001589 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1590 <action function="set">tw_text2=FAT</action>
1591 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1592 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1593 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001594 <action function="page">confirm_action</action>
1595 </actions>
1596 </button>
1597
1598 <button style="main_button_half_width">
1599 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1600 <placement x="%col2_x_left%" y="%row15a_y%"/>
1601 <text>exFAT</text>
1602 <actions>
1603 <action function="set">tw_back=refreshfilesystem</action>
1604 <action function="set">tw_action=changefilesystem</action>
1605 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1606 <action function="set">tw_action_new_file_system=exfat</action>
1607 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001608 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1609 <action function="set">tw_text2=exFAT</action>
1610 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1611 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1612 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001613 <action function="page">confirm_action</action>
1614 </actions>
1615 </button>
1616
1617 <button style="main_button_half_width">
1618 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1619 <placement x="%center_x%" y="%row15a_y%"/>
1620 <text>F2FS</text>
1621 <actions>
1622 <action function="set">tw_back=refreshfilesystem</action>
1623 <action function="set">tw_action=changefilesystem</action>
1624 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1625 <action function="set">tw_action_new_file_system=f2fs</action>
1626 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001627 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1628 <action function="set">tw_text2=F2FS</action>
1629 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1630 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1631 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001632 <action function="page">confirm_action</action>
1633 </actions>
1634 </button>
1635
1636 <action>
1637 <touch key="home"/>
1638 <action function="page">main</action>
1639 </action>
1640
1641 <action>
1642 <touch key="back"/>
1643 <action function="page">partitionoptions</action>
1644 </action>
1645 </page>
1646
1647 <page name="backup">
1648 <template name="page"/>
1649
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001650 <action>
1651 <conditions>
1652 <condition var1="tw_is_fbe" var2="1"/>
1653 <condition var1="tw_all_users_decrypted" var2="0"/>
1654 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1655 </conditions>
1656 <actions>
1657 <action function="set">tw_multiuser_warning_destination=backup</action>
1658 <action function="page">multiuser_warning</action>
1659 </actions>
1660 </action>
1661
z31s1g28f0a922015-11-07 18:50:22 +01001662 <text style="text_l">
1663 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001664 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001665 </text>
1666
1667 <text style="text_m">
1668 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <text style="text_m_accent">
1673 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001674 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001675 </text>
1676
1677 <text style="text_m">
1678 <placement x="%col1_x_left%" y="%row3_y%"/>
1679 <text>%tw_backup_name%</text>
1680 </text>
1681
1682 <fill color="%fileselector_linecolor%">
1683 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1684 </fill>
1685
1686 <button>
1687 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1688 <fill color="%transparent%"/>
1689 <actions>
1690 <action function="set">tw_fileexists=0</action>
1691 <action function="page">backupname1</action>
1692 </actions>
1693 </button>
1694
1695 <partitionlist>
1696 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001697 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001698 <data name="tw_backup_list"/>
1699 <listtype name="backup"/>
1700 </partitionlist>
1701
1702 <text style="text_m_accent">
1703 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001704 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001705 </text>
1706
1707 <text style="text_m">
1708 <conditions>
1709 <condition var1="tw_include_encrypted_backup" var2="1"/>
1710 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001711 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001712 </conditions>
1713 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001714 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001715 </text>
1716
1717 <text style="text_m">
1718 <conditions>
1719 <condition var1="tw_include_encrypted_backup" var2="1"/>
1720 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001721 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001722 </conditions>
1723 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001724 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001725 </text>
1726
1727 <fill color="%fileselector_linecolor%">
1728 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1729 </fill>
1730
1731 <button>
1732 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1733 <fill color="%transparent%"/>
1734 <actions>
1735 <action function="set">tw_password_not_match=0</action>
1736 <action function="page">backupencryption</action>
1737 </actions>
1738 </button>
1739
1740 <text style="text_m_accent">
1741 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001742 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001743 </text>
1744
1745 <checkbox>
1746 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001748 <data variable="tw_use_compression"/>
1749 </checkbox>
1750
1751 <checkbox>
1752 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001753 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1754 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001755 </checkbox>
1756
1757 <checkbox>
1758 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001759 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001760 <data variable="tw_disable_free_space"/>
1761 </checkbox>
1762
1763 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001764 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001765 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001766 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001767 <actions>
1768 <action function="set">tw_back=backup</action>
1769 <action function="overlay">select_storage</action>
1770 </actions>
1771 </button>
1772
1773 <button style="main_button_half_width">
1774 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <actions>
1777 <action function="refreshsizes"/>
1778 <action function="page">backup</action>
1779 </actions>
1780 </button>
1781
1782 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001783 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001784 <action function="page">backup_run</action>
1785 </slider>
1786
1787 <action>
1788 <touch key="home"/>
1789 <action function="page">main</action>
1790 </action>
1791
1792 <action>
1793 <touch key="back"/>
1794 <action function="page">main</action>
1795 </action>
1796 </page>
1797
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001798 <page name="multiuser_warning">
1799 <template name="page"/>
1800
1801 <text style="text_l">
1802 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1803 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1804 </text>
1805
1806 <text style="text_m_fail">
1807 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1808 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1809 </text>
1810
1811 <text style="text_m_fail">
1812 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1813 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1814 </text>
1815
1816 <button style="main_button_m">
1817 <placement x="%col1_x_left%" y="%row15a_y%"/>
1818 <text>{@decrypt_users=Decrypt Users}</text>
1819 <action function="page">decrypt_users</action>
1820 </button>
1821
1822 <slider>
1823 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1824 <actions>
1825 <action function="set">tw_multiuser_warning_accepted=1</action>
1826 <action function="page">%tw_multiuser_warning_destination%</action>
1827 </actions>
1828 </slider>
1829
1830 <action>
1831 <touch key="home"/>
1832 <action function="page">main</action>
1833 </action>
1834
1835 <action>
1836 <touch key="back"/>
1837 <action function="page">main</action>
1838 </action>
1839 </page>
1840
z31s1g28f0a922015-11-07 18:50:22 +01001841 <page name="backupname1">
1842 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001844 <action function="generatebackupname"/>
1845 </action>
1846
1847 <action>
1848 <action function="page">backupname2</action>
1849 </action>
1850 </page>
1851
1852 <page name="backupname2">
1853 <template name="page"/>
1854
1855 <text style="text_l">
1856 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001857 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001858 </text>
1859
1860 <text style="text_m">
1861 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001862 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001863 </text>
1864
1865 <text style="text_m_accent">
1866 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001867 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001868 </text>
1869
1870 <input>
1871 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1872 <text>%tw_backup_name%</text>
1873 <data name="tw_backup_name"/>
1874 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1875 <actions>
1876 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1877 <action function="set">tw_existpage=backupname2</action>
1878 <action function="set">tw_notexistpage=backup</action>
1879 <action function="page">filecheck</action>
1880 </actions>
1881 </input>
1882
1883 <fill color="%accent_color%">
1884 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1885 </fill>
1886
1887 <fill color="%text_fail_color%">
1888 <condition var1="tw_fileexists" var2="1"/>
1889 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1890 </fill>
1891
1892 <text style="text_m_fail">
1893 <condition var1="tw_fileexists" var2="1"/>
1894 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 </text>
1897
1898 <button style="main_button_half_width_low">
1899 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001900 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001901 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001903 <action function="page">backup</action>
1904 </actions>
1905 </button>
1906
1907 <button style="main_button_half_width_low">
1908 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001909 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001910 <action function="appenddatetobackupname"/>
1911 </button>
1912
1913 <template name="keyboardtemplate"/>
1914
1915 <action>
1916 <touch key="home"/>
1917 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001919 <action function="page">main</action>
1920 </actions>
1921 </action>
1922
1923 <action>
1924 <touch key="back"/>
1925 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001926 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001927 <action function="page">backup</action>
1928 </actions>
1929 </action>
1930 </page>
1931
1932 <page name="backupencryption">
1933 <template name="page"/>
1934
1935 <text style="text_l">
1936 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001937 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001938 </text>
1939
1940 <text style="text_m">
1941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001942 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001943 </text>
1944
1945 <text style="text_m_accent">
1946 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001947 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001948 </text>
1949
1950 <input>
1951 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1952 <text>%tw_backup_encrypt_display%</text>
1953 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1954 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1955 <action function="page">backupencryption2</action>
1956 </input>
1957
1958 <fill color="%accent_color%">
1959 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1960 </fill>
1961
1962 <fill color="%text_fail_color%">
1963 <condition var1="tw_password_not_match" var2="1"/>
1964 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1965 </fill>
1966
1967 <text style="text_m_fail">
1968 <condition var1="tw_password_not_match" var2="1"/>
1969 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001970 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001971 </text>
1972
1973 <button style="main_button_half_width_low">
1974 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001975 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001976 <actions>
1977 <action function="set">tw_encrypt_backup=0</action>
1978 <action function="set">tw_backup_password=</action>
1979 <action function="set">tw_backup_password2=</action>
1980 <action function="set">tw_backup_encrypt_display=</action>
1981 <action function="set">tw_backup_encrypt_display2=</action>
1982 <action function="page">backup</action>
1983 </actions>
1984 </button>
1985
1986 <template name="keyboardtemplate"/>
1987
1988 <action>
1989 <touch key="home"/>
1990 <action function="page">main</action>
1991 </action>
1992
1993 <action>
1994 <touch key="back"/>
1995 <action function="page">backup</action>
1996 </action>
1997 </page>
1998
1999 <page name="backupencryption2">
2000 <template name="page"/>
2001
2002 <text style="text_l">
2003 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002004 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002005 </text>
2006
2007 <text style="text_m">
2008 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002009 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002010 </text>
2011
2012 <text style="text_m_accent">
2013 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002014 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002015 </text>
2016
2017 <input>
2018 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2019 <text>%tw_backup_encrypt_display2%</text>
2020 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2021 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2022 <action function="page">checkbackuppassword</action>
2023 </input>
2024
2025 <fill color="%accent_color%">
2026 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2027 </fill>
2028
2029 <text style="text_m">
2030 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002031 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002032 </text>
2033
2034 <button style="main_button_half_width_low">
2035 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002036 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002037 <actions>
2038 <action function="set">tw_encrypt_backup=0</action>
2039 <action function="set">tw_backup_password=</action>
2040 <action function="set">tw_backup_password2=</action>
2041 <action function="set">tw_backup_encrypt_display=</action>
2042 <action function="set">tw_backup_encrypt_display2=</action>
2043 <action function="page">backup</action>
2044 </actions>
2045 </button>
2046
2047 <template name="keyboardtemplate"/>
2048
2049 <action>
2050 <touch key="home"/>
2051 <action function="page">main</action>
2052 </action>
2053
2054 <action>
2055 <touch key="back"/>
2056 <action function="page">backup</action>
2057 </action>
2058 </page>
2059
2060 <page name="checkbackuppassword">
2061 <action>
2062 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2063 <actions>
2064 <action function="set">tw_encrypt_backup=1</action>
2065 <action function="page">backup</action>
2066 </actions>
2067 </action>
2068
2069 <action>
2070 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2071 <actions>
2072 <action function="set">tw_encrypt_backup=0</action>
2073 <action function="set">tw_password_not_match=1</action>
2074 <action function="set">tw_backup_password=</action>
2075 <action function="set">tw_backup_password2=</action>
2076 <action function="set">tw_backup_encrypt_display=</action>
2077 <action function="set">tw_backup_encrypt_display2=</action>
2078 <action function="page">backupencryption</action>
2079 </actions>
2080 </action>
2081 </page>
2082
2083 <page name="backup_run">
2084 <template name="page"/>
2085
2086 <text style="text_l">
2087 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2088 <text>%tw_operation%</text>
2089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2093 <text>%tw_partition% Partition</text>
2094 </text>
2095
2096 <template name="console"/>
2097
2098 <template name="progress_bar"/>
2099
2100 <text style="text_m_accent">
2101 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002102 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002103 </text>
2104
2105 <text style="text_m">
2106 <placement x="%progress_text_x%" y="%row17_y%"/>
2107 <text>%tw_file_progress%</text>
2108 </text>
2109
2110 <text style="text_m">
2111 <placement x="%progress_text_x%" y="%row18_y%"/>
2112 <text>%tw_size_progress%</text>
2113 </text>
2114
2115 <button style="main_button_half_width">
2116 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002117 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002118 <action function="cancelbackup"/>
2119 </button>
2120
2121 <action>
2122 <action function="nandroid">backup</action>
2123 </action>
2124
2125 <action>
2126 <condition var1="tw_operation_state" var2="1"/>
2127 <condition var1="tw_cancel_backup" var2="0"/>
2128 <actions>
2129 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002130 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002131 <action function="set">tw_show_reboot=1</action>
2132 <action function="page">action_complete</action>
2133 </actions>
2134 </action>
2135
2136 <action>
2137 <condition var1="tw_operation_state" var2="1"/>
2138 <condition var1="tw_cancel_backup" var2="1"/>
2139 <actions>
2140 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002142 <action function="set">tw_show_reboot=1</action>
2143 <action function="page">action_complete</action>
2144 </actions>
2145 </action>
2146 </page>
2147
2148 <page name="restore">
2149 <template name="page"/>
2150
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002151 <action>
2152 <conditions>
2153 <condition var1="tw_is_fbe" var2="1"/>
2154 <condition var1="tw_all_users_decrypted" var2="0"/>
2155 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2156 </conditions>
2157 <actions>
2158 <action function="set">tw_multiuser_warning_destination=restore</action>
2159 <action function="page">multiuser_warning</action>
2160 </actions>
2161 </action>
2162
z31s1g28f0a922015-11-07 18:50:22 +01002163 <text style="text_l">
2164 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002165 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002166 </text>
2167
2168 <text style="text_m">
2169 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002170 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002171 </text>
2172
2173 <template name="sort_options"/>
2174
2175 <fileselector>
2176 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002177 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002178 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002179 <path name="tw_backups_folder"/>
2180 <data name="tw_restore" default=""/>
2181 <selection name="tw_restore_name"/>
2182 </fileselector>
2183
2184 <button style="main_button_half_width_low">
2185 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002186 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002187 <actions>
2188 <action function="set">tw_back=restore</action>
2189 <action function="overlay">select_storage</action>
2190 </actions>
2191 </button>
2192
2193 <action>
2194 <condition var1="tw_restore" op="modified"/>
2195 <actions>
2196 <action function="readBackup"/>
2197 <action function="page">restore_read</action>
2198 </actions>
2199 </action>
2200
2201 <action>
2202 <touch key="home"/>
2203 <action function="page">main</action>
2204 </action>
2205
2206 <action>
2207 <touch key="back"/>
2208 <action function="page">main</action>
2209 </action>
2210 </page>
2211
2212 <page name="restore_read">
2213 <action>
2214 <condition var1="tw_restore_encrypted" var2="1"/>
2215 <actions>
2216 <action function="set">tw_password_fail=0</action>
2217 <action function="page">restore_decrypt</action>
2218 </actions>
2219 </action>
2220
2221 <action>
2222 <condition var1="tw_restore_encrypted" var2="0"/>
2223 <actions>
2224 <action function="page">restore_select</action>
2225 </actions>
2226 </action>
2227 </page>
2228
2229 <page name="restore_decrypt">
2230 <template name="page"/>
2231
2232 <text style="text_l">
2233 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002234 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002235 </text>
2236
2237 <text style="text_m">
2238 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002239 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002240 </text>
2241
2242 <text style="text_m_accent">
2243 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002244 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002245 </text>
2246
2247 <input>
2248 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2249 <text>%tw_restore_display%</text>
2250 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2251 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2252 <action function="page">try_restore_decrypt</action>
2253 </input>
2254
2255 <fill color="%accent_color%">
2256 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2257 </fill>
2258
2259 <fill color="%text_fail_color%">
2260 <condition var1="tw_password_fail" var2="1"/>
2261 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2262 </fill>
2263
2264 <text style="text_m_fail">
2265 <condition var1="tw_password_fail" var2="1"/>
2266 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 </text>
2269
2270 <button style="main_button_half_width_low">
2271 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002273 <actions>
2274 <action function="set">tw_page_done=1</action>
2275 <action function="page">restore</action>
2276 </actions>
2277 </button>
2278
2279 <button style="main_button_half_width_low">
2280 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002281 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002282 <actions>
2283 <action function="set">tw_back=restore</action>
2284 <action function="set">tw_action=cmd</action>
2285 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002286 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2287 <action function="set">tw_text2=%tw_restore_name%</action>
2288 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2289 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2290 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2291 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002292 <action function="page">confirm_action</action>
2293 </actions>
2294 </button>
2295
2296 <template name="keyboardtemplate"/>
2297
2298 <action>
2299 <touch key="home"/>
2300 <action function="page">main</action>
2301 </action>
2302
2303 <action>
2304 <touch key="back"/>
2305 <action function="page">restore</action>
2306 </action>
2307 </page>
2308
2309 <page name="try_restore_decrypt">
2310 <template name="page"/>
2311
2312 <text style="text_l">
2313 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002314 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002315 </text>
2316
2317 <text style="text_m">
2318 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002319 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002320 </text>
2321
2322 <template name="console"/>
2323
2324 <template name="progress_bar"/>
2325
2326 <action>
2327 <action function="decrypt_backup"/>
2328 </action>
2329
2330 <action>
2331 <conditions>
2332 <condition var1="tw_operation_state" var2="1"/>
2333 <condition var1="tw_operation_status" op="!=" var2="0"/>
2334 </conditions>
2335 <actions>
2336 <action function="set">tw_password_fail=1</action>
2337 <action function="page">restore_decrypt</action>
2338 </actions>
2339 </action>
2340
2341 <action>
2342 <conditions>
2343 <condition var1="tw_operation_state" var2="1"/>
2344 <condition var1="tw_operation_status" op="=" var2="0"/>
2345 </conditions>
2346 <actions>
2347 <action function="set">tw_page_done=1</action>
2348 <action function="page">restore_select</action>
2349 </actions>
2350 </action>
2351 </page>
2352
2353 <page name="restore_select">
2354 <template name="page"/>
2355
2356 <text style="text_l">
2357 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002358 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002359 </text>
2360
2361 <text style="text_m">
2362 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <text style="text_m_accent">
2367 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002368 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002369 </text>
2370
2371 <text style="text_m">
2372 <placement x="%col1_x_left%" y="%row3_y%"/>
2373 <text>%tw_restore_name%</text>
2374 </text>
2375
2376 <fill color="%fileselector_linecolor%">
2377 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2378 </fill>
2379
2380 <button>
2381 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2382 <fill color="%transparent%"/>
2383 <actions>
2384 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2385 <action function="set">tw_fileexists=0</action>
2386 <action function="page">renamebackup</action>
2387 </actions>
2388 </button>
2389
2390 <partitionlist>
2391 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2394 <listtype name="restore"/>
2395 </partitionlist>
2396
2397 <text style="text_m_accent">
2398 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002399 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002400 </text>
2401
2402 <checkbox>
2403 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002404 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002405 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2406 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002407 </checkbox>
2408
2409 <button style="main_button_half_width">
2410 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 <actions>
2413 <action function="set">tw_back=restore</action>
2414 <action function="set">tw_action=cmd</action>
2415 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002416 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002417 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002418 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2419 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2420 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2421 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002422 <action function="page">confirm_action</action>
2423 </actions>
2424 </button>
2425
2426 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002427 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002428 <action function="page">restore_run</action>
2429 </slider>
2430
2431 <action>
2432 <touch key="home"/>
2433 <action function="page">main</action>
2434 </action>
2435
2436 <action>
2437 <touch key="back"/>
2438 <action function="page">restore</action>
2439 </action>
2440 </page>
2441
2442 <page name="renamebackup">
2443 <template name="page"/>
2444
2445 <text style="text_l">
2446 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002447 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002448 </text>
2449
2450 <text style="text_m">
2451 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002452 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002453 </text>
2454
2455 <text style="text_m_accent">
2456 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <input>
2461 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2462 <text>%tw_backup_rename%</text>
2463 <data name="tw_backup_rename"/>
2464 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2465 <actions>
2466 <action function="set">tw_back=restore</action>
2467 <action function="set">tw_action=cmd</action>
2468 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002469 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2470 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2471 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2472 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2473 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002474 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2475 <action function="set">tw_existpage=renamebackup</action>
2476 <action function="set">tw_notexistpage=confirm_action</action>
2477 <action function="page">filecheck</action>
2478 </actions>
2479 </input>
2480
2481 <fill color="%accent_color%">
2482 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2483 </fill>
2484
2485 <fill color="%text_fail_color%">
2486 <condition var1="tw_fileexists" var2="1"/>
2487 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2488 </fill>
2489
2490 <text style="text_m_fail">
2491 <condition var1="tw_fileexists" var2="1"/>
2492 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002493 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002494 </text>
2495
2496 <button style="main_button_half_width_low">
2497 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 <action function="page">restore_select</action>
2500 </button>
2501
2502 <template name="keyboardtemplate"/>
2503
2504 <action>
2505 <touch key="home"/>
2506 <action function="page">main</action>
2507 </action>
2508
2509 <action>
2510 <touch key="back"/>
2511 <action function="page">restore_select</action>
2512 </action>
2513 </page>
2514
2515 <page name="restore_run">
2516 <template name="page"/>
2517
2518 <text style="text_l">
2519 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2525 <text>%tw_operation% %tw_partition%</text>
2526 </text>
2527
2528 <template name="console"/>
2529
2530 <template name="progress_bar"/>
2531
2532 <text style="text_m_accent">
2533 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002534 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002535 </text>
2536
2537 <text style="text_m">
2538 <placement x="%progress_text_x%" y="%row18_y%"/>
2539 <text>%tw_size_progress%</text>
2540 </text>
2541
2542 <action>
2543 <condition var1="tw_operation_state" var2="1"/>
2544 <actions>
2545 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002546 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002547 <action function="set">tw_show_reboot=1</action>
2548 <action function="page">action_complete</action>
2549 </actions>
2550 </action>
2551
2552 <action>
2553 <action function="nandroid">restore</action>
2554 </action>
2555 </page>
2556
2557 <page name="mount">
2558 <template name="page"/>
2559
2560 <text style="text_l">
2561 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002562 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002563 </text>
2564
2565 <text style="text_m">
2566 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002567 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002568 </text>
2569
2570 <partitionlist>
2571 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002573 <listtype name="mount"/>
2574 </partitionlist>
2575
2576 <button style="checkbox">
2577 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2578 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002579 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002580 <image resource="checkbox_false"/>
2581 <action function="mountsystemtoggle">1</action>
2582 </button>
2583
2584 <button style="checkbox">
2585 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2586 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002587 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002588 <image resource="checkbox_true"/>
2589 <actions>
2590 <action function="set">tw_lifetime_writes=2</action>
2591 <action function="page">system_readonly_check</action>
2592 </actions>
2593 </button>
2594
2595 <button style="main_button_half_width">
2596 <condition var1="tw_has_usb_storage" var2="1"/>
2597 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002598 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002599 <action function="page">usb_mount</action>
2600 </button>
2601
2602 <button style="main_button_half_width">
2603 <conditions>
2604 <condition var1="tw_is_encrypted" var2="1"/>
2605 <condition var1="tw_is_decrypted" var2="0"/>
2606 </conditions>
2607 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002608 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002609 <action function="set">tw_crypto_user_id=0</action>
2610 <action function="set">tw_crypto_password=</action>
2611 <action function="set">tw_password_fail=0</action>
2612 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002613 <action function="page">decrypt</action>
2614 </button>
2615
2616 <button style="main_button_half_width">
2617 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 <actions>
2620 <action function="set">tw_back=mount</action>
2621 <action function="overlay">select_storage</action>
2622 </actions>
2623 </button>
2624
2625 <button style="main_button_half_width">
2626 <conditions>
2627 <condition var1="tw_has_mtp" var2="1"/>
2628 <condition var1="tw_mtp_enabled" var2="0"/>
2629 </conditions>
2630 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002631 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002632 <action function="startmtp"/>
2633 </button>
2634
2635 <button style="main_button_half_width">
2636 <conditions>
2637 <condition var1="tw_has_mtp" var2="1"/>
2638 <condition var1="tw_mtp_enabled" var2="1"/>
2639 </conditions>
2640 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002642 <action function="stopmtp"/>
2643 </button>
2644
2645 <action>
2646 <touch key="home"/>
2647 <action function="page">main</action>
2648 </action>
2649
2650 <action>
2651 <touch key="back"/>
2652 <action function="page">main</action>
2653 </action>
2654 </page>
2655
2656 <page name="usb_mount">
2657 <template name="page"/>
2658
2659 <text style="text_l">
2660 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002661 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002662 </text>
2663
2664 <text style="text_m">
2665 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002666 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002667 </text>
2668
2669 <text style="text_m_accent">
2670 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002671 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002672 </text>
2673
2674 <text style="text_m">
2675 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002676 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002677 </text>
2678
2679 <text style="text_m">
2680 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002681 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002682 </text>
2683
2684 <button style="main_button_half_width">
2685 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002686 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002687 <action function="page">usb_umount</action>
2688 </button>
2689
2690 <action>
2691 <action function="mount">usb</action>
2692 <action function="set">tw_busy=1</action>
2693 </action>
2694 </page>
2695
2696 <page name="usb_umount">
2697 <action>
2698 <action function="unmount">usb</action>
2699 </action>
2700
2701 <action>
2702 <action function="page">mount</action>
2703 <action function="set">tw_busy=0</action>
2704 </action>
2705 </page>
2706
2707 <page name="system_readonly_check">
2708 <action>
2709 <action function="checkpartitionlifetimewrites">/system</action>
2710 </action>
2711
2712 <action>
2713 <condition var1="tw_lifetime_writes" var2="1"/>
2714 <actions>
2715 <action function="mountsystemtoggle">0</action>
2716 <action function="page">mount</action>
2717 </actions>
2718 </action>
2719
2720 <action>
2721 <condition var1="tw_lifetime_writes" var2="0"/>
2722 <actions>
2723 <action function="set">tw_back=mount</action>
2724 <action function="page">system_readonly</action>
2725 </actions>
2726 </action>
2727 </page>
2728
2729 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002730 <action>
2731 <action function="checkforapp"></action>
2732 <action function="page">reboot2</action>
2733 </action>
2734 </page>
2735
2736 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002737 <template name="page"/>
2738
2739 <text style="text_l">
2740 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002741 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002742 </text>
2743
bigbiff97829df2020-12-20 12:26:15 -05002744 <listbox style="advanced_listbox">
Captain Throwback4a78bda2020-12-25 22:46:59 -05002745 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiff97829df2020-12-20 12:26:15 -05002746
2747 <listitem name="{@rb_system_btn=System}">
2748 <condition var1="tw_reboot_system" var2="1"/>
2749 <actions>
2750 <action function="set">tw_back=reboot</action>
2751 <action function="page">reboot_system_routine</action>
2752 </actions>
2753 </listitem>
2754
2755 <listitem name="{@rb_poweroff_btn=Power Off}">
2756 <condition var1="tw_reboot_poweroff" var2="1"/>
2757 <actions>
2758 <action function="set">tw_back=reboot</action>
2759 <action function="set">tw_action=reboot</action>
2760 <action function="set">tw_action_param=poweroff</action>
2761 <action function="set">tw_reboot_param=poweroff</action>
2762 <action function="set">tw_has_action2=0</action>
2763 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2764 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2765 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2766 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2767 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2768 <action function="page">rebootcheck</action>
2769 </actions>
2770 </listitem>
2771
2772 <listitem name="{@rb_recovery_btn=Recovery}">
2773 <condition var1="tw_reboot_recovery" var2="1"/>
2774 <actions>
2775 <action function="set">tw_back=reboot</action>
2776 <action function="set">tw_action=reboot</action>
2777 <action function="set">tw_action_param=recovery</action>
2778 <action function="set">tw_reboot_param=recovery</action>
2779 <action function="set">tw_has_action2=0</action>
2780 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2781 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2782 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2783 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2784 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2785 <action function="page">rebootcheck</action>
2786 </actions>
2787 </listitem>
2788
2789 <listitem name="{@rb_bootloader_btn=Bootloader}">
2790 <condition var1="tw_reboot_bootloader" var2="1"/>
2791 <actions>
2792 <action function="set">tw_back=reboot</action>
2793 <action function="set">tw_action=reboot</action>
2794 <action function="set">tw_action_param=bootloader</action>
2795 <action function="set">tw_reboot_param=bootloader</action>
2796 <action function="set">tw_has_action2=0</action>
2797 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2798 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2799 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2800 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2801 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2802 <action function="page">rebootcheck</action>
2803 </actions>
2804 </listitem>
2805
2806 <listitem name="{@rb_download_btn=Download}">
2807 <condition var1="tw_download_mode" var2="1"/>
2808 <actions>
2809 <action function="set">tw_back=reboot</action>
2810 <action function="set">tw_action=reboot</action>
2811 <action function="set">tw_action_param=download</action>
2812 <action function="set">tw_reboot_param=download</action>
2813 <action function="set">tw_has_action2=0</action>
2814 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2815 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2816 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2817 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2818 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2819 <action function="page">rebootcheck</action>
2820 </actions>
2821 </listitem>
2822
2823 <listitem name="{@rb_edl_btn=Edl}">
2824 <condition var1="tw_edl_mode" var2="1"/>
2825 <actions>
2826 <action function="set">tw_back=reboot</action>
2827 <action function="set">tw_action=reboot</action>
2828 <action function="set">tw_action_param=edl</action>
2829 <action function="set">tw_reboot_param=edl</action>
2830 <action function="set">tw_has_action2=0</action>
2831 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2832 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2833 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2834 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2835 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2836 <action function="page">rebootcheck</action>
2837 </actions>
2838 </button>
2839 </listbox>
2840
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002841 <button style="main_button">
2842 <condition var1="tw_app_install_status" var2="1"/>
2843 <placement x="%center_x%" y="%row12_y%"/>
2844 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2845 <actions>
2846 <action function="set">tw_back=reboot</action>
2847 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2848 <action function="page">installapp</action>
2849 </actions>
2850 </button>
2851
bigbiff97829df2020-12-20 12:26:15 -05002852 <text style="text_m">
2853 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002854 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiff97829df2020-12-20 12:26:15 -05002855 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2856 </text>
2857
z31s1g28f0a922015-11-07 18:50:22 +01002858 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002859 <condition var1="tw_has_boot_slots" var2="1"/>
2860 <placement x="%indent%" y="%row16_y%"/>
2861 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002862 <actions>
2863 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002864 <action function="set">tw_action=setbootslot</action>
2865 <action function="set">tw_action_param=A</action>
2866 <action function="set">tw_has_action2=0</action>
2867 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2868 <action function="set">tw_action_text2=</action>
2869 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2870 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002871 </actions>
2872 </button>
2873
2874 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002875 <condition var1="tw_has_boot_slots" var2="1"/>
2876 <placement x="%center_x%" y="%row16_y%"/>
2877 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002878 <actions>
2879 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002880 <action function="set">tw_action=setbootslot</action>
2881 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002882 <action function="set">tw_has_action2=0</action>
bigbiff97829df2020-12-20 12:26:15 -05002883 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2884 <action function="set">tw_action_text2=</action>
2885 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2886 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002887 </actions>
2888 </button>
2889
z31s1g28f0a922015-11-07 18:50:22 +01002890 <action>
2891 <touch key="home"/>
2892 <action function="page">main</action>
2893 </action>
2894
2895 <action>
2896 <touch key="back"/>
2897 <action function="page">main</action>
2898 </action>
2899 </page>
2900
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002901 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002902 <template name="page"/>
2903
2904 <text style="text_l">
2905 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002906 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002907 </text>
2908
2909 <text style="text_m">
2910 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002911 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002912 </text>
2913
2914 <text style="text_m_accent">
2915 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2916 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2917 </text>
2918
2919 <text style="text_m_accent">
2920 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2921 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2922 </text>
2923
2924 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002925 <condition var1="tw_mount_system_ro" var2="0"/>
2926 <placement x="%indent%" y="%row7_y%"/>
2927 <text>{@reboot_install_app_system=Install as a System App}</text>
2928 <data variable="tw_app_install_system"/>
2929 </checkbox>
2930
2931 <button style="main_button_half_width">
2932 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002933 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002934 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002935 </button>
2936
2937 <slider>
2938 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2939 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002940 <action function="set">tw_action=installapp</action>
2941 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2942 <action function="set">tw_action_text2=</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002943 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002944 <action function="page">action_page</action>
2945 </actions>
2946 </slider>
2947
2948 <action>
2949 <touch key="home"/>
2950 <actions>
2951 <action function="set">tw_app_install_status=0</action>
2952 <action function="page">main</action>
2953 </actions>
2954 </action>
2955
2956 <action>
2957 <touch key="back"/>
2958 <actions>
2959 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002960 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002961 </actions>
2962 </action>
2963 </page>
2964
z31s1g28f0a922015-11-07 18:50:22 +01002965 <page name="system_readonly">
2966 <template name="page"/>
2967
2968 <text style="text_l">
2969 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002970 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002971 </text>
2972
2973 <text style="text_m_accent">
2974 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002975 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002976 </text>
2977
2978 <text style="text_m">
2979 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <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 +01002981 </text>
2982
2983 <text style="text_m">
2984 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002985 <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 +01002986 </text>
2987
2988 <text style="text_m_fail">
2989 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </text>
2992
2993 <checkbox>
2994 <condition var1="tw_is_encrypted" var2="0"/>
2995 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 <data variable="tw_never_show_system_ro_page"/>
2998 </checkbox>
2999
3000 <button style="main_button_half_width">
3001 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003003 <actions>
3004 <action function="mountsystemtoggle">1</action>
3005 <action function="set">tw_page_done=1</action>
3006 <action function="page">%tw_back%</action>
3007 </actions>
3008 </button>
3009
z31s1g608d7ff2016-01-18 19:47:25 +01003010 <button style="main_button_half_width">
3011 <placement x="%col2_x_left%" y="%row15a_y%"/>
3012 <text>{@sel_lang_btn=Select Language}</text>
3013 <action function="overlay">select_language</action>
3014 </button>
3015
z31s1g28f0a922015-11-07 18:50:22 +01003016 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003017 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003018 <actions>
3019 <action function="mountsystemtoggle">0</action>
3020 <action function="set">tw_page_done=1</action>
3021 <action function="page">%tw_back%</action>
3022 </actions>
3023 </slider>
3024 </page>
3025
3026 <page name="settings">
3027 <template name="page"/>
3028
3029 <text style="text_l">
3030 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003032 </text>
3033
3034 <text style="text_m">
3035 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003037 </text>
3038
3039 <template name="tabs_settings"/>
3040
3041 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003043 </fill>
3044
3045 <listbox style="scrolllist">
3046 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3047 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003048 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003049 <data variable="tw_signed_zip_verify"/>
3050 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003051 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3052 <data variable="tw_install_reboot"/>
3053 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003054 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003055 <data variable="tw_rm_rf"/>
3056 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003057 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3058 <data variable="tw_disable_free_space"/>
3059 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003060 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3061 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003062 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003063 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3064 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003065 </listitem>
epicX40b7f7a2021-03-20 21:58:17 +05303066 <listitem name="{@skip_digest_zip_chk=Skip Digest check before installing zip}">
3067 <data variable="tw_skip_digest_check_zip"/>
3068 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003070 <data variable="tw_military_time"/>
3071 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003072 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003073 <data variable="tw_simulate_actions"/>
3074 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003076 <condition var1="tw_simulate_actions" var2="1"/>
3077 <data variable="tw_simulate_fail"/>
3078 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003079 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3080 <condition var1="tw_no_sha2" var2="0"/>
3081 <data variable="tw_use_sha2"/>
3082 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003083 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3084 <data variable="tw_unmount_system"/>
3085 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003086 </listbox>
3087
3088 <checkbox>
3089 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <data variable="tw_samsung_navbar"/>
3092 </checkbox>
3093
3094 <button style="radiobutton">
3095 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3096 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003097 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003098 <image resource="radio_false"/>
3099 <action function="set">tw_navbar_button_position=0</action>
3100 </button>
3101
3102 <button style="radiobutton">
3103 <condition var1="tw_navbar_button_position" var2="0"/>
3104 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 <image resource="radio_true"/>
3107 <action function="set">tw_navbar_button_position=0</action>
3108 </button>
3109
3110 <button style="radiobutton">
3111 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3112 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003114 <image resource="radio_false"/>
3115 <action function="set">tw_navbar_button_position=1</action>
3116 </button>
3117
3118 <button style="radiobutton">
3119 <condition var1="tw_navbar_button_position" var2="1"/>
3120 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003122 <image resource="radio_true"/>
3123 <action function="set">tw_navbar_button_position=1</action>
3124 </button>
3125
3126 <button style="radiobutton">
3127 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3128 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003129 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003130 <image resource="radio_false"/>
3131 <action function="set">tw_navbar_button_position=2</action>
3132 </button>
3133
3134 <button style="radiobutton">
3135 <condition var1="tw_navbar_button_position" var2="2"/>
3136 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003137 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003138 <image resource="radio_true"/>
3139 <action function="set">tw_navbar_button_position=2</action>
3140 </button>
3141
3142 <button style="main_button_half_width">
3143 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003145 <action function="restoredefaultsettings"/>
3146 </button>
3147
3148 <action>
3149 <touch key="home"/>
3150 <action function="page">main</action>
3151 </action>
3152
3153 <action>
3154 <touch key="back"/>
3155 <action function="page">main</action>
3156 </action>
3157 </page>
3158
3159 <page name="settings_timezone">
3160 <template name="page"/>
3161
3162 <text style="text_l">
3163 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003164 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003165 </text>
3166
3167 <text style="text_m">
3168 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 </text>
3171
3172 <template name="tabs_settings"/>
3173
3174 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003176 </fill>
3177
3178 <listbox>
3179 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003180 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003181 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3183 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3184 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3185 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3186 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3187 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3188 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3189 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3190 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3191 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3192 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3193 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3194 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3195 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3196 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3197 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3198 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3199 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3200 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3201 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3202 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3203 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3204 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3205 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003206 </listbox>
3207
3208 <text style="text_m_accent">
3209 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 </text>
3212
3213 <button style="button_quarter_width">
3214 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003215 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003216 <action function="set">tw_time_zone_guioffset=0</action>
3217 </button>
3218
3219 <button style="button_quarter_width">
3220 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003221 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003222 <action function="set">tw_time_zone_guioffset=15</action>
3223 </button>
3224
3225 <button style="button_quarter_width">
3226 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 <action function="set">tw_time_zone_guioffset=30</action>
3229 </button>
3230
3231 <button style="button_quarter_width">
3232 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003234 <action function="set">tw_time_zone_guioffset=45</action>
3235 </button>
3236
3237 <checkbox>
3238 <placement x="%col1_x_right%" y="%row7_y%"/>
3239 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003240 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003241 <data variable="tw_time_zone_guidst"/>
3242 <image checked="checkbox_true" unchecked="checkbox_false"/>
3243 </checkbox>
3244
3245 <text color="%text_color%">
3246 <font resource="font_m"/>
3247 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003248 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003249 </text>
3250
3251 <button>
3252 <highlight color="%highlight_color%"/>
3253 <placement x="%col2_x_right%" y="%row15a_y%"/>
3254 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003255 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003256 <image resource="main_button_half_width"/>
3257 <action function="setguitimezone"/>
3258 </button>
3259
3260 <action>
3261 <touch key="home"/>
3262 <action function="page">main</action>
3263 </action>
3264
3265 <action>
3266 <touch key="back"/>
3267 <action function="page">main</action>
3268 </action>
3269 </page>
3270
3271 <page name="settings_screen">
3272 <template name="page"/>
3273
3274 <text style="text_l">
3275 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003277 </text>
3278
3279 <text style="text_m">
3280 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003281 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003282 </text>
3283
3284 <template name="tabs_settings"/>
3285
3286 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003287 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003288 </fill>
3289
3290 <button>
3291 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3292 <font resource="font_m" color="%text_color%"/>
3293 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3294 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 <image resource="checkbox_false"/>
3297 <action function="set">tw_screen_timeout_secs=60</action>
3298 </button>
3299
3300 <button>
3301 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3302 <font resource="font_m" color="%text_color%"/>
3303 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3304 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003305 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003306 <image resource="checkbox_true"/>
3307 <action function="set">tw_screen_timeout_secs=0</action>
3308 </button>
3309
3310 <slidervalue>
3311 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3312 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3313 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003314 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003315 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3316 </slidervalue>
3317
3318 <slidervalue>
3319 <condition var1="tw_has_brightnesss_file" var2="1"/>
3320 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003321 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003322 <data variable="tw_brightness_pct" min="10" max="100"/>
3323 <actions>
3324 <action function="set">tw_brightness=%tw_brightness_max%</action>
3325 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3326 <action function="compute">tw_brightness/100</action>
3327 <action function="setbrightness">%tw_brightness%</action>
3328 </actions>
3329 </slidervalue>
3330
3331 <action>
3332 <touch key="home"/>
3333 <action function="page">main</action>
3334 </action>
3335
3336 <action>
3337 <touch key="back"/>
3338 <action function="page">main</action>
3339 </action>
3340 </page>
3341
3342 <page name="settings_vibration">
3343 <template name="page"/>
3344
3345 <text style="text_l">
3346 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003348 </text>
3349
3350 <text style="text_m">
3351 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003352 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003353 </text>
3354
3355 <template name="tabs_settings"/>
3356
3357 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003358 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003359 </fill>
3360
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003361 <text style="text_m">
3362 <condition var1="tw_disable_haptics" var2="1"/>
3363 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3364 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3365 </text>
3366
z31s1g28f0a922015-11-07 18:50:22 +01003367 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003368 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003369 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003370 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003371 <data variable="tw_button_vibrate" min="0" max="300"/>
3372 </slidervalue>
3373
3374 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003375 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003376 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3379 </slidervalue>
3380
3381 <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="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <data variable="tw_action_vibrate" min="0" max="500"/>
3386 </slidervalue>
3387
3388 <action>
3389 <touch key="home"/>
3390 <action function="page">main</action>
3391 </action>
3392
3393 <action>
3394 <touch key="back"/>
3395 <action function="page">main</action>
3396 </action>
3397 </page>
3398
Ethan Yonker74db1572015-10-28 12:44:49 -05003399 <page name="settings_language">
3400 <template name="page"/>
3401
3402 <text style="text_l">
3403 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3404 <text>{@settings_hdr=Settings}</text>
3405 </text>
3406
3407 <text style="text_m">
3408 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3409 <text>{@language_hdr=Language - %tw_language_display%}</text>
3410 </text>
3411
3412 <template name="tabs_settings"/>
3413
3414 <fill color="%text_color%">
3415 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3416 </fill>
3417
3418 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003419 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003420 <text>{@select_language=Select Language:}</text>
3421 <icon selected="radio_true" unselected="radio_false" />
3422 <data name="tw_language" />
3423 </listbox>
3424
z31s1g56189522016-01-13 19:12:40 +01003425 <button>
3426 <highlight color="%highlight_color%"/>
3427 <placement x="%col2_x_right%" y="%row15a_y%"/>
3428 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003429 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003430 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003431 <action function="setlanguage"></action>
3432 </button>
3433
3434 <action>
3435 <touch key="home" />
3436 <action function="page">main</action>
3437 </action>
3438
3439 <action>
3440 <touch key="back" />
3441 <action function="page">settings</action>
3442 </action>
3443 </page>
3444
Matt Mower32676622017-01-18 18:56:13 -06003445 <page name="copylog">
3446 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003447
Matt Mower32676622017-01-18 18:56:13 -06003448 <text style="text_l">
3449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3450 <text>{@copying_log=Copy Logs to SD Card}</text>
3451 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003452
Matt Mower32676622017-01-18 18:56:13 -06003453 <checkbox>
3454 <placement x="%indent%" y="%row4_y%"/>
3455 <text>{@include_kernel_log=Include Kernel Log}</text>
3456 <data variable="tw_include_kernel_log" value="1"/>
3457 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003458
Matt Mower32676622017-01-18 18:56:13 -06003459 <slider>
3460 <text>{@copying_log=Copy Logs to SD Card}</text>
3461 <actions>
3462 <action function="set">tw_back=advanced</action>
3463 <action function="set">tw_action=copylog</action>
3464 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3465 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3466 <action function="page">action_page</action>
3467 </actions>
3468 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003469
Matt Mower32676622017-01-18 18:56:13 -06003470 <action>
3471 <touch key="home"/>
3472 <action function="page">main</action>
3473 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003474
Matt Mower32676622017-01-18 18:56:13 -06003475 <action>
3476 <touch key="back"/>
3477 <actions>
3478 <action function="page">advanced</action>
3479 </actions>
3480 </action>
3481 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003482
z31s1g28f0a922015-11-07 18:50:22 +01003483 <page name="advanced">
3484 <template name="page"/>
3485
3486 <text style="text_l">
3487 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003488 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003489 </text>
3490
3491 <button style="main_button">
3492 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003493 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003494 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003495 </button>
3496
3497 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003498 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 <action function="page">filemanagerlist</action>
3501 </button>
3502
3503 <button style="main_button">
3504 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003505 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003506 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003507 </button>
3508
3509 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003510 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003511 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003512 <action function="page">sideload</action>
3513 </button>
3514
Ethan Yonker64e0a652018-07-25 09:52:17 -05003515 <listbox style="advanced_listbox">
3516 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicX98053c32021-01-04 13:01:31 +05303517 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3518 <condition var1="tw_is_encrypted" var2="0"/>
3519 <action function="page">changeTwrpFolder</action>
3520 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003521 <listitem name="{@decrypt_users=Decrypt Users}">
3522 <conditions>
3523 <condition var1="tw_is_fbe" var2="1"/>
3524 <condition var1="tw_all_users_decrypted" var2="0"/>
3525 </conditions>
3526 <actions>
3527 <action function="set">tw_crypto_user_id=</action>
3528 <action function="page">decrypt_users</action>
3529 </actions>
3530 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003531 <listitem name="{@reload_theme_btn=Reload Theme}">
3532 <action function="reload"/>
3533 </listitem>
3534 <listitem name="{@part_sd_btn=Partition SD Card}">
3535 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3536 <actions>
3537 <action function="set">partitionlisterror=0</action>
3538 <action function="page">partsdcardsel</action>
3539 </actions>
3540 </listitem>
3541 <listitem name="{@fix_context_btn=Fix Contexts}">
3542 <condition var1="tw_has_data_media" var2="1"/>
3543 <action function="page">fixcontexts</action>
3544 </listitem>
3545 <listitem name="{@dumlock_btn=HTC Dumlock}">
3546 <condition var1="tw_show_dumlock" var2="1"/>
3547 <action function="page">htcdumlock</action>
3548 </listitem>
3549 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3550 <condition var1="tw_has_injecttwrp" var2="1"/>
3551 <actions>
3552 <action function="set">tw_back=advanced</action>
3553 <action function="set">tw_action=reinjecttwrp</action>
3554 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3555 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3556 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3557 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3558 <action function="page">confirm_action</action>
3559 </actions>
3560 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003561 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3562 <conditions>
3563 <condition var1="tw_has_boot_slots" var2="1"/>
3564 <condition var1="tw_has_repack_tools" var2="1"/>
3565 </conditions>
3566 <actions>
3567 <action function="set">tw_repack_kernel=0</action>
3568 <action function="page">repackselect</action>
3569 </actions>
3570 </listitem>
3571 <listitem name="{@install_kernel=Install Kernel}">
3572 <conditions>
3573 <condition var1="tw_has_boot_slots" var2="1"/>
3574 <condition var1="tw_has_repack_tools" var2="1"/>
3575 </conditions>
3576 <actions>
3577 <action function="set">tw_repack_kernel=1</action>
3578 <action function="page">repackselect</action>
3579 </actions>
3580 </listitem>
3581 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3582 <conditions>
3583 <condition var1="tw_has_boot_slots" var2="1"/>
3584 <condition var1="tw_has_repack_tools" var2="1"/>
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_back=advanced</action>
3588 <action function="set">tw_action=fixabrecoverybootloop</action>
3589 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3590 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3591 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3592 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3593 <action function="page">confirm_action</action>
3594 </actions>
3595 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003596 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3597 <condition var1="tw_app_install_status" var2="1"/>
3598 <actions>
3599 <action function="set">tw_back=advanced</action>
3600 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3601 <action function="page">installapp</action>
3602 </actions>
3603 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003604 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3605 <condition var1="tw_app_installed_in_system" var2="1"/>
3606 <actions>
3607 <action function="set">tw_back=advanced</action>
3608 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3609 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3610 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3611 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3612 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3613 <action function="page">confirm_action</action>
3614 </actions>
3615 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003616 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003617
3618 <action>
3619 <touch key="home"/>
3620 <action function="page">main</action>
3621 </action>
3622
3623 <action>
3624 <touch key="back"/>
3625 <action function="page">main</action>
3626 </action>
3627 </page>
3628
Ethan Yonker483e9f42016-01-11 22:21:18 -06003629 <page name="partsdcardsel">
3630 <template name="page"/>
3631
3632 <text style="text_l">
3633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3634 <text>{@advanced_hdr=Advanced}</text>
3635 </text>
3636
3637 <text style="text_m">
3638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3639 <text>{@part_sd_hdr=Partition SD Card}</text>
3640 </text>
3641
z31s1g782e1c92016-01-30 16:50:09 +01003642 <partitionlist>
3643 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003644 <text>{@sel_storage_list=Select Storage}</text>
3645 <data name="tw_storage_path"/>
3646 <listtype name="storage"/>
3647 </partitionlist>
3648
z31s1g782e1c92016-01-30 16:50:09 +01003649 <text style="text_m_fail">
3650 <condition var1="partitionlisterror" var2="1"/>
3651 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3652 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3653 </text>
3654
3655 <button style="main_button_half_width">
3656 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003657 <text>{@ok_btn=OK}</text>
3658 <actions>
3659 <action function="getpartitiondetails">tw_storage_path</action>
3660 <action function="page">partsdcardcheck</action>
3661 </actions>
3662 </button>
3663
Ethan Yonker483e9f42016-01-11 22:21:18 -06003664 <action>
3665 <touch key="home"/>
3666 <action function="page">main</action>
3667 </action>
3668
3669 <action>
3670 <touch key="back"/>
3671 <action function="page">advanced</action>
3672 </action>
3673 </page>
3674
3675 <page name="partsdcardcheck">
3676 <action>
3677 <condition var1="tw_partition_removable" op="=" var2="1"/>
3678 <actions>
3679 <action function="set">partitionlisterror=0</action>
3680 <action function="page">partsdcard</action>
3681 </actions>
3682 </action>
3683
3684 <action>
3685 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3686 <actions>
3687 <action function="set">partitionlisterror=1</action>
3688 <action function="page">partsdcardsel</action>
3689 </actions>
3690 </action>
3691 </page>
3692
z31s1g28f0a922015-11-07 18:50:22 +01003693 <page name="partsdcard">
3694 <template name="page"/>
3695
3696 <text style="text_l">
3697 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m">
3702 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003703 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003704 </text>
3705
3706 <text style="text_m_fail">
3707 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003708 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </text>
3710
3711 <text style="text_m_fail">
3712 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003714 </text>
3715
3716 <text style="text_m_accent">
3717 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003719 </text>
3720
3721 <text style="text_m">
3722 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3723 <text>%tw_sdext_size%</text>
3724 </text>
3725
3726 <button style="button_quarter_width">
3727 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003729 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003730 </button>
3731
3732 <button style="button_quarter_width">
3733 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003734 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003735 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003736 </button>
3737
3738 <text style="text_m_accent">
3739 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003741 </text>
3742
3743 <text style="text_m">
3744 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3745 <text>%tw_swap_size%</text>
3746 </text>
3747
3748 <button style="button_quarter_width">
3749 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003751 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003752 </button>
3753
3754 <button style="button_quarter_width">
3755 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003756 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003757 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003758 </button>
3759
3760 <text style="text_m_accent">
3761 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003762 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003763 </text>
3764
3765 <text style="text_m">
3766 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3767 <text>%tw_sdpart_file_system%</text>
3768 </text>
3769
3770 <button style="button_quarter_width">
3771 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3772 <text>EXT3</text>
3773 <action function="set">tw_sdpart_file_system=ext3</action>
3774 </button>
3775
3776 <button style="button_quarter_width">
3777 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3778 <text>EXT4</text>
3779 <action function="set">tw_sdpart_file_system=ext4</action>
3780 </button>
3781
3782 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003783 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003784 <action function="page">partsdcardaction</action>
3785 <actions>
3786 <action function="set">tw_back=partsdcard</action>
3787 <action function="set">tw_action=partitionsd</action>
3788 <action function="set">tw_has_action2=1</action>
3789 <action function="set">tw_action2=set</action>
3790 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003791 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3792 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3793 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003794 <action function="page">action_page</action>
3795 </actions>
3796 </slider>
3797
3798 <action>
3799 <touch key="home"/>
3800 <action function="page">main</action>
3801 </action>
3802
3803 <action>
3804 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003805 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003806 </action>
3807 </page>
3808
3809 <page name="htcdumlock">
3810 <template name="page"/>
3811
3812 <text style="text_l">
3813 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003814 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003815 </text>
3816
3817 <text style="text_m">
3818 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003819 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003820 </text>
3821
3822 <button style="main_button_m">
3823 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003825 <actions>
3826 <action function="set">tw_back=htcdumlock</action>
3827 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003828 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3829 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3830 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3831 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003832 <action function="page">confirm_action</action>
3833 </actions>
3834 </button>
3835
3836 <button style="main_button_m">
3837 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 <actions>
3840 <action function="set">tw_back=htcdumlock</action>
3841 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003842 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3843 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3844 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3845 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003846 <action function="page">confirm_action</action>
3847 </actions>
3848 </button>
3849
3850 <button style="main_button_m">
3851 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003853 <actions>
3854 <action function="set">tw_back=htcdumlock</action>
3855 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003856 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3857 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3858 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3859 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003860 <action function="page">confirm_action</action>
3861 </actions>
3862 </button>
3863
3864 <action>
3865 <touch key="home"/>
3866 <action function="page">main</action>
3867 </action>
3868
3869 <action>
3870 <touch key="back"/>
3871 <action function="page">advanced</action>
3872 </action>
3873 </page>
3874
Ethan Yonker53796e72019-01-11 22:49:52 -06003875 <page name="repackselect">
3876 <template name="page"/>
3877
3878 <text style="text_l">
3879 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3880 <text>{@repack_image_hdr=Select Image}</text>
3881 </text>
3882
3883 <text style="text_m">
3884 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3885 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3886 </text>
3887
3888 <template name="sort_options"/>
3889
3890 <fileselector>
3891 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3892 <text>%tw_zip_location%</text>
3893 <filter extn=".img" folders="1" files="1"/>
3894 <path name="tw_zip_location" default="/sdcard"/>
3895 <data name="tw_filename"/>
3896 <selection name="tw_file"/>
3897 </fileselector>
3898
3899 <button style="main_button_half_width_low">
3900 <placement x="%col_button_right%" y="%row16a_y%"/>
3901 <text>{@select_storage_btn=Select Storage}</text>
3902 <actions>
3903 <action function="set">tw_back=install</action>
3904 <action function="overlay">select_storage</action>
3905 </actions>
3906 </button>
3907
3908 <action>
3909 <conditions>
3910 <condition var1="tw_filename" op="modified"/>
3911 </conditions>
3912 <action function="page">repackconfirm</action>
3913 </action>
3914
3915 <action>
3916 <touch key="back"/>
3917 <action function="page">advanced</action>
3918 </action>
3919
3920 <action>
3921 <touch key="home"/>
3922 <action function="page">main</action>
3923 </action>
3924 </page>
3925
3926 <page name="repackconfirm">
3927 <template name="page"/>
3928
3929 <text style="text_l">
3930 <condition var1="tw_repack_kernel" var2="1"/>
3931 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3932 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3933 </text>
3934
3935 <text style="text_l">
3936 <condition var1="tw_repack_kernel" var2="0"/>
3937 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3938 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3939 </text>
3940
3941 <text style="text_m">
3942 <condition var1="tw_repack_kernel" var2="1"/>
3943 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3944 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3945 </text>
3946
3947 <text style="text_m">
3948 <condition var1="tw_repack_kernel" var2="0"/>
3949 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3950 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3951 </text>
3952
3953 <text style="text_m_accent">
3954 <placement x="%indent%" y="%row2_y%"/>
3955 <text>{@folder=Folder:}</text>
3956 </text>
3957
3958 <text style="text_m">
3959 <placement x="%indent%" y="%row3_y%"/>
3960 <text>%tw_zip_location%</text>
3961 </text>
3962
3963 <text style="text_m_accent">
3964 <placement x="%indent%" y="%row4_y%"/>
3965 <text>{@file=File:}</text>
3966 </text>
3967
3968 <text style="text_m">
3969 <placement x="%indent%" y="%row5_y%"/>
3970 <text>%tw_file%</text>
3971 </text>
3972
3973 <checkbox>
3974 <placement x="%indent%" y="%row7_y%"/>
3975 <text>{@repack_backup_first=Back up existing image first}</text>
3976 <data variable="tw_repack_backup_first"/>
3977 </checkbox>
3978
3979 <button style="main_button_half_width">
3980 <placement x="%col1_x_left%" y="%row15a_y%"/>
3981 <text>{@install_cancel=Do not Install}</text>
3982 <action function="page">repackselect</action>
3983 </button>
3984
3985 <slider style="slider_centered">
3986 <text>{@swipe_to_install=Swipe to Install}</text>
3987 <actions>
3988 <action function="set">tw_back=advanced</action>
3989 <action function="set">tw_action=repackimage</action>
3990 <action function="set">tw_action_param=/boot</action>
3991 <action function="set">tw_action_text1={@installing=Installing...}</action>
3992 <action function="set">tw_action_text2=</action>
3993 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3994 <action function="page">action_page</action>
3995 </actions>
3996 </slider>
3997
3998 <action>
3999 <touch key="back"/>
4000 <action function="page">repackselect</action>
4001 </action>
4002
4003 <action>
4004 <touch key="home"/>
4005 <action function="page">main</action>
4006 </action>
4007 </page>
4008
z31s1g28f0a922015-11-07 18:50:22 +01004009 <page name="lock">
4010 <background color="%semi_transparent%"/>
4011
4012 <image>
4013 <image resource="unlock_icon"/>
4014 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4015 </image>
4016
4017 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004018 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004019 <action function="overlay"/>
4020 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004021
4022 <action>
4023 <touch key="power"/>
4024 <action function="togglebacklight"/>
4025 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004026 </page>
4027
4028 <page name="filemanagerlist">
4029 <template name="page"/>
4030
4031 <text style="text_l">
4032 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004033 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004034 </text>
4035
4036 <text style="text_m">
4037 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004038 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004039 </text>
4040
4041 <template name="sort_options"/>
4042
4043 <fileselector>
4044 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4045 <text>%tw_file_location1%</text>
4046 <filter folders="1" files="1"/>
4047 <path name="tw_file_location1" default="/"/>
4048 <data name="tw_filename1"/>
4049 <selection name="tw_selection1"/>
4050 </fileselector>
4051
4052 <button style="main_button_half_width_low">
4053 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004054 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004055 <actions>
4056 <action function="set">tw_filename1=tw_file_location1</action>
4057 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004059 <action function="page">filemanageroptions</action>
4060 </actions>
4061 </button>
4062
4063 <action>
4064 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004065 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004066 <action function="set">tw_fm_isfolder=0</action>
4067 </actions>
4068 </action>
4069
4070 <action>
4071 <touch key="home"/>
4072 <action function="page">main</action>
4073 </action>
4074
4075 <action>
4076 <touch key="back"/>
4077 <action function="page">advanced</action>
4078 </action>
4079
4080 <action>
4081 <condition var1="tw_filename1" op="modified"/>
4082 <action function="page">filemanageroptions</action>
4083 </action>
4084 </page>
4085
4086 <page name="filemanageroptions">
4087 <template name="page"/>
4088
4089 <text style="text_l">
4090 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <text style="text_m">
4095 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <text style="text_m_accent">
4100 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004101 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004102 </text>
4103
4104 <text style="text_m">
4105 <placement x="%col1_x_left%" y="%row3_y%"/>
4106 <text>%tw_filename1%</text>
4107 </text>
4108
4109 <button style="main_button_half_width">
4110 <condition var1="tw_fm_isfolder" var2="0"/>
4111 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004113 <actions>
4114 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004115 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004116 <action function="page">choosedestinationfolder</action>
4117 </actions>
4118 </button>
4119
4120 <button style="main_button_half_width">
4121 <condition var1="tw_fm_isfolder" var2="1"/>
4122 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 <actions>
4125 <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 -05004126 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004127 <action function="page">choosedestinationfolder</action>
4128 </actions>
4129 </button>
4130
4131 <button style="main_button_half_width">
Captain Throwback3b556102021-02-12 19:32:36 -05004132edi <conditions>
4133 <condition var1="tw_include_nano" var2="1"/>
4134 <condition var1="tw_fm_isfolder" var2="0"/>
4135 </conditions>
4136 <placement x="%col1_x_left%" y="%row15a_y%"/>
4137 <text>{@fm_edit_file=Edit File}</text>
4138 <actions>
4139 <action function="editfile">nano "%tw_filename1%"</action>
4140 <action function="page">terminalcommand</action>
4141 </actions>
4142 </button>
4143
4144 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004145 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004146 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004147 <actions>
4148 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004150 <action function="page">choosedestinationfolder</action>
4151 </actions>
4152 </button>
4153
4154 <button style="main_button_half_width">
4155 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004156 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004157 <actions>
4158 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004159 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004160 <action function="set">tw_fm_text2=</action>
4161 <action function="set">tw_fm_text3=</action>
4162 <action function="set">tw_include_text3=0</action>
4163 <action function="set">tw_back=filemanageroptions</action>
4164 <action function="page">filemanagerconfirm</action>
4165 </actions>
4166 </button>
4167
4168 <button style="main_button_half_width">
4169 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004171 <actions>
4172 <action function="set">tw_filemanager_rename=0000</action>
4173 <action function="set">tw_fm_text2=</action>
4174 <action function="set">tw_fm_text3=</action>
4175 <action function="set">tw_include_text3=0</action>
4176 <action function="set">tw_back=filemanageroptions</action>
4177 <action function="page">filemanagerchmod</action>
4178 </actions>
4179 </button>
4180
4181 <button style="main_button_half_width">
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004182 <condition var1="tw_fm_isfolder" var2="1"/>
4183 <placement x="%col2_x_right%" y="%row15a_y%"/>
4184 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4185 <action function="changeterminal">%tw_filename1%</action>
4186 </button>
4187
4188 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004189 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004190 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004191 <actions>
4192 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004194 <action function="set">tw_fm_text2=</action>
4195 <action function="set">tw_fm_text3=</action>
4196 <action function="set">tw_include_text3=0</action>
4197 <action function="set">tw_back=filemanageroptions</action>
4198 <action function="page">filemanagerconfirm</action>
4199 </actions>
4200 </button>
4201
4202 <button style="main_button_half_width">
4203 <condition var1="tw_fm_isfolder" var2="0"/>
4204 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 <actions>
4207 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004209 <action function="set">tw_filemanager_command=mv</action>
4210 <action function="page">filemanagerrenamefile</action>
4211 </actions>
4212 </button>
4213
4214 <button style="main_button_half_width">
4215 <condition var1="tw_fm_isfolder" var2="1"/>
4216 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 <actions>
4219 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004220 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004221 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4222 <action function="page">filemanagerrenamefolder</action>
4223 </actions>
4224 </button>
4225
4226 <action>
4227 <touch key="home"/>
4228 <action function="page">main</action>
4229 </action>
4230
4231 <action>
4232 <touch key="back"/>
4233 <action function="page">filemanagerlist</action>
4234 </action>
4235 </page>
4236
4237 <page name="choosedestinationfolder">
4238 <template name="page"/>
4239
4240 <text style="text_l">
4241 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004242 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004243 </text>
4244
4245 <text style="text_m">
4246 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004247 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004248 </text>
4249
4250 <template name="sort_options"/>
4251
4252 <fileselector>
4253 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4254 <text>%tw_file_location2%</text>
4255 <filter folders="1" files="0"/>
4256 <path name="tw_file_location2" default="/"/>
4257 <data name="tw_filename2"/>
4258 <selection name="tw_selection2"/>
4259 </fileselector>
4260
4261 <button style="main_button_half_width_low">
4262 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <actions>
4265 <action function="set">tw_fm_text2=to</action>
4266 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4267 <action function="set">tw_include_text3=1</action>
4268 <action function="set">tw_back=filemanageroptions</action>
4269 <action function="page">filemanagerconfirm</action>
4270 </actions>
4271 </button>
4272
4273 <action>
4274 <touch key="home"/>
4275 <action function="page">main</action>
4276 </action>
4277
4278 <action>
4279 <touch key="back"/>
4280 <action function="page">filemanageroptions</action>
4281 </action>
4282 </page>
4283
4284 <page name="filemanagerrenamefile">
4285 <template name="page"/>
4286
4287 <text style="text_l">
4288 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004289 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004290 </text>
4291
4292 <text style="text_m">
4293 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004294 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004295 </text>
4296
4297 <text style="text_m_accent">
4298 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004299 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004300 </text>
4301
4302 <input>
4303 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4304 <text>%tw_filemanager_rename%</text>
4305 <data name="tw_filemanager_rename"/>
4306 <restrict minlen="1" maxlen="128"/>
4307 <actions>
4308 <action function="set">tw_fm_text2=to</action>
4309 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4310 <action function="set">tw_include_text3=1</action>
4311 <action function="set">tw_back=filemanageroptions</action>
4312 <action function="page">filemanagerconfirm</action>
4313 </actions>
4314 </input>
4315
4316 <fill color="%accent_color%">
4317 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4318 </fill>
4319
4320 <button style="main_button_half_width_low">
4321 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004322 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004323 <action function="page">filemanageroptions</action>
4324 </button>
4325
4326 <template name="keyboardtemplate"/>
4327
4328 <action>
4329 <touch key="home"/>
4330 <action function="page">main</action>
4331 </action>
4332
4333 <action>
4334 <touch key="back"/>
4335 <action function="page">filemanageroptions</action>
4336 </action>
4337 </page>
4338
4339 <page name="filemanagerrenamefolder">
4340 <template name="page"/>
4341
4342 <text style="text_l">
4343 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 </text>
4346
4347 <text style="text_m">
4348 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004349 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004350 </text>
4351
4352 <text style="text_m_accent">
4353 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004354 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004355 </text>
4356
4357 <input>
4358 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4359 <text>%tw_filemanager_rename%</text>
4360 <data name="tw_filemanager_rename"/>
4361 <restrict minlen="1" maxlen="128"/>
4362 <actions>
4363 <action function="set">tw_fm_text2=to</action>
4364 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4365 <action function="set">tw_include_text3=1</action>
4366 <action function="set">tw_back=filemanageroptions</action>
4367 <action function="page">filemanagerconfirm</action>
4368 </actions>
4369 </input>
4370
4371 <fill color="%accent_color%">
4372 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4373 </fill>
4374
4375 <button style="main_button_half_width_low">
4376 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004378 <action function="page">filemanageroptions</action>
4379 </button>
4380
4381 <template name="keyboardtemplate"/>
4382
4383 <action>
4384 <touch key="home"/>
4385 <action function="page">main</action>
4386 </action>
4387
4388 <action>
4389 <touch key="back"/>
4390 <action function="page">filemanageroptions</action>
4391 </action>
4392 </page>
4393
4394 <page name="filemanagerchmod">
4395 <template name="page"/>
4396
4397 <text style="text_l">
4398 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <text style="text_m">
4403 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </text>
4406
4407 <text style="text_m_accent">
4408 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004409 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004410 </text>
4411
4412 <input>
4413 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4414 <text>%tw_filemanager_rename%</text>
4415 <data name="tw_filemanager_rename"/>
4416 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4417 <actions>
4418 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4419 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4420 <action function="set">tw_back=filemanageroptions</action>
4421 <action function="page">filemanagerconfirm</action>
4422 </actions>
4423 </input>
4424
4425 <fill color="%accent_color%">
4426 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4427 </fill>
4428
4429 <button style="main_button_half_width_low">
4430 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 <action function="page">filemanageroptions</action>
4433 </button>
4434
4435 <template name="keyboardtemplate"/>
4436
4437 <action>
4438 <touch key="home"/>
4439 <action function="page">main</action>
4440 </action>
4441
4442 <action>
4443 <touch key="back"/>
4444 <action function="page">filemanageroptions</action>
4445 </action>
4446 </page>
4447
4448 <page name="filemanagerconfirm">
4449 <template name="page"/>
4450
4451 <text style="text_l">
4452 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 </text>
4455
4456 <text style="text_m">
4457 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004458 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004459 </text>
4460
4461 <text style="text_m_accent">
4462 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4463 <text>%tw_fm_text1%</text>
4464 </text>
4465
4466 <text style="text_m">
4467 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4468 <text>%tw_filename1%</text>
4469 </text>
4470
4471 <text style="text_m_accent">
4472 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4473 <text>%tw_fm_text2%</text>
4474 </text>
4475
4476 <text style="text_m">
4477 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4478 <text>%tw_fm_text3%</text>
4479 </text>
4480
4481 <text style="text_m">
4482 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004484 </text>
4485
4486 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004487 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004488 <action function="page">filemanageraction</action>
4489 </slider>
4490
4491 <action>
4492 <touch key="back"/>
4493 <action function="page">%tw_back%</action>
4494 </action>
4495
4496 <action>
4497 <touch key="home"/>
4498 <action function="page">main</action>
4499 </action>
4500 </page>
4501
4502 <page name="filemanageraction">
4503 <template name="page"/>
4504
4505 <text style="text_l">
4506 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 </text>
4509
4510 <text style="text_m">
4511 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4512 <text>%tw_fm_text1%</text>
4513 </text>
4514
4515 <template name="console"/>
4516
4517 <template name="progress_bar"/>
4518
4519 <action>
4520 <conditions>
4521 <condition var1="tw_operation_state" var2="1"/>
4522 <condition var1="tw_operation_status" var2="0"/>
4523 </conditions>
4524 <actions>
4525 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004526 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004527 <action function="page">action_complete</action>
4528 </actions>
4529 </action>
4530
4531 <action>
4532 <conditions>
4533 <condition var1="tw_operation_state" var2="1"/>
4534 <condition var1="tw_operation_status" op="!=" var2="0"/>
4535 </conditions>
4536 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004538 <action function="page">action_complete</action>
4539 </actions>
4540 </action>
4541
4542 <action>
4543 <condition var1="tw_include_text3" var2="0"/>
4544 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4545 </action>
4546
4547 <action>
4548 <condition var1="tw_include_text3" var2="1"/>
4549 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4550 </action>
4551 </page>
4552
4553 <page name="decrypt">
4554 <template name="page"/>
4555
4556 <action>
4557 <condition var1="tw_crypto_pwtype" var2="2"/>
4558 <action function="page">decrypt_pattern</action>
4559 </action>
4560
4561 <text style="text_l">
4562 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004563 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004564 </text>
4565
4566 <text style="text_m">
4567 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004568 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004569 </text>
4570
4571 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004572 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004573 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004574 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004575 </text>
4576
Noah Jacobson5a79f672019-04-28 00:10:07 -04004577 <text style="text_m_accent">
4578 <condition var1="tw_is_fbe" var2="1"/>
4579 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4580 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4581 </text>
4582
z31s1g28f0a922015-11-07 18:50:22 +01004583 <input>
4584 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4585 <text>%tw_crypto_display%</text>
4586 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4587 <restrict minlen="1" maxlen="254"/>
4588 <action function="page">trydecrypt</action>
4589 </input>
4590
4591 <fill color="%accent_color%">
4592 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4593 </fill>
4594
4595 <fill color="%text_fail_color%">
4596 <condition var1="tw_password_fail" var2="1"/>
4597 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4598 </fill>
4599
4600 <text style="text_m_fail">
4601 <condition var1="tw_password_fail" var2="1"/>
4602 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004603 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004604 </text>
4605
4606 <button style="main_button_half_width_low">
4607 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004608 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004609 <actions>
4610 <action function="set">tw_page_done=1</action>
4611 <action function="page">main</action>
4612 </actions>
4613 </button>
4614
z31s1g608d7ff2016-01-18 19:47:25 +01004615 <button style="main_button_half_width_low">
4616 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4617 <text>{@sel_lang_btn=Select Language}</text>
4618 <action function="overlay">select_language</action>
4619 </button>
4620
z31s1g28f0a922015-11-07 18:50:22 +01004621 <template name="keyboardtemplate"/>
4622 </page>
4623
4624 <page name="decrypt_pattern">
4625 <template name="page"/>
4626
4627 <text style="text_l">
4628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004629 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004630 </text>
4631
4632 <text style="text_m">
4633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 </text>
4636
4637 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004638 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004639 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004640 </text>
4641
Aleksa Saraib25a1832015-12-31 17:36:00 +01004642 <text style="text_m_fail">
4643 <condition var1="tw_password_fail" var2="1"/>
4644 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004645 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004646 </text>
4647
z31s1g28f0a922015-11-07 18:50:22 +01004648 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004649 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4651 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4652 <data name="tw_crypto_password"/>
4653 <action function="page">trydecrypt</action>
4654 </patternpassword>
4655
Aleksa Saraib25a1832015-12-31 17:36:00 +01004656 <button style="main_button_half_width_low">
4657 <placement x="%col_button_right%" y="%row1a_y%"/>
4658 <text>3x3</text>
4659 <action function="set">tw_gui_pattern_grid_size=3</action>
4660 </button>
4661
4662 <button style="main_button_half_width_low">
4663 <placement x="%col_button_right%" y="%row4a_y%"/>
4664 <text>4x4</text>
4665 <action function="set">tw_gui_pattern_grid_size=4</action>
4666 </button>
4667
4668 <button style="main_button_half_width_low">
4669 <placement x="%col_button_right%" y="%row7a_y%"/>
4670 <text>5x5</text>
4671 <action function="set">tw_gui_pattern_grid_size=5</action>
4672 </button>
4673
4674 <button style="main_button_half_width_low">
4675 <placement x="%col_button_right%" y="%row10a_y%"/>
4676 <text>6x6</text>
4677 <action function="set">tw_gui_pattern_grid_size=6</action>
4678 </button>
4679
z31s1g28f0a922015-11-07 18:50:22 +01004680 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004681 <placement x="%col1_x_right%" y="%row15a_y%"/>
4682 <text>{@sel_lang_btn=Select Language}</text>
4683 <action function="overlay">select_language</action>
4684 </button>
4685
4686 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004687 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004688 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004689 <actions>
4690 <action function="set">tw_page_done=1</action>
4691 <action function="page">main</action>
4692 </actions>
4693 </button>
4694 </page>
4695
4696 <page name="trydecrypt">
4697 <template name="page"/>
4698
4699 <text style="text_l">
4700 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004701 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004702 </text>
4703
4704 <text style="text_m">
4705 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004706 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004707 </text>
4708
4709 <template name="console"/>
4710
4711 <template name="progress_bar"/>
4712
4713 <action>
4714 <action function="decrypt"/>
4715 </action>
4716
4717 <action>
4718 <conditions>
4719 <condition var1="tw_operation_state" var2="1"/>
4720 <condition var1="tw_operation_status" op="!=" var2="0"/>
4721 </conditions>
4722 <actions>
4723 <action function="set">tw_password_fail=1</action>
4724 <action function="page">decrypt</action>
4725 </actions>
4726 </action>
4727
4728 <action>
4729 <conditions>
4730 <condition var1="tw_operation_state" var2="1"/>
4731 <condition var1="tw_operation_status" op="=" var2="0"/>
4732 </conditions>
4733 <actions>
4734 <action function="set">tw_page_done=1</action>
4735 <action function="page">main</action>
4736 </actions>
4737 </action>
4738 </page>
4739
z31s1g28f0a922015-11-07 18:50:22 +01004740 <page name="terminalcommand">
4741 <template name="page"/>
4742
4743 <fill color="%background_color%">
4744 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4745 </fill>
4746
z31s1g56189522016-01-13 19:12:40 +01004747 <terminal>
4748 <condition var1="tw_hide_kb" var2="0"/>
4749 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4750 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004751
z31s1g56189522016-01-13 19:12:40 +01004752 <terminal>
4753 <condition var1="tw_hide_kb" var2="1"/>
4754 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4755 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004756
z31s1g56189522016-01-13 19:12:40 +01004757 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004758
z31s1g56189522016-01-13 19:12:40 +01004759 <object type="fill" color="#000000">
4760 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4761 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004762
z31s1g608d7ff2016-01-18 19:47:25 +01004763 <button>
z31s1g56189522016-01-13 19:12:40 +01004764 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4765 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4766 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4767 <image resource="back" />
4768 <condition var1="tw_busy" var2="0" />
4769 <actions>
4770 <action function="set">tw_hide_kb=0</action>
4771 <action function="page">advanced</action>
4772 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004773 </button>
z31s1g56189522016-01-13 19:12:40 +01004774
z31s1g608d7ff2016-01-18 19:47:25 +01004775 <button>
z31s1g56189522016-01-13 19:12:40 +01004776 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4777 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4778 <condition var1="tw_hide_kb" op="=" var2="0" />
4779 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4780 <image resource="kb_hide" />
4781 <condition var1="tw_busy" var2="0" />
4782 <actions>
4783 <action function="set">tw_hide_kb=1</action>
4784 <action function="page">terminalcommand</action>
4785 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004786 </button>
z31s1g56189522016-01-13 19:12:40 +01004787
z31s1g608d7ff2016-01-18 19:47:25 +01004788 <button>
z31s1g56189522016-01-13 19:12:40 +01004789 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4790 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4791 <condition var1="tw_hide_kb" op="=" var2="1" />
4792 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4793 <image resource="kb_show" />
4794 <condition var1="tw_busy" var2="0" />
4795 <actions>
4796 <action function="set">tw_hide_kb=0</action>
4797 <action function="page">terminalcommand</action>
4798 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004799 </button>
z31s1g56189522016-01-13 19:12:40 +01004800
z31s1g608d7ff2016-01-18 19:47:25 +01004801 <button>
z31s1g56189522016-01-13 19:12:40 +01004802 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4803 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4804 <image resource="home" />
4805 <condition var1="tw_busy" var2="0" />
4806 <actions>
4807 <action function="set">tw_hide_kb=0</action>
4808 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004809 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004810 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004811 </button>
z31s1g56189522016-01-13 19:12:40 +01004812
z31s1g608d7ff2016-01-18 19:47:25 +01004813 <button>
z31s1g56189522016-01-13 19:12:40 +01004814 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4815 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4816 <condition var1="tw_hide_kb" op="=" var2="0" />
4817 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4818 <image resource="kb_hide" />
4819 <condition var1="tw_busy" var2="0" />
4820 <actions>
4821 <action function="set">tw_hide_kb=1</action>
4822 <action function="page">terminalcommand</action>
4823 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004824 </button>
z31s1g56189522016-01-13 19:12:40 +01004825
z31s1g608d7ff2016-01-18 19:47:25 +01004826 <button>
z31s1g56189522016-01-13 19:12:40 +01004827 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4828 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4829 <condition var1="tw_hide_kb" op="=" var2="1" />
4830 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4831 <image resource="kb_show" />
4832 <condition var1="tw_busy" var2="0" />
4833 <actions>
4834 <action function="set">tw_hide_kb=0</action>
4835 <action function="page">terminalcommand</action>
4836 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004837 </button>
z31s1g56189522016-01-13 19:12:40 +01004838
z31s1g608d7ff2016-01-18 19:47:25 +01004839 <button>
z31s1g56189522016-01-13 19:12:40 +01004840 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4841 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4842 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="back" />
4844 <condition var1="tw_busy" var2="0" />
4845 <actions>
4846 <action function="set">tw_hide_kb=0</action>
4847 <action function="page">advanced</action>
4848 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004849 </button>
z31s1g56189522016-01-13 19:12:40 +01004850
z31s1g608d7ff2016-01-18 19:47:25 +01004851 <button>
z31s1g56189522016-01-13 19:12:40 +01004852 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4853 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4854 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4855 <image resource="back" />
4856 <condition var1="tw_busy" var2="0" />
4857 <actions>
4858 <action function="set">tw_hide_kb=0</action>
4859 <action function="page">advanced</action>
4860 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004861 </button>
z31s1g56189522016-01-13 19:12:40 +01004862
z31s1g608d7ff2016-01-18 19:47:25 +01004863 <button>
z31s1g56189522016-01-13 19:12:40 +01004864 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4865 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4866 <condition var1="tw_hide_kb" op="=" var2="0" />
4867 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4868 <image resource="kb_hide" />
4869 <condition var1="tw_busy" var2="0" />
4870 <actions>
4871 <action function="set">tw_hide_kb=1</action>
4872 <action function="page">terminalcommand</action>
4873 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004874 </button>
z31s1g56189522016-01-13 19:12:40 +01004875
z31s1g608d7ff2016-01-18 19:47:25 +01004876 <button>
z31s1g56189522016-01-13 19:12:40 +01004877 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4878 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4879 <condition var1="tw_hide_kb" op="=" var2="1" />
4880 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4881 <image resource="kb_show" />
4882 <condition var1="tw_busy" var2="0" />
4883 <actions>
4884 <action function="set">tw_hide_kb=0</action>
4885 <action function="page">terminalcommand</action>
4886 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004887 </button>
z31s1g56189522016-01-13 19:12:40 +01004888
z31s1g608d7ff2016-01-18 19:47:25 +01004889 <button>
z31s1g56189522016-01-13 19:12:40 +01004890 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4891 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4892 <image resource="home" />
4893 <condition var1="tw_busy" var2="0" />
4894 <actions>
4895 <action function="set">tw_hide_kb=0</action>
4896 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004897 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004898 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004899 </button>
z31s1g56189522016-01-13 19:12:40 +01004900
z31s1g608d7ff2016-01-18 19:47:25 +01004901 <button>
z31s1g56189522016-01-13 19:12:40 +01004902 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4903 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4904 <condition var1="tw_hide_kb" op="=" var2="0" />
4905 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4906 <image resource="kb_hide" />
4907 <condition var1="tw_busy" var2="0" />
4908 <actions>
4909 <action function="set">tw_hide_kb=1</action>
4910 <action function="page">terminalcommand</action>
4911 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004912 </button>
z31s1g56189522016-01-13 19:12:40 +01004913
z31s1g608d7ff2016-01-18 19:47:25 +01004914 <button>
z31s1g56189522016-01-13 19:12:40 +01004915 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4916 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4917 <condition var1="tw_hide_kb" op="=" var2="1" />
4918 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4919 <image resource="kb_show" />
4920 <condition var1="tw_busy" var2="0" />
4921 <actions>
4922 <action function="set">tw_hide_kb=0</action>
4923 <action function="page">terminalcommand</action>
4924 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004925 </button>
z31s1g56189522016-01-13 19:12:40 +01004926
z31s1g608d7ff2016-01-18 19:47:25 +01004927 <button>
z31s1g56189522016-01-13 19:12:40 +01004928 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4929 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4930 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4931 <image resource="back" />
4932 <condition var1="tw_busy" var2="0" />
4933 <actions>
4934 <action function="set">tw_hide_kb=0</action>
4935 <action function="page">advanced</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004936 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004937 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004938 </button>
z31s1g56189522016-01-13 19:12:40 +01004939
z31s1g608d7ff2016-01-18 19:47:25 +01004940 <button>
z31s1g56189522016-01-13 19:12:40 +01004941 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4942 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4943 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4944 <image resource="back" />
4945 <condition var1="tw_busy" var2="0" />
4946 <actions>
4947 <action function="set">tw_hide_kb=0</action>
4948 <action function="page">advanced</action>
4949 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004950 </button>
z31s1g56189522016-01-13 19:12:40 +01004951
z31s1g608d7ff2016-01-18 19:47:25 +01004952 <button>
z31s1g56189522016-01-13 19:12:40 +01004953 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4954 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4955 <condition var1="tw_hide_kb" op="=" var2="0" />
4956 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4957 <image resource="kb_hide" />
4958 <condition var1="tw_busy" var2="0" />
4959 <actions>
4960 <action function="set">tw_hide_kb=1</action>
4961 <action function="page">terminalcommand</action>
4962 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004963 </button>
z31s1g56189522016-01-13 19:12:40 +01004964
z31s1g608d7ff2016-01-18 19:47:25 +01004965 <button>
z31s1g56189522016-01-13 19:12:40 +01004966 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4967 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4968 <condition var1="tw_hide_kb" op="=" var2="1" />
4969 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="kb_show" />
4971 <condition var1="tw_busy" var2="0" />
4972 <actions>
4973 <action function="set">tw_hide_kb=0</action>
4974 <action function="page">terminalcommand</action>
4975 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004976 </button>
z31s1g56189522016-01-13 19:12:40 +01004977
z31s1g608d7ff2016-01-18 19:47:25 +01004978 <button>
z31s1g56189522016-01-13 19:12:40 +01004979 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4980 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4981 <image resource="home" />
4982 <condition var1="tw_busy" var2="0" />
4983 <actions>
4984 <action function="set">tw_hide_kb=0</action>
4985 <action function="key">home</action>
4986 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004987 </button>
z31s1g56189522016-01-13 19:12:40 +01004988
z31s1g608d7ff2016-01-18 19:47:25 +01004989 <button>
z31s1g56189522016-01-13 19:12:40 +01004990 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4991 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4992 <condition var1="tw_hide_kb" op="=" var2="0" />
4993 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4994 <image resource="kb_hide" />
4995 <condition var1="tw_busy" var2="0" />
4996 <actions>
4997 <action function="set">tw_hide_kb=1</action>
4998 <action function="page">terminalcommand</action>
4999 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005000 </button>
z31s1g56189522016-01-13 19:12:40 +01005001
z31s1g608d7ff2016-01-18 19:47:25 +01005002 <button>
z31s1g56189522016-01-13 19:12:40 +01005003 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5004 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5005 <condition var1="tw_hide_kb" op="=" var2="1" />
5006 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5007 <image resource="kb_show" />
5008 <condition var1="tw_busy" var2="0" />
5009 <actions>
5010 <action function="set">tw_hide_kb=0</action>
5011 <action function="page">terminalcommand</action>
5012 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005013 </button>
z31s1g56189522016-01-13 19:12:40 +01005014
z31s1g608d7ff2016-01-18 19:47:25 +01005015 <button>
z31s1g56189522016-01-13 19:12:40 +01005016 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5017 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5018 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5019 <image resource="back" />
5020 <condition var1="tw_busy" var2="0" />
5021 <actions>
5022 <action function="set">tw_hide_kb=0</action>
5023 <action function="page">advanced</action>
5024 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005025 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005026
5027 <action>
5028 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005029 <actions>
5030 <action function="page">main</action>
5031 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00005032 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005033 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005034 </action>
5035
5036 <action>
5037 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005038 <actions>
5039 <action function="page">advanced</action>
5040 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00005041 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005042 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005043 </action>
z31s1g56189522016-01-13 19:12:40 +01005044
5045 <object type="action">
5046 <touch key="power+voldown" />
5047 <action function="screenshot" />
5048 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005049 </page>
5050
5051 <page name="sideload">
5052 <template name="page"/>
5053
5054 <text style="text_l">
5055 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005056 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005057 </text>
5058
5059 <text style="text_m">
5060 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005061 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005062 </text>
5063
5064 <checkbox>
5065 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005066 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005067 <data variable="tw_wipe_dalvik"/>
5068 </checkbox>
5069
5070 <checkbox>
5071 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005072 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005073 <data variable="tw_wipe_cache"/>
5074 </checkbox>
5075
5076 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005077 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005078 <actions>
5079 <action function="set">tw_back=advanced</action>
5080 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005081 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5082 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5083 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005084 <action function="set">tw_has_cancel=1</action>
5085 <action function="set">tw_show_reboot=1</action>
5086 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5087 <action function="page">action_page</action>
5088 </actions>
5089 </slider>
5090
5091 <action>
5092 <touch key="home"/>
5093 <action function="page">main</action>
5094 </action>
5095
5096 <action>
5097 <touch key="back"/>
5098 <action function="page">advanced</action>
5099 </action>
5100 </page>
5101
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005102 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005103 <template name="page"/>
5104
5105 <text style="text_l">
5106 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005107 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005108 </text>
5109
5110 <text style="text_m">
5111 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005112 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005113 </text>
5114
5115 <text style="text_m_accent">
5116 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005117 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005118 </text>
5119
z31s1g28f0a922015-11-07 18:50:22 +01005120 <text style="text_m_fail">
5121 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005122 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005123 </text>
5124
5125 <text style="text_m_fail">
5126 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005127 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005128 </text>
5129
5130 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005131 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005132 <actions>
5133 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005134 <action function="set">tw_action=fixcontexts</action>
5135 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5136 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005137 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005138 <action function="set">tw_show_reboot=1</action>
5139 <action function="page">action_page</action>
5140 </actions>
5141 </slider>
5142
5143 <action>
5144 <touch key="home"/>
5145 <action function="page">main</action>
5146 </action>
5147
5148 <action>
5149 <touch key="back"/>
5150 <action function="page">advanced</action>
5151 </action>
5152 </page>
5153
z31s1g28f0a922015-11-07 18:50:22 +01005154 <page name="slideout">
5155 <fill color="%background_color%">
5156 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5157 </fill>
5158
5159 <console>
5160 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5161 </console>
5162
5163 <button>
5164 <fill color="%transparent%"/>
5165 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5166 <action function="overlay"/>
5167 </button>
5168
5169 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005170 <touch key="power"/>
5171 <action function="togglebacklight"/>
5172 </action>
5173
5174 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005175 <touch key="power+voldown"/>
5176 <action function="screenshot"/>
5177 </action>
5178 </page>
5179
5180 <page name="select_storage">
5181 <fill color="%semi_transparent%">
5182 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5183 </fill>
5184
5185 <fill color="%background_color%">
5186 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5187 </fill>
5188
5189 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005190 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005191 <data name="tw_storage_path"/>
5192 <listtype name="storage"/>
5193 </partitionlist>
5194
5195 <button style="button_third_width">
5196 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005197 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005198 <actions>
5199 <action function="set">tw_clear_destination=%tw_back%</action>
5200 <action function="overlay"/>
5201 <action function="page">clear_vars</action>
5202 </actions>
5203 </button>
5204
5205 <fill color="#000000">
5206 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5207 </fill>
5208
5209 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005210 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5211 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5212 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5213 <image resource="back" />
5214 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005215 <actions>
5216 <action function="overlay"/>
5217 <action function="key">%tw_back%</action>
5218 </actions>
5219 </button>
5220
5221 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005222 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5223 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5224 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5225 <image resource="console" />
5226 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005227 <action function="overlay">slideout</action>
5228 </button>
5229
5230 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005231 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5232 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5233 <image resource="home" />
5234 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005235 <actions>
5236 <action function="overlay"/>
5237 <action function="key">home</action>
5238 </actions>
5239 </button>
5240
5241 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005242 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5243 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5244 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5245 <image resource="console" />
5246 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005247 <action function="overlay">slideout</action>
5248 </button>
5249
5250 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005251 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5252 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5253 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5254 <image resource="back" />
5255 <condition var1="tw_busy" var2="0" />
5256 <actions>
5257 <action function="overlay"/>
5258 <action function="key">%tw_back%</action>
5259 </actions>
5260 </button>
5261
5262 <button>
5263 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5264 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5265 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5266 <image resource="back" />
5267 <condition var1="tw_busy" var2="0" />
5268 <actions>
5269 <action function="overlay"/>
5270 <action function="key">%tw_back%</action>
5271 </actions>
5272 </button>
5273
5274 <button>
5275 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5276 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5277 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5278 <image resource="console" />
5279 <condition var1="tw_busy" var2="0" />
5280 <action function="overlay">slideout</action>
5281 </button>
5282
5283 <button>
5284 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5285 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5286 <image resource="home" />
5287 <condition var1="tw_busy" var2="0" />
5288 <actions>
5289 <action function="overlay"/>
5290 <action function="key">home</action>
5291 </actions>
5292 </button>
5293
5294 <button>
5295 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5296 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5297 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5298 <image resource="console" />
5299 <condition var1="tw_busy" var2="0" />
5300 <action function="overlay">slideout</action>
5301 </button>
5302
5303 <button>
5304 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5305 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5306 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5307 <image resource="back" />
5308 <condition var1="tw_busy" var2="0" />
5309 <actions>
5310 <action function="overlay"/>
5311 <action function="key">%tw_back%</action>
5312 </actions>
5313 </button>
5314
5315 <button>
5316 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5317 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5318 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5319 <image resource="back" />
5320 <condition var1="tw_busy" var2="0" />
5321 <actions>
5322 <action function="overlay"/>
5323 <action function="key">%tw_back%</action>
5324 </actions>
5325 </button>
5326
5327 <button>
5328 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5329 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5330 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5331 <image resource="console" />
5332 <condition var1="tw_busy" var2="0" />
5333 <action function="overlay">slideout</action>
5334 </button>
5335
5336 <button>
5337 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5338 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5339 <image resource="home" />
5340 <condition var1="tw_busy" var2="0" />
5341 <actions>
5342 <action function="overlay"/>
5343 <action function="key">home</action>
5344 </actions>
5345 </button>
5346
5347 <button>
5348 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5349 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5350 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5351 <image resource="console" />
5352 <condition var1="tw_busy" var2="0" />
5353 <action function="overlay">slideout</action>
5354 </button>
5355
5356 <button>
5357 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5358 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5359 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5360 <image resource="back" />
5361 <condition var1="tw_busy" var2="0" />
5362 <actions>
5363 <action function="overlay"/>
5364 <action function="key">%tw_back%</action>
5365 </actions>
5366 </button>
5367
5368 <action>
5369 <touch key="power+voldown"/>
5370 <action function="screenshot"/>
5371 </action>
5372 </page>
5373
5374 <page name="select_language">
5375 <fill color="%semi_transparent%">
5376 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5377 </fill>
5378
5379 <fill color="%background_color%">
5380 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5381 </fill>
5382
5383 <listbox>
5384 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5385 <text>{@select_language=Select Language:}</text>
5386 <icon selected="radio_true" unselected="radio_false" />
5387 <data name="tw_language" />
5388 </listbox>
5389
5390 <button style="button_third_width">
5391 <placement x="%dialog_button_x%" y="%row13_y%"/>
5392 <text>{@ok_btn=OK}</text>
5393 <actions>
5394 <action function="overlay"/>
5395 <action function="setlanguage"></action>
5396 </actions>
5397 </button>
5398
5399 <fill color="#000000">
5400 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5401 </fill>
5402
5403 <button>
5404 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5405 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5406 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5407 <image resource="back" />
5408 <condition var1="tw_busy" var2="0" />
5409 <actions>
5410 <action function="overlay"/>
5411 <action function="key">%tw_back%</action>
5412 </actions>
5413 </button>
5414
5415 <button>
5416 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5417 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5418 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5419 <image resource="console" />
5420 <condition var1="tw_busy" var2="0" />
5421 <action function="overlay">slideout</action>
5422 </button>
5423
5424 <button>
5425 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5426 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5427 <image resource="home" />
5428 <condition var1="tw_busy" var2="0" />
5429 <actions>
5430 <action function="overlay"/>
5431 <action function="key">home</action>
5432 </actions>
5433 </button>
5434
5435 <button>
5436 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5437 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5438 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5439 <image resource="console" />
5440 <condition var1="tw_busy" var2="0" />
5441 <action function="overlay">slideout</action>
5442 </button>
5443
5444 <button>
5445 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5446 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5447 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5448 <image resource="back" />
5449 <condition var1="tw_busy" var2="0" />
5450 <actions>
5451 <action function="overlay"/>
5452 <action function="key">%tw_back%</action>
5453 </actions>
5454 </button>
5455
5456 <button>
5457 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5458 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5459 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5460 <image resource="back" />
5461 <condition var1="tw_busy" var2="0" />
5462 <actions>
5463 <action function="overlay"/>
5464 <action function="key">%tw_back%</action>
5465 </actions>
5466 </button>
5467
5468 <button>
5469 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5470 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5471 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5472 <image resource="console" />
5473 <condition var1="tw_busy" var2="0" />
5474 <action function="overlay">slideout</action>
5475 </button>
5476
5477 <button>
5478 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5479 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5480 <image resource="home" />
5481 <condition var1="tw_busy" var2="0" />
5482 <actions>
5483 <action function="overlay"/>
5484 <action function="key">home</action>
5485 </actions>
5486 </button>
5487
5488 <button>
5489 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5490 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5491 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5492 <image resource="console" />
5493 <condition var1="tw_busy" var2="0" />
5494 <action function="overlay">slideout</action>
5495 </button>
5496
5497 <button>
5498 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5499 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5500 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5501 <image resource="back" />
5502 <condition var1="tw_busy" var2="0" />
5503 <actions>
5504 <action function="overlay"/>
5505 <action function="key">%tw_back%</action>
5506 </actions>
5507 </button>
5508
5509 <button>
5510 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5511 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5512 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5513 <image resource="back" />
5514 <condition var1="tw_busy" var2="0" />
5515 <actions>
5516 <action function="overlay"/>
5517 <action function="key">%tw_back%</action>
5518 </actions>
5519 </button>
5520
5521 <button>
5522 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5523 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5524 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5525 <image resource="console" />
5526 <condition var1="tw_busy" var2="0" />
5527 <action function="overlay">slideout</action>
5528 </button>
5529
5530 <button>
5531 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5532 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5533 <image resource="home" />
5534 <condition var1="tw_busy" var2="0" />
5535 <actions>
5536 <action function="overlay"/>
5537 <action function="key">home</action>
5538 </actions>
5539 </button>
5540
5541 <button>
5542 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5543 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5544 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5545 <image resource="console" />
5546 <condition var1="tw_busy" var2="0" />
5547 <action function="overlay">slideout</action>
5548 </button>
5549
5550 <button>
5551 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5552 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5553 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5554 <image resource="back" />
5555 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005556 <actions>
5557 <action function="overlay"/>
5558 <action function="key">%tw_back%</action>
5559 </actions>
5560 </button>
5561
5562 <action>
5563 <touch key="power+voldown"/>
5564 <action function="screenshot"/>
5565 </action>
5566 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005567
5568 <page name="decrypt_users">
5569 <template name="page"/>
5570
5571 <text style="text_l">
5572 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5573 <text>{@decrypt_users=Decrypt Users}</text>
5574 </text>
5575
5576 <text style="text_m_accent">
5577 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5578 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5579 </text>
5580
5581 <listbox>
5582 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5583 <text>{@select_user=Select User}</text>
5584 <icon selected="radio_true" unselected="radio_false" />
5585 <data name="tw_crypto_user_id" />
5586 </listbox>
5587
5588 <button style="main_button_half_width">
5589 <placement x="%col2_x_right%" y="%row15a_y%"/>
5590 <text>{@decrypt_users=Decrypt Users}</text>
5591 <action function="set">tw_crypto_password=</action>
5592 <action function="set">tw_password_fail=0</action>
5593 <action function="page">decrypt</action>
5594 </button>
5595
5596 <action>
5597 <touch key="home"/>
5598 <action function="page">main</action>
5599 </action>
5600
5601 <action>
5602 <touch key="back"/>
5603 <action function="page">advanced</action>
5604 </action>
5605 </page>
epicX98053c32021-01-04 13:01:31 +05305606
5607 <page name="changeTwrpFolder">
5608 <template name="page"/>
5609
5610 <text style="text_l">
5611 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5612 <text>{@advanced_hdr=Advanced}</text>
5613 </text>
5614
5615 <text style="text_m">
5616 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5617 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5618 </text>
5619
5620 <text style="text_m_accent">
5621 <placement x="%col1_x_left%" y="%row2_y%"/>
5622 <text>{@name=Name:}</text>
5623 </text>
5624
5625 <input>
5626 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5627 <text>%tw_custom_folder%</text>
5628 <data name="tw_custom_folder"/>
5629 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5630 <actions>
5631 <action function="set">tw_back=changeTwrpFolder</action>
5632 <action function="set">tw_action=applycustomtwrpfolder</action>
5633 <action function="set">tw_action_param=%tw_custom_folder%</action>
5634 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5635 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5636 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5637 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5638 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5639 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5640 <action function="set">tw_existpage=changeTwrpFolder</action>
5641 <action function="set">tw_notexistpage=confirm_action</action>
5642 <action function="page">filecheck</action>
5643 </actions>
5644 </input>
5645
5646 <fill color="%accent_color%">
5647 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5648 </fill>
5649
5650 <fill color="%text_fail_color%">
5651 <condition var1="tw_fileexists" var2="1"/>
5652 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5653 </fill>
5654
5655 <text style="text_m_fail">
5656 <condition var1="tw_fileexists" var2="1"/>
5657 <placement x="%col1_x_left%" y="%row4_y%"/>
5658 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5659 </text>
5660
5661 <button style="main_button_half_width_low">
5662 <placement x="%indent%" y="%row5_y%"/>
5663 <text>{@cancel_btn=Cancel}</text>
5664 <action function="page">advanced</action>
5665 </button>
5666
5667 <button style="main_button_half_width_low">
5668 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5669 <placement x="%date_button_x%" y="%row5_y%"/>
5670 <text>{@restore_defaults_btn=Restore Defaults}</text>
5671 <actions>
5672 <action function="set">tw_back=changeTwrpFolder</action>
5673 <action function="set">tw_action=applycustomtwrpfolder</action>
5674 <action function="set">tw_action_param=TWRP</action>
5675 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5676 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5677 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5678 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5679 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5680 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5681 <action function="set">tw_existpage=changeTwrpFolder</action>
5682 <action function="set">tw_notexistpage=confirm_action</action>
5683 <action function="page">filecheck</action>
5684 </actions>
5685 </button>
5686
5687 <template name="keyboardtemplate"/>
5688
5689 <action>
5690 <touch key="home"/>
5691 <actions>
5692 <action function="page">main</action>
5693 </actions>
5694 </action>
5695
5696 <action>
5697 <touch key="back"/>
5698 <actions>
5699 <action function="page">advanced</action>
5700 </actions>
5701 </action>
5702 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005703 </pages>
5704</recovery>