blob: 5d3f5eab4f3c525a6440ffc2657288be0707f380 [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
z31s1g28f0a922015-11-07 18:50:22 +0100178 <style name="slider">
179 <placement x="%col2_x_right%" y="%row17a_y%"/>
180 <font resource="font_m" color="%text_color%"/>
181 <resource base="slider" used="slider_used" touch="slider_touch"/>
182 </style>
183
184 <style name="slider_centered">
185 <placement x="%center_x%" y="%row17a_y%"/>
186 <font resource="font_m" color="%text_color%"/>
187 <resource base="slider" used="slider_used" touch="slider_touch"/>
188 </style>
189
190 <style name="slidervalue">
191 <resource handle="handle"/>
192 <font resource="font_m" color="%text_color%"/>
193 <colors line="%fileselector_linecolor%"/>
194 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
195 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100196
197 <style name="patternpassword">
198 <size name="tw_gui_pattern_grid_size" default="3"/>
199 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100200 </styles>
201
202 <pages>
203 <page name="main">
204 <action>
205 <actions>
206 <action function="set">tw_clear_destination=main2</action>
207 <action function="page">clear_vars</action>
208 </actions>
209 </action>
210 </page>
211
212 <page name="main2">
213 <template name="page"/>
214
215 <text style="text_l">
216 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 </text>
219
220 <text style="text_m">
221 <condition var1="tw_no_cpu_temp" var2="0"/>
222 <placement x="%col1_x_header%" y="%row4_header_y%"/>
223 <text>%tw_version%</text>
224 </text>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <actions>
230 <action function="queueclear"/>
231 <action function="set">tw_selectimage=0</action>
232 <action function="page">install</action>
233 </actions>
234 </button>
235
236 <button style="main_button">
237 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500238 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100239 <action function="page">wipe</action>
240 </button>
241
242 <button style="main_button">
243 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500244 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100245 <action function="page">backup</action>
246 </button>
247
248 <button style="main_button">
249 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 <action function="page">restore</action>
252 </button>
253
254 <button style="main_button">
255 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500256 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100257 <action function="page">mount</action>
258 </button>
259
260 <button style="main_button">
261 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500262 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100263 <action function="page">settings</action>
264 </button>
265
266 <button style="main_button">
267 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500268 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100269 <action function="page">advanced</action>
270 </button>
271
272 <button style="main_button">
273 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 <action function="page">reboot</action>
276 </button>
277 </page>
278
279 <page name="install">
280 <template name="page"/>
281
282 <text style="text_l">
283 <condition var1="tw_selectimage" var2="0"/>
284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <text style="text_l">
289 <condition var1="tw_selectimage" var2="1"/>
290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500291 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100292 </text>
293
294 <text style="text_m">
295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500296 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100297 </text>
298
299 <template name="sort_options"/>
300
301 <fileselector>
302 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500303 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100304 <filter folders="1" files="0"/>
305 <path name="tw_zip_location" default="/sdcard"/>
306 <data name="select"/>
307 </fileselector>
308
309 <fileselector>
310 <condition var1="tw_selectimage" var2="0"/>
311 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
312 <text>%tw_zip_location%</text>
mauronofrio0ff59842019-10-26 19:47:55 +0200313 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
Ian Macdonald15430b62021-01-23 18:52:28 +0100314 <prfxfilter prfx="Magisk-;Magisk.apk;app-release.apk;app-debug.apk" folders="1" files="1"/>
z31s1g28f0a922015-11-07 18:50:22 +0100315 <path name="tw_zip_location" default="/sdcard"/>
316 <data name="tw_filename"/>
317 <selection name="tw_file"/>
318 </fileselector>
319
320 <fileselector>
321 <condition var1="tw_selectimage" var2="1"/>
322 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
323 <text>%tw_zip_location%</text>
324 <filter extn=".img" folders="0" files="1"/>
325 <path name="tw_zip_location" default="/sdcard"/>
326 <data name="tw_filename"/>
327 <selection name="tw_file"/>
328 </fileselector>
329
330 <button style="main_button_half_width_low">
331 <condition var1="tw_selectimage" var2="0"/>
332 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500333 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100334 <actions>
335 <action function="set">tw_selectimage=1</action>
336 <action function="page">install</action>
337 </actions>
338 </button>
339
340 <button style="main_button_half_width_low">
341 <condition var1="tw_selectimage" var2="1"/>
342 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500343 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100344 <actions>
345 <action function="set">tw_selectimage=0</action>
346 <action function="page">install</action>
347 </actions>
348 </button>
349
350 <button style="main_button_half_width_low">
351 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500352 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100353 <actions>
354 <action function="set">tw_back=install</action>
355 <action function="overlay">select_storage</action>
356 </actions>
357 </button>
358
359 <action>
360 <conditions>
361 <condition var1="tw_selectimage" var2="0"/>
362 <condition var1="tw_filename" op="modified"/>
363 </conditions>
364 <actions>
365 <action function="queuezip"/>
366 <action function="page">flash_confirm</action>
367 </actions>
368 </action>
369
370 <action>
371 <conditions>
372 <condition var1="tw_selectimage" var2="1"/>
373 <condition var1="tw_filename" op="modified"/>
374 </conditions>
375 <action function="page">flashimage_confirm</action>
376 </action>
377
378 <action>
379 <touch key="back"/>
380 <action function="page">main</action>
381 </action>
382
383 <action>
384 <touch key="home"/>
385 <action function="page">main</action>
386 </action>
387 </page>
388
389 <page name="flash_confirm">
390 <template name="page"/>
391
392 <text style="text_l">
393 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500394 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100395 </text>
396
397 <text style="text_m">
398 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500399 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100400 </text>
401
402 <text style="text_m_accent">
403 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500404 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100405 </text>
406
407 <text style="text_m_accent">
408 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500409 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100410 </text>
411
412 <text style="text_m">
413 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500414 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100415 </text>
416
417 <text style="text_m_accent">
418 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500419 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100420 </text>
421
422 <text style="text_m">
423 <placement x="%col1_x_left%" y="%row9_y%"/>
424 <text>%tw_zip_location%</text>
425 </text>
426
427 <text style="text_m_accent">
428 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500429 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100430 </text>
431
432 <text style="text_m">
433 <placement x="%col1_x_left%" y="%row12_y%"/>
434 <text>%tw_file%</text>
435 </text>
436
437 <text style="text_m_accent">
438 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500439 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100440 </text>
441
442 <checkbox>
443 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500444 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100445 <data variable="tw_signed_zip_verify"/>
446 </checkbox>
447
448 <checkbox>
449 <condition var1="tw_has_injecttwrp" var2="1"/>
450 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 <data variable="tw_inject_after_zip"/>
453 </checkbox>
454
bigbiffa869fc72016-03-01 19:40:36 -0500455 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500456 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500457 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500458 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500459 </checkbox>
460
z31s1g28f0a922015-11-07 18:50:22 +0100461 <button style="main_button_half_width">
462 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500463 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100464 <action function="page">install</action>
465 </button>
466
467 <button style="main_button_half_width">
468 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500469 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100470 <actions>
471 <action function="queueclear"/>
472 <action function="page">install</action>
473 </actions>
474 </button>
475
476 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500477 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100478 <action function="flash">flash_zip</action>
479 </slider>
480
481 <action>
482 <touch key="back"/>
483 <actions>
484 <action function="cancelzip"/>
485 <action function="page">install</action>
486 </actions>
487 </action>
488
489 <action>
490 <touch key="home"/>
491 <action function="page">main</action>
492 </action>
493 </page>
494
495 <page name="flash_zip">
496 <template name="page"/>
497
498 <text style="text_l">
499 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500500 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100501 </text>
502
503 <text style="text_m">
504 <placement x="%col1_x_header%" y="%row4_header_y%"/>
505 <text>%tw_file%</text>
506 </text>
507
508 <template name="console"/>
509
510 <template name="progress_bar"/>
511
512 <action>
513 <condition var1="tw_operation_state" var2="1"/>
514 <action function="page">flash_done</action>
515 </action>
516 </page>
517
518 <page name="flash_done">
519 <template name="page"/>
520
521 <text style="text_l">
522 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500523 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100524 </text>
525
526 <text style="text_m_fail">
527 <condition var1="tw_operation_status" op="!=" var2="0"/>
528 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500529 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100530 </text>
531
532 <text style="text_m">
533 <condition var1="tw_operation_status" var2="0"/>
534 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500535 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100536 </text>
537
538 <template name="console"/>
539
540 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500541 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100542 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500543 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100544 <actions>
545 <action function="set">tw_back=flash_done</action>
546 <action function="set">tw_action=wipe</action>
547 <action function="set">tw_action_param=/cache</action>
548 <action function="set">tw_has_action2=1</action>
549 <action function="set">tw_action2=wipe</action>
550 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500551 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
552 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
553 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
554 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100555 <action function="page">confirm_action</action>
556 </actions>
557 </button>
558
559 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500560 <condition var1="tw_ab_device" var2="1"/>
561 <placement x="%indent%" y="%row21a_y%"/>
562 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
563 <actions>
564 <action function="set">tw_back=flash_done</action>
565 <action function="set">tw_action=wipe</action>
566 <action function="set">tw_action_param=dalvik</action>
567 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
568 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
569 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
570 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
571 <action function="page">confirm_action</action>
572 </actions>
573 </button>
574
575 <button style="main_button_half_width">
Chaosmaster90df3de2020-02-07 20:33:43 +0100576 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100577 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500578 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100579 <actions>
580 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500581 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100582 </actions>
583 </button>
584
Chaosmaster90df3de2020-02-07 20:33:43 +0100585 <button style="main_button_half_width">
586 <condition var1="tw_ab_device" var2="1"/>
587 <placement x="%center_x%" y="%row15a_y%"/>
588 <text>{@reboot_btn=Reboot}</text>
589 <actions>
590 <action function="set">tw_back=main2</action>
591 <action function="page">reboot</action>
592 </actions>
593 </button>
594
595
z31s1g28f0a922015-11-07 18:50:22 +0100596 <action>
597 <touch key="back"/>
598 <actions>
599 <action function="set">tw_clear_destination=install</action>
600 <action function="page">clear_vars</action>
601 </actions>
602 </action>
603
604 <action>
605 <touch key="home"/>
606 <actions>
607 <action function="set">tw_clear_destination=main2</action>
608 <action function="page">clear_vars</action>
609 </actions>
610 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500611
612 <action>
613 <conditions>
614 <condition var1="tw_install_reboot" var2="1"/>
615 <condition var1="tw_operation_status" var2="0"/>
616 <condition var1="tw_reboot_system" var2="1"/>
617 </conditions>
618 <actions>
619 <action function="set">tw_sleep=%tw_sleep_total%</action>
620 <action function="page">flash_sleep_and_reboot</action>
621 </actions>
622 </action>
623 </page>
624
625 <page name="flash_sleep_and_reboot">
626 <template name="page"/>
627
628 <text style="text_l">
629 <placement x="%col1_x_header%" y="%row3_header_y%"/>
630 <text>{@install_zip_hdr=Install Zip}</text>
631 </text>
632
633 <text style="text_m">
634 <placement x="%col1_x_header%" y="%row4_header_y%"/>
635 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
636 </text>
637
638 <template name="console"/>
639
640 <template name="progress_bar"/>
641
642 <button style="main_button_half_width">
643 <condition var1="tw_sleep" op="&gt;" var2="0"/>
644 <placement x="%center_x%" y="%row15a_y%"/>
645 <text>{@cancel_btn=Cancel}</text>
646 <actions>
647 <action function="set">tw_install_reboot=0</action>
648 <action function="page">flash_done</action>
649 </actions>
650 </button>
651
652 <action>
653 <conditions>
654 <condition var1="tw_sleep" var2="tw_sleep_total"/>
655 <condition var1="tw_install_reboot" var2="1"/>
656 </conditions>
657 <action function="sleepcounter">%tw_sleep_total%</action>
658 </action>
659
660 <action>
661 <conditions>
662 <condition var1="tw_sleep" var2="0"/>
663 <condition var1="tw_install_reboot" var2="1"/>
664 </conditions>
665 <actions>
666 <action function="sleep">50000</action>
667 <action function="set">tw_back=main2</action>
668 <action function="page">reboot_system_routine</action>
669 </actions>
670 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100671 </page>
672
673 <page name="flashimage_confirm">
674 <template name="page"/>
675
676 <text style="text_l">
677 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500678 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100679 </text>
680
681 <text style="text_m">
682 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500683 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100684 </text>
685
686 <text style="text_m_accent">
687 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500688 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100689 </text>
690
691 <text style="text_m">
692 <placement x="%col1_x_left%" y="%row9_y%"/>
693 <text>%tw_zip_location%</text>
694 </text>
695
696 <text style="text_m_accent">
697 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500698 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100699 </text>
700
701 <text style="text_m">
702 <placement x="%col1_x_left%" y="%row12_y%"/>
703 <text>%tw_file%</text>
704 </text>
705
706 <partitionlist>
707 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
708 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500709 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100710 <data name="tw_flash_partition"/>
711 <listtype name="flashimg"/>
712 </partitionlist>
713
714 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500715 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100716 <actions>
717 <action function="set">tw_back=flashimage_confirm</action>
718 <action function="set">tw_action=flashimage</action>
719 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500720 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100721 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500722 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100723 <action function="page">action_page</action>
724 </actions>
725 <action function="flashimage"/>
726 </slider>
727
728 <action>
729 <touch key="back"/>
730 <actions>
731 <action function="set">tw_clear_destination=install</action>
732 <action function="page">clear_vars</action>
733 </actions>
734 </action>
735
736 <action>
737 <touch key="home"/>
738 <actions>
739 <action function="set">tw_clear_destination=main2</action>
740 <action function="page">clear_vars</action>
741 </actions>
742 </action>
743 </page>
744
745 <page name="clear_vars">
746 <action>
747 <action function="set">tw_operation_state=0</action>
748 <action function="set">tw_text1=</action>
749 <action function="set">tw_text2=</action>
750 <action function="set">tw_text3=</action>
751 <action function="set">tw_text4=</action>
752 <action function="set">tw_action_text1=</action>
753 <action function="set">tw_action_text2=</action>
754 <action function="set">tw_action_param=</action>
755 <action function="set">tw_has_action2=0</action>
756 <action function="set">tw_action2=</action>
757 <action function="set">tw_action2_param=</action>
758 <action function="set">tw_has_cancel=0</action>
759 <action function="set">tw_cancel_action=</action>
760 <action function="set">tw_cancel_param=</action>
761 <action function="set">tw_show_exclamation=0</action>
762 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400763 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400764 <action function="set">tw_multiuser_warning_accepted=</action>
765 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100766 <action function="page">%tw_clear_destination%</action>
767 </action>
768 </page>
769
Matt Mower908dd252016-05-25 02:26:50 -0500770 <page name="reboot_system_routine">
771 <action>
772 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500773 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500774 <action function="set">tw_has_action2=0</action>
775 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
776 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
777 <action function="set">tw_text3=</action>
778 <action function="set">tw_text4=</action>
779 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
780 <action function="set">tw_action_text2=</action>
781 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
782 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
783 <action function="page">rebootcheck</action>
784 </action>
785 </page>
786
z31s1g28f0a922015-11-07 18:50:22 +0100787 <page name="confirm_action">
788 <template name="page"/>
789
790 <text style="text_l">
791 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500792 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100793 </text>
794
795 <text style="text_m">
796 <placement x="%col1_x_header%" y="%row4_header_y%"/>
797 <text/>
798 </text>
799
800 <text style="text_m_accent">
801 <placement x="%center_x%" y="%row2_y%" placement="5"/>
802 <text>%tw_text1%</text>
803 </text>
804
805 <text style="text_m_accent">
806 <placement x="%center_x%" y="%row3_y%" placement="5"/>
807 <text>%tw_text2%</text>
808 </text>
809
810 <text style="text_m">
811 <placement x="%center_x%" y="%row4_y%" placement="5"/>
812 <text>%tw_text3%</text>
813 </text>
814
815 <text style="text_m">
816 <placement x="%center_x%" y="%row5_y%" placement="5"/>
817 <text>%tw_text4%</text>
818 </text>
819
820 <text style="text_m">
821 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500822 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100823 </text>
824
825 <slider style="slider_centered">
826 <text>%tw_slider_text%</text>
827 <action function="page">action_page</action>
828 </slider>
829
830 <action>
831 <touch key="back"/>
832 <actions>
833 <action function="set">tw_clear_destination=%tw_back%</action>
834 <action function="page">clear_vars</action>
835 </actions>
836 </action>
837
838 <action>
839 <touch key="home"/>
840 <action function="page">main</action>
841 </action>
842 </page>
843
844 <page name="action_page">
845 <template name="page"/>
846
847 <text style="text_l">
848 <placement x="%col1_x_header%" y="%row3_header_y%"/>
849 <text>%tw_action_text1%</text>
850 </text>
851
852 <text style="text_m">
853 <placement x="%col1_x_header%" y="%row4_header_y%"/>
854 <text>%tw_action_text2%</text>
855 </text>
856
857 <template name="console"/>
858
859 <template name="progress_bar"/>
860
861 <button style="main_button_half_width">
862 <condition var1="tw_has_cancel" var2="1"/>
863 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500864 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100865 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
866 </button>
867
868 <action>
869 <condition var1="tw_operation_state" var2="1"/>
870 <actions>
871 <action function="page">action_complete</action>
872 </actions>
873 </action>
874
875 <action>
876 <condition var1="tw_has_action2" var2="0"/>
877 <actions>
878 <action function="%tw_action%">%tw_action_param%</action>
879 </actions>
880 </action>
881
882 <action>
883 <condition var1="tw_has_action2" var2="1"/>
884 <actions>
885 <action function="%tw_action%">%tw_action_param%</action>
886 <action function="%tw_action2%">%tw_action2_param%</action>
887 </actions>
888 </action>
889 </page>
890
891 <page name="singleaction_page">
892 <template name="page"/>
893
894 <text style="text_l">
895 <placement x="%col1_x_header%" y="%row3_header_y%"/>
896 <text>%tw_action_text1%</text>
897 </text>
898
899 <text style="text_m">
900 <placement x="%col1_x_header%" y="%row4_header_y%"/>
901 <text>%tw_action_text2%</text>
902 </text>
903
904 <template name="console"/>
905
906 <template name="progress_bar"/>
907
908 <action>
909 <condition var1="tw_operation_state" var2="1"/>
910 <actions>
911 <action function="set">tw_page_done=1</action>
912 </actions>
913 </action>
914
915 <action>
916 <condition var1="tw_has_action2" var2="0"/>
917 <actions>
918 <action function="%tw_action%">%tw_action_param%</action>
919 </actions>
920 </action>
921
922 <action>
923 <condition var1="tw_has_action2" var2="1"/>
924 <actions>
925 <action function="%tw_action%">%tw_action_param%</action>
926 <action function="%tw_action2%">%tw_action2_param%</action>
927 </actions>
928 </action>
929 </page>
930
931 <page name="action_complete">
932 <template name="page"/>
933
934 <text style="text_l">
935 <placement x="%col1_x_header%" y="%row3_header_y%"/>
936 <text>%tw_complete_text1%</text>
937 </text>
938
939 <text style="text_m_fail">
940 <condition var1="tw_operation_status" op="!=" var2="0"/>
941 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500942 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100943 </text>
944
945 <text style="text_m">
946 <condition var1="tw_operation_status" var2="0"/>
947 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500948 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100949 </text>
950
951 <template name="console"/>
952
953 <button style="main_button_half_width">
954 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500955 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100956 <actions>
957 <action function="set">tw_clear_destination=%tw_back%</action>
958 <action function="page">clear_vars</action>
959 </actions>
960 </button>
961
962 <button style="main_button_half_width">
963 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500964 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100965 <actions>
966 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500967 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100968 </actions>
969 </button>
970
971 <action>
972 <touch key="home"/>
973 <actions>
974 <action function="set">tw_clear_destination=main2</action>
975 <action function="page">clear_vars</action>
976 </actions>
977 </action>
978
979 <action>
980 <touch key="back"/>
981 <actions>
982 <action function="set">tw_clear_destination=%tw_back%</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </action>
986 </page>
987
988 <page name="filecheck">
989 <action>
990 <action function="fileexists">%tw_filecheck%</action>
991 </action>
992
993 <action>
994 <conditions>
995 <condition var1="tw_operation_state" var2="1"/>
996 <condition var1="tw_operation_status" var2="0"/>
997 </conditions>
998 <actions>
999 <action function="set">tw_fileexists=1</action>
1000 <action function="page">%tw_existpage%</action>
1001 </actions>
1002 </action>
1003
1004 <action>
1005 <conditions>
1006 <condition var1="tw_operation_state" var2="1"/>
1007 <condition var1="tw_operation_status" var2="1"/>
1008 </conditions>
1009 <actions>
1010 <action function="set">tw_fileexists=0</action>
1011 <action function="page">%tw_notexistpage%</action>
1012 </actions>
1013 </action>
1014 </page>
1015
1016 <page name="rebootcheck">
1017 <action>
1018 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001019 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001020 </action>
1021
1022 <action>
1023 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1024 <action function="page">confirm_action</action>
1025 </action>
1026 </page>
1027
1028 <page name="wipe">
1029 <template name="page"/>
1030
1031 <text style="text_l">
1032 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001033 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001034 </text>
1035
1036 <text style="text_m">
1037 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001038 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001039 </text>
1040
1041 <text style="text_m_accent">
1042 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001043 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001044 </text>
1045
1046 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001047 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001048 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1049 </text>
1050
1051 <text style="text_m_accent">
1052 <condition var1="tw_has_data_media" var2="1"/>
1053 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001054 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </text>
1056
1057 <text style="text_m_accent">
1058 <conditions>
1059 <condition var1="tw_has_android_secure" var2="1"/>
1060 <condition var1="fileexists" var2="/and-sec"/>
1061 </conditions>
1062 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001063 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001064 </text>
1065
1066 <text style="text_m_accent">
1067 <condition var1="tw_has_sdext_partition" var2="1"/>
1068 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001069 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001070 </text>
1071
1072 <text style="text_m">
1073 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001074 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001075 </text>
1076
1077 <text style="text_m">
1078 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001079 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001080 </text>
1081
1082 <text style="text_m">
1083 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001084 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001085 </text>
1086
1087 <button style="main_button_half_width">
1088 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001089 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001090 <actions>
1091 <action function="set">partitionlisterror=0</action>
1092 <action function="page">advancedwipe</action>
1093 </actions>
1094 </button>
1095
1096 <button style="main_button_half_width">
1097 <condition var1="tw_has_data_media" var2="1"/>
1098 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001099 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001100 <action function="page">formatdata</action>
1101 </button>
1102
1103 <button style="main_button_half_width">
1104 <conditions>
1105 <condition var1="tw_is_encrypted" var2="1"/>
1106 <condition var1="tw_has_data_media" var2="0"/>
1107 </conditions>
1108 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 <actions>
1111 <action function="set">tw_back=wipe</action>
1112 <action function="set">tw_action=wipe</action>
1113 <action function="set">tw_action_param=DATAMEDIA</action>
1114 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001115 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001116 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001117 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1118 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1119 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001120 <action function="page">confirm_action</action>
1121 </actions>
1122 </button>
1123
1124 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001125 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001126 <actions>
1127 <action function="set">tw_back=wipe</action>
1128 <action function="set">tw_action=wipe</action>
1129 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1131 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001132 <action function="page">action_page</action>
1133 </actions>
1134 </slider>
1135
1136 <action>
1137 <touch key="back"/>
1138 <action function="page">main</action>
1139 </action>
1140
1141 <action>
1142 <touch key="home"/>
1143 <action function="page">main</action>
1144 </action>
1145 </page>
1146
1147 <page name="advancedwipe">
1148 <template name="page"/>
1149
1150 <action>
1151 <action function="set">tw_wipe_list=</action>
1152 </action>
1153
1154 <text style="text_l">
1155 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001156 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001157 </text>
1158
1159 <text style="text_m">
1160 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001161 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001162 </text>
1163
1164 <partitionlist>
1165 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001166 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001167 <data name="tw_wipe_list"/>
1168 <listtype name="wipe"/>
1169 </partitionlist>
1170
1171 <text style="text_m_fail">
1172 <condition var1="partitionlisterror" var2="1"/>
1173 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001174 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001175 </text>
1176
1177 <button style="main_button_m">
1178 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001179 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001180 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001181 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001182 <action function="page">checkpartitionlist</action>
1183 </actions>
1184 </button>
1185
1186 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001187 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001188 <actions>
1189 <action function="set">tw_back=advancedwipe</action>
1190 <action function="set">tw_action=wipe</action>
1191 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001192 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1193 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1194 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001195 <action function="page">action_page</action>
1196 </actions>
1197 </slider>
1198
1199 <action>
1200 <touch key="home"/>
1201 <action function="page">main</action>
1202 </action>
1203
1204 <action>
1205 <touch key="back"/>
1206 <action function="page">wipe</action>
1207 </action>
1208 </page>
1209
1210 <page name="formatdata">
1211 <template name="page"/>
1212
1213 <text style="text_l">
1214 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001215 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001216 </text>
1217
1218 <text style="text_m">
1219 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001220 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001221 </text>
1222
1223 <text style="text_m_fail">
1224 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001225 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001226 </text>
1227
1228 <text style="text_m_fail">
1229 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001230 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001231 </text>
1232
Ethan Yonker66a19492015-12-10 10:19:45 -06001233 <text style="text_m_fail">
1234 <condition var1="tw_has_adopted_storage" var2="1"/>
1235 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1236 <text>{@format_data_adopted=Including Adopted Storage}</text>
1237 </text>
1238
z31s1g28f0a922015-11-07 18:50:22 +01001239 <text style="text_m">
1240 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m">
1245 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <input>
1250 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1251 <text>%tw_confirm_formatdata%</text>
1252 <data name="tw_confirm_formatdata"/>
1253 <restrict minlen="3" maxlen="3" allow="yes"/>
1254 <action function="page">formatdata_confirm</action>
1255 </input>
1256
1257 <fill color="%accent_color%">
1258 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1259 </fill>
1260
1261 <template name="keyboardtemplate"/>
1262
1263 <action>
1264 <touch key="home"/>
1265 <action function="page">main</action>
1266 </action>
1267
1268 <action>
1269 <touch key="back"/>
1270 <action function="page">wipe</action>
1271 </action>
1272 </page>
1273
1274 <page name="formatdata_confirm">
1275 <action>
1276 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1277 <actions>
1278 <action function="set">tw_back=formatdata</action>
1279 <action function="set">tw_action=wipe</action>
1280 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001281 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1282 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001283 <action function="page">action_page</action>
1284 </actions>
1285 </action>
1286
1287 <action>
1288 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1289 <action function="page">formatdata</action>
1290 </action>
1291 </page>
1292
1293 <page name="checkpartitionlist">
1294 <action>
1295 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1296 <actions>
1297 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001298 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001299 <action function="page">partitionoptions</action>
1300 </actions>
1301 </action>
1302
1303 <action>
1304 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1305 <actions>
1306 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001307 <action function="page">advancedwipe</action>
1308 </actions>
1309 </action>
1310 </page>
1311
1312 <page name="partitionoptions">
1313 <template name="page"/>
1314
1315 <text style="text_l">
1316 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001317 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001318 </text>
1319
1320 <text style="text_m">
1321 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001322 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001323 </text>
1324
1325 <text style="text_m_accent">
1326 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001327 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001328 </text>
1329
1330 <text style="text_m_accent">
1331 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001332 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001333 </text>
1334
1335 <text style="text_m">
1336 <condition var1="tw_partition_is_present" var2="1"/>
1337 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 </text>
1340
1341 <text style="text_m">
1342 <condition var1="tw_partition_is_present" var2="0"/>
1343 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m">
1348 <condition var1="tw_partition_removable" var2="1"/>
1349 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001351 </text>
1352
1353 <text style="text_m">
1354 <condition var1="tw_partition_removable" var2="0"/>
1355 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001356 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001357 </text>
1358
1359 <text style="text_m">
1360 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001361 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001362 </text>
1363
1364 <text style="text_m">
1365 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001367 </text>
1368
1369 <text style="text_m">
1370 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001372 </text>
1373
1374 <text style="text_m">
1375 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001376 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001377 </text>
1378
1379 <button style="main_button_half_width">
1380 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1381 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 <actions>
1384 <action function="set">tw_back=partitionoptions</action>
1385 <action function="set">tw_action=resize</action>
1386 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1387 <action function="set">tw_has_action2=1</action>
1388 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001389 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001390 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001391 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1393 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1394 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001395 <action function="page">confirm_action</action>
1396 </actions>
1397 </button>
1398
1399 <button style="main_button_half_width">
1400 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1401 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001402 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001403 <actions>
1404 <action function="set">tw_back=partitionoptions</action>
1405 <action function="set">tw_action=repair</action>
1406 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1407 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001408 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001409 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001410 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1411 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1412 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001413 <action function="page">confirm_action</action>
1414 </actions>
1415 </button>
1416
1417 <button style="main_button_half_width">
1418 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001420 <action function="page">selectfilesystem</action>
1421 </button>
1422
1423 <action>
1424 <touch key="home"/>
1425 <action function="page">main</action>
1426 </action>
1427
1428 <action>
1429 <touch key="back"/>
1430 <action function="page">advancedwipe</action>
1431 </action>
1432 </page>
1433
1434 <page name="refreshfilesystem">
1435 <action>
1436 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1437 <actions>
1438 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001439 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001440 <action function="page">selectfilesystem</action>
1441 </actions>
1442 </action>
1443
1444 <action>
1445 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1446 <actions>
1447 <action function="set">partitionlisterror=1</action>
1448 <action function="set">tw_wipe_list=</action>
1449 <action function="page">advancedwipe</action>
1450 </actions>
1451 </action>
1452 </page>
1453
1454 <page name="selectfilesystem">
1455 <template name="page"/>
1456
1457 <text style="text_l">
1458 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001459 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001460 </text>
1461
1462 <text style="text_m">
1463 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001464 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001465 </text>
1466
1467 <text style="text_m_accent">
1468 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001469 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001470 </text>
1471
1472 <text style="text_m_accent">
1473 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001474 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001475 </text>
1476
1477 <text style="text_m_fail">
1478 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001479 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001480 </text>
1481
1482 <text style="text_m_fail">
1483 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001484 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001485 </text>
1486
1487 <button style="main_button_half_width">
1488 <condition var1="tw_partition_ext" op="=" var2="1"/>
1489 <placement x="%col1_x_left%" y="%row11_y%"/>
1490 <text>EXT2</text>
1491 <actions>
1492 <action function="set">tw_back=refreshfilesystem</action>
1493 <action function="set">tw_action=changefilesystem</action>
1494 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1495 <action function="set">tw_action_new_file_system=ext2</action>
1496 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001497 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1498 <action function="set">tw_text2=EXT2</action>
1499 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1500 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1501 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001502 <action function="page">confirm_action</action>
1503 </actions>
1504 </button>
1505
1506 <button style="main_button_half_width">
1507 <condition var1="tw_partition_ext" op="=" var2="1"/>
1508 <placement x="%col2_x_left%" y="%row11_y%"/>
1509 <text>EXT3</text>
1510 <actions>
1511 <action function="set">tw_back=refreshfilesystem</action>
1512 <action function="set">tw_action=changefilesystem</action>
1513 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1514 <action function="set">tw_action_new_file_system=ext3</action>
1515 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001516 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1517 <action function="set">tw_text2=EXT3</action>
1518 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1519 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1520 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001521 <action function="page">confirm_action</action>
1522 </actions>
1523 </button>
1524
1525 <button style="main_button_half_width">
1526 <condition var1="tw_partition_ext" op="=" var2="1"/>
1527 <placement x="%center_x%" y="%row11_y%"/>
1528 <text>EXT4</text>
1529 <actions>
1530 <action function="set">tw_back=refreshfilesystem</action>
1531 <action function="set">tw_action=changefilesystem</action>
1532 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1533 <action function="set">tw_action_new_file_system=ext4</action>
1534 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001535 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1536 <action function="set">tw_text2=EXT4</action>
1537 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1538 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1539 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001540 <action function="page">confirm_action</action>
1541 </actions>
1542 </button>
1543
1544 <button style="main_button_half_width">
1545 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1546 <placement x="%col2_x_right%" y="%row11_y%"/>
1547 <text>FAT</text>
1548 <actions>
1549 <action function="set">tw_back=refreshfilesystem</action>
1550 <action function="set">tw_action=changefilesystem</action>
1551 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1552 <action function="set">tw_action_new_file_system=vfat</action>
1553 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001554 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1555 <action function="set">tw_text2=FAT</action>
1556 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1557 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1558 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001559 <action function="page">confirm_action</action>
1560 </actions>
1561 </button>
1562
1563 <button style="main_button_half_width">
1564 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1565 <placement x="%col2_x_left%" y="%row15a_y%"/>
1566 <text>exFAT</text>
1567 <actions>
1568 <action function="set">tw_back=refreshfilesystem</action>
1569 <action function="set">tw_action=changefilesystem</action>
1570 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1571 <action function="set">tw_action_new_file_system=exfat</action>
1572 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001573 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1574 <action function="set">tw_text2=exFAT</action>
1575 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1576 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1577 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001578 <action function="page">confirm_action</action>
1579 </actions>
1580 </button>
1581
1582 <button style="main_button_half_width">
1583 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1584 <placement x="%center_x%" y="%row15a_y%"/>
1585 <text>F2FS</text>
1586 <actions>
1587 <action function="set">tw_back=refreshfilesystem</action>
1588 <action function="set">tw_action=changefilesystem</action>
1589 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1590 <action function="set">tw_action_new_file_system=f2fs</action>
1591 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001592 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1593 <action function="set">tw_text2=F2FS</action>
1594 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1595 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1596 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001597 <action function="page">confirm_action</action>
1598 </actions>
1599 </button>
1600
1601 <action>
1602 <touch key="home"/>
1603 <action function="page">main</action>
1604 </action>
1605
1606 <action>
1607 <touch key="back"/>
1608 <action function="page">partitionoptions</action>
1609 </action>
1610 </page>
1611
1612 <page name="backup">
1613 <template name="page"/>
1614
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001615 <action>
1616 <conditions>
1617 <condition var1="tw_is_fbe" var2="1"/>
1618 <condition var1="tw_all_users_decrypted" var2="0"/>
1619 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1620 </conditions>
1621 <actions>
1622 <action function="set">tw_multiuser_warning_destination=backup</action>
1623 <action function="page">multiuser_warning</action>
1624 </actions>
1625 </action>
1626
z31s1g28f0a922015-11-07 18:50:22 +01001627 <text style="text_l">
1628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001629 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001630 </text>
1631
1632 <text style="text_m">
1633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001634 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001635 </text>
1636
1637 <text style="text_m_accent">
1638 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001639 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001640 </text>
1641
1642 <text style="text_m">
1643 <placement x="%col1_x_left%" y="%row3_y%"/>
1644 <text>%tw_backup_name%</text>
1645 </text>
1646
1647 <fill color="%fileselector_linecolor%">
1648 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1649 </fill>
1650
1651 <button>
1652 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1653 <fill color="%transparent%"/>
1654 <actions>
1655 <action function="set">tw_fileexists=0</action>
1656 <action function="page">backupname1</action>
1657 </actions>
1658 </button>
1659
1660 <partitionlist>
1661 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <data name="tw_backup_list"/>
1664 <listtype name="backup"/>
1665 </partitionlist>
1666
1667 <text style="text_m_accent">
1668 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001669 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001670 </text>
1671
1672 <text style="text_m">
1673 <conditions>
1674 <condition var1="tw_include_encrypted_backup" var2="1"/>
1675 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001676 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001677 </conditions>
1678 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001679 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001680 </text>
1681
1682 <text style="text_m">
1683 <conditions>
1684 <condition var1="tw_include_encrypted_backup" var2="1"/>
1685 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001686 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001687 </conditions>
1688 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 </text>
1691
1692 <fill color="%fileselector_linecolor%">
1693 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1694 </fill>
1695
1696 <button>
1697 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1698 <fill color="%transparent%"/>
1699 <actions>
1700 <action function="set">tw_password_not_match=0</action>
1701 <action function="page">backupencryption</action>
1702 </actions>
1703 </button>
1704
1705 <text style="text_m_accent">
1706 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001707 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001708 </text>
1709
1710 <checkbox>
1711 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001712 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001713 <data variable="tw_use_compression"/>
1714 </checkbox>
1715
1716 <checkbox>
1717 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001718 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1719 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001720 </checkbox>
1721
1722 <checkbox>
1723 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001724 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001725 <data variable="tw_disable_free_space"/>
1726 </checkbox>
1727
1728 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001729 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001730 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001731 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001732 <actions>
1733 <action function="set">tw_back=backup</action>
1734 <action function="overlay">select_storage</action>
1735 </actions>
1736 </button>
1737
1738 <button style="main_button_half_width">
1739 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001740 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001741 <actions>
1742 <action function="refreshsizes"/>
1743 <action function="page">backup</action>
1744 </actions>
1745 </button>
1746
1747 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001748 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 <action function="page">backup_run</action>
1750 </slider>
1751
1752 <action>
1753 <touch key="home"/>
1754 <action function="page">main</action>
1755 </action>
1756
1757 <action>
1758 <touch key="back"/>
1759 <action function="page">main</action>
1760 </action>
1761 </page>
1762
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001763 <page name="multiuser_warning">
1764 <template name="page"/>
1765
1766 <text style="text_l">
1767 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1768 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1769 </text>
1770
1771 <text style="text_m_fail">
1772 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1773 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1774 </text>
1775
1776 <text style="text_m_fail">
1777 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1778 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1779 </text>
1780
1781 <button style="main_button_m">
1782 <placement x="%col1_x_left%" y="%row15a_y%"/>
1783 <text>{@decrypt_users=Decrypt Users}</text>
1784 <action function="page">decrypt_users</action>
1785 </button>
1786
1787 <slider>
1788 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1789 <actions>
1790 <action function="set">tw_multiuser_warning_accepted=1</action>
1791 <action function="page">%tw_multiuser_warning_destination%</action>
1792 </actions>
1793 </slider>
1794
1795 <action>
1796 <touch key="home"/>
1797 <action function="page">main</action>
1798 </action>
1799
1800 <action>
1801 <touch key="back"/>
1802 <action function="page">main</action>
1803 </action>
1804 </page>
1805
z31s1g28f0a922015-11-07 18:50:22 +01001806 <page name="backupname1">
1807 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001808 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001809 <action function="generatebackupname"/>
1810 </action>
1811
1812 <action>
1813 <action function="page">backupname2</action>
1814 </action>
1815 </page>
1816
1817 <page name="backupname2">
1818 <template name="page"/>
1819
1820 <text style="text_l">
1821 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </text>
1824
1825 <text style="text_m">
1826 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001827 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001828 </text>
1829
1830 <text style="text_m_accent">
1831 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001832 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001833 </text>
1834
1835 <input>
1836 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1837 <text>%tw_backup_name%</text>
1838 <data name="tw_backup_name"/>
1839 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1840 <actions>
1841 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1842 <action function="set">tw_existpage=backupname2</action>
1843 <action function="set">tw_notexistpage=backup</action>
1844 <action function="page">filecheck</action>
1845 </actions>
1846 </input>
1847
1848 <fill color="%accent_color%">
1849 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1850 </fill>
1851
1852 <fill color="%text_fail_color%">
1853 <condition var1="tw_fileexists" var2="1"/>
1854 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1855 </fill>
1856
1857 <text style="text_m_fail">
1858 <condition var1="tw_fileexists" var2="1"/>
1859 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001860 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001861 </text>
1862
1863 <button style="main_button_half_width_low">
1864 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001865 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001866 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001867 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001868 <action function="page">backup</action>
1869 </actions>
1870 </button>
1871
1872 <button style="main_button_half_width_low">
1873 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001874 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001875 <action function="appenddatetobackupname"/>
1876 </button>
1877
1878 <template name="keyboardtemplate"/>
1879
1880 <action>
1881 <touch key="home"/>
1882 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001883 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001884 <action function="page">main</action>
1885 </actions>
1886 </action>
1887
1888 <action>
1889 <touch key="back"/>
1890 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001892 <action function="page">backup</action>
1893 </actions>
1894 </action>
1895 </page>
1896
1897 <page name="backupencryption">
1898 <template name="page"/>
1899
1900 <text style="text_l">
1901 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001902 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001903 </text>
1904
1905 <text style="text_m">
1906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001907 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001908 </text>
1909
1910 <text style="text_m_accent">
1911 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001913 </text>
1914
1915 <input>
1916 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1917 <text>%tw_backup_encrypt_display%</text>
1918 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1919 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1920 <action function="page">backupencryption2</action>
1921 </input>
1922
1923 <fill color="%accent_color%">
1924 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1925 </fill>
1926
1927 <fill color="%text_fail_color%">
1928 <condition var1="tw_password_not_match" var2="1"/>
1929 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1930 </fill>
1931
1932 <text style="text_m_fail">
1933 <condition var1="tw_password_not_match" var2="1"/>
1934 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001935 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001936 </text>
1937
1938 <button style="main_button_half_width_low">
1939 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001940 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001941 <actions>
1942 <action function="set">tw_encrypt_backup=0</action>
1943 <action function="set">tw_backup_password=</action>
1944 <action function="set">tw_backup_password2=</action>
1945 <action function="set">tw_backup_encrypt_display=</action>
1946 <action function="set">tw_backup_encrypt_display2=</action>
1947 <action function="page">backup</action>
1948 </actions>
1949 </button>
1950
1951 <template name="keyboardtemplate"/>
1952
1953 <action>
1954 <touch key="home"/>
1955 <action function="page">main</action>
1956 </action>
1957
1958 <action>
1959 <touch key="back"/>
1960 <action function="page">backup</action>
1961 </action>
1962 </page>
1963
1964 <page name="backupencryption2">
1965 <template name="page"/>
1966
1967 <text style="text_l">
1968 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001969 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001970 </text>
1971
1972 <text style="text_m">
1973 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001974 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001975 </text>
1976
1977 <text style="text_m_accent">
1978 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 </text>
1981
1982 <input>
1983 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1984 <text>%tw_backup_encrypt_display2%</text>
1985 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1986 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1987 <action function="page">checkbackuppassword</action>
1988 </input>
1989
1990 <fill color="%accent_color%">
1991 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1992 </fill>
1993
1994 <text style="text_m">
1995 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001997 </text>
1998
1999 <button style="main_button_half_width_low">
2000 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002001 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002002 <actions>
2003 <action function="set">tw_encrypt_backup=0</action>
2004 <action function="set">tw_backup_password=</action>
2005 <action function="set">tw_backup_password2=</action>
2006 <action function="set">tw_backup_encrypt_display=</action>
2007 <action function="set">tw_backup_encrypt_display2=</action>
2008 <action function="page">backup</action>
2009 </actions>
2010 </button>
2011
2012 <template name="keyboardtemplate"/>
2013
2014 <action>
2015 <touch key="home"/>
2016 <action function="page">main</action>
2017 </action>
2018
2019 <action>
2020 <touch key="back"/>
2021 <action function="page">backup</action>
2022 </action>
2023 </page>
2024
2025 <page name="checkbackuppassword">
2026 <action>
2027 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2028 <actions>
2029 <action function="set">tw_encrypt_backup=1</action>
2030 <action function="page">backup</action>
2031 </actions>
2032 </action>
2033
2034 <action>
2035 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2036 <actions>
2037 <action function="set">tw_encrypt_backup=0</action>
2038 <action function="set">tw_password_not_match=1</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">backupencryption</action>
2044 </actions>
2045 </action>
2046 </page>
2047
2048 <page name="backup_run">
2049 <template name="page"/>
2050
2051 <text style="text_l">
2052 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2053 <text>%tw_operation%</text>
2054 </text>
2055
2056 <text style="text_m">
2057 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2058 <text>%tw_partition% Partition</text>
2059 </text>
2060
2061 <template name="console"/>
2062
2063 <template name="progress_bar"/>
2064
2065 <text style="text_m_accent">
2066 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002067 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002068 </text>
2069
2070 <text style="text_m">
2071 <placement x="%progress_text_x%" y="%row17_y%"/>
2072 <text>%tw_file_progress%</text>
2073 </text>
2074
2075 <text style="text_m">
2076 <placement x="%progress_text_x%" y="%row18_y%"/>
2077 <text>%tw_size_progress%</text>
2078 </text>
2079
2080 <button style="main_button_half_width">
2081 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002082 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002083 <action function="cancelbackup"/>
2084 </button>
2085
2086 <action>
2087 <action function="nandroid">backup</action>
2088 </action>
2089
2090 <action>
2091 <condition var1="tw_operation_state" var2="1"/>
2092 <condition var1="tw_cancel_backup" var2="0"/>
2093 <actions>
2094 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002095 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002096 <action function="set">tw_show_reboot=1</action>
2097 <action function="page">action_complete</action>
2098 </actions>
2099 </action>
2100
2101 <action>
2102 <condition var1="tw_operation_state" var2="1"/>
2103 <condition var1="tw_cancel_backup" var2="1"/>
2104 <actions>
2105 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002106 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002107 <action function="set">tw_show_reboot=1</action>
2108 <action function="page">action_complete</action>
2109 </actions>
2110 </action>
2111 </page>
2112
2113 <page name="restore">
2114 <template name="page"/>
2115
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002116 <action>
2117 <conditions>
2118 <condition var1="tw_is_fbe" var2="1"/>
2119 <condition var1="tw_all_users_decrypted" var2="0"/>
2120 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2121 </conditions>
2122 <actions>
2123 <action function="set">tw_multiuser_warning_destination=restore</action>
2124 <action function="page">multiuser_warning</action>
2125 </actions>
2126 </action>
2127
z31s1g28f0a922015-11-07 18:50:22 +01002128 <text style="text_l">
2129 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002130 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002131 </text>
2132
2133 <text style="text_m">
2134 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002135 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002136 </text>
2137
2138 <template name="sort_options"/>
2139
2140 <fileselector>
2141 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002142 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002143 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002144 <path name="tw_backups_folder"/>
2145 <data name="tw_restore" default=""/>
2146 <selection name="tw_restore_name"/>
2147 </fileselector>
2148
2149 <button style="main_button_half_width_low">
2150 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002151 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002152 <actions>
2153 <action function="set">tw_back=restore</action>
2154 <action function="overlay">select_storage</action>
2155 </actions>
2156 </button>
2157
2158 <action>
2159 <condition var1="tw_restore" op="modified"/>
2160 <actions>
2161 <action function="readBackup"/>
2162 <action function="page">restore_read</action>
2163 </actions>
2164 </action>
2165
2166 <action>
2167 <touch key="home"/>
2168 <action function="page">main</action>
2169 </action>
2170
2171 <action>
2172 <touch key="back"/>
2173 <action function="page">main</action>
2174 </action>
2175 </page>
2176
2177 <page name="restore_read">
2178 <action>
2179 <condition var1="tw_restore_encrypted" var2="1"/>
2180 <actions>
2181 <action function="set">tw_password_fail=0</action>
2182 <action function="page">restore_decrypt</action>
2183 </actions>
2184 </action>
2185
2186 <action>
2187 <condition var1="tw_restore_encrypted" var2="0"/>
2188 <actions>
2189 <action function="page">restore_select</action>
2190 </actions>
2191 </action>
2192 </page>
2193
2194 <page name="restore_decrypt">
2195 <template name="page"/>
2196
2197 <text style="text_l">
2198 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002199 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002200 </text>
2201
2202 <text style="text_m">
2203 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002204 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002205 </text>
2206
2207 <text style="text_m_accent">
2208 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002209 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002210 </text>
2211
2212 <input>
2213 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2214 <text>%tw_restore_display%</text>
2215 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2216 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2217 <action function="page">try_restore_decrypt</action>
2218 </input>
2219
2220 <fill color="%accent_color%">
2221 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2222 </fill>
2223
2224 <fill color="%text_fail_color%">
2225 <condition var1="tw_password_fail" var2="1"/>
2226 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2227 </fill>
2228
2229 <text style="text_m_fail">
2230 <condition var1="tw_password_fail" var2="1"/>
2231 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002232 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002233 </text>
2234
2235 <button style="main_button_half_width_low">
2236 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002237 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002238 <actions>
2239 <action function="set">tw_page_done=1</action>
2240 <action function="page">restore</action>
2241 </actions>
2242 </button>
2243
2244 <button style="main_button_half_width_low">
2245 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002246 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002247 <actions>
2248 <action function="set">tw_back=restore</action>
2249 <action function="set">tw_action=cmd</action>
2250 <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 -05002251 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2252 <action function="set">tw_text2=%tw_restore_name%</action>
2253 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2254 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2255 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2256 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002257 <action function="page">confirm_action</action>
2258 </actions>
2259 </button>
2260
2261 <template name="keyboardtemplate"/>
2262
2263 <action>
2264 <touch key="home"/>
2265 <action function="page">main</action>
2266 </action>
2267
2268 <action>
2269 <touch key="back"/>
2270 <action function="page">restore</action>
2271 </action>
2272 </page>
2273
2274 <page name="try_restore_decrypt">
2275 <template name="page"/>
2276
2277 <text style="text_l">
2278 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002279 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002280 </text>
2281
2282 <text style="text_m">
2283 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002284 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002285 </text>
2286
2287 <template name="console"/>
2288
2289 <template name="progress_bar"/>
2290
2291 <action>
2292 <action function="decrypt_backup"/>
2293 </action>
2294
2295 <action>
2296 <conditions>
2297 <condition var1="tw_operation_state" var2="1"/>
2298 <condition var1="tw_operation_status" op="!=" var2="0"/>
2299 </conditions>
2300 <actions>
2301 <action function="set">tw_password_fail=1</action>
2302 <action function="page">restore_decrypt</action>
2303 </actions>
2304 </action>
2305
2306 <action>
2307 <conditions>
2308 <condition var1="tw_operation_state" var2="1"/>
2309 <condition var1="tw_operation_status" op="=" var2="0"/>
2310 </conditions>
2311 <actions>
2312 <action function="set">tw_page_done=1</action>
2313 <action function="page">restore_select</action>
2314 </actions>
2315 </action>
2316 </page>
2317
2318 <page name="restore_select">
2319 <template name="page"/>
2320
2321 <text style="text_l">
2322 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002323 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002324 </text>
2325
2326 <text style="text_m">
2327 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002328 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002329 </text>
2330
2331 <text style="text_m_accent">
2332 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002333 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002334 </text>
2335
2336 <text style="text_m">
2337 <placement x="%col1_x_left%" y="%row3_y%"/>
2338 <text>%tw_restore_name%</text>
2339 </text>
2340
2341 <fill color="%fileselector_linecolor%">
2342 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2343 </fill>
2344
2345 <button>
2346 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2347 <fill color="%transparent%"/>
2348 <actions>
2349 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2350 <action function="set">tw_fileexists=0</action>
2351 <action function="page">renamebackup</action>
2352 </actions>
2353 </button>
2354
2355 <partitionlist>
2356 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002357 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002358 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2359 <listtype name="restore"/>
2360 </partitionlist>
2361
2362 <text style="text_m_accent">
2363 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002364 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002365 </text>
2366
2367 <checkbox>
2368 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002369 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002370 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2371 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002372 </checkbox>
2373
2374 <button style="main_button_half_width">
2375 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002376 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002377 <actions>
2378 <action function="set">tw_back=restore</action>
2379 <action function="set">tw_action=cmd</action>
2380 <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 -05002381 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002382 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002383 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2384 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2385 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2386 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002387 <action function="page">confirm_action</action>
2388 </actions>
2389 </button>
2390
2391 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002392 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002393 <action function="page">restore_run</action>
2394 </slider>
2395
2396 <action>
2397 <touch key="home"/>
2398 <action function="page">main</action>
2399 </action>
2400
2401 <action>
2402 <touch key="back"/>
2403 <action function="page">restore</action>
2404 </action>
2405 </page>
2406
2407 <page name="renamebackup">
2408 <template name="page"/>
2409
2410 <text style="text_l">
2411 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002412 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002413 </text>
2414
2415 <text style="text_m">
2416 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002417 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002418 </text>
2419
2420 <text style="text_m_accent">
2421 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002422 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002423 </text>
2424
2425 <input>
2426 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2427 <text>%tw_backup_rename%</text>
2428 <data name="tw_backup_rename"/>
2429 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2430 <actions>
2431 <action function="set">tw_back=restore</action>
2432 <action function="set">tw_action=cmd</action>
2433 <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 -05002434 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2435 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2436 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2437 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2438 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002439 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2440 <action function="set">tw_existpage=renamebackup</action>
2441 <action function="set">tw_notexistpage=confirm_action</action>
2442 <action function="page">filecheck</action>
2443 </actions>
2444 </input>
2445
2446 <fill color="%accent_color%">
2447 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2448 </fill>
2449
2450 <fill color="%text_fail_color%">
2451 <condition var1="tw_fileexists" var2="1"/>
2452 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2453 </fill>
2454
2455 <text style="text_m_fail">
2456 <condition var1="tw_fileexists" var2="1"/>
2457 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002458 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002459 </text>
2460
2461 <button style="main_button_half_width_low">
2462 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002463 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002464 <action function="page">restore_select</action>
2465 </button>
2466
2467 <template name="keyboardtemplate"/>
2468
2469 <action>
2470 <touch key="home"/>
2471 <action function="page">main</action>
2472 </action>
2473
2474 <action>
2475 <touch key="back"/>
2476 <action function="page">restore_select</action>
2477 </action>
2478 </page>
2479
2480 <page name="restore_run">
2481 <template name="page"/>
2482
2483 <text style="text_l">
2484 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 </text>
2487
2488 <text style="text_m">
2489 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2490 <text>%tw_operation% %tw_partition%</text>
2491 </text>
2492
2493 <template name="console"/>
2494
2495 <template name="progress_bar"/>
2496
2497 <text style="text_m_accent">
2498 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002499 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002500 </text>
2501
2502 <text style="text_m">
2503 <placement x="%progress_text_x%" y="%row18_y%"/>
2504 <text>%tw_size_progress%</text>
2505 </text>
2506
2507 <action>
2508 <condition var1="tw_operation_state" var2="1"/>
2509 <actions>
2510 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002511 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002512 <action function="set">tw_show_reboot=1</action>
2513 <action function="page">action_complete</action>
2514 </actions>
2515 </action>
2516
2517 <action>
2518 <action function="nandroid">restore</action>
2519 </action>
2520 </page>
2521
2522 <page name="mount">
2523 <template name="page"/>
2524
2525 <text style="text_l">
2526 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002527 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002528 </text>
2529
2530 <text style="text_m">
2531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002532 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002533 </text>
2534
2535 <partitionlist>
2536 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002537 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002538 <listtype name="mount"/>
2539 </partitionlist>
2540
2541 <button style="checkbox">
2542 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2543 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002544 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002545 <image resource="checkbox_false"/>
2546 <action function="mountsystemtoggle">1</action>
2547 </button>
2548
2549 <button style="checkbox">
2550 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2551 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002552 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002553 <image resource="checkbox_true"/>
2554 <actions>
2555 <action function="set">tw_lifetime_writes=2</action>
2556 <action function="page">system_readonly_check</action>
2557 </actions>
2558 </button>
2559
2560 <button style="main_button_half_width">
2561 <condition var1="tw_has_usb_storage" var2="1"/>
2562 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002563 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002564 <action function="page">usb_mount</action>
2565 </button>
2566
2567 <button style="main_button_half_width">
2568 <conditions>
2569 <condition var1="tw_is_encrypted" var2="1"/>
2570 <condition var1="tw_is_decrypted" var2="0"/>
2571 </conditions>
2572 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002573 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002574 <action function="set">tw_crypto_user_id=0</action>
2575 <action function="set">tw_crypto_password=</action>
2576 <action function="set">tw_password_fail=0</action>
2577 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002578 <action function="page">decrypt</action>
2579 </button>
2580
2581 <button style="main_button_half_width">
2582 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002583 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002584 <actions>
2585 <action function="set">tw_back=mount</action>
2586 <action function="overlay">select_storage</action>
2587 </actions>
2588 </button>
2589
2590 <button style="main_button_half_width">
2591 <conditions>
2592 <condition var1="tw_has_mtp" var2="1"/>
2593 <condition var1="tw_mtp_enabled" var2="0"/>
2594 </conditions>
2595 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002596 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002597 <action function="startmtp"/>
2598 </button>
2599
2600 <button style="main_button_half_width">
2601 <conditions>
2602 <condition var1="tw_has_mtp" var2="1"/>
2603 <condition var1="tw_mtp_enabled" var2="1"/>
2604 </conditions>
2605 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002607 <action function="stopmtp"/>
2608 </button>
2609
2610 <action>
2611 <touch key="home"/>
2612 <action function="page">main</action>
2613 </action>
2614
2615 <action>
2616 <touch key="back"/>
2617 <action function="page">main</action>
2618 </action>
2619 </page>
2620
2621 <page name="usb_mount">
2622 <template name="page"/>
2623
2624 <text style="text_l">
2625 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002626 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002627 </text>
2628
2629 <text style="text_m">
2630 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002631 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002632 </text>
2633
2634 <text style="text_m_accent">
2635 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002636 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002637 </text>
2638
2639 <text style="text_m">
2640 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002641 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002642 </text>
2643
2644 <text style="text_m">
2645 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002646 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002647 </text>
2648
2649 <button style="main_button_half_width">
2650 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002651 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002652 <action function="page">usb_umount</action>
2653 </button>
2654
2655 <action>
2656 <action function="mount">usb</action>
2657 <action function="set">tw_busy=1</action>
2658 </action>
2659 </page>
2660
2661 <page name="usb_umount">
2662 <action>
2663 <action function="unmount">usb</action>
2664 </action>
2665
2666 <action>
2667 <action function="page">mount</action>
2668 <action function="set">tw_busy=0</action>
2669 </action>
2670 </page>
2671
2672 <page name="system_readonly_check">
2673 <action>
2674 <action function="checkpartitionlifetimewrites">/system</action>
2675 </action>
2676
2677 <action>
2678 <condition var1="tw_lifetime_writes" var2="1"/>
2679 <actions>
2680 <action function="mountsystemtoggle">0</action>
2681 <action function="page">mount</action>
2682 </actions>
2683 </action>
2684
2685 <action>
2686 <condition var1="tw_lifetime_writes" var2="0"/>
2687 <actions>
2688 <action function="set">tw_back=mount</action>
2689 <action function="page">system_readonly</action>
2690 </actions>
2691 </action>
2692 </page>
2693
2694 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002695 <action>
2696 <action function="checkforapp"></action>
2697 <action function="page">reboot2</action>
2698 </action>
2699 </page>
2700
2701 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002702 <template name="page"/>
2703
2704 <text style="text_l">
2705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002706 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002707 </text>
2708
bigbiff97829df2020-12-20 12:26:15 -05002709 <listbox style="advanced_listbox">
Captain Throwback4a78bda2020-12-25 22:46:59 -05002710 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiff97829df2020-12-20 12:26:15 -05002711
2712 <listitem name="{@rb_system_btn=System}">
2713 <condition var1="tw_reboot_system" var2="1"/>
2714 <actions>
2715 <action function="set">tw_back=reboot</action>
2716 <action function="page">reboot_system_routine</action>
2717 </actions>
2718 </listitem>
2719
2720 <listitem name="{@rb_poweroff_btn=Power Off}">
2721 <condition var1="tw_reboot_poweroff" var2="1"/>
2722 <actions>
2723 <action function="set">tw_back=reboot</action>
2724 <action function="set">tw_action=reboot</action>
2725 <action function="set">tw_action_param=poweroff</action>
2726 <action function="set">tw_reboot_param=poweroff</action>
2727 <action function="set">tw_has_action2=0</action>
2728 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2729 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2730 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2731 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2732 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2733 <action function="page">rebootcheck</action>
2734 </actions>
2735 </listitem>
2736
2737 <listitem name="{@rb_recovery_btn=Recovery}">
2738 <condition var1="tw_reboot_recovery" var2="1"/>
2739 <actions>
2740 <action function="set">tw_back=reboot</action>
2741 <action function="set">tw_action=reboot</action>
2742 <action function="set">tw_action_param=recovery</action>
2743 <action function="set">tw_reboot_param=recovery</action>
2744 <action function="set">tw_has_action2=0</action>
2745 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2746 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2747 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2748 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2749 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2750 <action function="page">rebootcheck</action>
2751 </actions>
2752 </listitem>
2753
2754 <listitem name="{@rb_bootloader_btn=Bootloader}">
2755 <condition var1="tw_reboot_bootloader" var2="1"/>
2756 <actions>
2757 <action function="set">tw_back=reboot</action>
2758 <action function="set">tw_action=reboot</action>
2759 <action function="set">tw_action_param=bootloader</action>
2760 <action function="set">tw_reboot_param=bootloader</action>
2761 <action function="set">tw_has_action2=0</action>
2762 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2763 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2764 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2765 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2766 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2767 <action function="page">rebootcheck</action>
2768 </actions>
2769 </listitem>
2770
2771 <listitem name="{@rb_download_btn=Download}">
2772 <condition var1="tw_download_mode" var2="1"/>
2773 <actions>
2774 <action function="set">tw_back=reboot</action>
2775 <action function="set">tw_action=reboot</action>
2776 <action function="set">tw_action_param=download</action>
2777 <action function="set">tw_reboot_param=download</action>
2778 <action function="set">tw_has_action2=0</action>
2779 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2780 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2781 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2782 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2783 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2784 <action function="page">rebootcheck</action>
2785 </actions>
2786 </listitem>
2787
2788 <listitem name="{@rb_edl_btn=Edl}">
2789 <condition var1="tw_edl_mode" var2="1"/>
2790 <actions>
2791 <action function="set">tw_back=reboot</action>
2792 <action function="set">tw_action=reboot</action>
2793 <action function="set">tw_action_param=edl</action>
2794 <action function="set">tw_reboot_param=edl</action>
2795 <action function="set">tw_has_action2=0</action>
2796 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2797 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2798 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2799 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2800 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2801 <action function="page">rebootcheck</action>
2802 </actions>
2803 </button>
2804 </listbox>
2805
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002806 <button style="main_button">
2807 <condition var1="tw_app_install_status" var2="1"/>
2808 <placement x="%center_x%" y="%row12_y%"/>
2809 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2810 <actions>
2811 <action function="set">tw_back=reboot</action>
2812 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2813 <action function="page">installapp</action>
2814 </actions>
2815 </button>
2816
bigbiff97829df2020-12-20 12:26:15 -05002817 <text style="text_m">
2818 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002819 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiff97829df2020-12-20 12:26:15 -05002820 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2821 </text>
2822
z31s1g28f0a922015-11-07 18:50:22 +01002823 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002824 <condition var1="tw_has_boot_slots" var2="1"/>
2825 <placement x="%indent%" y="%row16_y%"/>
2826 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002827 <actions>
2828 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002829 <action function="set">tw_action=setbootslot</action>
2830 <action function="set">tw_action_param=A</action>
2831 <action function="set">tw_has_action2=0</action>
2832 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2833 <action function="set">tw_action_text2=</action>
2834 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2835 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002836 </actions>
2837 </button>
2838
2839 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002840 <condition var1="tw_has_boot_slots" var2="1"/>
2841 <placement x="%center_x%" y="%row16_y%"/>
2842 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002843 <actions>
2844 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002845 <action function="set">tw_action=setbootslot</action>
2846 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002847 <action function="set">tw_has_action2=0</action>
bigbiff97829df2020-12-20 12:26:15 -05002848 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2849 <action function="set">tw_action_text2=</action>
2850 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2851 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002852 </actions>
2853 </button>
2854
z31s1g28f0a922015-11-07 18:50:22 +01002855 <action>
2856 <touch key="home"/>
2857 <action function="page">main</action>
2858 </action>
2859
2860 <action>
2861 <touch key="back"/>
2862 <action function="page">main</action>
2863 </action>
2864 </page>
2865
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002866 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002867 <template name="page"/>
2868
2869 <text style="text_l">
2870 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002871 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002872 </text>
2873
2874 <text style="text_m">
2875 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002876 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002877 </text>
2878
2879 <text style="text_m_accent">
2880 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2881 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2882 </text>
2883
2884 <text style="text_m_accent">
2885 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2886 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2887 </text>
2888
2889 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002890 <condition var1="tw_mount_system_ro" var2="0"/>
2891 <placement x="%indent%" y="%row7_y%"/>
2892 <text>{@reboot_install_app_system=Install as a System App}</text>
2893 <data variable="tw_app_install_system"/>
2894 </checkbox>
2895
2896 <button style="main_button_half_width">
2897 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002898 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002899 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002900 </button>
2901
2902 <slider>
2903 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2904 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002905 <action function="set">tw_action=installapp</action>
2906 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2907 <action function="set">tw_action_text2=</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002908 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002909 <action function="page">action_page</action>
2910 </actions>
2911 </slider>
2912
2913 <action>
2914 <touch key="home"/>
2915 <actions>
2916 <action function="set">tw_app_install_status=0</action>
2917 <action function="page">main</action>
2918 </actions>
2919 </action>
2920
2921 <action>
2922 <touch key="back"/>
2923 <actions>
2924 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002925 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002926 </actions>
2927 </action>
2928 </page>
2929
z31s1g28f0a922015-11-07 18:50:22 +01002930 <page name="system_readonly">
2931 <template name="page"/>
2932
2933 <text style="text_l">
2934 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002935 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002936 </text>
2937
2938 <text style="text_m_accent">
2939 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002940 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002941 </text>
2942
2943 <text style="text_m">
2944 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002945 <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 +01002946 </text>
2947
2948 <text style="text_m">
2949 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <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 +01002951 </text>
2952
2953 <text style="text_m_fail">
2954 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002955 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002956 </text>
2957
2958 <checkbox>
2959 <condition var1="tw_is_encrypted" var2="0"/>
2960 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002961 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002962 <data variable="tw_never_show_system_ro_page"/>
2963 </checkbox>
2964
2965 <button style="main_button_half_width">
2966 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002967 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002968 <actions>
2969 <action function="mountsystemtoggle">1</action>
2970 <action function="set">tw_page_done=1</action>
2971 <action function="page">%tw_back%</action>
2972 </actions>
2973 </button>
2974
z31s1g608d7ff2016-01-18 19:47:25 +01002975 <button style="main_button_half_width">
2976 <placement x="%col2_x_left%" y="%row15a_y%"/>
2977 <text>{@sel_lang_btn=Select Language}</text>
2978 <action function="overlay">select_language</action>
2979 </button>
2980
z31s1g28f0a922015-11-07 18:50:22 +01002981 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002982 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002983 <actions>
2984 <action function="mountsystemtoggle">0</action>
2985 <action function="set">tw_page_done=1</action>
2986 <action function="page">%tw_back%</action>
2987 </actions>
2988 </slider>
2989 </page>
2990
2991 <page name="settings">
2992 <template name="page"/>
2993
2994 <text style="text_l">
2995 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 </text>
2998
2999 <text style="text_m">
3000 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003001 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003002 </text>
3003
3004 <template name="tabs_settings"/>
3005
3006 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003007 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003008 </fill>
3009
3010 <listbox style="scrolllist">
3011 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3012 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003013 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003014 <data variable="tw_signed_zip_verify"/>
3015 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003016 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3017 <data variable="tw_install_reboot"/>
3018 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003019 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003020 <data variable="tw_rm_rf"/>
3021 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003022 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3023 <data variable="tw_disable_free_space"/>
3024 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003025 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3026 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003027 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003028 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3029 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003030 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003031 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003032 <data variable="tw_military_time"/>
3033 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003034 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003035 <data variable="tw_simulate_actions"/>
3036 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003038 <condition var1="tw_simulate_actions" var2="1"/>
3039 <data variable="tw_simulate_fail"/>
3040 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003041 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3042 <condition var1="tw_no_sha2" var2="0"/>
3043 <data variable="tw_use_sha2"/>
3044 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003045 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3046 <data variable="tw_unmount_system"/>
3047 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003048 </listbox>
3049
3050 <checkbox>
3051 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 <data variable="tw_samsung_navbar"/>
3054 </checkbox>
3055
3056 <button style="radiobutton">
3057 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3058 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003059 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003060 <image resource="radio_false"/>
3061 <action function="set">tw_navbar_button_position=0</action>
3062 </button>
3063
3064 <button style="radiobutton">
3065 <condition var1="tw_navbar_button_position" var2="0"/>
3066 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003067 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003068 <image resource="radio_true"/>
3069 <action function="set">tw_navbar_button_position=0</action>
3070 </button>
3071
3072 <button style="radiobutton">
3073 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3074 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 <image resource="radio_false"/>
3077 <action function="set">tw_navbar_button_position=1</action>
3078 </button>
3079
3080 <button style="radiobutton">
3081 <condition var1="tw_navbar_button_position" var2="1"/>
3082 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 <image resource="radio_true"/>
3085 <action function="set">tw_navbar_button_position=1</action>
3086 </button>
3087
3088 <button style="radiobutton">
3089 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3090 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <image resource="radio_false"/>
3093 <action function="set">tw_navbar_button_position=2</action>
3094 </button>
3095
3096 <button style="radiobutton">
3097 <condition var1="tw_navbar_button_position" var2="2"/>
3098 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 <image resource="radio_true"/>
3101 <action function="set">tw_navbar_button_position=2</action>
3102 </button>
3103
3104 <button style="main_button_half_width">
3105 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003106 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003107 <action function="restoredefaultsettings"/>
3108 </button>
3109
3110 <action>
3111 <touch key="home"/>
3112 <action function="page">main</action>
3113 </action>
3114
3115 <action>
3116 <touch key="back"/>
3117 <action function="page">main</action>
3118 </action>
3119 </page>
3120
3121 <page name="settings_timezone">
3122 <template name="page"/>
3123
3124 <text style="text_l">
3125 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003126 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003127 </text>
3128
3129 <text style="text_m">
3130 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 </text>
3133
3134 <template name="tabs_settings"/>
3135
3136 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003137 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003138 </fill>
3139
3140 <listbox>
3141 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003142 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003143 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003144 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3145 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3146 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3147 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3148 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3149 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3150 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3151 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3152 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3153 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3154 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3155 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3156 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3157 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3158 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3159 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3160 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3161 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3162 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3163 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3164 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3165 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3166 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3167 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003168 </listbox>
3169
3170 <text style="text_m_accent">
3171 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003172 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003173 </text>
3174
3175 <button style="button_quarter_width">
3176 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003178 <action function="set">tw_time_zone_guioffset=0</action>
3179 </button>
3180
3181 <button style="button_quarter_width">
3182 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003184 <action function="set">tw_time_zone_guioffset=15</action>
3185 </button>
3186
3187 <button style="button_quarter_width">
3188 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003189 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003190 <action function="set">tw_time_zone_guioffset=30</action>
3191 </button>
3192
3193 <button style="button_quarter_width">
3194 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003196 <action function="set">tw_time_zone_guioffset=45</action>
3197 </button>
3198
3199 <checkbox>
3200 <placement x="%col1_x_right%" y="%row7_y%"/>
3201 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003202 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003203 <data variable="tw_time_zone_guidst"/>
3204 <image checked="checkbox_true" unchecked="checkbox_false"/>
3205 </checkbox>
3206
3207 <text color="%text_color%">
3208 <font resource="font_m"/>
3209 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003210 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003211 </text>
3212
3213 <button>
3214 <highlight color="%highlight_color%"/>
3215 <placement x="%col2_x_right%" y="%row15a_y%"/>
3216 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003217 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003218 <image resource="main_button_half_width"/>
3219 <action function="setguitimezone"/>
3220 </button>
3221
3222 <action>
3223 <touch key="home"/>
3224 <action function="page">main</action>
3225 </action>
3226
3227 <action>
3228 <touch key="back"/>
3229 <action function="page">main</action>
3230 </action>
3231 </page>
3232
3233 <page name="settings_screen">
3234 <template name="page"/>
3235
3236 <text style="text_l">
3237 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 </text>
3240
3241 <text style="text_m">
3242 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003244 </text>
3245
3246 <template name="tabs_settings"/>
3247
3248 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003249 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003250 </fill>
3251
3252 <button>
3253 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3254 <font resource="font_m" color="%text_color%"/>
3255 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3256 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 <image resource="checkbox_false"/>
3259 <action function="set">tw_screen_timeout_secs=60</action>
3260 </button>
3261
3262 <button>
3263 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3264 <font resource="font_m" color="%text_color%"/>
3265 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3266 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003267 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003268 <image resource="checkbox_true"/>
3269 <action function="set">tw_screen_timeout_secs=0</action>
3270 </button>
3271
3272 <slidervalue>
3273 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3274 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3275 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003276 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003277 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3278 </slidervalue>
3279
3280 <slidervalue>
3281 <condition var1="tw_has_brightnesss_file" var2="1"/>
3282 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <data variable="tw_brightness_pct" min="10" max="100"/>
3285 <actions>
3286 <action function="set">tw_brightness=%tw_brightness_max%</action>
3287 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3288 <action function="compute">tw_brightness/100</action>
3289 <action function="setbrightness">%tw_brightness%</action>
3290 </actions>
3291 </slidervalue>
3292
3293 <action>
3294 <touch key="home"/>
3295 <action function="page">main</action>
3296 </action>
3297
3298 <action>
3299 <touch key="back"/>
3300 <action function="page">main</action>
3301 </action>
3302 </page>
3303
3304 <page name="settings_vibration">
3305 <template name="page"/>
3306
3307 <text style="text_l">
3308 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 </text>
3311
3312 <text style="text_m">
3313 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003314 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003315 </text>
3316
3317 <template name="tabs_settings"/>
3318
3319 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003321 </fill>
3322
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003323 <text style="text_m">
3324 <condition var1="tw_disable_haptics" var2="1"/>
3325 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3326 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3327 </text>
3328
z31s1g28f0a922015-11-07 18:50:22 +01003329 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003330 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <data variable="tw_button_vibrate" min="0" max="300"/>
3334 </slidervalue>
3335
3336 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003337 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003338 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3341 </slidervalue>
3342
3343 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003344 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003345 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003346 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <data variable="tw_action_vibrate" min="0" max="500"/>
3348 </slidervalue>
3349
3350 <action>
3351 <touch key="home"/>
3352 <action function="page">main</action>
3353 </action>
3354
3355 <action>
3356 <touch key="back"/>
3357 <action function="page">main</action>
3358 </action>
3359 </page>
3360
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <page name="settings_language">
3362 <template name="page"/>
3363
3364 <text style="text_l">
3365 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3366 <text>{@settings_hdr=Settings}</text>
3367 </text>
3368
3369 <text style="text_m">
3370 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3371 <text>{@language_hdr=Language - %tw_language_display%}</text>
3372 </text>
3373
3374 <template name="tabs_settings"/>
3375
3376 <fill color="%text_color%">
3377 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3378 </fill>
3379
3380 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003381 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003382 <text>{@select_language=Select Language:}</text>
3383 <icon selected="radio_true" unselected="radio_false" />
3384 <data name="tw_language" />
3385 </listbox>
3386
z31s1g56189522016-01-13 19:12:40 +01003387 <button>
3388 <highlight color="%highlight_color%"/>
3389 <placement x="%col2_x_right%" y="%row15a_y%"/>
3390 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003391 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003392 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003393 <action function="setlanguage"></action>
3394 </button>
3395
3396 <action>
3397 <touch key="home" />
3398 <action function="page">main</action>
3399 </action>
3400
3401 <action>
3402 <touch key="back" />
3403 <action function="page">settings</action>
3404 </action>
3405 </page>
3406
Matt Mower32676622017-01-18 18:56:13 -06003407 <page name="copylog">
3408 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003409
Matt Mower32676622017-01-18 18:56:13 -06003410 <text style="text_l">
3411 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3412 <text>{@copying_log=Copy Logs to SD Card}</text>
3413 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003414
Matt Mower32676622017-01-18 18:56:13 -06003415 <checkbox>
3416 <placement x="%indent%" y="%row4_y%"/>
3417 <text>{@include_kernel_log=Include Kernel Log}</text>
3418 <data variable="tw_include_kernel_log" value="1"/>
3419 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003420
Matt Mower32676622017-01-18 18:56:13 -06003421 <slider>
3422 <text>{@copying_log=Copy Logs to SD Card}</text>
3423 <actions>
3424 <action function="set">tw_back=advanced</action>
3425 <action function="set">tw_action=copylog</action>
3426 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3427 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3428 <action function="page">action_page</action>
3429 </actions>
3430 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003431
Matt Mower32676622017-01-18 18:56:13 -06003432 <action>
3433 <touch key="home"/>
3434 <action function="page">main</action>
3435 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003436
Matt Mower32676622017-01-18 18:56:13 -06003437 <action>
3438 <touch key="back"/>
3439 <actions>
3440 <action function="page">advanced</action>
3441 </actions>
3442 </action>
3443 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003444
z31s1g28f0a922015-11-07 18:50:22 +01003445 <page name="advanced">
3446 <template name="page"/>
3447
3448 <text style="text_l">
3449 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003451 </text>
3452
3453 <button style="main_button">
3454 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003455 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003456 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003457 </button>
3458
3459 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003460 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003462 <action function="page">filemanagerlist</action>
3463 </button>
3464
3465 <button style="main_button">
3466 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003467 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003468 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003469 </button>
3470
3471 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003472 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003473 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003474 <action function="page">sideload</action>
3475 </button>
3476
Ethan Yonker64e0a652018-07-25 09:52:17 -05003477 <listbox style="advanced_listbox">
3478 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicX98053c32021-01-04 13:01:31 +05303479 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3480 <condition var1="tw_is_encrypted" var2="0"/>
3481 <action function="page">changeTwrpFolder</action>
3482 </listitem>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003483 <listitem name="{@decrypt_users=Decrypt Users}">
3484 <conditions>
3485 <condition var1="tw_is_fbe" var2="1"/>
3486 <condition var1="tw_all_users_decrypted" var2="0"/>
3487 </conditions>
3488 <actions>
3489 <action function="set">tw_crypto_user_id=</action>
3490 <action function="page">decrypt_users</action>
3491 </actions>
3492 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003493 <listitem name="{@reload_theme_btn=Reload Theme}">
3494 <action function="reload"/>
3495 </listitem>
3496 <listitem name="{@part_sd_btn=Partition SD Card}">
3497 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3498 <actions>
3499 <action function="set">partitionlisterror=0</action>
3500 <action function="page">partsdcardsel</action>
3501 </actions>
3502 </listitem>
3503 <listitem name="{@fix_context_btn=Fix Contexts}">
3504 <condition var1="tw_has_data_media" var2="1"/>
3505 <action function="page">fixcontexts</action>
3506 </listitem>
3507 <listitem name="{@dumlock_btn=HTC Dumlock}">
3508 <condition var1="tw_show_dumlock" var2="1"/>
3509 <action function="page">htcdumlock</action>
3510 </listitem>
3511 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3512 <condition var1="tw_has_injecttwrp" var2="1"/>
3513 <actions>
3514 <action function="set">tw_back=advanced</action>
3515 <action function="set">tw_action=reinjecttwrp</action>
3516 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3517 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3518 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3519 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3520 <action function="page">confirm_action</action>
3521 </actions>
3522 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003523 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3524 <conditions>
3525 <condition var1="tw_has_boot_slots" var2="1"/>
3526 <condition var1="tw_has_repack_tools" var2="1"/>
3527 </conditions>
3528 <actions>
3529 <action function="set">tw_repack_kernel=0</action>
3530 <action function="page">repackselect</action>
3531 </actions>
3532 </listitem>
3533 <listitem name="{@install_kernel=Install Kernel}">
3534 <conditions>
3535 <condition var1="tw_has_boot_slots" var2="1"/>
3536 <condition var1="tw_has_repack_tools" var2="1"/>
3537 </conditions>
3538 <actions>
3539 <action function="set">tw_repack_kernel=1</action>
3540 <action function="page">repackselect</action>
3541 </actions>
3542 </listitem>
3543 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3544 <conditions>
3545 <condition var1="tw_has_boot_slots" var2="1"/>
3546 <condition var1="tw_has_repack_tools" var2="1"/>
3547 </conditions>
3548 <actions>
3549 <action function="set">tw_back=advanced</action>
3550 <action function="set">tw_action=fixabrecoverybootloop</action>
3551 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3552 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3553 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3554 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3555 <action function="page">confirm_action</action>
3556 </actions>
3557 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003558 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3559 <condition var1="tw_app_install_status" var2="1"/>
3560 <actions>
3561 <action function="set">tw_back=advanced</action>
3562 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3563 <action function="page">installapp</action>
3564 </actions>
3565 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003566 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3567 <condition var1="tw_app_installed_in_system" var2="1"/>
3568 <actions>
3569 <action function="set">tw_back=advanced</action>
3570 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3571 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3572 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3573 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3574 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3575 <action function="page">confirm_action</action>
3576 </actions>
3577 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003578 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003579
3580 <action>
3581 <touch key="home"/>
3582 <action function="page">main</action>
3583 </action>
3584
3585 <action>
3586 <touch key="back"/>
3587 <action function="page">main</action>
3588 </action>
3589 </page>
3590
Ethan Yonker483e9f42016-01-11 22:21:18 -06003591 <page name="partsdcardsel">
3592 <template name="page"/>
3593
3594 <text style="text_l">
3595 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3596 <text>{@advanced_hdr=Advanced}</text>
3597 </text>
3598
3599 <text style="text_m">
3600 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3601 <text>{@part_sd_hdr=Partition SD Card}</text>
3602 </text>
3603
z31s1g782e1c92016-01-30 16:50:09 +01003604 <partitionlist>
3605 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003606 <text>{@sel_storage_list=Select Storage}</text>
3607 <data name="tw_storage_path"/>
3608 <listtype name="storage"/>
3609 </partitionlist>
3610
z31s1g782e1c92016-01-30 16:50:09 +01003611 <text style="text_m_fail">
3612 <condition var1="partitionlisterror" var2="1"/>
3613 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3614 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3615 </text>
3616
3617 <button style="main_button_half_width">
3618 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003619 <text>{@ok_btn=OK}</text>
3620 <actions>
3621 <action function="getpartitiondetails">tw_storage_path</action>
3622 <action function="page">partsdcardcheck</action>
3623 </actions>
3624 </button>
3625
Ethan Yonker483e9f42016-01-11 22:21:18 -06003626 <action>
3627 <touch key="home"/>
3628 <action function="page">main</action>
3629 </action>
3630
3631 <action>
3632 <touch key="back"/>
3633 <action function="page">advanced</action>
3634 </action>
3635 </page>
3636
3637 <page name="partsdcardcheck">
3638 <action>
3639 <condition var1="tw_partition_removable" op="=" var2="1"/>
3640 <actions>
3641 <action function="set">partitionlisterror=0</action>
3642 <action function="page">partsdcard</action>
3643 </actions>
3644 </action>
3645
3646 <action>
3647 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3648 <actions>
3649 <action function="set">partitionlisterror=1</action>
3650 <action function="page">partsdcardsel</action>
3651 </actions>
3652 </action>
3653 </page>
3654
z31s1g28f0a922015-11-07 18:50:22 +01003655 <page name="partsdcard">
3656 <template name="page"/>
3657
3658 <text style="text_l">
3659 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 </text>
3662
3663 <text style="text_m">
3664 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003666 </text>
3667
3668 <text style="text_m_fail">
3669 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </text>
3672
3673 <text style="text_m_fail">
3674 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 </text>
3677
3678 <text style="text_m_accent">
3679 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003680 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003681 </text>
3682
3683 <text style="text_m">
3684 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3685 <text>%tw_sdext_size%</text>
3686 </text>
3687
3688 <button style="button_quarter_width">
3689 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003690 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003691 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003692 </button>
3693
3694 <button style="button_quarter_width">
3695 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003697 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </button>
3699
3700 <text style="text_m_accent">
3701 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003702 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003703 </text>
3704
3705 <text style="text_m">
3706 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3707 <text>%tw_swap_size%</text>
3708 </text>
3709
3710 <button style="button_quarter_width">
3711 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003712 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003713 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003714 </button>
3715
3716 <button style="button_quarter_width">
3717 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003718 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003719 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003720 </button>
3721
3722 <text style="text_m_accent">
3723 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003724 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003725 </text>
3726
3727 <text style="text_m">
3728 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3729 <text>%tw_sdpart_file_system%</text>
3730 </text>
3731
3732 <button style="button_quarter_width">
3733 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3734 <text>EXT3</text>
3735 <action function="set">tw_sdpart_file_system=ext3</action>
3736 </button>
3737
3738 <button style="button_quarter_width">
3739 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3740 <text>EXT4</text>
3741 <action function="set">tw_sdpart_file_system=ext4</action>
3742 </button>
3743
3744 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003745 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003746 <action function="page">partsdcardaction</action>
3747 <actions>
3748 <action function="set">tw_back=partsdcard</action>
3749 <action function="set">tw_action=partitionsd</action>
3750 <action function="set">tw_has_action2=1</action>
3751 <action function="set">tw_action2=set</action>
3752 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003753 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3754 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3755 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003756 <action function="page">action_page</action>
3757 </actions>
3758 </slider>
3759
3760 <action>
3761 <touch key="home"/>
3762 <action function="page">main</action>
3763 </action>
3764
3765 <action>
3766 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003767 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003768 </action>
3769 </page>
3770
3771 <page name="htcdumlock">
3772 <template name="page"/>
3773
3774 <text style="text_l">
3775 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 </text>
3778
3779 <text style="text_m">
3780 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 </text>
3783
3784 <button style="main_button_m">
3785 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003786 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <actions>
3788 <action function="set">tw_back=htcdumlock</action>
3789 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3791 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3792 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3793 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003794 <action function="page">confirm_action</action>
3795 </actions>
3796 </button>
3797
3798 <button style="main_button_m">
3799 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003800 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003801 <actions>
3802 <action function="set">tw_back=htcdumlock</action>
3803 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3805 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3806 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3807 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003808 <action function="page">confirm_action</action>
3809 </actions>
3810 </button>
3811
3812 <button style="main_button_m">
3813 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003814 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003815 <actions>
3816 <action function="set">tw_back=htcdumlock</action>
3817 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003818 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3819 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3820 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3821 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003822 <action function="page">confirm_action</action>
3823 </actions>
3824 </button>
3825
3826 <action>
3827 <touch key="home"/>
3828 <action function="page">main</action>
3829 </action>
3830
3831 <action>
3832 <touch key="back"/>
3833 <action function="page">advanced</action>
3834 </action>
3835 </page>
3836
Ethan Yonker53796e72019-01-11 22:49:52 -06003837 <page name="repackselect">
3838 <template name="page"/>
3839
3840 <text style="text_l">
3841 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3842 <text>{@repack_image_hdr=Select Image}</text>
3843 </text>
3844
3845 <text style="text_m">
3846 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3847 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3848 </text>
3849
3850 <template name="sort_options"/>
3851
3852 <fileselector>
3853 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3854 <text>%tw_zip_location%</text>
3855 <filter extn=".img" folders="1" files="1"/>
3856 <path name="tw_zip_location" default="/sdcard"/>
3857 <data name="tw_filename"/>
3858 <selection name="tw_file"/>
3859 </fileselector>
3860
3861 <button style="main_button_half_width_low">
3862 <placement x="%col_button_right%" y="%row16a_y%"/>
3863 <text>{@select_storage_btn=Select Storage}</text>
3864 <actions>
3865 <action function="set">tw_back=install</action>
3866 <action function="overlay">select_storage</action>
3867 </actions>
3868 </button>
3869
3870 <action>
3871 <conditions>
3872 <condition var1="tw_filename" op="modified"/>
3873 </conditions>
3874 <action function="page">repackconfirm</action>
3875 </action>
3876
3877 <action>
3878 <touch key="back"/>
3879 <action function="page">advanced</action>
3880 </action>
3881
3882 <action>
3883 <touch key="home"/>
3884 <action function="page">main</action>
3885 </action>
3886 </page>
3887
3888 <page name="repackconfirm">
3889 <template name="page"/>
3890
3891 <text style="text_l">
3892 <condition var1="tw_repack_kernel" var2="1"/>
3893 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3894 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3895 </text>
3896
3897 <text style="text_l">
3898 <condition var1="tw_repack_kernel" var2="0"/>
3899 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3900 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3901 </text>
3902
3903 <text style="text_m">
3904 <condition var1="tw_repack_kernel" var2="1"/>
3905 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3906 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3907 </text>
3908
3909 <text style="text_m">
3910 <condition var1="tw_repack_kernel" var2="0"/>
3911 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3912 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3913 </text>
3914
3915 <text style="text_m_accent">
3916 <placement x="%indent%" y="%row2_y%"/>
3917 <text>{@folder=Folder:}</text>
3918 </text>
3919
3920 <text style="text_m">
3921 <placement x="%indent%" y="%row3_y%"/>
3922 <text>%tw_zip_location%</text>
3923 </text>
3924
3925 <text style="text_m_accent">
3926 <placement x="%indent%" y="%row4_y%"/>
3927 <text>{@file=File:}</text>
3928 </text>
3929
3930 <text style="text_m">
3931 <placement x="%indent%" y="%row5_y%"/>
3932 <text>%tw_file%</text>
3933 </text>
3934
3935 <checkbox>
3936 <placement x="%indent%" y="%row7_y%"/>
3937 <text>{@repack_backup_first=Back up existing image first}</text>
3938 <data variable="tw_repack_backup_first"/>
3939 </checkbox>
3940
3941 <button style="main_button_half_width">
3942 <placement x="%col1_x_left%" y="%row15a_y%"/>
3943 <text>{@install_cancel=Do not Install}</text>
3944 <action function="page">repackselect</action>
3945 </button>
3946
3947 <slider style="slider_centered">
3948 <text>{@swipe_to_install=Swipe to Install}</text>
3949 <actions>
3950 <action function="set">tw_back=advanced</action>
3951 <action function="set">tw_action=repackimage</action>
3952 <action function="set">tw_action_param=/boot</action>
3953 <action function="set">tw_action_text1={@installing=Installing...}</action>
3954 <action function="set">tw_action_text2=</action>
3955 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3956 <action function="page">action_page</action>
3957 </actions>
3958 </slider>
3959
3960 <action>
3961 <touch key="back"/>
3962 <action function="page">repackselect</action>
3963 </action>
3964
3965 <action>
3966 <touch key="home"/>
3967 <action function="page">main</action>
3968 </action>
3969 </page>
3970
z31s1g28f0a922015-11-07 18:50:22 +01003971 <page name="lock">
3972 <background color="%semi_transparent%"/>
3973
3974 <image>
3975 <image resource="unlock_icon"/>
3976 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3977 </image>
3978
3979 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003980 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003981 <action function="overlay"/>
3982 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003983
3984 <action>
3985 <touch key="power"/>
3986 <action function="togglebacklight"/>
3987 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003988 </page>
3989
3990 <page name="filemanagerlist">
3991 <template name="page"/>
3992
3993 <text style="text_l">
3994 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <text style="text_m">
3999 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004000 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004001 </text>
4002
4003 <template name="sort_options"/>
4004
4005 <fileselector>
4006 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4007 <text>%tw_file_location1%</text>
4008 <filter folders="1" files="1"/>
4009 <path name="tw_file_location1" default="/"/>
4010 <data name="tw_filename1"/>
4011 <selection name="tw_selection1"/>
4012 </fileselector>
4013
4014 <button style="main_button_half_width_low">
4015 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004016 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004017 <actions>
4018 <action function="set">tw_filename1=tw_file_location1</action>
4019 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004021 <action function="page">filemanageroptions</action>
4022 </actions>
4023 </button>
4024
4025 <action>
4026 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004028 <action function="set">tw_fm_isfolder=0</action>
4029 </actions>
4030 </action>
4031
4032 <action>
4033 <touch key="home"/>
4034 <action function="page">main</action>
4035 </action>
4036
4037 <action>
4038 <touch key="back"/>
4039 <action function="page">advanced</action>
4040 </action>
4041
4042 <action>
4043 <condition var1="tw_filename1" op="modified"/>
4044 <action function="page">filemanageroptions</action>
4045 </action>
4046 </page>
4047
4048 <page name="filemanageroptions">
4049 <template name="page"/>
4050
4051 <text style="text_l">
4052 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <text style="text_m">
4057 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 </text>
4060
4061 <text style="text_m_accent">
4062 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004063 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004064 </text>
4065
4066 <text style="text_m">
4067 <placement x="%col1_x_left%" y="%row3_y%"/>
4068 <text>%tw_filename1%</text>
4069 </text>
4070
4071 <button style="main_button_half_width">
4072 <condition var1="tw_fm_isfolder" var2="0"/>
4073 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004074 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004075 <actions>
4076 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004077 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004078 <action function="page">choosedestinationfolder</action>
4079 </actions>
4080 </button>
4081
4082 <button style="main_button_half_width">
4083 <condition var1="tw_fm_isfolder" var2="1"/>
4084 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004085 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004086 <actions>
4087 <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 -05004088 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004089 <action function="page">choosedestinationfolder</action>
4090 </actions>
4091 </button>
4092
4093 <button style="main_button_half_width">
Captain Throwback3b556102021-02-12 19:32:36 -05004094edi <conditions>
4095 <condition var1="tw_include_nano" var2="1"/>
4096 <condition var1="tw_fm_isfolder" var2="0"/>
4097 </conditions>
4098 <placement x="%col1_x_left%" y="%row15a_y%"/>
4099 <text>{@fm_edit_file=Edit File}</text>
4100 <actions>
4101 <action function="editfile">nano "%tw_filename1%"</action>
4102 <action function="page">terminalcommand</action>
4103 </actions>
4104 </button>
4105
4106 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004107 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004108 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004109 <actions>
4110 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004111 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004112 <action function="page">choosedestinationfolder</action>
4113 </actions>
4114 </button>
4115
4116 <button style="main_button_half_width">
4117 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004119 <actions>
4120 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004121 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 <action function="set">tw_fm_text2=</action>
4123 <action function="set">tw_fm_text3=</action>
4124 <action function="set">tw_include_text3=0</action>
4125 <action function="set">tw_back=filemanageroptions</action>
4126 <action function="page">filemanagerconfirm</action>
4127 </actions>
4128 </button>
4129
4130 <button style="main_button_half_width">
4131 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004132 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004133 <actions>
4134 <action function="set">tw_filemanager_rename=0000</action>
4135 <action function="set">tw_fm_text2=</action>
4136 <action function="set">tw_fm_text3=</action>
4137 <action function="set">tw_include_text3=0</action>
4138 <action function="set">tw_back=filemanageroptions</action>
4139 <action function="page">filemanagerchmod</action>
4140 </actions>
4141 </button>
4142
4143 <button style="main_button_half_width">
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004144 <condition var1="tw_fm_isfolder" var2="1"/>
4145 <placement x="%col2_x_right%" y="%row15a_y%"/>
4146 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4147 <action function="changeterminal">%tw_filename1%</action>
4148 </button>
4149
4150 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004151 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004153 <actions>
4154 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004156 <action function="set">tw_fm_text2=</action>
4157 <action function="set">tw_fm_text3=</action>
4158 <action function="set">tw_include_text3=0</action>
4159 <action function="set">tw_back=filemanageroptions</action>
4160 <action function="page">filemanagerconfirm</action>
4161 </actions>
4162 </button>
4163
4164 <button style="main_button_half_width">
4165 <condition var1="tw_fm_isfolder" var2="0"/>
4166 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004167 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004168 <actions>
4169 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004170 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004171 <action function="set">tw_filemanager_command=mv</action>
4172 <action function="page">filemanagerrenamefile</action>
4173 </actions>
4174 </button>
4175
4176 <button style="main_button_half_width">
4177 <condition var1="tw_fm_isfolder" var2="1"/>
4178 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004180 <actions>
4181 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004183 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4184 <action function="page">filemanagerrenamefolder</action>
4185 </actions>
4186 </button>
4187
4188 <action>
4189 <touch key="home"/>
4190 <action function="page">main</action>
4191 </action>
4192
4193 <action>
4194 <touch key="back"/>
4195 <action function="page">filemanagerlist</action>
4196 </action>
4197 </page>
4198
4199 <page name="choosedestinationfolder">
4200 <template name="page"/>
4201
4202 <text style="text_l">
4203 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004204 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004205 </text>
4206
4207 <text style="text_m">
4208 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 </text>
4211
4212 <template name="sort_options"/>
4213
4214 <fileselector>
4215 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4216 <text>%tw_file_location2%</text>
4217 <filter folders="1" files="0"/>
4218 <path name="tw_file_location2" default="/"/>
4219 <data name="tw_filename2"/>
4220 <selection name="tw_selection2"/>
4221 </fileselector>
4222
4223 <button style="main_button_half_width_low">
4224 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004225 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004226 <actions>
4227 <action function="set">tw_fm_text2=to</action>
4228 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4229 <action function="set">tw_include_text3=1</action>
4230 <action function="set">tw_back=filemanageroptions</action>
4231 <action function="page">filemanagerconfirm</action>
4232 </actions>
4233 </button>
4234
4235 <action>
4236 <touch key="home"/>
4237 <action function="page">main</action>
4238 </action>
4239
4240 <action>
4241 <touch key="back"/>
4242 <action function="page">filemanageroptions</action>
4243 </action>
4244 </page>
4245
4246 <page name="filemanagerrenamefile">
4247 <template name="page"/>
4248
4249 <text style="text_l">
4250 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004251 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004252 </text>
4253
4254 <text style="text_m">
4255 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004256 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004257 </text>
4258
4259 <text style="text_m_accent">
4260 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004261 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004262 </text>
4263
4264 <input>
4265 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4266 <text>%tw_filemanager_rename%</text>
4267 <data name="tw_filemanager_rename"/>
4268 <restrict minlen="1" maxlen="128"/>
4269 <actions>
4270 <action function="set">tw_fm_text2=to</action>
4271 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4272 <action function="set">tw_include_text3=1</action>
4273 <action function="set">tw_back=filemanageroptions</action>
4274 <action function="page">filemanagerconfirm</action>
4275 </actions>
4276 </input>
4277
4278 <fill color="%accent_color%">
4279 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4280 </fill>
4281
4282 <button style="main_button_half_width_low">
4283 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004284 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004285 <action function="page">filemanageroptions</action>
4286 </button>
4287
4288 <template name="keyboardtemplate"/>
4289
4290 <action>
4291 <touch key="home"/>
4292 <action function="page">main</action>
4293 </action>
4294
4295 <action>
4296 <touch key="back"/>
4297 <action function="page">filemanageroptions</action>
4298 </action>
4299 </page>
4300
4301 <page name="filemanagerrenamefolder">
4302 <template name="page"/>
4303
4304 <text style="text_l">
4305 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004306 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004307 </text>
4308
4309 <text style="text_m">
4310 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004311 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004312 </text>
4313
4314 <text style="text_m_accent">
4315 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004316 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004317 </text>
4318
4319 <input>
4320 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4321 <text>%tw_filemanager_rename%</text>
4322 <data name="tw_filemanager_rename"/>
4323 <restrict minlen="1" maxlen="128"/>
4324 <actions>
4325 <action function="set">tw_fm_text2=to</action>
4326 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4327 <action function="set">tw_include_text3=1</action>
4328 <action function="set">tw_back=filemanageroptions</action>
4329 <action function="page">filemanagerconfirm</action>
4330 </actions>
4331 </input>
4332
4333 <fill color="%accent_color%">
4334 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4335 </fill>
4336
4337 <button style="main_button_half_width_low">
4338 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 <action function="page">filemanageroptions</action>
4341 </button>
4342
4343 <template name="keyboardtemplate"/>
4344
4345 <action>
4346 <touch key="home"/>
4347 <action function="page">main</action>
4348 </action>
4349
4350 <action>
4351 <touch key="back"/>
4352 <action function="page">filemanageroptions</action>
4353 </action>
4354 </page>
4355
4356 <page name="filemanagerchmod">
4357 <template name="page"/>
4358
4359 <text style="text_l">
4360 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004361 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004362 </text>
4363
4364 <text style="text_m">
4365 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004366 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004367 </text>
4368
4369 <text style="text_m_accent">
4370 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004371 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004372 </text>
4373
4374 <input>
4375 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4376 <text>%tw_filemanager_rename%</text>
4377 <data name="tw_filemanager_rename"/>
4378 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4379 <actions>
4380 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4381 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4382 <action function="set">tw_back=filemanageroptions</action>
4383 <action function="page">filemanagerconfirm</action>
4384 </actions>
4385 </input>
4386
4387 <fill color="%accent_color%">
4388 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4389 </fill>
4390
4391 <button style="main_button_half_width_low">
4392 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004393 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004394 <action function="page">filemanageroptions</action>
4395 </button>
4396
4397 <template name="keyboardtemplate"/>
4398
4399 <action>
4400 <touch key="home"/>
4401 <action function="page">main</action>
4402 </action>
4403
4404 <action>
4405 <touch key="back"/>
4406 <action function="page">filemanageroptions</action>
4407 </action>
4408 </page>
4409
4410 <page name="filemanagerconfirm">
4411 <template name="page"/>
4412
4413 <text style="text_l">
4414 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004415 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004416 </text>
4417
4418 <text style="text_m">
4419 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004420 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004421 </text>
4422
4423 <text style="text_m_accent">
4424 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4425 <text>%tw_fm_text1%</text>
4426 </text>
4427
4428 <text style="text_m">
4429 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4430 <text>%tw_filename1%</text>
4431 </text>
4432
4433 <text style="text_m_accent">
4434 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4435 <text>%tw_fm_text2%</text>
4436 </text>
4437
4438 <text style="text_m">
4439 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4440 <text>%tw_fm_text3%</text>
4441 </text>
4442
4443 <text style="text_m">
4444 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004445 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004446 </text>
4447
4448 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004449 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004450 <action function="page">filemanageraction</action>
4451 </slider>
4452
4453 <action>
4454 <touch key="back"/>
4455 <action function="page">%tw_back%</action>
4456 </action>
4457
4458 <action>
4459 <touch key="home"/>
4460 <action function="page">main</action>
4461 </action>
4462 </page>
4463
4464 <page name="filemanageraction">
4465 <template name="page"/>
4466
4467 <text style="text_l">
4468 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004469 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004470 </text>
4471
4472 <text style="text_m">
4473 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4474 <text>%tw_fm_text1%</text>
4475 </text>
4476
4477 <template name="console"/>
4478
4479 <template name="progress_bar"/>
4480
4481 <action>
4482 <conditions>
4483 <condition var1="tw_operation_state" var2="1"/>
4484 <condition var1="tw_operation_status" var2="0"/>
4485 </conditions>
4486 <actions>
4487 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004488 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004489 <action function="page">action_complete</action>
4490 </actions>
4491 </action>
4492
4493 <action>
4494 <conditions>
4495 <condition var1="tw_operation_state" var2="1"/>
4496 <condition var1="tw_operation_status" op="!=" var2="0"/>
4497 </conditions>
4498 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004499 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004500 <action function="page">action_complete</action>
4501 </actions>
4502 </action>
4503
4504 <action>
4505 <condition var1="tw_include_text3" var2="0"/>
4506 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4507 </action>
4508
4509 <action>
4510 <condition var1="tw_include_text3" var2="1"/>
4511 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4512 </action>
4513 </page>
4514
4515 <page name="decrypt">
4516 <template name="page"/>
4517
4518 <action>
4519 <condition var1="tw_crypto_pwtype" var2="2"/>
4520 <action function="page">decrypt_pattern</action>
4521 </action>
4522
4523 <text style="text_l">
4524 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004525 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004526 </text>
4527
4528 <text style="text_m">
4529 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004530 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004531 </text>
4532
4533 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004534 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004535 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004536 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004537 </text>
4538
Noah Jacobson5a79f672019-04-28 00:10:07 -04004539 <text style="text_m_accent">
4540 <condition var1="tw_is_fbe" var2="1"/>
4541 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4542 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4543 </text>
4544
z31s1g28f0a922015-11-07 18:50:22 +01004545 <input>
4546 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4547 <text>%tw_crypto_display%</text>
4548 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4549 <restrict minlen="1" maxlen="254"/>
4550 <action function="page">trydecrypt</action>
4551 </input>
4552
4553 <fill color="%accent_color%">
4554 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4555 </fill>
4556
4557 <fill color="%text_fail_color%">
4558 <condition var1="tw_password_fail" var2="1"/>
4559 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4560 </fill>
4561
4562 <text style="text_m_fail">
4563 <condition var1="tw_password_fail" var2="1"/>
4564 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004565 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004566 </text>
4567
4568 <button style="main_button_half_width_low">
4569 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004570 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004571 <actions>
4572 <action function="set">tw_page_done=1</action>
4573 <action function="page">main</action>
4574 </actions>
4575 </button>
4576
z31s1g608d7ff2016-01-18 19:47:25 +01004577 <button style="main_button_half_width_low">
4578 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4579 <text>{@sel_lang_btn=Select Language}</text>
4580 <action function="overlay">select_language</action>
4581 </button>
4582
z31s1g28f0a922015-11-07 18:50:22 +01004583 <template name="keyboardtemplate"/>
4584 </page>
4585
4586 <page name="decrypt_pattern">
4587 <template name="page"/>
4588
4589 <text style="text_l">
4590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004591 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004592 </text>
4593
4594 <text style="text_m">
4595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004596 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004597 </text>
4598
4599 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004600 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004601 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004602 </text>
4603
Aleksa Saraib25a1832015-12-31 17:36:00 +01004604 <text style="text_m_fail">
4605 <condition var1="tw_password_fail" var2="1"/>
4606 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004607 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004608 </text>
4609
z31s1g28f0a922015-11-07 18:50:22 +01004610 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004611 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004612 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4613 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4614 <data name="tw_crypto_password"/>
4615 <action function="page">trydecrypt</action>
4616 </patternpassword>
4617
Aleksa Saraib25a1832015-12-31 17:36:00 +01004618 <button style="main_button_half_width_low">
4619 <placement x="%col_button_right%" y="%row1a_y%"/>
4620 <text>3x3</text>
4621 <action function="set">tw_gui_pattern_grid_size=3</action>
4622 </button>
4623
4624 <button style="main_button_half_width_low">
4625 <placement x="%col_button_right%" y="%row4a_y%"/>
4626 <text>4x4</text>
4627 <action function="set">tw_gui_pattern_grid_size=4</action>
4628 </button>
4629
4630 <button style="main_button_half_width_low">
4631 <placement x="%col_button_right%" y="%row7a_y%"/>
4632 <text>5x5</text>
4633 <action function="set">tw_gui_pattern_grid_size=5</action>
4634 </button>
4635
4636 <button style="main_button_half_width_low">
4637 <placement x="%col_button_right%" y="%row10a_y%"/>
4638 <text>6x6</text>
4639 <action function="set">tw_gui_pattern_grid_size=6</action>
4640 </button>
4641
z31s1g28f0a922015-11-07 18:50:22 +01004642 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004643 <placement x="%col1_x_right%" y="%row15a_y%"/>
4644 <text>{@sel_lang_btn=Select Language}</text>
4645 <action function="overlay">select_language</action>
4646 </button>
4647
4648 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004649 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 <actions>
4652 <action function="set">tw_page_done=1</action>
4653 <action function="page">main</action>
4654 </actions>
4655 </button>
4656 </page>
4657
4658 <page name="trydecrypt">
4659 <template name="page"/>
4660
4661 <text style="text_l">
4662 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004663 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004664 </text>
4665
4666 <text style="text_m">
4667 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </text>
4670
4671 <template name="console"/>
4672
4673 <template name="progress_bar"/>
4674
4675 <action>
4676 <action function="decrypt"/>
4677 </action>
4678
4679 <action>
4680 <conditions>
4681 <condition var1="tw_operation_state" var2="1"/>
4682 <condition var1="tw_operation_status" op="!=" var2="0"/>
4683 </conditions>
4684 <actions>
4685 <action function="set">tw_password_fail=1</action>
4686 <action function="page">decrypt</action>
4687 </actions>
4688 </action>
4689
4690 <action>
4691 <conditions>
4692 <condition var1="tw_operation_state" var2="1"/>
4693 <condition var1="tw_operation_status" op="=" var2="0"/>
4694 </conditions>
4695 <actions>
4696 <action function="set">tw_page_done=1</action>
4697 <action function="page">main</action>
4698 </actions>
4699 </action>
4700 </page>
4701
z31s1g28f0a922015-11-07 18:50:22 +01004702 <page name="terminalcommand">
4703 <template name="page"/>
4704
4705 <fill color="%background_color%">
4706 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4707 </fill>
4708
z31s1g56189522016-01-13 19:12:40 +01004709 <terminal>
4710 <condition var1="tw_hide_kb" var2="0"/>
4711 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4712 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004713
z31s1g56189522016-01-13 19:12:40 +01004714 <terminal>
4715 <condition var1="tw_hide_kb" var2="1"/>
4716 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4717 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004718
z31s1g56189522016-01-13 19:12:40 +01004719 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004720
z31s1g56189522016-01-13 19:12:40 +01004721 <object type="fill" color="#000000">
4722 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4723 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004724
z31s1g608d7ff2016-01-18 19:47:25 +01004725 <button>
z31s1g56189522016-01-13 19:12:40 +01004726 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4727 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4728 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4729 <image resource="back" />
4730 <condition var1="tw_busy" var2="0" />
4731 <actions>
4732 <action function="set">tw_hide_kb=0</action>
4733 <action function="page">advanced</action>
4734 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004735 </button>
z31s1g56189522016-01-13 19:12:40 +01004736
z31s1g608d7ff2016-01-18 19:47:25 +01004737 <button>
z31s1g56189522016-01-13 19:12:40 +01004738 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4739 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4740 <condition var1="tw_hide_kb" op="=" var2="0" />
4741 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4742 <image resource="kb_hide" />
4743 <condition var1="tw_busy" var2="0" />
4744 <actions>
4745 <action function="set">tw_hide_kb=1</action>
4746 <action function="page">terminalcommand</action>
4747 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004748 </button>
z31s1g56189522016-01-13 19:12:40 +01004749
z31s1g608d7ff2016-01-18 19:47:25 +01004750 <button>
z31s1g56189522016-01-13 19:12:40 +01004751 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4752 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4753 <condition var1="tw_hide_kb" op="=" var2="1" />
4754 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4755 <image resource="kb_show" />
4756 <condition var1="tw_busy" var2="0" />
4757 <actions>
4758 <action function="set">tw_hide_kb=0</action>
4759 <action function="page">terminalcommand</action>
4760 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004761 </button>
z31s1g56189522016-01-13 19:12:40 +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 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4766 <image resource="home" />
4767 <condition var1="tw_busy" var2="0" />
4768 <actions>
4769 <action function="set">tw_hide_kb=0</action>
4770 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004771 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004772 </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="%console_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="%console_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 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4804 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4805 <image resource="back" />
4806 <condition var1="tw_busy" var2="0" />
4807 <actions>
4808 <action function="set">tw_hide_kb=0</action>
4809 <action function="page">advanced</action>
4810 </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="1" />
4815 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4816 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4817 <image resource="back" />
4818 <condition var1="tw_busy" var2="0" />
4819 <actions>
4820 <action function="set">tw_hide_kb=0</action>
4821 <action function="page">advanced</action>
4822 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004823 </button>
z31s1g56189522016-01-13 19:12:40 +01004824
z31s1g608d7ff2016-01-18 19:47:25 +01004825 <button>
z31s1g56189522016-01-13 19:12:40 +01004826 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4827 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4828 <condition var1="tw_hide_kb" op="=" var2="0" />
4829 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4830 <image resource="kb_hide" />
4831 <condition var1="tw_busy" var2="0" />
4832 <actions>
4833 <action function="set">tw_hide_kb=1</action>
4834 <action function="page">terminalcommand</action>
4835 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004836 </button>
z31s1g56189522016-01-13 19:12:40 +01004837
z31s1g608d7ff2016-01-18 19:47:25 +01004838 <button>
z31s1g56189522016-01-13 19:12:40 +01004839 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4840 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4841 <condition var1="tw_hide_kb" op="=" var2="1" />
4842 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4843 <image resource="kb_show" />
4844 <condition var1="tw_busy" var2="0" />
4845 <actions>
4846 <action function="set">tw_hide_kb=0</action>
4847 <action function="page">terminalcommand</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 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4854 <image resource="home" />
4855 <condition var1="tw_busy" var2="0" />
4856 <actions>
4857 <action function="set">tw_hide_kb=0</action>
4858 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004859 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004860 </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="%console_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="%console_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 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4892 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4893 <image resource="back" />
4894 <condition var1="tw_busy" var2="0" />
4895 <actions>
4896 <action function="set">tw_hide_kb=0</action>
4897 <action function="page">advanced</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004898 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004899 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004900 </button>
z31s1g56189522016-01-13 19:12:40 +01004901
z31s1g608d7ff2016-01-18 19:47:25 +01004902 <button>
z31s1g56189522016-01-13 19:12:40 +01004903 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4904 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4905 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4906 <image resource="back" />
4907 <condition var1="tw_busy" var2="0" />
4908 <actions>
4909 <action function="set">tw_hide_kb=0</action>
4910 <action function="page">advanced</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="2" />
4916 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4917 <condition var1="tw_hide_kb" op="=" var2="0" />
4918 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4919 <image resource="kb_hide" />
4920 <condition var1="tw_busy" var2="0" />
4921 <actions>
4922 <action function="set">tw_hide_kb=1</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="2" />
4929 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4930 <condition var1="tw_hide_kb" op="=" var2="1" />
4931 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4932 <image resource="kb_show" />
4933 <condition var1="tw_busy" var2="0" />
4934 <actions>
4935 <action function="set">tw_hide_kb=0</action>
4936 <action function="page">terminalcommand</action>
4937 </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 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4943 <image resource="home" />
4944 <condition var1="tw_busy" var2="0" />
4945 <actions>
4946 <action function="set">tw_hide_kb=0</action>
4947 <action function="key">home</action>
4948 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004949 </button>
z31s1g56189522016-01-13 19:12:40 +01004950
z31s1g608d7ff2016-01-18 19:47:25 +01004951 <button>
z31s1g56189522016-01-13 19:12:40 +01004952 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4953 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4954 <condition var1="tw_hide_kb" op="=" var2="0" />
4955 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4956 <image resource="kb_hide" />
4957 <condition var1="tw_busy" var2="0" />
4958 <actions>
4959 <action function="set">tw_hide_kb=1</action>
4960 <action function="page">terminalcommand</action>
4961 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004962 </button>
z31s1g56189522016-01-13 19:12:40 +01004963
z31s1g608d7ff2016-01-18 19:47:25 +01004964 <button>
z31s1g56189522016-01-13 19:12:40 +01004965 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4966 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4967 <condition var1="tw_hide_kb" op="=" var2="1" />
4968 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4969 <image resource="kb_show" />
4970 <condition var1="tw_busy" var2="0" />
4971 <actions>
4972 <action function="set">tw_hide_kb=0</action>
4973 <action function="page">terminalcommand</action>
4974 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004975 </button>
z31s1g56189522016-01-13 19:12:40 +01004976
z31s1g608d7ff2016-01-18 19:47:25 +01004977 <button>
z31s1g56189522016-01-13 19:12:40 +01004978 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4979 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4980 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4981 <image resource="back" />
4982 <condition var1="tw_busy" var2="0" />
4983 <actions>
4984 <action function="set">tw_hide_kb=0</action>
4985 <action function="page">advanced</action>
4986 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004987 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004988
4989 <action>
4990 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004991 <actions>
4992 <action function="page">main</action>
4993 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004994 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004995 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004996 </action>
4997
4998 <action>
4999 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005000 <actions>
5001 <action function="page">advanced</action>
5002 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00005003 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005004 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005005 </action>
z31s1g56189522016-01-13 19:12:40 +01005006
5007 <object type="action">
5008 <touch key="power+voldown" />
5009 <action function="screenshot" />
5010 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005011 </page>
5012
5013 <page name="sideload">
5014 <template name="page"/>
5015
5016 <text style="text_l">
5017 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005018 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005019 </text>
5020
5021 <text style="text_m">
5022 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005023 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005024 </text>
5025
5026 <checkbox>
5027 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005028 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005029 <data variable="tw_wipe_dalvik"/>
5030 </checkbox>
5031
5032 <checkbox>
5033 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005034 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005035 <data variable="tw_wipe_cache"/>
5036 </checkbox>
5037
5038 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005039 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005040 <actions>
5041 <action function="set">tw_back=advanced</action>
5042 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005043 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5044 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5045 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005046 <action function="set">tw_has_cancel=1</action>
5047 <action function="set">tw_show_reboot=1</action>
5048 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5049 <action function="page">action_page</action>
5050 </actions>
5051 </slider>
5052
5053 <action>
5054 <touch key="home"/>
5055 <action function="page">main</action>
5056 </action>
5057
5058 <action>
5059 <touch key="back"/>
5060 <action function="page">advanced</action>
5061 </action>
5062 </page>
5063
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005064 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005065 <template name="page"/>
5066
5067 <text style="text_l">
5068 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005069 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005070 </text>
5071
5072 <text style="text_m">
5073 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005074 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005075 </text>
5076
5077 <text style="text_m_accent">
5078 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005079 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005080 </text>
5081
z31s1g28f0a922015-11-07 18:50:22 +01005082 <text style="text_m_fail">
5083 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005084 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005085 </text>
5086
5087 <text style="text_m_fail">
5088 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005089 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005090 </text>
5091
5092 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005093 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005094 <actions>
5095 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005096 <action function="set">tw_action=fixcontexts</action>
5097 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5098 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005099 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005100 <action function="set">tw_show_reboot=1</action>
5101 <action function="page">action_page</action>
5102 </actions>
5103 </slider>
5104
5105 <action>
5106 <touch key="home"/>
5107 <action function="page">main</action>
5108 </action>
5109
5110 <action>
5111 <touch key="back"/>
5112 <action function="page">advanced</action>
5113 </action>
5114 </page>
5115
z31s1g28f0a922015-11-07 18:50:22 +01005116 <page name="slideout">
5117 <fill color="%background_color%">
5118 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5119 </fill>
5120
5121 <console>
5122 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5123 </console>
5124
5125 <button>
5126 <fill color="%transparent%"/>
5127 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5128 <action function="overlay"/>
5129 </button>
5130
5131 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005132 <touch key="power"/>
5133 <action function="togglebacklight"/>
5134 </action>
5135
5136 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005137 <touch key="power+voldown"/>
5138 <action function="screenshot"/>
5139 </action>
5140 </page>
5141
5142 <page name="select_storage">
5143 <fill color="%semi_transparent%">
5144 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5145 </fill>
5146
5147 <fill color="%background_color%">
5148 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5149 </fill>
5150
5151 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005152 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005153 <data name="tw_storage_path"/>
5154 <listtype name="storage"/>
5155 </partitionlist>
5156
5157 <button style="button_third_width">
5158 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005159 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005160 <actions>
5161 <action function="set">tw_clear_destination=%tw_back%</action>
5162 <action function="overlay"/>
5163 <action function="page">clear_vars</action>
5164 </actions>
5165 </button>
5166
5167 <fill color="#000000">
5168 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5169 </fill>
5170
5171 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005172 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5173 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5174 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5175 <image resource="back" />
5176 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005177 <actions>
5178 <action function="overlay"/>
5179 <action function="key">%tw_back%</action>
5180 </actions>
5181 </button>
5182
5183 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005184 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5185 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5186 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5187 <image resource="console" />
5188 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005189 <action function="overlay">slideout</action>
5190 </button>
5191
5192 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005193 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5194 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5195 <image resource="home" />
5196 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005197 <actions>
5198 <action function="overlay"/>
5199 <action function="key">home</action>
5200 </actions>
5201 </button>
5202
5203 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005204 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5205 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5206 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5207 <image resource="console" />
5208 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005209 <action function="overlay">slideout</action>
5210 </button>
5211
5212 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005213 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5214 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5215 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5216 <image resource="back" />
5217 <condition var1="tw_busy" var2="0" />
5218 <actions>
5219 <action function="overlay"/>
5220 <action function="key">%tw_back%</action>
5221 </actions>
5222 </button>
5223
5224 <button>
5225 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5226 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5227 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5228 <image resource="back" />
5229 <condition var1="tw_busy" var2="0" />
5230 <actions>
5231 <action function="overlay"/>
5232 <action function="key">%tw_back%</action>
5233 </actions>
5234 </button>
5235
5236 <button>
5237 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5238 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5239 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5240 <image resource="console" />
5241 <condition var1="tw_busy" var2="0" />
5242 <action function="overlay">slideout</action>
5243 </button>
5244
5245 <button>
5246 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5247 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5248 <image resource="home" />
5249 <condition var1="tw_busy" var2="0" />
5250 <actions>
5251 <action function="overlay"/>
5252 <action function="key">home</action>
5253 </actions>
5254 </button>
5255
5256 <button>
5257 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5258 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5259 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5260 <image resource="console" />
5261 <condition var1="tw_busy" var2="0" />
5262 <action function="overlay">slideout</action>
5263 </button>
5264
5265 <button>
5266 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5267 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5268 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5269 <image resource="back" />
5270 <condition var1="tw_busy" var2="0" />
5271 <actions>
5272 <action function="overlay"/>
5273 <action function="key">%tw_back%</action>
5274 </actions>
5275 </button>
5276
5277 <button>
5278 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5279 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5280 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5281 <image resource="back" />
5282 <condition var1="tw_busy" var2="0" />
5283 <actions>
5284 <action function="overlay"/>
5285 <action function="key">%tw_back%</action>
5286 </actions>
5287 </button>
5288
5289 <button>
5290 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5291 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5292 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5293 <image resource="console" />
5294 <condition var1="tw_busy" var2="0" />
5295 <action function="overlay">slideout</action>
5296 </button>
5297
5298 <button>
5299 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5300 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5301 <image resource="home" />
5302 <condition var1="tw_busy" var2="0" />
5303 <actions>
5304 <action function="overlay"/>
5305 <action function="key">home</action>
5306 </actions>
5307 </button>
5308
5309 <button>
5310 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5311 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5312 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5313 <image resource="console" />
5314 <condition var1="tw_busy" var2="0" />
5315 <action function="overlay">slideout</action>
5316 </button>
5317
5318 <button>
5319 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5320 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5321 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5322 <image resource="back" />
5323 <condition var1="tw_busy" var2="0" />
5324 <actions>
5325 <action function="overlay"/>
5326 <action function="key">%tw_back%</action>
5327 </actions>
5328 </button>
5329
5330 <action>
5331 <touch key="power+voldown"/>
5332 <action function="screenshot"/>
5333 </action>
5334 </page>
5335
5336 <page name="select_language">
5337 <fill color="%semi_transparent%">
5338 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5339 </fill>
5340
5341 <fill color="%background_color%">
5342 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5343 </fill>
5344
5345 <listbox>
5346 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5347 <text>{@select_language=Select Language:}</text>
5348 <icon selected="radio_true" unselected="radio_false" />
5349 <data name="tw_language" />
5350 </listbox>
5351
5352 <button style="button_third_width">
5353 <placement x="%dialog_button_x%" y="%row13_y%"/>
5354 <text>{@ok_btn=OK}</text>
5355 <actions>
5356 <action function="overlay"/>
5357 <action function="setlanguage"></action>
5358 </actions>
5359 </button>
5360
5361 <fill color="#000000">
5362 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5363 </fill>
5364
5365 <button>
5366 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5367 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5368 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5369 <image resource="back" />
5370 <condition var1="tw_busy" var2="0" />
5371 <actions>
5372 <action function="overlay"/>
5373 <action function="key">%tw_back%</action>
5374 </actions>
5375 </button>
5376
5377 <button>
5378 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5379 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5380 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5381 <image resource="console" />
5382 <condition var1="tw_busy" var2="0" />
5383 <action function="overlay">slideout</action>
5384 </button>
5385
5386 <button>
5387 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5388 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5389 <image resource="home" />
5390 <condition var1="tw_busy" var2="0" />
5391 <actions>
5392 <action function="overlay"/>
5393 <action function="key">home</action>
5394 </actions>
5395 </button>
5396
5397 <button>
5398 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5399 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5400 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5401 <image resource="console" />
5402 <condition var1="tw_busy" var2="0" />
5403 <action function="overlay">slideout</action>
5404 </button>
5405
5406 <button>
5407 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5408 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5409 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5410 <image resource="back" />
5411 <condition var1="tw_busy" var2="0" />
5412 <actions>
5413 <action function="overlay"/>
5414 <action function="key">%tw_back%</action>
5415 </actions>
5416 </button>
5417
5418 <button>
5419 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5420 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5421 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5422 <image resource="back" />
5423 <condition var1="tw_busy" var2="0" />
5424 <actions>
5425 <action function="overlay"/>
5426 <action function="key">%tw_back%</action>
5427 </actions>
5428 </button>
5429
5430 <button>
5431 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5432 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5433 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5434 <image resource="console" />
5435 <condition var1="tw_busy" var2="0" />
5436 <action function="overlay">slideout</action>
5437 </button>
5438
5439 <button>
5440 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5441 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5442 <image resource="home" />
5443 <condition var1="tw_busy" var2="0" />
5444 <actions>
5445 <action function="overlay"/>
5446 <action function="key">home</action>
5447 </actions>
5448 </button>
5449
5450 <button>
5451 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5452 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5453 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5454 <image resource="console" />
5455 <condition var1="tw_busy" var2="0" />
5456 <action function="overlay">slideout</action>
5457 </button>
5458
5459 <button>
5460 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5461 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5462 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5463 <image resource="back" />
5464 <condition var1="tw_busy" var2="0" />
5465 <actions>
5466 <action function="overlay"/>
5467 <action function="key">%tw_back%</action>
5468 </actions>
5469 </button>
5470
5471 <button>
5472 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5473 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5474 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5475 <image resource="back" />
5476 <condition var1="tw_busy" var2="0" />
5477 <actions>
5478 <action function="overlay"/>
5479 <action function="key">%tw_back%</action>
5480 </actions>
5481 </button>
5482
5483 <button>
5484 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5485 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5486 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5487 <image resource="console" />
5488 <condition var1="tw_busy" var2="0" />
5489 <action function="overlay">slideout</action>
5490 </button>
5491
5492 <button>
5493 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5494 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5495 <image resource="home" />
5496 <condition var1="tw_busy" var2="0" />
5497 <actions>
5498 <action function="overlay"/>
5499 <action function="key">home</action>
5500 </actions>
5501 </button>
5502
5503 <button>
5504 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5505 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5506 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5507 <image resource="console" />
5508 <condition var1="tw_busy" var2="0" />
5509 <action function="overlay">slideout</action>
5510 </button>
5511
5512 <button>
5513 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5514 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5515 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5516 <image resource="back" />
5517 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005518 <actions>
5519 <action function="overlay"/>
5520 <action function="key">%tw_back%</action>
5521 </actions>
5522 </button>
5523
5524 <action>
5525 <touch key="power+voldown"/>
5526 <action function="screenshot"/>
5527 </action>
5528 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005529
5530 <page name="decrypt_users">
5531 <template name="page"/>
5532
5533 <text style="text_l">
5534 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5535 <text>{@decrypt_users=Decrypt Users}</text>
5536 </text>
5537
5538 <text style="text_m_accent">
5539 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5540 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5541 </text>
5542
5543 <listbox>
5544 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5545 <text>{@select_user=Select User}</text>
5546 <icon selected="radio_true" unselected="radio_false" />
5547 <data name="tw_crypto_user_id" />
5548 </listbox>
5549
5550 <button style="main_button_half_width">
5551 <placement x="%col2_x_right%" y="%row15a_y%"/>
5552 <text>{@decrypt_users=Decrypt Users}</text>
5553 <action function="set">tw_crypto_password=</action>
5554 <action function="set">tw_password_fail=0</action>
5555 <action function="page">decrypt</action>
5556 </button>
5557
5558 <action>
5559 <touch key="home"/>
5560 <action function="page">main</action>
5561 </action>
5562
5563 <action>
5564 <touch key="back"/>
5565 <action function="page">advanced</action>
5566 </action>
5567 </page>
epicX98053c32021-01-04 13:01:31 +05305568
5569 <page name="changeTwrpFolder">
5570 <template name="page"/>
5571
5572 <text style="text_l">
5573 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5574 <text>{@advanced_hdr=Advanced}</text>
5575 </text>
5576
5577 <text style="text_m">
5578 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5579 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5580 </text>
5581
5582 <text style="text_m_accent">
5583 <placement x="%col1_x_left%" y="%row2_y%"/>
5584 <text>{@name=Name:}</text>
5585 </text>
5586
5587 <input>
5588 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5589 <text>%tw_custom_folder%</text>
5590 <data name="tw_custom_folder"/>
5591 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5592 <actions>
5593 <action function="set">tw_back=changeTwrpFolder</action>
5594 <action function="set">tw_action=applycustomtwrpfolder</action>
5595 <action function="set">tw_action_param=%tw_custom_folder%</action>
5596 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5597 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5598 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5599 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5600 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5601 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5602 <action function="set">tw_existpage=changeTwrpFolder</action>
5603 <action function="set">tw_notexistpage=confirm_action</action>
5604 <action function="page">filecheck</action>
5605 </actions>
5606 </input>
5607
5608 <fill color="%accent_color%">
5609 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5610 </fill>
5611
5612 <fill color="%text_fail_color%">
5613 <condition var1="tw_fileexists" var2="1"/>
5614 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5615 </fill>
5616
5617 <text style="text_m_fail">
5618 <condition var1="tw_fileexists" var2="1"/>
5619 <placement x="%col1_x_left%" y="%row4_y%"/>
5620 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5621 </text>
5622
5623 <button style="main_button_half_width_low">
5624 <placement x="%indent%" y="%row5_y%"/>
5625 <text>{@cancel_btn=Cancel}</text>
5626 <action function="page">advanced</action>
5627 </button>
5628
5629 <button style="main_button_half_width_low">
5630 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5631 <placement x="%date_button_x%" y="%row5_y%"/>
5632 <text>{@restore_defaults_btn=Restore Defaults}</text>
5633 <actions>
5634 <action function="set">tw_back=changeTwrpFolder</action>
5635 <action function="set">tw_action=applycustomtwrpfolder</action>
5636 <action function="set">tw_action_param=TWRP</action>
5637 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5638 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5639 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5640 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5641 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5642 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5643 <action function="set">tw_existpage=changeTwrpFolder</action>
5644 <action function="set">tw_notexistpage=confirm_action</action>
5645 <action function="page">filecheck</action>
5646 </actions>
5647 </button>
5648
5649 <template name="keyboardtemplate"/>
5650
5651 <action>
5652 <touch key="home"/>
5653 <actions>
5654 <action function="page">main</action>
5655 </actions>
5656 </action>
5657
5658 <action>
5659 <touch key="back"/>
5660 <actions>
5661 <action function="page">advanced</action>
5662 </actions>
5663 </action>
5664 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005665 </pages>
5666</recovery>