blob: 3af7da6c8e96c3115fb38712cc2ca0d9e82a430b [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>
mauronofrio6d3bf892019-10-26 19:47:55 +0200313 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
Ian Macdonalde7c34e52021-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>
epicX8f52c0a2021-02-24 23:12:08 +0530375 <actions>
376 <action function="set">tw_is_slot_part=0</action>
377 <action function="page">flashimage_confirm</action>
378 </actions>
z31s1g28f0a922015-11-07 18:50:22 +0100379 </action>
380
381 <action>
382 <touch key="back"/>
383 <action function="page">main</action>
384 </action>
385
386 <action>
387 <touch key="home"/>
388 <action function="page">main</action>
389 </action>
390 </page>
391
392 <page name="flash_confirm">
393 <template name="page"/>
394
395 <text style="text_l">
396 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500397 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100398 </text>
399
400 <text style="text_m">
401 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500402 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100403 </text>
404
405 <text style="text_m_accent">
406 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500407 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100408 </text>
409
410 <text style="text_m_accent">
411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500412 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100413 </text>
414
415 <text style="text_m">
416 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500417 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100418 </text>
419
420 <text style="text_m_accent">
421 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500422 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100423 </text>
424
425 <text style="text_m">
426 <placement x="%col1_x_left%" y="%row9_y%"/>
427 <text>%tw_zip_location%</text>
428 </text>
429
430 <text style="text_m_accent">
431 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500432 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100433 </text>
434
435 <text style="text_m">
436 <placement x="%col1_x_left%" y="%row12_y%"/>
437 <text>%tw_file%</text>
438 </text>
439
440 <text style="text_m_accent">
441 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500442 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100443 </text>
444
445 <checkbox>
446 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500447 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100448 <data variable="tw_signed_zip_verify"/>
449 </checkbox>
450
451 <checkbox>
452 <condition var1="tw_has_injecttwrp" var2="1"/>
453 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500454 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100455 <data variable="tw_inject_after_zip"/>
456 </checkbox>
457
bigbiffa869fc72016-03-01 19:40:36 -0500458 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500459 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500460 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500461 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500462 </checkbox>
463
z31s1g28f0a922015-11-07 18:50:22 +0100464 <button style="main_button_half_width">
465 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500466 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100467 <action function="page">install</action>
468 </button>
469
470 <button style="main_button_half_width">
471 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500472 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100473 <actions>
474 <action function="queueclear"/>
475 <action function="page">install</action>
476 </actions>
477 </button>
478
479 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 <action function="flash">flash_zip</action>
482 </slider>
483
484 <action>
485 <touch key="back"/>
486 <actions>
487 <action function="cancelzip"/>
488 <action function="page">install</action>
489 </actions>
490 </action>
491
492 <action>
493 <touch key="home"/>
494 <action function="page">main</action>
495 </action>
496 </page>
497
498 <page name="flash_zip">
499 <template name="page"/>
500
501 <text style="text_l">
502 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500503 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100504 </text>
505
506 <text style="text_m">
507 <placement x="%col1_x_header%" y="%row4_header_y%"/>
508 <text>%tw_file%</text>
509 </text>
510
511 <template name="console"/>
512
513 <template name="progress_bar"/>
514
515 <action>
516 <condition var1="tw_operation_state" var2="1"/>
517 <action function="page">flash_done</action>
518 </action>
519 </page>
520
521 <page name="flash_done">
522 <template name="page"/>
523
524 <text style="text_l">
525 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500526 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100527 </text>
528
529 <text style="text_m_fail">
530 <condition var1="tw_operation_status" op="!=" var2="0"/>
531 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500532 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100533 </text>
534
535 <text style="text_m">
536 <condition var1="tw_operation_status" var2="0"/>
537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500538 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100539 </text>
540
541 <template name="console"/>
542
543 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500544 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100545 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500546 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100547 <actions>
548 <action function="set">tw_back=flash_done</action>
549 <action function="set">tw_action=wipe</action>
550 <action function="set">tw_action_param=/cache</action>
551 <action function="set">tw_has_action2=1</action>
552 <action function="set">tw_action2=wipe</action>
553 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500554 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
555 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
556 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
557 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100558 <action function="page">confirm_action</action>
559 </actions>
560 </button>
561
562 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500563 <condition var1="tw_ab_device" var2="1"/>
564 <placement x="%indent%" y="%row21a_y%"/>
565 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
566 <actions>
567 <action function="set">tw_back=flash_done</action>
568 <action function="set">tw_action=wipe</action>
569 <action function="set">tw_action_param=dalvik</action>
570 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
571 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
572 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
573 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
574 <action function="page">confirm_action</action>
575 </actions>
576 </button>
577
578 <button style="main_button_half_width">
Chaosmaster7b66bf52020-02-07 20:33:43 +0100579 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100580 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500581 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100582 <actions>
583 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500584 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100585 </actions>
586 </button>
587
Chaosmaster7b66bf52020-02-07 20:33:43 +0100588 <button style="main_button_half_width">
589 <condition var1="tw_ab_device" var2="1"/>
590 <placement x="%center_x%" y="%row15a_y%"/>
591 <text>{@reboot_btn=Reboot}</text>
592 <actions>
593 <action function="set">tw_back=main2</action>
594 <action function="page">reboot</action>
595 </actions>
596 </button>
597
598
z31s1g28f0a922015-11-07 18:50:22 +0100599 <action>
600 <touch key="back"/>
601 <actions>
602 <action function="set">tw_clear_destination=install</action>
603 <action function="page">clear_vars</action>
604 </actions>
605 </action>
606
607 <action>
608 <touch key="home"/>
609 <actions>
610 <action function="set">tw_clear_destination=main2</action>
611 <action function="page">clear_vars</action>
612 </actions>
613 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500614
615 <action>
616 <conditions>
617 <condition var1="tw_install_reboot" var2="1"/>
618 <condition var1="tw_operation_status" var2="0"/>
619 <condition var1="tw_reboot_system" var2="1"/>
620 </conditions>
621 <actions>
622 <action function="set">tw_sleep=%tw_sleep_total%</action>
623 <action function="page">flash_sleep_and_reboot</action>
624 </actions>
625 </action>
626 </page>
627
628 <page name="flash_sleep_and_reboot">
629 <template name="page"/>
630
631 <text style="text_l">
632 <placement x="%col1_x_header%" y="%row3_header_y%"/>
633 <text>{@install_zip_hdr=Install Zip}</text>
634 </text>
635
636 <text style="text_m">
637 <placement x="%col1_x_header%" y="%row4_header_y%"/>
638 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
639 </text>
640
641 <template name="console"/>
642
643 <template name="progress_bar"/>
644
645 <button style="main_button_half_width">
646 <condition var1="tw_sleep" op="&gt;" var2="0"/>
647 <placement x="%center_x%" y="%row15a_y%"/>
648 <text>{@cancel_btn=Cancel}</text>
649 <actions>
650 <action function="set">tw_install_reboot=0</action>
651 <action function="page">flash_done</action>
652 </actions>
653 </button>
654
655 <action>
656 <conditions>
657 <condition var1="tw_sleep" var2="tw_sleep_total"/>
658 <condition var1="tw_install_reboot" var2="1"/>
659 </conditions>
660 <action function="sleepcounter">%tw_sleep_total%</action>
661 </action>
662
663 <action>
664 <conditions>
665 <condition var1="tw_sleep" var2="0"/>
666 <condition var1="tw_install_reboot" var2="1"/>
667 </conditions>
668 <actions>
669 <action function="sleep">50000</action>
670 <action function="set">tw_back=main2</action>
671 <action function="page">reboot_system_routine</action>
672 </actions>
673 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100674 </page>
675
676 <page name="flashimage_confirm">
677 <template name="page"/>
678
679 <text style="text_l">
680 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500681 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100682 </text>
683
684 <text style="text_m">
685 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500686 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100687 </text>
688
689 <text style="text_m_accent">
690 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500691 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100692 </text>
693
694 <text style="text_m">
695 <placement x="%col1_x_left%" y="%row9_y%"/>
696 <text>%tw_zip_location%</text>
697 </text>
698
699 <text style="text_m_accent">
700 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500701 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100702 </text>
703
704 <text style="text_m">
705 <placement x="%col1_x_left%" y="%row12_y%"/>
706 <text>%tw_file%</text>
707 </text>
708
709 <partitionlist>
710 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
711 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500712 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100713 <data name="tw_flash_partition"/>
714 <listtype name="flashimg"/>
715 </partitionlist>
716
epicX8f52c0a2021-02-24 23:12:08 +0530717 <button style="checkbox">
718 <conditions>
719 <condition var1="tw_is_slot_part" op="=" var2="1"/>
720 <condition var1="tw_flash_both_slots" op="=" var2="0"/>
721 <condition var1="tw_has_boot_slots" var2="1"/>
722 </conditions>
723 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
724 <text>{@flash_ab_both_slots=Flash to both slots}</text>
725 <image resource="checkbox_false"/>
726 <action function="set">tw_flash_both_slots=1</action>
727 </button>
728
729 <button style="checkbox">
730 <conditions>
731 <condition var1="tw_is_slot_part" op="=" var2="1"/>
732 <condition var1="tw_flash_both_slots" op="=" var2="1"/>
733 <condition var1="tw_has_boot_slots" var2="1"/>
734 </conditions>
735 <placement x="%col1_x_left%" y="%row14a_y%" textplacement="6"/>
736 <text>{@flash_ab_both_slots=Flash to both slots}</text>
737 <image resource="checkbox_true"/>
738 <action function="set">tw_flash_both_slots=0</action>
739 </button>
740
z31s1g28f0a922015-11-07 18:50:22 +0100741 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500742 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100743 <actions>
744 <action function="set">tw_back=flashimage_confirm</action>
745 <action function="set">tw_action=flashimage</action>
746 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500747 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100748 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500749 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100750 <action function="page">action_page</action>
751 </actions>
752 <action function="flashimage"/>
753 </slider>
754
755 <action>
756 <touch key="back"/>
757 <actions>
758 <action function="set">tw_clear_destination=install</action>
759 <action function="page">clear_vars</action>
760 </actions>
761 </action>
762
763 <action>
764 <touch key="home"/>
765 <actions>
766 <action function="set">tw_clear_destination=main2</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </action>
770 </page>
771
772 <page name="clear_vars">
773 <action>
774 <action function="set">tw_operation_state=0</action>
775 <action function="set">tw_text1=</action>
776 <action function="set">tw_text2=</action>
777 <action function="set">tw_text3=</action>
778 <action function="set">tw_text4=</action>
779 <action function="set">tw_action_text1=</action>
780 <action function="set">tw_action_text2=</action>
781 <action function="set">tw_action_param=</action>
782 <action function="set">tw_has_action2=0</action>
783 <action function="set">tw_action2=</action>
784 <action function="set">tw_action2_param=</action>
785 <action function="set">tw_has_cancel=0</action>
786 <action function="set">tw_cancel_action=</action>
787 <action function="set">tw_cancel_param=</action>
788 <action function="set">tw_show_exclamation=0</action>
789 <action function="set">tw_show_reboot=0</action>
Noah Jacobson81d638d2019-04-28 00:10:07 -0400790 <action function="set">tw_crypto_user_id=</action>
791 <action function="set">tw_multiuser_warning_accepted=</action>
792 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100793 <action function="page">%tw_clear_destination%</action>
794 </action>
795 </page>
796
Matt Mower908dd252016-05-25 02:26:50 -0500797 <page name="reboot_system_routine">
798 <action>
799 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500800 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500801 <action function="set">tw_has_action2=0</action>
802 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
803 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
804 <action function="set">tw_text3=</action>
805 <action function="set">tw_text4=</action>
806 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
807 <action function="set">tw_action_text2=</action>
808 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
809 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
810 <action function="page">rebootcheck</action>
811 </action>
812 </page>
813
z31s1g28f0a922015-11-07 18:50:22 +0100814 <page name="confirm_action">
815 <template name="page"/>
816
817 <text style="text_l">
818 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500819 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100820 </text>
821
822 <text style="text_m">
823 <placement x="%col1_x_header%" y="%row4_header_y%"/>
824 <text/>
825 </text>
826
827 <text style="text_m_accent">
828 <placement x="%center_x%" y="%row2_y%" placement="5"/>
829 <text>%tw_text1%</text>
830 </text>
831
832 <text style="text_m_accent">
833 <placement x="%center_x%" y="%row3_y%" placement="5"/>
834 <text>%tw_text2%</text>
835 </text>
836
837 <text style="text_m">
838 <placement x="%center_x%" y="%row4_y%" placement="5"/>
839 <text>%tw_text3%</text>
840 </text>
841
842 <text style="text_m">
843 <placement x="%center_x%" y="%row5_y%" placement="5"/>
844 <text>%tw_text4%</text>
845 </text>
846
847 <text style="text_m">
848 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500849 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100850 </text>
851
852 <slider style="slider_centered">
853 <text>%tw_slider_text%</text>
854 <action function="page">action_page</action>
855 </slider>
856
857 <action>
858 <touch key="back"/>
859 <actions>
860 <action function="set">tw_clear_destination=%tw_back%</action>
861 <action function="page">clear_vars</action>
862 </actions>
863 </action>
864
865 <action>
866 <touch key="home"/>
867 <action function="page">main</action>
868 </action>
869 </page>
870
871 <page name="action_page">
872 <template name="page"/>
873
874 <text style="text_l">
875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
876 <text>%tw_action_text1%</text>
877 </text>
878
879 <text style="text_m">
880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
881 <text>%tw_action_text2%</text>
882 </text>
883
884 <template name="console"/>
885
886 <template name="progress_bar"/>
887
888 <button style="main_button_half_width">
889 <condition var1="tw_has_cancel" var2="1"/>
890 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500891 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100892 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
893 </button>
894
895 <action>
896 <condition var1="tw_operation_state" var2="1"/>
897 <actions>
898 <action function="page">action_complete</action>
899 </actions>
900 </action>
901
902 <action>
903 <condition var1="tw_has_action2" var2="0"/>
904 <actions>
905 <action function="%tw_action%">%tw_action_param%</action>
906 </actions>
907 </action>
908
909 <action>
910 <condition var1="tw_has_action2" var2="1"/>
911 <actions>
912 <action function="%tw_action%">%tw_action_param%</action>
913 <action function="%tw_action2%">%tw_action2_param%</action>
914 </actions>
915 </action>
916 </page>
917
918 <page name="singleaction_page">
919 <template name="page"/>
920
921 <text style="text_l">
922 <placement x="%col1_x_header%" y="%row3_header_y%"/>
923 <text>%tw_action_text1%</text>
924 </text>
925
926 <text style="text_m">
927 <placement x="%col1_x_header%" y="%row4_header_y%"/>
928 <text>%tw_action_text2%</text>
929 </text>
930
931 <template name="console"/>
932
933 <template name="progress_bar"/>
934
935 <action>
936 <condition var1="tw_operation_state" var2="1"/>
937 <actions>
938 <action function="set">tw_page_done=1</action>
939 </actions>
940 </action>
941
942 <action>
943 <condition var1="tw_has_action2" var2="0"/>
944 <actions>
945 <action function="%tw_action%">%tw_action_param%</action>
946 </actions>
947 </action>
948
949 <action>
950 <condition var1="tw_has_action2" var2="1"/>
951 <actions>
952 <action function="%tw_action%">%tw_action_param%</action>
953 <action function="%tw_action2%">%tw_action2_param%</action>
954 </actions>
955 </action>
956 </page>
957
958 <page name="action_complete">
959 <template name="page"/>
960
961 <text style="text_l">
962 <placement x="%col1_x_header%" y="%row3_header_y%"/>
963 <text>%tw_complete_text1%</text>
964 </text>
965
966 <text style="text_m_fail">
967 <condition var1="tw_operation_status" op="!=" var2="0"/>
968 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500969 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100970 </text>
971
972 <text style="text_m">
973 <condition var1="tw_operation_status" var2="0"/>
974 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500975 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100976 </text>
977
978 <template name="console"/>
979
980 <button style="main_button_half_width">
981 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500982 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100983 <actions>
984 <action function="set">tw_clear_destination=%tw_back%</action>
985 <action function="page">clear_vars</action>
986 </actions>
987 </button>
988
989 <button style="main_button_half_width">
990 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500991 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100992 <actions>
993 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500994 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100995 </actions>
996 </button>
997
998 <action>
999 <touch key="home"/>
1000 <actions>
1001 <action function="set">tw_clear_destination=main2</action>
1002 <action function="page">clear_vars</action>
1003 </actions>
1004 </action>
1005
1006 <action>
1007 <touch key="back"/>
1008 <actions>
1009 <action function="set">tw_clear_destination=%tw_back%</action>
1010 <action function="page">clear_vars</action>
1011 </actions>
1012 </action>
1013 </page>
1014
1015 <page name="filecheck">
1016 <action>
1017 <action function="fileexists">%tw_filecheck%</action>
1018 </action>
1019
1020 <action>
1021 <conditions>
1022 <condition var1="tw_operation_state" var2="1"/>
1023 <condition var1="tw_operation_status" var2="0"/>
1024 </conditions>
1025 <actions>
1026 <action function="set">tw_fileexists=1</action>
1027 <action function="page">%tw_existpage%</action>
1028 </actions>
1029 </action>
1030
1031 <action>
1032 <conditions>
1033 <condition var1="tw_operation_state" var2="1"/>
1034 <condition var1="tw_operation_status" var2="1"/>
1035 </conditions>
1036 <actions>
1037 <action function="set">tw_fileexists=0</action>
1038 <action function="page">%tw_notexistpage%</action>
1039 </actions>
1040 </action>
1041 </page>
1042
1043 <page name="rebootcheck">
1044 <action>
1045 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06001046 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001047 </action>
1048
1049 <action>
1050 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1051 <action function="page">confirm_action</action>
1052 </action>
1053 </page>
1054
1055 <page name="wipe">
1056 <template name="page"/>
1057
1058 <text style="text_l">
1059 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001060 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001061 </text>
1062
1063 <text style="text_m">
1064 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001065 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001066 </text>
1067
1068 <text style="text_m_accent">
1069 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001070 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001071 </text>
1072
1073 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001074 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001075 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1076 </text>
1077
1078 <text style="text_m_accent">
1079 <condition var1="tw_has_data_media" var2="1"/>
1080 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001081 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001082 </text>
1083
1084 <text style="text_m_accent">
1085 <conditions>
1086 <condition var1="tw_has_android_secure" var2="1"/>
1087 <condition var1="fileexists" var2="/and-sec"/>
1088 </conditions>
1089 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 </text>
1092
1093 <text style="text_m_accent">
1094 <condition var1="tw_has_sdext_partition" var2="1"/>
1095 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001096 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001097 </text>
1098
1099 <text style="text_m">
1100 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001101 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001102 </text>
1103
1104 <text style="text_m">
1105 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001106 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001107 </text>
1108
1109 <text style="text_m">
1110 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001111 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001112 </text>
1113
1114 <button style="main_button_half_width">
1115 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001117 <actions>
1118 <action function="set">partitionlisterror=0</action>
1119 <action function="page">advancedwipe</action>
1120 </actions>
1121 </button>
1122
1123 <button style="main_button_half_width">
1124 <condition var1="tw_has_data_media" var2="1"/>
1125 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001126 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001127 <action function="page">formatdata</action>
1128 </button>
1129
1130 <button style="main_button_half_width">
1131 <conditions>
1132 <condition var1="tw_is_encrypted" var2="1"/>
1133 <condition var1="tw_has_data_media" var2="0"/>
1134 </conditions>
1135 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001136 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001137 <actions>
1138 <action function="set">tw_back=wipe</action>
1139 <action function="set">tw_action=wipe</action>
1140 <action function="set">tw_action_param=DATAMEDIA</action>
1141 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001142 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001143 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001144 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1145 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1146 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001147 <action function="page">confirm_action</action>
1148 </actions>
1149 </button>
1150
1151 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001152 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <actions>
1154 <action function="set">tw_back=wipe</action>
1155 <action function="set">tw_action=wipe</action>
1156 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001157 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1158 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001159 <action function="page">action_page</action>
1160 </actions>
1161 </slider>
1162
1163 <action>
1164 <touch key="back"/>
1165 <action function="page">main</action>
1166 </action>
1167
1168 <action>
1169 <touch key="home"/>
1170 <action function="page">main</action>
1171 </action>
1172 </page>
1173
1174 <page name="advancedwipe">
1175 <template name="page"/>
1176
1177 <action>
1178 <action function="set">tw_wipe_list=</action>
1179 </action>
1180
1181 <text style="text_l">
1182 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001183 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001184 </text>
1185
1186 <text style="text_m">
1187 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
1191 <partitionlist>
1192 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001193 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001194 <data name="tw_wipe_list"/>
1195 <listtype name="wipe"/>
1196 </partitionlist>
1197
1198 <text style="text_m_fail">
1199 <condition var1="partitionlisterror" var2="1"/>
1200 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001201 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001202 </text>
1203
1204 <button style="main_button_m">
1205 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001206 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001207 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001208 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001209 <action function="page">checkpartitionlist</action>
1210 </actions>
1211 </button>
1212
1213 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 <actions>
1216 <action function="set">tw_back=advancedwipe</action>
1217 <action function="set">tw_action=wipe</action>
1218 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1220 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1221 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001222 <action function="page">action_page</action>
1223 </actions>
1224 </slider>
1225
1226 <action>
1227 <touch key="home"/>
1228 <action function="page">main</action>
1229 </action>
1230
1231 <action>
1232 <touch key="back"/>
1233 <action function="page">wipe</action>
1234 </action>
1235 </page>
1236
1237 <page name="formatdata">
1238 <template name="page"/>
1239
1240 <text style="text_l">
1241 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001242 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001243 </text>
1244
1245 <text style="text_m">
1246 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001247 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001248 </text>
1249
1250 <text style="text_m_fail">
1251 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001252 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001253 </text>
1254
1255 <text style="text_m_fail">
1256 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001257 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001258 </text>
1259
Ethan Yonker66a19492015-12-10 10:19:45 -06001260 <text style="text_m_fail">
1261 <condition var1="tw_has_adopted_storage" var2="1"/>
1262 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1263 <text>{@format_data_adopted=Including Adopted Storage}</text>
1264 </text>
1265
z31s1g28f0a922015-11-07 18:50:22 +01001266 <text style="text_m">
1267 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001268 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001269 </text>
1270
1271 <text style="text_m">
1272 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001273 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001274 </text>
1275
1276 <input>
1277 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1278 <text>%tw_confirm_formatdata%</text>
1279 <data name="tw_confirm_formatdata"/>
1280 <restrict minlen="3" maxlen="3" allow="yes"/>
1281 <action function="page">formatdata_confirm</action>
1282 </input>
1283
1284 <fill color="%accent_color%">
1285 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1286 </fill>
1287
1288 <template name="keyboardtemplate"/>
1289
1290 <action>
1291 <touch key="home"/>
1292 <action function="page">main</action>
1293 </action>
1294
1295 <action>
1296 <touch key="back"/>
1297 <action function="page">wipe</action>
1298 </action>
1299 </page>
1300
1301 <page name="formatdata_confirm">
1302 <action>
1303 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1304 <actions>
1305 <action function="set">tw_back=formatdata</action>
1306 <action function="set">tw_action=wipe</action>
1307 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001308 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1309 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001310 <action function="page">action_page</action>
1311 </actions>
1312 </action>
1313
1314 <action>
1315 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1316 <action function="page">formatdata</action>
1317 </action>
1318 </page>
1319
1320 <page name="checkpartitionlist">
1321 <action>
1322 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1323 <actions>
1324 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001325 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001326 <action function="page">partitionoptions</action>
1327 </actions>
1328 </action>
1329
1330 <action>
1331 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1332 <actions>
1333 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001334 <action function="page">advancedwipe</action>
1335 </actions>
1336 </action>
1337 </page>
1338
1339 <page name="partitionoptions">
1340 <template name="page"/>
1341
1342 <text style="text_l">
1343 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001344 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001345 </text>
1346
1347 <text style="text_m">
1348 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <text style="text_m_accent">
1353 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001354 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001355 </text>
1356
1357 <text style="text_m_accent">
1358 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <text style="text_m">
1363 <condition var1="tw_partition_is_present" var2="1"/>
1364 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m">
1369 <condition var1="tw_partition_is_present" var2="0"/>
1370 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001372 </text>
1373
1374 <text style="text_m">
1375 <condition var1="tw_partition_removable" var2="1"/>
1376 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m">
1381 <condition var1="tw_partition_removable" var2="0"/>
1382 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001383 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001384 </text>
1385
1386 <text style="text_m">
1387 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001388 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001389 </text>
1390
1391 <text style="text_m">
1392 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001393 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001394 </text>
1395
1396 <text style="text_m">
1397 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001398 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001399 </text>
1400
1401 <text style="text_m">
1402 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 </text>
1405
1406 <button style="main_button_half_width">
1407 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1408 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001410 <actions>
1411 <action function="set">tw_back=partitionoptions</action>
1412 <action function="set">tw_action=resize</action>
1413 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1414 <action function="set">tw_has_action2=1</action>
1415 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001416 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001418 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001419 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1420 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1421 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001422 <action function="page">confirm_action</action>
1423 </actions>
1424 </button>
1425
1426 <button style="main_button_half_width">
1427 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1428 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <actions>
1431 <action function="set">tw_back=partitionoptions</action>
1432 <action function="set">tw_action=repair</action>
1433 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1434 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001435 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001436 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1438 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1439 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001440 <action function="page">confirm_action</action>
1441 </actions>
1442 </button>
1443
1444 <button style="main_button_half_width">
1445 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001446 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001447 <action function="page">selectfilesystem</action>
1448 </button>
1449
1450 <action>
1451 <touch key="home"/>
1452 <action function="page">main</action>
1453 </action>
1454
1455 <action>
1456 <touch key="back"/>
1457 <action function="page">advancedwipe</action>
1458 </action>
1459 </page>
1460
1461 <page name="refreshfilesystem">
1462 <action>
1463 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1464 <actions>
1465 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001466 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001467 <action function="page">selectfilesystem</action>
1468 </actions>
1469 </action>
1470
1471 <action>
1472 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1473 <actions>
1474 <action function="set">partitionlisterror=1</action>
1475 <action function="set">tw_wipe_list=</action>
1476 <action function="page">advancedwipe</action>
1477 </actions>
1478 </action>
1479 </page>
1480
1481 <page name="selectfilesystem">
1482 <template name="page"/>
1483
1484 <text style="text_l">
1485 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001486 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001487 </text>
1488
1489 <text style="text_m">
1490 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001491 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001492 </text>
1493
1494 <text style="text_m_accent">
1495 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001496 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001497 </text>
1498
1499 <text style="text_m_accent">
1500 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001501 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001502 </text>
1503
1504 <text style="text_m_fail">
1505 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001506 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001507 </text>
1508
1509 <text style="text_m_fail">
1510 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001511 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001512 </text>
1513
1514 <button style="main_button_half_width">
1515 <condition var1="tw_partition_ext" op="=" var2="1"/>
1516 <placement x="%col1_x_left%" y="%row11_y%"/>
1517 <text>EXT2</text>
1518 <actions>
1519 <action function="set">tw_back=refreshfilesystem</action>
1520 <action function="set">tw_action=changefilesystem</action>
1521 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1522 <action function="set">tw_action_new_file_system=ext2</action>
1523 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001524 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1525 <action function="set">tw_text2=EXT2</action>
1526 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1527 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1528 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001529 <action function="page">confirm_action</action>
1530 </actions>
1531 </button>
1532
1533 <button style="main_button_half_width">
1534 <condition var1="tw_partition_ext" op="=" var2="1"/>
1535 <placement x="%col2_x_left%" y="%row11_y%"/>
1536 <text>EXT3</text>
1537 <actions>
1538 <action function="set">tw_back=refreshfilesystem</action>
1539 <action function="set">tw_action=changefilesystem</action>
1540 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1541 <action function="set">tw_action_new_file_system=ext3</action>
1542 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001543 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1544 <action function="set">tw_text2=EXT3</action>
1545 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1546 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1547 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001548 <action function="page">confirm_action</action>
1549 </actions>
1550 </button>
1551
1552 <button style="main_button_half_width">
1553 <condition var1="tw_partition_ext" op="=" var2="1"/>
1554 <placement x="%center_x%" y="%row11_y%"/>
1555 <text>EXT4</text>
1556 <actions>
1557 <action function="set">tw_back=refreshfilesystem</action>
1558 <action function="set">tw_action=changefilesystem</action>
1559 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1560 <action function="set">tw_action_new_file_system=ext4</action>
1561 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001562 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1563 <action function="set">tw_text2=EXT4</action>
1564 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1565 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1566 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001567 <action function="page">confirm_action</action>
1568 </actions>
1569 </button>
1570
1571 <button style="main_button_half_width">
1572 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1573 <placement x="%col2_x_right%" y="%row11_y%"/>
1574 <text>FAT</text>
1575 <actions>
1576 <action function="set">tw_back=refreshfilesystem</action>
1577 <action function="set">tw_action=changefilesystem</action>
1578 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1579 <action function="set">tw_action_new_file_system=vfat</action>
1580 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001581 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1582 <action function="set">tw_text2=FAT</action>
1583 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1584 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1585 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001586 <action function="page">confirm_action</action>
1587 </actions>
1588 </button>
1589
1590 <button style="main_button_half_width">
1591 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1592 <placement x="%col2_x_left%" y="%row15a_y%"/>
1593 <text>exFAT</text>
1594 <actions>
1595 <action function="set">tw_back=refreshfilesystem</action>
1596 <action function="set">tw_action=changefilesystem</action>
1597 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1598 <action function="set">tw_action_new_file_system=exfat</action>
1599 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001600 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1601 <action function="set">tw_text2=exFAT</action>
1602 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1603 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1604 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001605 <action function="page">confirm_action</action>
1606 </actions>
1607 </button>
1608
1609 <button style="main_button_half_width">
1610 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1611 <placement x="%center_x%" y="%row15a_y%"/>
1612 <text>F2FS</text>
1613 <actions>
1614 <action function="set">tw_back=refreshfilesystem</action>
1615 <action function="set">tw_action=changefilesystem</action>
1616 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1617 <action function="set">tw_action_new_file_system=f2fs</action>
1618 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001619 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1620 <action function="set">tw_text2=F2FS</action>
1621 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1622 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1623 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001624 <action function="page">confirm_action</action>
1625 </actions>
1626 </button>
1627
1628 <action>
1629 <touch key="home"/>
1630 <action function="page">main</action>
1631 </action>
1632
1633 <action>
1634 <touch key="back"/>
1635 <action function="page">partitionoptions</action>
1636 </action>
1637 </page>
1638
1639 <page name="backup">
1640 <template name="page"/>
1641
Noah Jacobson81d638d2019-04-28 00:10:07 -04001642 <action>
1643 <conditions>
1644 <condition var1="tw_is_fbe" var2="1"/>
1645 <condition var1="tw_all_users_decrypted" var2="0"/>
1646 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1647 </conditions>
1648 <actions>
1649 <action function="set">tw_multiuser_warning_destination=backup</action>
1650 <action function="page">multiuser_warning</action>
1651 </actions>
1652 </action>
1653
z31s1g28f0a922015-11-07 18:50:22 +01001654 <text style="text_l">
1655 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001656 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001657 </text>
1658
1659 <text style="text_m">
1660 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 </text>
1663
1664 <text style="text_m_accent">
1665 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001666 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001667 </text>
1668
1669 <text style="text_m">
1670 <placement x="%col1_x_left%" y="%row3_y%"/>
1671 <text>%tw_backup_name%</text>
1672 </text>
1673
1674 <fill color="%fileselector_linecolor%">
1675 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1676 </fill>
1677
1678 <button>
1679 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1680 <fill color="%transparent%"/>
1681 <actions>
1682 <action function="set">tw_fileexists=0</action>
1683 <action function="page">backupname1</action>
1684 </actions>
1685 </button>
1686
1687 <partitionlist>
1688 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001689 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001690 <data name="tw_backup_list"/>
1691 <listtype name="backup"/>
1692 </partitionlist>
1693
1694 <text style="text_m_accent">
1695 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001696 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001697 </text>
1698
1699 <text style="text_m">
1700 <conditions>
1701 <condition var1="tw_include_encrypted_backup" var2="1"/>
1702 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001703 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001704 </conditions>
1705 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <text style="text_m">
1710 <conditions>
1711 <condition var1="tw_include_encrypted_backup" var2="1"/>
1712 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001713 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001714 </conditions>
1715 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001716 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001717 </text>
1718
1719 <fill color="%fileselector_linecolor%">
1720 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1721 </fill>
1722
1723 <button>
1724 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1725 <fill color="%transparent%"/>
1726 <actions>
1727 <action function="set">tw_password_not_match=0</action>
1728 <action function="page">backupencryption</action>
1729 </actions>
1730 </button>
1731
1732 <text style="text_m_accent">
1733 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001734 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001735 </text>
1736
1737 <checkbox>
1738 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001739 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001740 <data variable="tw_use_compression"/>
1741 </checkbox>
1742
1743 <checkbox>
1744 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001745 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1746 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001747 </checkbox>
1748
1749 <checkbox>
1750 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001751 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001752 <data variable="tw_disable_free_space"/>
1753 </checkbox>
1754
1755 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001756 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001757 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001758 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001759 <actions>
1760 <action function="set">tw_back=backup</action>
1761 <action function="overlay">select_storage</action>
1762 </actions>
1763 </button>
1764
1765 <button style="main_button_half_width">
1766 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001767 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001768 <actions>
1769 <action function="refreshsizes"/>
1770 <action function="page">backup</action>
1771 </actions>
1772 </button>
1773
1774 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001775 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001776 <action function="page">backup_run</action>
1777 </slider>
1778
1779 <action>
1780 <touch key="home"/>
1781 <action function="page">main</action>
1782 </action>
1783
1784 <action>
1785 <touch key="back"/>
1786 <action function="page">main</action>
1787 </action>
1788 </page>
1789
Noah Jacobson81d638d2019-04-28 00:10:07 -04001790 <page name="multiuser_warning">
1791 <template name="page"/>
1792
1793 <text style="text_l">
1794 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1795 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1796 </text>
1797
1798 <text style="text_m_fail">
1799 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1800 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1801 </text>
1802
1803 <text style="text_m_fail">
1804 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1805 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1806 </text>
1807
1808 <button style="main_button_m">
1809 <placement x="%col1_x_left%" y="%row15a_y%"/>
1810 <text>{@decrypt_users=Decrypt Users}</text>
1811 <action function="page">decrypt_users</action>
1812 </button>
1813
1814 <slider>
1815 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1816 <actions>
1817 <action function="set">tw_multiuser_warning_accepted=1</action>
1818 <action function="page">%tw_multiuser_warning_destination%</action>
1819 </actions>
1820 </slider>
1821
1822 <action>
1823 <touch key="home"/>
1824 <action function="page">main</action>
1825 </action>
1826
1827 <action>
1828 <touch key="back"/>
1829 <action function="page">main</action>
1830 </action>
1831 </page>
1832
z31s1g28f0a922015-11-07 18:50:22 +01001833 <page name="backupname1">
1834 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001835 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001836 <action function="generatebackupname"/>
1837 </action>
1838
1839 <action>
1840 <action function="page">backupname2</action>
1841 </action>
1842 </page>
1843
1844 <page name="backupname2">
1845 <template name="page"/>
1846
1847 <text style="text_l">
1848 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001849 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001850 </text>
1851
1852 <text style="text_m">
1853 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001854 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001855 </text>
1856
1857 <text style="text_m_accent">
1858 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001859 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001860 </text>
1861
1862 <input>
1863 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1864 <text>%tw_backup_name%</text>
1865 <data name="tw_backup_name"/>
1866 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1867 <actions>
1868 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1869 <action function="set">tw_existpage=backupname2</action>
1870 <action function="set">tw_notexistpage=backup</action>
1871 <action function="page">filecheck</action>
1872 </actions>
1873 </input>
1874
1875 <fill color="%accent_color%">
1876 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1877 </fill>
1878
1879 <fill color="%text_fail_color%">
1880 <condition var1="tw_fileexists" var2="1"/>
1881 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1882 </fill>
1883
1884 <text style="text_m_fail">
1885 <condition var1="tw_fileexists" var2="1"/>
1886 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001887 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001888 </text>
1889
1890 <button style="main_button_half_width_low">
1891 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001892 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001893 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001894 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001895 <action function="page">backup</action>
1896 </actions>
1897 </button>
1898
1899 <button style="main_button_half_width_low">
1900 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001901 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001902 <action function="appenddatetobackupname"/>
1903 </button>
1904
1905 <template name="keyboardtemplate"/>
1906
1907 <action>
1908 <touch key="home"/>
1909 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001910 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001911 <action function="page">main</action>
1912 </actions>
1913 </action>
1914
1915 <action>
1916 <touch key="back"/>
1917 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001918 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001919 <action function="page">backup</action>
1920 </actions>
1921 </action>
1922 </page>
1923
1924 <page name="backupencryption">
1925 <template name="page"/>
1926
1927 <text style="text_l">
1928 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001929 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001930 </text>
1931
1932 <text style="text_m">
1933 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001934 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </text>
1936
1937 <text style="text_m_accent">
1938 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001939 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001940 </text>
1941
1942 <input>
1943 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1944 <text>%tw_backup_encrypt_display%</text>
1945 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1946 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1947 <action function="page">backupencryption2</action>
1948 </input>
1949
1950 <fill color="%accent_color%">
1951 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1952 </fill>
1953
1954 <fill color="%text_fail_color%">
1955 <condition var1="tw_password_not_match" var2="1"/>
1956 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1957 </fill>
1958
1959 <text style="text_m_fail">
1960 <condition var1="tw_password_not_match" var2="1"/>
1961 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001962 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001963 </text>
1964
1965 <button style="main_button_half_width_low">
1966 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001967 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001968 <actions>
1969 <action function="set">tw_encrypt_backup=0</action>
1970 <action function="set">tw_backup_password=</action>
1971 <action function="set">tw_backup_password2=</action>
1972 <action function="set">tw_backup_encrypt_display=</action>
1973 <action function="set">tw_backup_encrypt_display2=</action>
1974 <action function="page">backup</action>
1975 </actions>
1976 </button>
1977
1978 <template name="keyboardtemplate"/>
1979
1980 <action>
1981 <touch key="home"/>
1982 <action function="page">main</action>
1983 </action>
1984
1985 <action>
1986 <touch key="back"/>
1987 <action function="page">backup</action>
1988 </action>
1989 </page>
1990
1991 <page name="backupencryption2">
1992 <template name="page"/>
1993
1994 <text style="text_l">
1995 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001996 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001997 </text>
1998
1999 <text style="text_m">
2000 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002001 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002002 </text>
2003
2004 <text style="text_m_accent">
2005 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002006 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002007 </text>
2008
2009 <input>
2010 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2011 <text>%tw_backup_encrypt_display2%</text>
2012 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2013 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2014 <action function="page">checkbackuppassword</action>
2015 </input>
2016
2017 <fill color="%accent_color%">
2018 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2019 </fill>
2020
2021 <text style="text_m">
2022 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002023 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002024 </text>
2025
2026 <button style="main_button_half_width_low">
2027 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002028 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002029 <actions>
2030 <action function="set">tw_encrypt_backup=0</action>
2031 <action function="set">tw_backup_password=</action>
2032 <action function="set">tw_backup_password2=</action>
2033 <action function="set">tw_backup_encrypt_display=</action>
2034 <action function="set">tw_backup_encrypt_display2=</action>
2035 <action function="page">backup</action>
2036 </actions>
2037 </button>
2038
2039 <template name="keyboardtemplate"/>
2040
2041 <action>
2042 <touch key="home"/>
2043 <action function="page">main</action>
2044 </action>
2045
2046 <action>
2047 <touch key="back"/>
2048 <action function="page">backup</action>
2049 </action>
2050 </page>
2051
2052 <page name="checkbackuppassword">
2053 <action>
2054 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2055 <actions>
2056 <action function="set">tw_encrypt_backup=1</action>
2057 <action function="page">backup</action>
2058 </actions>
2059 </action>
2060
2061 <action>
2062 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2063 <actions>
2064 <action function="set">tw_encrypt_backup=0</action>
2065 <action function="set">tw_password_not_match=1</action>
2066 <action function="set">tw_backup_password=</action>
2067 <action function="set">tw_backup_password2=</action>
2068 <action function="set">tw_backup_encrypt_display=</action>
2069 <action function="set">tw_backup_encrypt_display2=</action>
2070 <action function="page">backupencryption</action>
2071 </actions>
2072 </action>
2073 </page>
2074
2075 <page name="backup_run">
2076 <template name="page"/>
2077
2078 <text style="text_l">
2079 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2080 <text>%tw_operation%</text>
2081 </text>
2082
2083 <text style="text_m">
2084 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2085 <text>%tw_partition% Partition</text>
2086 </text>
2087
2088 <template name="console"/>
2089
2090 <template name="progress_bar"/>
2091
2092 <text style="text_m_accent">
2093 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002094 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002095 </text>
2096
2097 <text style="text_m">
2098 <placement x="%progress_text_x%" y="%row17_y%"/>
2099 <text>%tw_file_progress%</text>
2100 </text>
2101
2102 <text style="text_m">
2103 <placement x="%progress_text_x%" y="%row18_y%"/>
2104 <text>%tw_size_progress%</text>
2105 </text>
2106
2107 <button style="main_button_half_width">
2108 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002109 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002110 <action function="cancelbackup"/>
2111 </button>
2112
2113 <action>
2114 <action function="nandroid">backup</action>
2115 </action>
2116
2117 <action>
2118 <condition var1="tw_operation_state" var2="1"/>
2119 <condition var1="tw_cancel_backup" var2="0"/>
2120 <actions>
2121 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002122 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002123 <action function="set">tw_show_reboot=1</action>
2124 <action function="page">action_complete</action>
2125 </actions>
2126 </action>
2127
2128 <action>
2129 <condition var1="tw_operation_state" var2="1"/>
2130 <condition var1="tw_cancel_backup" var2="1"/>
2131 <actions>
2132 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002133 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002134 <action function="set">tw_show_reboot=1</action>
2135 <action function="page">action_complete</action>
2136 </actions>
2137 </action>
2138 </page>
2139
2140 <page name="restore">
2141 <template name="page"/>
2142
Noah Jacobson81d638d2019-04-28 00:10:07 -04002143 <action>
2144 <conditions>
2145 <condition var1="tw_is_fbe" var2="1"/>
2146 <condition var1="tw_all_users_decrypted" var2="0"/>
2147 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2148 </conditions>
2149 <actions>
2150 <action function="set">tw_multiuser_warning_destination=restore</action>
2151 <action function="page">multiuser_warning</action>
2152 </actions>
2153 </action>
2154
z31s1g28f0a922015-11-07 18:50:22 +01002155 <text style="text_l">
2156 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002157 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002158 </text>
2159
2160 <text style="text_m">
2161 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002162 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002163 </text>
2164
2165 <template name="sort_options"/>
2166
2167 <fileselector>
2168 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002169 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002170 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002171 <path name="tw_backups_folder"/>
2172 <data name="tw_restore" default=""/>
2173 <selection name="tw_restore_name"/>
2174 </fileselector>
2175
2176 <button style="main_button_half_width_low">
2177 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002178 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002179 <actions>
2180 <action function="set">tw_back=restore</action>
2181 <action function="overlay">select_storage</action>
2182 </actions>
2183 </button>
2184
2185 <action>
2186 <condition var1="tw_restore" op="modified"/>
2187 <actions>
2188 <action function="readBackup"/>
2189 <action function="page">restore_read</action>
2190 </actions>
2191 </action>
2192
2193 <action>
2194 <touch key="home"/>
2195 <action function="page">main</action>
2196 </action>
2197
2198 <action>
2199 <touch key="back"/>
2200 <action function="page">main</action>
2201 </action>
2202 </page>
2203
2204 <page name="restore_read">
2205 <action>
2206 <condition var1="tw_restore_encrypted" var2="1"/>
2207 <actions>
2208 <action function="set">tw_password_fail=0</action>
2209 <action function="page">restore_decrypt</action>
2210 </actions>
2211 </action>
2212
2213 <action>
2214 <condition var1="tw_restore_encrypted" var2="0"/>
2215 <actions>
2216 <action function="page">restore_select</action>
2217 </actions>
2218 </action>
2219 </page>
2220
2221 <page name="restore_decrypt">
2222 <template name="page"/>
2223
2224 <text style="text_l">
2225 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002226 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002227 </text>
2228
2229 <text style="text_m">
2230 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002231 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002232 </text>
2233
2234 <text style="text_m_accent">
2235 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002236 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002237 </text>
2238
2239 <input>
2240 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2241 <text>%tw_restore_display%</text>
2242 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2243 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2244 <action function="page">try_restore_decrypt</action>
2245 </input>
2246
2247 <fill color="%accent_color%">
2248 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2249 </fill>
2250
2251 <fill color="%text_fail_color%">
2252 <condition var1="tw_password_fail" var2="1"/>
2253 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2254 </fill>
2255
2256 <text style="text_m_fail">
2257 <condition var1="tw_password_fail" var2="1"/>
2258 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002259 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002260 </text>
2261
2262 <button style="main_button_half_width_low">
2263 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002264 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002265 <actions>
2266 <action function="set">tw_page_done=1</action>
2267 <action function="page">restore</action>
2268 </actions>
2269 </button>
2270
2271 <button style="main_button_half_width_low">
2272 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002273 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002274 <actions>
2275 <action function="set">tw_back=restore</action>
2276 <action function="set">tw_action=cmd</action>
2277 <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 -05002278 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2279 <action function="set">tw_text2=%tw_restore_name%</action>
2280 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2281 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2282 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2283 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002284 <action function="page">confirm_action</action>
2285 </actions>
2286 </button>
2287
2288 <template name="keyboardtemplate"/>
2289
2290 <action>
2291 <touch key="home"/>
2292 <action function="page">main</action>
2293 </action>
2294
2295 <action>
2296 <touch key="back"/>
2297 <action function="page">restore</action>
2298 </action>
2299 </page>
2300
2301 <page name="try_restore_decrypt">
2302 <template name="page"/>
2303
2304 <text style="text_l">
2305 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002306 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002307 </text>
2308
2309 <text style="text_m">
2310 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002311 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002312 </text>
2313
2314 <template name="console"/>
2315
2316 <template name="progress_bar"/>
2317
2318 <action>
2319 <action function="decrypt_backup"/>
2320 </action>
2321
2322 <action>
2323 <conditions>
2324 <condition var1="tw_operation_state" var2="1"/>
2325 <condition var1="tw_operation_status" op="!=" var2="0"/>
2326 </conditions>
2327 <actions>
2328 <action function="set">tw_password_fail=1</action>
2329 <action function="page">restore_decrypt</action>
2330 </actions>
2331 </action>
2332
2333 <action>
2334 <conditions>
2335 <condition var1="tw_operation_state" var2="1"/>
2336 <condition var1="tw_operation_status" op="=" var2="0"/>
2337 </conditions>
2338 <actions>
2339 <action function="set">tw_page_done=1</action>
2340 <action function="page">restore_select</action>
2341 </actions>
2342 </action>
2343 </page>
2344
2345 <page name="restore_select">
2346 <template name="page"/>
2347
2348 <text style="text_l">
2349 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002350 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002351 </text>
2352
2353 <text style="text_m">
2354 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002355 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002356 </text>
2357
2358 <text style="text_m_accent">
2359 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002360 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002361 </text>
2362
2363 <text style="text_m">
2364 <placement x="%col1_x_left%" y="%row3_y%"/>
2365 <text>%tw_restore_name%</text>
2366 </text>
2367
2368 <fill color="%fileselector_linecolor%">
2369 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2370 </fill>
2371
2372 <button>
2373 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2374 <fill color="%transparent%"/>
2375 <actions>
2376 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2377 <action function="set">tw_fileexists=0</action>
2378 <action function="page">renamebackup</action>
2379 </actions>
2380 </button>
2381
2382 <partitionlist>
2383 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002384 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002385 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2386 <listtype name="restore"/>
2387 </partitionlist>
2388
2389 <text style="text_m_accent">
2390 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 </text>
2393
2394 <checkbox>
2395 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002396 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002397 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2398 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002399 </checkbox>
2400
2401 <button style="main_button_half_width">
2402 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002403 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002404 <actions>
2405 <action function="set">tw_back=restore</action>
2406 <action function="set">tw_action=cmd</action>
2407 <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 -05002408 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002409 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002410 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2411 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2412 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2413 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002414 <action function="page">confirm_action</action>
2415 </actions>
2416 </button>
2417
2418 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 <action function="page">restore_run</action>
2421 </slider>
2422
2423 <action>
2424 <touch key="home"/>
2425 <action function="page">main</action>
2426 </action>
2427
2428 <action>
2429 <touch key="back"/>
2430 <action function="page">restore</action>
2431 </action>
2432 </page>
2433
2434 <page name="renamebackup">
2435 <template name="page"/>
2436
2437 <text style="text_l">
2438 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002439 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002440 </text>
2441
2442 <text style="text_m">
2443 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002444 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002445 </text>
2446
2447 <text style="text_m_accent">
2448 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002449 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002450 </text>
2451
2452 <input>
2453 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2454 <text>%tw_backup_rename%</text>
2455 <data name="tw_backup_rename"/>
2456 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2457 <actions>
2458 <action function="set">tw_back=restore</action>
2459 <action function="set">tw_action=cmd</action>
2460 <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 -05002461 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2462 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2463 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2464 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2465 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002466 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2467 <action function="set">tw_existpage=renamebackup</action>
2468 <action function="set">tw_notexistpage=confirm_action</action>
2469 <action function="page">filecheck</action>
2470 </actions>
2471 </input>
2472
2473 <fill color="%accent_color%">
2474 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2475 </fill>
2476
2477 <fill color="%text_fail_color%">
2478 <condition var1="tw_fileexists" var2="1"/>
2479 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2480 </fill>
2481
2482 <text style="text_m_fail">
2483 <condition var1="tw_fileexists" var2="1"/>
2484 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002485 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002486 </text>
2487
2488 <button style="main_button_half_width_low">
2489 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002490 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002491 <action function="page">restore_select</action>
2492 </button>
2493
2494 <template name="keyboardtemplate"/>
2495
2496 <action>
2497 <touch key="home"/>
2498 <action function="page">main</action>
2499 </action>
2500
2501 <action>
2502 <touch key="back"/>
2503 <action function="page">restore_select</action>
2504 </action>
2505 </page>
2506
2507 <page name="restore_run">
2508 <template name="page"/>
2509
2510 <text style="text_l">
2511 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002512 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002513 </text>
2514
2515 <text style="text_m">
2516 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2517 <text>%tw_operation% %tw_partition%</text>
2518 </text>
2519
2520 <template name="console"/>
2521
2522 <template name="progress_bar"/>
2523
2524 <text style="text_m_accent">
2525 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 </text>
2528
2529 <text style="text_m">
2530 <placement x="%progress_text_x%" y="%row18_y%"/>
2531 <text>%tw_size_progress%</text>
2532 </text>
2533
2534 <action>
2535 <condition var1="tw_operation_state" var2="1"/>
2536 <actions>
2537 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002538 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002539 <action function="set">tw_show_reboot=1</action>
2540 <action function="page">action_complete</action>
2541 </actions>
2542 </action>
2543
2544 <action>
2545 <action function="nandroid">restore</action>
2546 </action>
2547 </page>
2548
2549 <page name="mount">
2550 <template name="page"/>
2551
2552 <text style="text_l">
2553 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 </text>
2556
2557 <text style="text_m">
2558 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002559 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002560 </text>
2561
2562 <partitionlist>
2563 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002564 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002565 <listtype name="mount"/>
2566 </partitionlist>
2567
2568 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002569 <conditions>
2570 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2571 <condition var1="tw_is_super" op="=" var2="0"/>
2572 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002573 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002574 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002575 <image resource="checkbox_false"/>
2576 <action function="mountsystemtoggle">1</action>
2577 </button>
2578
2579 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002580 <conditions>
2581 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2582 <condition var1="tw_is_super" op="=" var2="0"/>
2583 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002584 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002585 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002586 <image resource="checkbox_true"/>
2587 <actions>
2588 <action function="set">tw_lifetime_writes=2</action>
2589 <action function="page">system_readonly_check</action>
2590 </actions>
2591 </button>
2592
2593 <button style="main_button_half_width">
2594 <condition var1="tw_has_usb_storage" var2="1"/>
2595 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002596 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002597 <action function="page">usb_mount</action>
2598 </button>
2599
2600 <button style="main_button_half_width">
2601 <conditions>
2602 <condition var1="tw_is_encrypted" var2="1"/>
2603 <condition var1="tw_is_decrypted" var2="0"/>
2604 </conditions>
2605 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002606 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002607 <action function="set">tw_crypto_user_id=0</action>
2608 <action function="set">tw_crypto_password=</action>
2609 <action function="set">tw_password_fail=0</action>
2610 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002611 <action function="page">decrypt</action>
2612 </button>
2613
2614 <button style="main_button_half_width">
2615 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002616 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002617 <actions>
2618 <action function="set">tw_back=mount</action>
2619 <action function="overlay">select_storage</action>
2620 </actions>
2621 </button>
2622
2623 <button style="main_button_half_width">
2624 <conditions>
2625 <condition var1="tw_has_mtp" var2="1"/>
2626 <condition var1="tw_mtp_enabled" var2="0"/>
2627 </conditions>
2628 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002629 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002630 <action function="startmtp"/>
2631 </button>
2632
2633 <button style="main_button_half_width">
2634 <conditions>
2635 <condition var1="tw_has_mtp" var2="1"/>
2636 <condition var1="tw_mtp_enabled" var2="1"/>
2637 </conditions>
2638 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002639 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002640 <action function="stopmtp"/>
2641 </button>
2642
2643 <action>
2644 <touch key="home"/>
2645 <action function="page">main</action>
2646 </action>
2647
2648 <action>
2649 <touch key="back"/>
2650 <action function="page">main</action>
2651 </action>
2652 </page>
2653
2654 <page name="usb_mount">
2655 <template name="page"/>
2656
2657 <text style="text_l">
2658 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002659 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002660 </text>
2661
2662 <text style="text_m">
2663 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002664 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002665 </text>
2666
2667 <text style="text_m_accent">
2668 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002669 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002670 </text>
2671
2672 <text style="text_m">
2673 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002674 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002675 </text>
2676
2677 <text style="text_m">
2678 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002679 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002680 </text>
2681
2682 <button style="main_button_half_width">
2683 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002684 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002685 <action function="page">usb_umount</action>
2686 </button>
2687
2688 <action>
2689 <action function="mount">usb</action>
2690 <action function="set">tw_busy=1</action>
2691 </action>
2692 </page>
2693
2694 <page name="usb_umount">
2695 <action>
2696 <action function="unmount">usb</action>
2697 </action>
2698
2699 <action>
2700 <action function="page">mount</action>
2701 <action function="set">tw_busy=0</action>
2702 </action>
2703 </page>
2704
2705 <page name="system_readonly_check">
2706 <action>
2707 <action function="checkpartitionlifetimewrites">/system</action>
2708 </action>
2709
2710 <action>
2711 <condition var1="tw_lifetime_writes" var2="1"/>
2712 <actions>
2713 <action function="mountsystemtoggle">0</action>
2714 <action function="page">mount</action>
2715 </actions>
2716 </action>
2717
2718 <action>
2719 <condition var1="tw_lifetime_writes" var2="0"/>
2720 <actions>
2721 <action function="set">tw_back=mount</action>
2722 <action function="page">system_readonly</action>
2723 </actions>
2724 </action>
2725 </page>
2726
bigbiffdf8436b2020-08-30 16:22:34 -04002727 <page name="fastbootreboot">
2728 <template name="page"/>
2729
2730 <text style="text_l">
2731 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2732 <text>{@reboot_hdr=Reboot}</text>
2733 </text>
2734
2735 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002736 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002737
2738 <listitem name="{@rb_system_btn=System}">
2739 <condition var1="tw_reboot_system" var2="1"/>
2740 <actions>
2741 <action function="set">tw_back=fastbootreboot</action>
2742 <action function="set">tw_action=reboot</action>
2743 <action function="set">tw_action_param=system</action>
2744 <action function="set">tw_reboot_param=system</action>
2745 <action function="set">tw_has_action2=0</action>
2746 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2747 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2748 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2749 <action function="page">confirm_action</action>
2750 </actions>
2751 </listitem>
2752
2753 <listitem name="{@rb_poweroff_btn=Power Off}">
2754 <condition var1="tw_reboot_poweroff" var2="1"/>
2755 <actions>
2756 <action function="set">tw_back=fastbootreboot</action>
2757 <action function="set">tw_action=reboot</action>
2758 <action function="set">tw_action_param=poweroff</action>
2759 <action function="set">tw_reboot_param=poweroff</action>
2760 <action function="set">tw_has_action2=0</action>
2761 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2762 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2763 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2764 <action function="page">confirm_action</action>
2765 </actions>
2766 </listitem>
2767
2768 <listitem name="{@rb_recovery_btn=Recovery}">
2769 <condition var1="tw_reboot_recovery" var2="1"/>
2770 <actions>
2771 <action function="set">tw_back=fastbootreboot</action>
2772 <action function="set">tw_action=reboot</action>
2773 <action function="set">tw_action_param=recovery</action>
2774 <action function="set">tw_reboot_param=recovery</action>
2775 <action function="set">tw_has_action2=0</action>
2776 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2777 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2778 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2779 <action function="page">confirm_action</action>
2780 </actions>
2781 </listitem>
2782
2783 <listitem name="{@rb_bootloader_btn=Bootloader}">
2784 <condition var1="tw_reboot_bootloader" var2="1"/>
2785 <actions>
2786 <action function="set">tw_back=fastbootreboot</action>
2787 <action function="set">tw_action=reboot</action>
2788 <action function="set">tw_action_param=bootloader</action>
2789 <action function="set">tw_reboot_param=bootloader</action>
2790 <action function="set">tw_has_action2=0</action>
2791 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2792 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2793 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2794 <action function="page">confirm_action</action>
2795 </actions>
2796 </listitem>
2797
2798 <listitem name="{@rb_download_btn=Download}">
2799 <condition var1="tw_download_mode" var2="1"/>
2800 <actions>
2801 <action function="set">tw_back=fastbootreboot</action>
2802 <action function="set">tw_action=reboot</action>
2803 <action function="set">tw_action_param=download</action>
2804 <action function="set">tw_reboot_param=download</action>
2805 <action function="set">tw_has_action2=0</action>
2806 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2807 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2808 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2809 <action function="page">confirm_action</action>
2810 </actions>
2811 </listitem>
2812
2813 <listitem name="{@fastboot_button=Fastboot}">
2814 <condition var1="tw_fastboot_mode" var2="1"/>
2815 <actions>
2816 <action function="set">tw_back=fastbootreboot</action>
2817 <action function="set">tw_action=reboot</action>
2818 <action function="set">tw_action_param=fastboot</action>
2819 <action function="set">tw_reboot_param=fastboot</action>
2820 <action function="set">tw_has_action2=0</action>
2821 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2823 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2824 <action function="page">confirm_action</action>
2825 </actions>
2826 </listitem>
2827
2828 <listitem name="{@rb_edl_btn=Edl}">
2829 <condition var1="tw_edl_mode" var2="1"/>
2830 <actions>
2831 <action function="set">tw_back=fastbootreboot</action>
2832 <action function="set">tw_action=reboot</action>
2833 <action function="set">tw_action_param=edl</action>
2834 <action function="set">tw_reboot_param=edl</action>
2835 <action function="set">tw_has_action2=0</action>
2836 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2837 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2838 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2839 <action function="page">confirm_action</action>
2840 </actions>
2841 </listitem>
2842 </listbox>
2843 <action>
2844 <touch key="home"/>
2845 <action function="page">fastboot</action>
2846 </action>
2847
2848 <action>
2849 <touch key="back"/>
2850 <action function="page">fastboot</action>
2851 </action>
2852 </page>
2853
z31s1g28f0a922015-11-07 18:50:22 +01002854 <page name="reboot">
Ethan Yonker8581ab32020-12-17 14:51:50 -06002855 <action>
2856 <action function="checkforapp"></action>
2857 <action function="page">reboot2</action>
2858 </action>
2859 </page>
2860
2861 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002862 <template name="page"/>
2863
2864 <text style="text_l">
2865 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002866 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002867 </text>
2868
bigbiffdf8436b2020-08-30 16:22:34 -04002869 <listbox style="advanced_listbox">
Captain Throwback6321bc32020-12-25 22:46:59 -05002870 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002871
2872 <listitem name="{@rb_system_btn=System}">
2873 <condition var1="tw_reboot_system" var2="1"/>
2874 <actions>
2875 <action function="set">tw_back=reboot</action>
2876 <action function="page">reboot_system_routine</action>
2877 </actions>
2878 </listitem>
2879
2880 <listitem name="{@rb_poweroff_btn=Power Off}">
2881 <condition var1="tw_reboot_poweroff" var2="1"/>
2882 <actions>
2883 <action function="set">tw_back=reboot</action>
2884 <action function="set">tw_action=reboot</action>
2885 <action function="set">tw_action_param=poweroff</action>
2886 <action function="set">tw_reboot_param=poweroff</action>
2887 <action function="set">tw_has_action2=0</action>
2888 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2889 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2890 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2891 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2892 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2893 <action function="page">rebootcheck</action>
2894 </actions>
2895 </listitem>
2896
2897 <listitem name="{@rb_recovery_btn=Recovery}">
2898 <condition var1="tw_reboot_recovery" var2="1"/>
2899 <actions>
2900 <action function="set">tw_back=reboot</action>
2901 <action function="set">tw_action=reboot</action>
2902 <action function="set">tw_action_param=recovery</action>
2903 <action function="set">tw_reboot_param=recovery</action>
2904 <action function="set">tw_has_action2=0</action>
2905 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2906 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2907 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2908 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2909 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2910 <action function="page">rebootcheck</action>
2911 </actions>
2912 </listitem>
2913
2914 <listitem name="{@rb_bootloader_btn=Bootloader}">
2915 <condition var1="tw_reboot_bootloader" var2="1"/>
2916 <actions>
2917 <action function="set">tw_back=reboot</action>
2918 <action function="set">tw_action=reboot</action>
2919 <action function="set">tw_action_param=bootloader</action>
2920 <action function="set">tw_reboot_param=bootloader</action>
2921 <action function="set">tw_has_action2=0</action>
2922 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2923 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2924 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2925 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2926 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2927 <action function="page">rebootcheck</action>
2928 </actions>
2929 </listitem>
2930
2931 <listitem name="{@rb_download_btn=Download}">
2932 <condition var1="tw_download_mode" var2="1"/>
2933 <actions>
2934 <action function="set">tw_back=reboot</action>
2935 <action function="set">tw_action=reboot</action>
2936 <action function="set">tw_action_param=download</action>
2937 <action function="set">tw_reboot_param=download</action>
2938 <action function="set">tw_has_action2=0</action>
2939 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2940 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2941 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2942 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2943 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2944 <action function="page">rebootcheck</action>
2945 </actions>
2946 </listitem>
2947
2948
2949 <listitem name="{@fastboot_button=Fastboot}">
2950 <condition var1="tw_fastboot_mode" var2="1"/>
2951 <actions>
2952 <action function="set">tw_back=reboot</action>
2953 <action function="set">tw_action=reboot</action>
2954 <action function="set">tw_action_param=fastboot</action>
2955 <action function="set">tw_reboot_param=fastboot</action>
2956 <action function="set">tw_has_action2=0</action>
2957 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2958 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2959 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2960 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2961 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2962 <action function="page">rebootcheck</action>
2963 </actions>
2964 </listitem>
2965
2966 <listitem name="{@rb_edl_btn=Edl}">
2967 <condition var1="tw_edl_mode" var2="1"/>
2968 <actions>
2969 <action function="set">tw_back=reboot</action>
2970 <action function="set">tw_action=reboot</action>
2971 <action function="set">tw_action_param=edl</action>
2972 <action function="set">tw_reboot_param=edl</action>
2973 <action function="set">tw_has_action2=0</action>
2974 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2975 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2976 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2977 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2978 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2979 <action function="page">rebootcheck</action>
2980 </actions>
2981 </button>
2982 </listbox>
2983
Ethan Yonker8581ab32020-12-17 14:51:50 -06002984 <button style="main_button">
2985 <condition var1="tw_app_install_status" var2="1"/>
2986 <placement x="%center_x%" y="%row12_y%"/>
2987 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2988 <actions>
2989 <action function="set">tw_back=reboot</action>
2990 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2991 <action function="page">installapp</action>
2992 </actions>
2993 </button>
2994
bigbiffdf8436b2020-08-30 16:22:34 -04002995 <text style="text_m">
2996 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06002997 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04002998 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2999 </text>
3000
z31s1g28f0a922015-11-07 18:50:22 +01003001 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003002 <condition var1="tw_has_boot_slots" var2="1"/>
3003 <placement x="%indent%" y="%row16_y%"/>
3004 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003005 <actions>
3006 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003007 <action function="set">tw_action=setbootslot</action>
3008 <action function="set">tw_action_param=A</action>
3009 <action function="set">tw_has_action2=0</action>
3010 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3011 <action function="set">tw_action_text2=</action>
3012 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3013 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01003014 </actions>
3015 </button>
3016
3017 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04003018 <condition var1="tw_has_boot_slots" var2="1"/>
3019 <placement x="%center_x%" y="%row16_y%"/>
3020 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003021 <actions>
3022 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003023 <action function="set">tw_action=setbootslot</action>
3024 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01003025 <action function="set">tw_has_action2=0</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003026 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3027 <action function="set">tw_action_text2=</action>
3028 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3029 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003030 </actions>
3031 </button>
3032
z31s1g28f0a922015-11-07 18:50:22 +01003033 <action>
3034 <touch key="home"/>
3035 <action function="page">main</action>
3036 </action>
3037
3038 <action>
3039 <touch key="back"/>
3040 <action function="page">main</action>
3041 </action>
3042 </page>
3043
Ethan Yonker8581ab32020-12-17 14:51:50 -06003044 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003045 <template name="page"/>
3046
3047 <text style="text_l">
3048 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003049 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003050 </text>
3051
3052 <text style="text_m">
3053 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003054 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003055 </text>
3056
3057 <text style="text_m_accent">
3058 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3059 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3060 </text>
3061
3062 <text style="text_m_accent">
3063 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3064 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3065 </text>
3066
3067 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003068 <condition var1="tw_mount_system_ro" var2="0"/>
3069 <placement x="%indent%" y="%row7_y%"/>
3070 <text>{@reboot_install_app_system=Install as a System App}</text>
3071 <data variable="tw_app_install_system"/>
3072 </checkbox>
3073
3074 <button style="main_button_half_width">
3075 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003076 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003077 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003078 </button>
3079
3080 <slider>
3081 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3082 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003083 <action function="set">tw_action=installapp</action>
3084 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3085 <action function="set">tw_action_text2=</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003086 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003087 <action function="page">action_page</action>
3088 </actions>
3089 </slider>
3090
3091 <action>
3092 <touch key="home"/>
3093 <actions>
3094 <action function="set">tw_app_install_status=0</action>
3095 <action function="page">main</action>
3096 </actions>
3097 </action>
3098
3099 <action>
3100 <touch key="back"/>
3101 <actions>
3102 <action function="set">tw_app_install_status=0</action>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003103 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003104 </actions>
3105 </action>
3106 </page>
3107
z31s1g28f0a922015-11-07 18:50:22 +01003108 <page name="system_readonly">
3109 <template name="page"/>
3110
3111 <text style="text_l">
3112 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003113 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003114 </text>
3115
3116 <text style="text_m_accent">
3117 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003118 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003119 </text>
3120
3121 <text style="text_m">
3122 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <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 +01003124 </text>
3125
3126 <text style="text_m">
3127 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <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 +01003129 </text>
3130
3131 <text style="text_m_fail">
3132 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003134 </text>
3135
3136 <checkbox>
3137 <condition var1="tw_is_encrypted" var2="0"/>
3138 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003139 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003140 <data variable="tw_never_show_system_ro_page"/>
3141 </checkbox>
3142
3143 <button style="main_button_half_width">
3144 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003146 <actions>
3147 <action function="mountsystemtoggle">1</action>
3148 <action function="set">tw_page_done=1</action>
3149 <action function="page">%tw_back%</action>
3150 </actions>
3151 </button>
3152
z31s1g608d7ff2016-01-18 19:47:25 +01003153 <button style="main_button_half_width">
3154 <placement x="%col2_x_left%" y="%row15a_y%"/>
3155 <text>{@sel_lang_btn=Select Language}</text>
3156 <action function="overlay">select_language</action>
3157 </button>
3158
z31s1g28f0a922015-11-07 18:50:22 +01003159 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 <actions>
3162 <action function="mountsystemtoggle">0</action>
3163 <action function="set">tw_page_done=1</action>
3164 <action function="page">%tw_back%</action>
3165 </actions>
3166 </slider>
3167 </page>
3168
3169 <page name="settings">
3170 <template name="page"/>
3171
3172 <text style="text_l">
3173 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003174 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003175 </text>
3176
3177 <text style="text_m">
3178 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003179 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003180 </text>
3181
3182 <template name="tabs_settings"/>
3183
3184 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003185 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003186 </fill>
3187
3188 <listbox style="scrolllist">
3189 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3190 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003191 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003192 <data variable="tw_signed_zip_verify"/>
3193 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003194 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3195 <data variable="tw_install_reboot"/>
3196 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003198 <data variable="tw_rm_rf"/>
3199 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003200 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3201 <data variable="tw_disable_free_space"/>
3202 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003203 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3204 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003205 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003206 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3207 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003208 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003210 <data variable="tw_military_time"/>
3211 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003212 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003213 <data variable="tw_simulate_actions"/>
3214 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003215 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003216 <condition var1="tw_simulate_actions" var2="1"/>
3217 <data variable="tw_simulate_fail"/>
3218 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003219 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3220 <condition var1="tw_no_sha2" var2="0"/>
3221 <data variable="tw_use_sha2"/>
3222 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003223 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3224 <data variable="tw_unmount_system"/>
3225 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003226 </listbox>
3227
3228 <checkbox>
3229 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003230 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003231 <data variable="tw_samsung_navbar"/>
3232 </checkbox>
3233
3234 <button style="radiobutton">
3235 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3236 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 <image resource="radio_false"/>
3239 <action function="set">tw_navbar_button_position=0</action>
3240 </button>
3241
3242 <button style="radiobutton">
3243 <condition var1="tw_navbar_button_position" var2="0"/>
3244 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003245 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003246 <image resource="radio_true"/>
3247 <action function="set">tw_navbar_button_position=0</action>
3248 </button>
3249
3250 <button style="radiobutton">
3251 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3252 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003253 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003254 <image resource="radio_false"/>
3255 <action function="set">tw_navbar_button_position=1</action>
3256 </button>
3257
3258 <button style="radiobutton">
3259 <condition var1="tw_navbar_button_position" var2="1"/>
3260 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003261 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003262 <image resource="radio_true"/>
3263 <action function="set">tw_navbar_button_position=1</action>
3264 </button>
3265
3266 <button style="radiobutton">
3267 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3268 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 <image resource="radio_false"/>
3271 <action function="set">tw_navbar_button_position=2</action>
3272 </button>
3273
3274 <button style="radiobutton">
3275 <condition var1="tw_navbar_button_position" var2="2"/>
3276 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003277 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003278 <image resource="radio_true"/>
3279 <action function="set">tw_navbar_button_position=2</action>
3280 </button>
3281
3282 <button style="main_button_half_width">
3283 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003284 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003285 <action function="restoredefaultsettings"/>
3286 </button>
3287
3288 <action>
3289 <touch key="home"/>
3290 <action function="page">main</action>
3291 </action>
3292
3293 <action>
3294 <touch key="back"/>
3295 <action function="page">main</action>
3296 </action>
3297 </page>
3298
3299 <page name="settings_timezone">
3300 <template name="page"/>
3301
3302 <text style="text_l">
3303 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </text>
3306
3307 <text style="text_m">
3308 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 </text>
3311
3312 <template name="tabs_settings"/>
3313
3314 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003315 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003316 </fill>
3317
3318 <listbox>
3319 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003320 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003321 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3323 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3324 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3325 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3326 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3327 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3328 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3329 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3330 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3331 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3332 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3333 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3334 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3335 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3336 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3337 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3338 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3339 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3340 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3341 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3342 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3343 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3344 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3345 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003346 </listbox>
3347
3348 <text style="text_m_accent">
3349 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003351 </text>
3352
3353 <button style="button_quarter_width">
3354 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <action function="set">tw_time_zone_guioffset=0</action>
3357 </button>
3358
3359 <button style="button_quarter_width">
3360 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003361 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003362 <action function="set">tw_time_zone_guioffset=15</action>
3363 </button>
3364
3365 <button style="button_quarter_width">
3366 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003367 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003368 <action function="set">tw_time_zone_guioffset=30</action>
3369 </button>
3370
3371 <button style="button_quarter_width">
3372 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003373 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003374 <action function="set">tw_time_zone_guioffset=45</action>
3375 </button>
3376
3377 <checkbox>
3378 <placement x="%col1_x_right%" y="%row7_y%"/>
3379 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003380 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003381 <data variable="tw_time_zone_guidst"/>
3382 <image checked="checkbox_true" unchecked="checkbox_false"/>
3383 </checkbox>
3384
3385 <text color="%text_color%">
3386 <font resource="font_m"/>
3387 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003388 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003389 </text>
3390
3391 <button>
3392 <highlight color="%highlight_color%"/>
3393 <placement x="%col2_x_right%" y="%row15a_y%"/>
3394 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003395 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003396 <image resource="main_button_half_width"/>
3397 <action function="setguitimezone"/>
3398 </button>
3399
3400 <action>
3401 <touch key="home"/>
3402 <action function="page">main</action>
3403 </action>
3404
3405 <action>
3406 <touch key="back"/>
3407 <action function="page">main</action>
3408 </action>
3409 </page>
3410
3411 <page name="settings_screen">
3412 <template name="page"/>
3413
3414 <text style="text_l">
3415 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003417 </text>
3418
3419 <text style="text_m">
3420 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003421 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003422 </text>
3423
3424 <template name="tabs_settings"/>
3425
3426 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003427 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003428 </fill>
3429
3430 <button>
3431 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3432 <font resource="font_m" color="%text_color%"/>
3433 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3434 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003435 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003436 <image resource="checkbox_false"/>
3437 <action function="set">tw_screen_timeout_secs=60</action>
3438 </button>
3439
3440 <button>
3441 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3442 <font resource="font_m" color="%text_color%"/>
3443 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3444 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003445 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003446 <image resource="checkbox_true"/>
3447 <action function="set">tw_screen_timeout_secs=0</action>
3448 </button>
3449
3450 <slidervalue>
3451 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3452 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3453 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003455 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3456 </slidervalue>
3457
3458 <slidervalue>
3459 <condition var1="tw_has_brightnesss_file" var2="1"/>
3460 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003461 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003462 <data variable="tw_brightness_pct" min="10" max="100"/>
3463 <actions>
3464 <action function="set">tw_brightness=%tw_brightness_max%</action>
3465 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3466 <action function="compute">tw_brightness/100</action>
3467 <action function="setbrightness">%tw_brightness%</action>
3468 </actions>
3469 </slidervalue>
3470
3471 <action>
3472 <touch key="home"/>
3473 <action function="page">main</action>
3474 </action>
3475
3476 <action>
3477 <touch key="back"/>
3478 <action function="page">main</action>
3479 </action>
3480 </page>
3481
3482 <page name="settings_vibration">
3483 <template name="page"/>
3484
3485 <text style="text_l">
3486 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </text>
3489
3490 <text style="text_m">
3491 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003492 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003493 </text>
3494
3495 <template name="tabs_settings"/>
3496
3497 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003498 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003499 </fill>
3500
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003501 <text style="text_m">
3502 <condition var1="tw_disable_haptics" var2="1"/>
3503 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3504 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3505 </text>
3506
z31s1g28f0a922015-11-07 18:50:22 +01003507 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003508 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003509 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003510 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003511 <data variable="tw_button_vibrate" min="0" max="300"/>
3512 </slidervalue>
3513
3514 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003515 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003516 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003517 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003518 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3519 </slidervalue>
3520
3521 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003522 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003523 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003524 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003525 <data variable="tw_action_vibrate" min="0" max="500"/>
3526 </slidervalue>
3527
3528 <action>
3529 <touch key="home"/>
3530 <action function="page">main</action>
3531 </action>
3532
3533 <action>
3534 <touch key="back"/>
3535 <action function="page">main</action>
3536 </action>
3537 </page>
3538
Ethan Yonker74db1572015-10-28 12:44:49 -05003539 <page name="settings_language">
3540 <template name="page"/>
3541
3542 <text style="text_l">
3543 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3544 <text>{@settings_hdr=Settings}</text>
3545 </text>
3546
3547 <text style="text_m">
3548 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3549 <text>{@language_hdr=Language - %tw_language_display%}</text>
3550 </text>
3551
3552 <template name="tabs_settings"/>
3553
3554 <fill color="%text_color%">
3555 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3556 </fill>
3557
3558 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003559 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <text>{@select_language=Select Language:}</text>
3561 <icon selected="radio_true" unselected="radio_false" />
3562 <data name="tw_language" />
3563 </listbox>
3564
z31s1g56189522016-01-13 19:12:40 +01003565 <button>
3566 <highlight color="%highlight_color%"/>
3567 <placement x="%col2_x_right%" y="%row15a_y%"/>
3568 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003569 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003570 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003571 <action function="setlanguage"></action>
3572 </button>
3573
3574 <action>
3575 <touch key="home" />
3576 <action function="page">main</action>
3577 </action>
3578
3579 <action>
3580 <touch key="back" />
3581 <action function="page">settings</action>
3582 </action>
3583 </page>
3584
Matt Mower32676622017-01-18 18:56:13 -06003585 <page name="copylog">
3586 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003587
Matt Mower32676622017-01-18 18:56:13 -06003588 <text style="text_l">
3589 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3590 <text>{@copying_log=Copy Logs to SD Card}</text>
3591 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003592
Matt Mower32676622017-01-18 18:56:13 -06003593 <checkbox>
3594 <placement x="%indent%" y="%row4_y%"/>
3595 <text>{@include_kernel_log=Include Kernel Log}</text>
3596 <data variable="tw_include_kernel_log" value="1"/>
3597 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003598
Matt Mower32676622017-01-18 18:56:13 -06003599 <slider>
3600 <text>{@copying_log=Copy Logs to SD Card}</text>
3601 <actions>
3602 <action function="set">tw_back=advanced</action>
3603 <action function="set">tw_action=copylog</action>
3604 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3605 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3606 <action function="page">action_page</action>
3607 </actions>
3608 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003609
Matt Mower32676622017-01-18 18:56:13 -06003610 <action>
3611 <touch key="home"/>
3612 <action function="page">main</action>
3613 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003614
Matt Mower32676622017-01-18 18:56:13 -06003615 <action>
3616 <touch key="back"/>
3617 <actions>
3618 <action function="page">advanced</action>
3619 </actions>
3620 </action>
3621 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003622
z31s1g28f0a922015-11-07 18:50:22 +01003623 <page name="advanced">
3624 <template name="page"/>
3625
3626 <text style="text_l">
3627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003629 </text>
3630
3631 <button style="main_button">
3632 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003633 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003634 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003635 </button>
3636
3637 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003638 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 <action function="page">filemanagerlist</action>
3641 </button>
3642
3643 <button style="main_button">
3644 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003645 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003646 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003647 </button>
3648
3649 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003650 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003651 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003652 <action function="page">sideload</action>
3653 </button>
3654
Ethan Yonker64e0a652018-07-25 09:52:17 -05003655 <listbox style="advanced_listbox">
3656 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
epicXa721f952021-01-04 13:01:31 +05303657 <listitem name="{@change_twrp_folder_btn=Change TWRP folder}">
3658 <condition var1="tw_is_encrypted" var2="0"/>
3659 <action function="page">changeTwrpFolder</action>
3660 </listitem>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003661 <listitem name="{@decrypt_users=Decrypt Users}">
3662 <conditions>
3663 <condition var1="tw_is_fbe" var2="1"/>
3664 <condition var1="tw_all_users_decrypted" var2="0"/>
3665 </conditions>
3666 <actions>
3667 <action function="set">tw_crypto_user_id=</action>
3668 <action function="page">decrypt_users</action>
3669 </actions>
3670 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003671 <listitem name="{@reload_theme_btn=Reload Theme}">
3672 <action function="reload"/>
3673 </listitem>
3674 <listitem name="{@part_sd_btn=Partition SD Card}">
3675 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3676 <actions>
3677 <action function="set">partitionlisterror=0</action>
3678 <action function="page">partsdcardsel</action>
3679 </actions>
3680 </listitem>
3681 <listitem name="{@fix_context_btn=Fix Contexts}">
3682 <condition var1="tw_has_data_media" var2="1"/>
3683 <action function="page">fixcontexts</action>
3684 </listitem>
3685 <listitem name="{@dumlock_btn=HTC Dumlock}">
3686 <condition var1="tw_show_dumlock" var2="1"/>
3687 <action function="page">htcdumlock</action>
3688 </listitem>
3689 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3690 <condition var1="tw_has_injecttwrp" var2="1"/>
3691 <actions>
3692 <action function="set">tw_back=advanced</action>
3693 <action function="set">tw_action=reinjecttwrp</action>
3694 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3695 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3696 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3697 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3698 <action function="page">confirm_action</action>
3699 </actions>
3700 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003701 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3702 <conditions>
3703 <condition var1="tw_has_boot_slots" var2="1"/>
3704 <condition var1="tw_has_repack_tools" var2="1"/>
3705 </conditions>
3706 <actions>
3707 <action function="set">tw_repack_kernel=0</action>
3708 <action function="page">repackselect</action>
3709 </actions>
3710 </listitem>
3711 <listitem name="{@install_kernel=Install Kernel}">
3712 <conditions>
3713 <condition var1="tw_has_boot_slots" var2="1"/>
3714 <condition var1="tw_has_repack_tools" var2="1"/>
3715 </conditions>
3716 <actions>
3717 <action function="set">tw_repack_kernel=1</action>
3718 <action function="page">repackselect</action>
3719 </actions>
3720 </listitem>
3721 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3722 <conditions>
3723 <condition var1="tw_has_boot_slots" var2="1"/>
3724 <condition var1="tw_has_repack_tools" var2="1"/>
3725 </conditions>
3726 <actions>
3727 <action function="set">tw_back=advanced</action>
3728 <action function="set">tw_action=fixabrecoverybootloop</action>
3729 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3730 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3731 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3732 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3733 <action function="page">confirm_action</action>
3734 </actions>
3735 </listitem>
Ethan Yonker8581ab32020-12-17 14:51:50 -06003736 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3737 <condition var1="tw_app_install_status" var2="1"/>
3738 <actions>
3739 <action function="set">tw_back=advanced</action>
3740 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3741 <action function="page">installapp</action>
3742 </actions>
3743 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003744 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3745 <condition var1="tw_app_installed_in_system" var2="1"/>
3746 <actions>
3747 <action function="set">tw_back=advanced</action>
3748 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3749 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3750 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3751 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3752 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3753 <action function="page">confirm_action</action>
3754 </actions>
3755 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003756 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003757
3758 <action>
3759 <touch key="home"/>
3760 <action function="page">main</action>
3761 </action>
3762
3763 <action>
3764 <touch key="back"/>
3765 <action function="page">main</action>
3766 </action>
3767 </page>
3768
Ethan Yonker483e9f42016-01-11 22:21:18 -06003769 <page name="partsdcardsel">
3770 <template name="page"/>
3771
3772 <text style="text_l">
3773 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3774 <text>{@advanced_hdr=Advanced}</text>
3775 </text>
3776
3777 <text style="text_m">
3778 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3779 <text>{@part_sd_hdr=Partition SD Card}</text>
3780 </text>
3781
z31s1g782e1c92016-01-30 16:50:09 +01003782 <partitionlist>
3783 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003784 <text>{@sel_storage_list=Select Storage}</text>
3785 <data name="tw_storage_path"/>
3786 <listtype name="storage"/>
3787 </partitionlist>
3788
z31s1g782e1c92016-01-30 16:50:09 +01003789 <text style="text_m_fail">
3790 <condition var1="partitionlisterror" var2="1"/>
3791 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3792 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3793 </text>
3794
3795 <button style="main_button_half_width">
3796 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003797 <text>{@ok_btn=OK}</text>
3798 <actions>
3799 <action function="getpartitiondetails">tw_storage_path</action>
3800 <action function="page">partsdcardcheck</action>
3801 </actions>
3802 </button>
3803
Ethan Yonker483e9f42016-01-11 22:21:18 -06003804 <action>
3805 <touch key="home"/>
3806 <action function="page">main</action>
3807 </action>
3808
3809 <action>
3810 <touch key="back"/>
3811 <action function="page">advanced</action>
3812 </action>
3813 </page>
3814
3815 <page name="partsdcardcheck">
3816 <action>
3817 <condition var1="tw_partition_removable" op="=" var2="1"/>
3818 <actions>
3819 <action function="set">partitionlisterror=0</action>
3820 <action function="page">partsdcard</action>
3821 </actions>
3822 </action>
3823
3824 <action>
3825 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3826 <actions>
3827 <action function="set">partitionlisterror=1</action>
3828 <action function="page">partsdcardsel</action>
3829 </actions>
3830 </action>
3831 </page>
3832
z31s1g28f0a922015-11-07 18:50:22 +01003833 <page name="partsdcard">
3834 <template name="page"/>
3835
3836 <text style="text_l">
3837 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003839 </text>
3840
3841 <text style="text_m">
3842 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003843 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003844 </text>
3845
3846 <text style="text_m_fail">
3847 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 </text>
3850
3851 <text style="text_m_fail">
3852 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003853 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003854 </text>
3855
3856 <text style="text_m_accent">
3857 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003858 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003859 </text>
3860
3861 <text style="text_m">
3862 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3863 <text>%tw_sdext_size%</text>
3864 </text>
3865
3866 <button style="button_quarter_width">
3867 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003868 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003869 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003870 </button>
3871
3872 <button style="button_quarter_width">
3873 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003874 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003875 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003876 </button>
3877
3878 <text style="text_m_accent">
3879 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003880 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003881 </text>
3882
3883 <text style="text_m">
3884 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3885 <text>%tw_swap_size%</text>
3886 </text>
3887
3888 <button style="button_quarter_width">
3889 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003890 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003891 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003892 </button>
3893
3894 <button style="button_quarter_width">
3895 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003896 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003897 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003898 </button>
3899
3900 <text style="text_m_accent">
3901 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003902 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003903 </text>
3904
3905 <text style="text_m">
3906 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3907 <text>%tw_sdpart_file_system%</text>
3908 </text>
3909
3910 <button style="button_quarter_width">
3911 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3912 <text>EXT3</text>
3913 <action function="set">tw_sdpart_file_system=ext3</action>
3914 </button>
3915
3916 <button style="button_quarter_width">
3917 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3918 <text>EXT4</text>
3919 <action function="set">tw_sdpart_file_system=ext4</action>
3920 </button>
3921
3922 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003923 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003924 <action function="page">partsdcardaction</action>
3925 <actions>
3926 <action function="set">tw_back=partsdcard</action>
3927 <action function="set">tw_action=partitionsd</action>
3928 <action function="set">tw_has_action2=1</action>
3929 <action function="set">tw_action2=set</action>
3930 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3932 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3933 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003934 <action function="page">action_page</action>
3935 </actions>
3936 </slider>
3937
3938 <action>
3939 <touch key="home"/>
3940 <action function="page">main</action>
3941 </action>
3942
3943 <action>
3944 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003945 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003946 </action>
3947 </page>
3948
3949 <page name="htcdumlock">
3950 <template name="page"/>
3951
3952 <text style="text_l">
3953 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 </text>
3956
3957 <text style="text_m">
3958 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003960 </text>
3961
3962 <button style="main_button_m">
3963 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003964 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003965 <actions>
3966 <action function="set">tw_back=htcdumlock</action>
3967 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003968 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3969 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3970 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3971 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003972 <action function="page">confirm_action</action>
3973 </actions>
3974 </button>
3975
3976 <button style="main_button_m">
3977 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003978 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003979 <actions>
3980 <action function="set">tw_back=htcdumlock</action>
3981 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003982 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3983 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3984 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3985 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003986 <action function="page">confirm_action</action>
3987 </actions>
3988 </button>
3989
3990 <button style="main_button_m">
3991 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003992 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003993 <actions>
3994 <action function="set">tw_back=htcdumlock</action>
3995 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003996 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3997 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3998 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3999 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004000 <action function="page">confirm_action</action>
4001 </actions>
4002 </button>
4003
4004 <action>
4005 <touch key="home"/>
4006 <action function="page">main</action>
4007 </action>
4008
4009 <action>
4010 <touch key="back"/>
4011 <action function="page">advanced</action>
4012 </action>
4013 </page>
4014
Ethan Yonker53796e72019-01-11 22:49:52 -06004015 <page name="repackselect">
4016 <template name="page"/>
4017
4018 <text style="text_l">
4019 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4020 <text>{@repack_image_hdr=Select Image}</text>
4021 </text>
4022
4023 <text style="text_m">
4024 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4025 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4026 </text>
4027
4028 <template name="sort_options"/>
4029
4030 <fileselector>
4031 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4032 <text>%tw_zip_location%</text>
4033 <filter extn=".img" folders="1" files="1"/>
4034 <path name="tw_zip_location" default="/sdcard"/>
4035 <data name="tw_filename"/>
4036 <selection name="tw_file"/>
4037 </fileselector>
4038
4039 <button style="main_button_half_width_low">
4040 <placement x="%col_button_right%" y="%row16a_y%"/>
4041 <text>{@select_storage_btn=Select Storage}</text>
4042 <actions>
4043 <action function="set">tw_back=install</action>
4044 <action function="overlay">select_storage</action>
4045 </actions>
4046 </button>
4047
4048 <action>
4049 <conditions>
4050 <condition var1="tw_filename" op="modified"/>
4051 </conditions>
4052 <action function="page">repackconfirm</action>
4053 </action>
4054
4055 <action>
4056 <touch key="back"/>
4057 <action function="page">advanced</action>
4058 </action>
4059
4060 <action>
4061 <touch key="home"/>
4062 <action function="page">main</action>
4063 </action>
4064 </page>
4065
4066 <page name="repackconfirm">
4067 <template name="page"/>
4068
4069 <text style="text_l">
4070 <condition var1="tw_repack_kernel" var2="1"/>
4071 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4072 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4073 </text>
4074
4075 <text style="text_l">
4076 <condition var1="tw_repack_kernel" var2="0"/>
4077 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4078 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4079 </text>
4080
4081 <text style="text_m">
4082 <condition var1="tw_repack_kernel" var2="1"/>
4083 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4084 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4085 </text>
4086
4087 <text style="text_m">
4088 <condition var1="tw_repack_kernel" var2="0"/>
4089 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4090 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4091 </text>
4092
4093 <text style="text_m_accent">
4094 <placement x="%indent%" y="%row2_y%"/>
4095 <text>{@folder=Folder:}</text>
4096 </text>
4097
4098 <text style="text_m">
4099 <placement x="%indent%" y="%row3_y%"/>
4100 <text>%tw_zip_location%</text>
4101 </text>
4102
4103 <text style="text_m_accent">
4104 <placement x="%indent%" y="%row4_y%"/>
4105 <text>{@file=File:}</text>
4106 </text>
4107
4108 <text style="text_m">
4109 <placement x="%indent%" y="%row5_y%"/>
4110 <text>%tw_file%</text>
4111 </text>
4112
4113 <checkbox>
4114 <placement x="%indent%" y="%row7_y%"/>
4115 <text>{@repack_backup_first=Back up existing image first}</text>
4116 <data variable="tw_repack_backup_first"/>
4117 </checkbox>
4118
4119 <button style="main_button_half_width">
4120 <placement x="%col1_x_left%" y="%row15a_y%"/>
4121 <text>{@install_cancel=Do not Install}</text>
4122 <action function="page">repackselect</action>
4123 </button>
4124
4125 <slider style="slider_centered">
4126 <text>{@swipe_to_install=Swipe to Install}</text>
4127 <actions>
4128 <action function="set">tw_back=advanced</action>
4129 <action function="set">tw_action=repackimage</action>
4130 <action function="set">tw_action_param=/boot</action>
4131 <action function="set">tw_action_text1={@installing=Installing...}</action>
4132 <action function="set">tw_action_text2=</action>
4133 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4134 <action function="page">action_page</action>
4135 </actions>
4136 </slider>
4137
4138 <action>
4139 <touch key="back"/>
4140 <action function="page">repackselect</action>
4141 </action>
4142
4143 <action>
4144 <touch key="home"/>
4145 <action function="page">main</action>
4146 </action>
4147 </page>
4148
z31s1g28f0a922015-11-07 18:50:22 +01004149 <page name="lock">
4150 <background color="%semi_transparent%"/>
4151
4152 <image>
4153 <image resource="unlock_icon"/>
4154 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4155 </image>
4156
4157 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004159 <action function="overlay"/>
4160 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004161
4162 <action>
4163 <touch key="power"/>
4164 <action function="togglebacklight"/>
4165 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004166 </page>
4167
4168 <page name="filemanagerlist">
4169 <template name="page"/>
4170
4171 <text style="text_l">
4172 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004173 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004174 </text>
4175
4176 <text style="text_m">
4177 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004178 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004179 </text>
4180
4181 <template name="sort_options"/>
4182
4183 <fileselector>
4184 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4185 <text>%tw_file_location1%</text>
4186 <filter folders="1" files="1"/>
4187 <path name="tw_file_location1" default="/"/>
4188 <data name="tw_filename1"/>
4189 <selection name="tw_selection1"/>
4190 </fileselector>
4191
4192 <button style="main_button_half_width_low">
4193 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004194 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004195 <actions>
4196 <action function="set">tw_filename1=tw_file_location1</action>
4197 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004198 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004199 <action function="page">filemanageroptions</action>
4200 </actions>
4201 </button>
4202
4203 <action>
4204 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004206 <action function="set">tw_fm_isfolder=0</action>
4207 </actions>
4208 </action>
4209
4210 <action>
4211 <touch key="home"/>
4212 <action function="page">main</action>
4213 </action>
4214
4215 <action>
4216 <touch key="back"/>
4217 <action function="page">advanced</action>
4218 </action>
4219
4220 <action>
4221 <condition var1="tw_filename1" op="modified"/>
4222 <action function="page">filemanageroptions</action>
4223 </action>
4224 </page>
4225
4226 <page name="filemanageroptions">
4227 <template name="page"/>
4228
4229 <text style="text_l">
4230 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004231 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004232 </text>
4233
4234 <text style="text_m">
4235 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004236 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004237 </text>
4238
4239 <text style="text_m_accent">
4240 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004241 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004242 </text>
4243
4244 <text style="text_m">
4245 <placement x="%col1_x_left%" y="%row3_y%"/>
4246 <text>%tw_filename1%</text>
4247 </text>
4248
4249 <button style="main_button_half_width">
4250 <condition var1="tw_fm_isfolder" var2="0"/>
4251 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004252 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004253 <actions>
4254 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004255 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004256 <action function="page">choosedestinationfolder</action>
4257 </actions>
4258 </button>
4259
4260 <button style="main_button_half_width">
4261 <condition var1="tw_fm_isfolder" var2="1"/>
4262 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <actions>
4265 <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 -05004266 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004267 <action function="page">choosedestinationfolder</action>
4268 </actions>
4269 </button>
4270
4271 <button style="main_button_half_width">
Captain Throwback16dd81b2021-02-12 19:32:36 -05004272edi <conditions>
4273 <condition var1="tw_include_nano" var2="1"/>
4274 <condition var1="tw_fm_isfolder" var2="0"/>
4275 </conditions>
4276 <placement x="%col1_x_left%" y="%row15a_y%"/>
4277 <text>{@fm_edit_file=Edit File}</text>
4278 <actions>
4279 <action function="editfile">nano "%tw_filename1%"</action>
4280 <action function="page">terminalcommand</action>
4281 </actions>
4282 </button>
4283
4284 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004285 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004286 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004287 <actions>
4288 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004289 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004290 <action function="page">choosedestinationfolder</action>
4291 </actions>
4292 </button>
4293
4294 <button style="main_button_half_width">
4295 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004296 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004297 <actions>
4298 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004299 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004300 <action function="set">tw_fm_text2=</action>
4301 <action function="set">tw_fm_text3=</action>
4302 <action function="set">tw_include_text3=0</action>
4303 <action function="set">tw_back=filemanageroptions</action>
4304 <action function="page">filemanagerconfirm</action>
4305 </actions>
4306 </button>
4307
4308 <button style="main_button_half_width">
4309 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004310 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004311 <actions>
4312 <action function="set">tw_filemanager_rename=0000</action>
4313 <action function="set">tw_fm_text2=</action>
4314 <action function="set">tw_fm_text3=</action>
4315 <action function="set">tw_include_text3=0</action>
4316 <action function="set">tw_back=filemanageroptions</action>
4317 <action function="page">filemanagerchmod</action>
4318 </actions>
4319 </button>
4320
4321 <button style="main_button_half_width">
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004322 <condition var1="tw_fm_isfolder" var2="1"/>
4323 <placement x="%col2_x_right%" y="%row15a_y%"/>
4324 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4325 <action function="changeterminal">%tw_filename1%</action>
4326 </button>
4327
4328 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004329 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004330 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004331 <actions>
4332 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004333 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004334 <action function="set">tw_fm_text2=</action>
4335 <action function="set">tw_fm_text3=</action>
4336 <action function="set">tw_include_text3=0</action>
4337 <action function="set">tw_back=filemanageroptions</action>
4338 <action function="page">filemanagerconfirm</action>
4339 </actions>
4340 </button>
4341
4342 <button style="main_button_half_width">
4343 <condition var1="tw_fm_isfolder" var2="0"/>
4344 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 <actions>
4347 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004349 <action function="set">tw_filemanager_command=mv</action>
4350 <action function="page">filemanagerrenamefile</action>
4351 </actions>
4352 </button>
4353
4354 <button style="main_button_half_width">
4355 <condition var1="tw_fm_isfolder" var2="1"/>
4356 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004357 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004358 <actions>
4359 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004360 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004361 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4362 <action function="page">filemanagerrenamefolder</action>
4363 </actions>
4364 </button>
4365
4366 <action>
4367 <touch key="home"/>
4368 <action function="page">main</action>
4369 </action>
4370
4371 <action>
4372 <touch key="back"/>
4373 <action function="page">filemanagerlist</action>
4374 </action>
4375 </page>
4376
4377 <page name="choosedestinationfolder">
4378 <template name="page"/>
4379
4380 <text style="text_l">
4381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004382 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004383 </text>
4384
4385 <text style="text_m">
4386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004387 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004388 </text>
4389
4390 <template name="sort_options"/>
4391
4392 <fileselector>
4393 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4394 <text>%tw_file_location2%</text>
4395 <filter folders="1" files="0"/>
4396 <path name="tw_file_location2" default="/"/>
4397 <data name="tw_filename2"/>
4398 <selection name="tw_selection2"/>
4399 </fileselector>
4400
4401 <button style="main_button_half_width_low">
4402 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 <actions>
4405 <action function="set">tw_fm_text2=to</action>
4406 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4407 <action function="set">tw_include_text3=1</action>
4408 <action function="set">tw_back=filemanageroptions</action>
4409 <action function="page">filemanagerconfirm</action>
4410 </actions>
4411 </button>
4412
4413 <action>
4414 <touch key="home"/>
4415 <action function="page">main</action>
4416 </action>
4417
4418 <action>
4419 <touch key="back"/>
4420 <action function="page">filemanageroptions</action>
4421 </action>
4422 </page>
4423
4424 <page name="filemanagerrenamefile">
4425 <template name="page"/>
4426
4427 <text style="text_l">
4428 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <text style="text_m">
4433 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004434 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004435 </text>
4436
4437 <text style="text_m_accent">
4438 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004439 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004440 </text>
4441
4442 <input>
4443 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4444 <text>%tw_filemanager_rename%</text>
4445 <data name="tw_filemanager_rename"/>
4446 <restrict minlen="1" maxlen="128"/>
4447 <actions>
4448 <action function="set">tw_fm_text2=to</action>
4449 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4450 <action function="set">tw_include_text3=1</action>
4451 <action function="set">tw_back=filemanageroptions</action>
4452 <action function="page">filemanagerconfirm</action>
4453 </actions>
4454 </input>
4455
4456 <fill color="%accent_color%">
4457 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4458 </fill>
4459
4460 <button style="main_button_half_width_low">
4461 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004462 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004463 <action function="page">filemanageroptions</action>
4464 </button>
4465
4466 <template name="keyboardtemplate"/>
4467
4468 <action>
4469 <touch key="home"/>
4470 <action function="page">main</action>
4471 </action>
4472
4473 <action>
4474 <touch key="back"/>
4475 <action function="page">filemanageroptions</action>
4476 </action>
4477 </page>
4478
4479 <page name="filemanagerrenamefolder">
4480 <template name="page"/>
4481
4482 <text style="text_l">
4483 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </text>
4486
4487 <text style="text_m">
4488 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004489 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004490 </text>
4491
4492 <text style="text_m_accent">
4493 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004494 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004495 </text>
4496
4497 <input>
4498 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4499 <text>%tw_filemanager_rename%</text>
4500 <data name="tw_filemanager_rename"/>
4501 <restrict minlen="1" maxlen="128"/>
4502 <actions>
4503 <action function="set">tw_fm_text2=to</action>
4504 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4505 <action function="set">tw_include_text3=1</action>
4506 <action function="set">tw_back=filemanageroptions</action>
4507 <action function="page">filemanagerconfirm</action>
4508 </actions>
4509 </input>
4510
4511 <fill color="%accent_color%">
4512 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4513 </fill>
4514
4515 <button style="main_button_half_width_low">
4516 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004517 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004518 <action function="page">filemanageroptions</action>
4519 </button>
4520
4521 <template name="keyboardtemplate"/>
4522
4523 <action>
4524 <touch key="home"/>
4525 <action function="page">main</action>
4526 </action>
4527
4528 <action>
4529 <touch key="back"/>
4530 <action function="page">filemanageroptions</action>
4531 </action>
4532 </page>
4533
4534 <page name="filemanagerchmod">
4535 <template name="page"/>
4536
4537 <text style="text_l">
4538 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004539 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004540 </text>
4541
4542 <text style="text_m">
4543 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004544 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004545 </text>
4546
4547 <text style="text_m_accent">
4548 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004549 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004550 </text>
4551
4552 <input>
4553 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4554 <text>%tw_filemanager_rename%</text>
4555 <data name="tw_filemanager_rename"/>
4556 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4557 <actions>
4558 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4559 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4560 <action function="set">tw_back=filemanageroptions</action>
4561 <action function="page">filemanagerconfirm</action>
4562 </actions>
4563 </input>
4564
4565 <fill color="%accent_color%">
4566 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4567 </fill>
4568
4569 <button style="main_button_half_width_low">
4570 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004571 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004572 <action function="page">filemanageroptions</action>
4573 </button>
4574
4575 <template name="keyboardtemplate"/>
4576
4577 <action>
4578 <touch key="home"/>
4579 <action function="page">main</action>
4580 </action>
4581
4582 <action>
4583 <touch key="back"/>
4584 <action function="page">filemanageroptions</action>
4585 </action>
4586 </page>
4587
4588 <page name="filemanagerconfirm">
4589 <template name="page"/>
4590
4591 <text style="text_l">
4592 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004593 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004594 </text>
4595
4596 <text style="text_m">
4597 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004598 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004599 </text>
4600
4601 <text style="text_m_accent">
4602 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4603 <text>%tw_fm_text1%</text>
4604 </text>
4605
4606 <text style="text_m">
4607 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4608 <text>%tw_filename1%</text>
4609 </text>
4610
4611 <text style="text_m_accent">
4612 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4613 <text>%tw_fm_text2%</text>
4614 </text>
4615
4616 <text style="text_m">
4617 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4618 <text>%tw_fm_text3%</text>
4619 </text>
4620
4621 <text style="text_m">
4622 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004624 </text>
4625
4626 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004627 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004628 <action function="page">filemanageraction</action>
4629 </slider>
4630
4631 <action>
4632 <touch key="back"/>
4633 <action function="page">%tw_back%</action>
4634 </action>
4635
4636 <action>
4637 <touch key="home"/>
4638 <action function="page">main</action>
4639 </action>
4640 </page>
4641
4642 <page name="filemanageraction">
4643 <template name="page"/>
4644
4645 <text style="text_l">
4646 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004648 </text>
4649
4650 <text style="text_m">
4651 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4652 <text>%tw_fm_text1%</text>
4653 </text>
4654
4655 <template name="console"/>
4656
4657 <template name="progress_bar"/>
4658
4659 <action>
4660 <conditions>
4661 <condition var1="tw_operation_state" var2="1"/>
4662 <condition var1="tw_operation_status" var2="0"/>
4663 </conditions>
4664 <actions>
4665 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004666 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004667 <action function="page">action_complete</action>
4668 </actions>
4669 </action>
4670
4671 <action>
4672 <conditions>
4673 <condition var1="tw_operation_state" var2="1"/>
4674 <condition var1="tw_operation_status" op="!=" var2="0"/>
4675 </conditions>
4676 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004677 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004678 <action function="page">action_complete</action>
4679 </actions>
4680 </action>
4681
4682 <action>
4683 <condition var1="tw_include_text3" var2="0"/>
4684 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4685 </action>
4686
4687 <action>
4688 <condition var1="tw_include_text3" var2="1"/>
4689 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4690 </action>
4691 </page>
4692
4693 <page name="decrypt">
4694 <template name="page"/>
4695
4696 <action>
4697 <condition var1="tw_crypto_pwtype" var2="2"/>
4698 <action function="page">decrypt_pattern</action>
4699 </action>
4700
4701 <text style="text_l">
4702 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004703 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004704 </text>
4705
4706 <text style="text_m">
4707 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004708 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004709 </text>
4710
4711 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004712 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004713 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004714 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004715 </text>
4716
Noah Jacobson81d638d2019-04-28 00:10:07 -04004717 <text style="text_m_accent">
4718 <condition var1="tw_is_fbe" var2="1"/>
4719 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4720 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4721 </text>
4722
z31s1g28f0a922015-11-07 18:50:22 +01004723 <input>
4724 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4725 <text>%tw_crypto_display%</text>
4726 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4727 <restrict minlen="1" maxlen="254"/>
4728 <action function="page">trydecrypt</action>
4729 </input>
4730
4731 <fill color="%accent_color%">
4732 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4733 </fill>
4734
4735 <fill color="%text_fail_color%">
4736 <condition var1="tw_password_fail" var2="1"/>
4737 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4738 </fill>
4739
4740 <text style="text_m_fail">
4741 <condition var1="tw_password_fail" var2="1"/>
4742 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004743 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004744 </text>
4745
4746 <button style="main_button_half_width_low">
4747 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004748 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004749 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004750 </button>
4751
z31s1g608d7ff2016-01-18 19:47:25 +01004752 <button style="main_button_half_width_low">
4753 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4754 <text>{@sel_lang_btn=Select Language}</text>
4755 <action function="overlay">select_language</action>
4756 </button>
4757
z31s1g28f0a922015-11-07 18:50:22 +01004758 <template name="keyboardtemplate"/>
4759 </page>
4760
4761 <page name="decrypt_pattern">
4762 <template name="page"/>
4763
4764 <text style="text_l">
4765 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004766 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004767 </text>
4768
4769 <text style="text_m">
4770 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004771 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004772 </text>
4773
4774 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004775 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004776 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004777 </text>
4778
Aleksa Saraib25a1832015-12-31 17:36:00 +01004779 <text style="text_m_fail">
4780 <condition var1="tw_password_fail" var2="1"/>
4781 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004782 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004783 </text>
4784
z31s1g28f0a922015-11-07 18:50:22 +01004785 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004786 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004787 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4788 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4789 <data name="tw_crypto_password"/>
4790 <action function="page">trydecrypt</action>
4791 </patternpassword>
4792
Aleksa Saraib25a1832015-12-31 17:36:00 +01004793 <button style="main_button_half_width_low">
4794 <placement x="%col_button_right%" y="%row1a_y%"/>
4795 <text>3x3</text>
4796 <action function="set">tw_gui_pattern_grid_size=3</action>
4797 </button>
4798
4799 <button style="main_button_half_width_low">
4800 <placement x="%col_button_right%" y="%row4a_y%"/>
4801 <text>4x4</text>
4802 <action function="set">tw_gui_pattern_grid_size=4</action>
4803 </button>
4804
4805 <button style="main_button_half_width_low">
4806 <placement x="%col_button_right%" y="%row7a_y%"/>
4807 <text>5x5</text>
4808 <action function="set">tw_gui_pattern_grid_size=5</action>
4809 </button>
4810
4811 <button style="main_button_half_width_low">
4812 <placement x="%col_button_right%" y="%row10a_y%"/>
4813 <text>6x6</text>
4814 <action function="set">tw_gui_pattern_grid_size=6</action>
4815 </button>
4816
z31s1g28f0a922015-11-07 18:50:22 +01004817 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004818 <placement x="%col1_x_right%" y="%row15a_y%"/>
4819 <text>{@sel_lang_btn=Select Language}</text>
4820 <action function="overlay">select_language</action>
4821 </button>
4822
4823 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004824 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004825 <text>{@cancel_btn=Cancel}</text>
Captain Throwback89b56a12021-02-10 18:25:07 -05004826 <action function="page">canceldecrypt</action>
z31s1g28f0a922015-11-07 18:50:22 +01004827 </button>
4828 </page>
4829
4830 <page name="trydecrypt">
4831 <template name="page"/>
4832
4833 <text style="text_l">
4834 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004835 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004836 </text>
4837
4838 <text style="text_m">
4839 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004840 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004841 </text>
4842
4843 <template name="console"/>
4844
4845 <template name="progress_bar"/>
4846
4847 <action>
4848 <action function="decrypt"/>
4849 </action>
4850
4851 <action>
4852 <conditions>
4853 <condition var1="tw_operation_state" var2="1"/>
4854 <condition var1="tw_operation_status" op="!=" var2="0"/>
4855 </conditions>
4856 <actions>
4857 <action function="set">tw_password_fail=1</action>
4858 <action function="page">decrypt</action>
4859 </actions>
4860 </action>
4861
4862 <action>
4863 <conditions>
4864 <condition var1="tw_operation_state" var2="1"/>
4865 <condition var1="tw_operation_status" op="=" var2="0"/>
4866 </conditions>
4867 <actions>
4868 <action function="set">tw_page_done=1</action>
4869 <action function="page">main</action>
4870 </actions>
4871 </action>
4872 </page>
4873
Captain Throwback89b56a12021-02-10 18:25:07 -05004874 <page name="canceldecrypt">
4875 <template name="page"/>
4876
4877 <text style="text_l">
4878 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4879 <text>{@cancel_btn=Cancel}</text>
4880 </text>
4881
4882 <text style="text_m">
4883 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4884 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
4885 </text>
4886
4887 <template name="console"/>
4888
4889 <template name="progress_bar"/>
4890
4891 <action>
4892 <action function="refreshsizes"/>
4893 </action>
4894
4895 <action>
4896 <conditions>
4897 <condition var1="tw_operation_state" var2="1"/>
4898 </conditions>
4899 <actions>
4900 <action function="set">tw_page_done=1</action>
4901 <action function="page">main</action>
4902 </actions>
4903 </action>
4904 </page>
4905
z31s1g28f0a922015-11-07 18:50:22 +01004906 <page name="terminalcommand">
4907 <template name="page"/>
4908
4909 <fill color="%background_color%">
4910 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4911 </fill>
4912
z31s1g56189522016-01-13 19:12:40 +01004913 <terminal>
4914 <condition var1="tw_hide_kb" var2="0"/>
4915 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4916 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004917
z31s1g56189522016-01-13 19:12:40 +01004918 <terminal>
4919 <condition var1="tw_hide_kb" var2="1"/>
4920 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4921 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004922
z31s1g56189522016-01-13 19:12:40 +01004923 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004924
z31s1g56189522016-01-13 19:12:40 +01004925 <object type="fill" color="#000000">
4926 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4927 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004928
z31s1g608d7ff2016-01-18 19:47:25 +01004929 <button>
z31s1g56189522016-01-13 19:12:40 +01004930 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4931 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4932 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4933 <image resource="back" />
4934 <condition var1="tw_busy" var2="0" />
4935 <actions>
4936 <action function="set">tw_hide_kb=0</action>
4937 <action function="page">advanced</action>
4938 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004939 </button>
z31s1g56189522016-01-13 19:12:40 +01004940
z31s1g608d7ff2016-01-18 19:47:25 +01004941 <button>
z31s1g56189522016-01-13 19:12:40 +01004942 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4943 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4944 <condition var1="tw_hide_kb" op="=" var2="0" />
4945 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4946 <image resource="kb_hide" />
4947 <condition var1="tw_busy" var2="0" />
4948 <actions>
4949 <action function="set">tw_hide_kb=1</action>
4950 <action function="page">terminalcommand</action>
4951 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004952 </button>
z31s1g56189522016-01-13 19:12:40 +01004953
z31s1g608d7ff2016-01-18 19:47:25 +01004954 <button>
z31s1g56189522016-01-13 19:12:40 +01004955 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4956 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4957 <condition var1="tw_hide_kb" op="=" var2="1" />
4958 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4959 <image resource="kb_show" />
4960 <condition var1="tw_busy" var2="0" />
4961 <actions>
4962 <action function="set">tw_hide_kb=0</action>
4963 <action function="page">terminalcommand</action>
4964 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004965 </button>
z31s1g56189522016-01-13 19:12:40 +01004966
z31s1g608d7ff2016-01-18 19:47:25 +01004967 <button>
z31s1g56189522016-01-13 19:12:40 +01004968 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4969 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4970 <image resource="home" />
4971 <condition var1="tw_busy" var2="0" />
4972 <actions>
4973 <action function="set">tw_hide_kb=0</action>
4974 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00004975 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004976 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004977 </button>
z31s1g56189522016-01-13 19:12:40 +01004978
z31s1g608d7ff2016-01-18 19:47:25 +01004979 <button>
z31s1g56189522016-01-13 19:12:40 +01004980 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4981 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4982 <condition var1="tw_hide_kb" op="=" var2="0" />
4983 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4984 <image resource="kb_hide" />
4985 <condition var1="tw_busy" var2="0" />
4986 <actions>
4987 <action function="set">tw_hide_kb=1</action>
4988 <action function="page">terminalcommand</action>
4989 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004990 </button>
z31s1g56189522016-01-13 19:12:40 +01004991
z31s1g608d7ff2016-01-18 19:47:25 +01004992 <button>
z31s1g56189522016-01-13 19:12:40 +01004993 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4994 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4995 <condition var1="tw_hide_kb" op="=" var2="1" />
4996 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4997 <image resource="kb_show" />
4998 <condition var1="tw_busy" var2="0" />
4999 <actions>
5000 <action function="set">tw_hide_kb=0</action>
5001 <action function="page">terminalcommand</action>
5002 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005003 </button>
z31s1g56189522016-01-13 19:12:40 +01005004
z31s1g608d7ff2016-01-18 19:47:25 +01005005 <button>
z31s1g56189522016-01-13 19:12:40 +01005006 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5007 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5008 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5009 <image resource="back" />
5010 <condition var1="tw_busy" var2="0" />
5011 <actions>
5012 <action function="set">tw_hide_kb=0</action>
5013 <action function="page">advanced</action>
5014 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005015 </button>
z31s1g56189522016-01-13 19:12:40 +01005016
z31s1g608d7ff2016-01-18 19:47:25 +01005017 <button>
z31s1g56189522016-01-13 19:12:40 +01005018 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5019 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5020 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5021 <image resource="back" />
5022 <condition var1="tw_busy" var2="0" />
5023 <actions>
5024 <action function="set">tw_hide_kb=0</action>
5025 <action function="page">advanced</action>
5026 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005027 </button>
z31s1g56189522016-01-13 19:12:40 +01005028
z31s1g608d7ff2016-01-18 19:47:25 +01005029 <button>
z31s1g56189522016-01-13 19:12:40 +01005030 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5031 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5032 <condition var1="tw_hide_kb" op="=" var2="0" />
5033 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5034 <image resource="kb_hide" />
5035 <condition var1="tw_busy" var2="0" />
5036 <actions>
5037 <action function="set">tw_hide_kb=1</action>
5038 <action function="page">terminalcommand</action>
5039 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005040 </button>
z31s1g56189522016-01-13 19:12:40 +01005041
z31s1g608d7ff2016-01-18 19:47:25 +01005042 <button>
z31s1g56189522016-01-13 19:12:40 +01005043 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5044 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5045 <condition var1="tw_hide_kb" op="=" var2="1" />
5046 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5047 <image resource="kb_show" />
5048 <condition var1="tw_busy" var2="0" />
5049 <actions>
5050 <action function="set">tw_hide_kb=0</action>
5051 <action function="page">terminalcommand</action>
5052 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005053 </button>
z31s1g56189522016-01-13 19:12:40 +01005054
z31s1g608d7ff2016-01-18 19:47:25 +01005055 <button>
z31s1g56189522016-01-13 19:12:40 +01005056 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5057 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5058 <image resource="home" />
5059 <condition var1="tw_busy" var2="0" />
5060 <actions>
5061 <action function="set">tw_hide_kb=0</action>
5062 <action function="key">home</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005063 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005064 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005065 </button>
z31s1g56189522016-01-13 19:12:40 +01005066
z31s1g608d7ff2016-01-18 19:47:25 +01005067 <button>
z31s1g56189522016-01-13 19:12:40 +01005068 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5069 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5070 <condition var1="tw_hide_kb" op="=" var2="0" />
5071 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5072 <image resource="kb_hide" />
5073 <condition var1="tw_busy" var2="0" />
5074 <actions>
5075 <action function="set">tw_hide_kb=1</action>
5076 <action function="page">terminalcommand</action>
5077 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005078 </button>
z31s1g56189522016-01-13 19:12:40 +01005079
z31s1g608d7ff2016-01-18 19:47:25 +01005080 <button>
z31s1g56189522016-01-13 19:12:40 +01005081 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5082 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5083 <condition var1="tw_hide_kb" op="=" var2="1" />
5084 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5085 <image resource="kb_show" />
5086 <condition var1="tw_busy" var2="0" />
5087 <actions>
5088 <action function="set">tw_hide_kb=0</action>
5089 <action function="page">terminalcommand</action>
5090 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005091 </button>
z31s1g56189522016-01-13 19:12:40 +01005092
z31s1g608d7ff2016-01-18 19:47:25 +01005093 <button>
z31s1g56189522016-01-13 19:12:40 +01005094 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5095 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5096 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5097 <image resource="back" />
5098 <condition var1="tw_busy" var2="0" />
5099 <actions>
5100 <action function="set">tw_hide_kb=0</action>
5101 <action function="page">advanced</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005102 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005103 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005104 </button>
z31s1g56189522016-01-13 19:12:40 +01005105
z31s1g608d7ff2016-01-18 19:47:25 +01005106 <button>
z31s1g56189522016-01-13 19:12:40 +01005107 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5108 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5109 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5110 <image resource="back" />
5111 <condition var1="tw_busy" var2="0" />
5112 <actions>
5113 <action function="set">tw_hide_kb=0</action>
5114 <action function="page">advanced</action>
5115 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005116 </button>
z31s1g56189522016-01-13 19:12:40 +01005117
z31s1g608d7ff2016-01-18 19:47:25 +01005118 <button>
z31s1g56189522016-01-13 19:12:40 +01005119 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5120 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5121 <condition var1="tw_hide_kb" op="=" var2="0" />
5122 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5123 <image resource="kb_hide" />
5124 <condition var1="tw_busy" var2="0" />
5125 <actions>
5126 <action function="set">tw_hide_kb=1</action>
5127 <action function="page">terminalcommand</action>
5128 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005129 </button>
z31s1g56189522016-01-13 19:12:40 +01005130
z31s1g608d7ff2016-01-18 19:47:25 +01005131 <button>
z31s1g56189522016-01-13 19:12:40 +01005132 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5133 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5134 <condition var1="tw_hide_kb" op="=" var2="1" />
5135 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5136 <image resource="kb_show" />
5137 <condition var1="tw_busy" var2="0" />
5138 <actions>
5139 <action function="set">tw_hide_kb=0</action>
5140 <action function="page">terminalcommand</action>
5141 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005142 </button>
z31s1g56189522016-01-13 19:12:40 +01005143
z31s1g608d7ff2016-01-18 19:47:25 +01005144 <button>
z31s1g56189522016-01-13 19:12:40 +01005145 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5146 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5147 <image resource="home" />
5148 <condition var1="tw_busy" var2="0" />
5149 <actions>
5150 <action function="set">tw_hide_kb=0</action>
5151 <action function="key">home</action>
5152 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005153 </button>
z31s1g56189522016-01-13 19:12:40 +01005154
z31s1g608d7ff2016-01-18 19:47:25 +01005155 <button>
z31s1g56189522016-01-13 19:12:40 +01005156 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5157 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5158 <condition var1="tw_hide_kb" op="=" var2="0" />
5159 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5160 <image resource="kb_hide" />
5161 <condition var1="tw_busy" var2="0" />
5162 <actions>
5163 <action function="set">tw_hide_kb=1</action>
5164 <action function="page">terminalcommand</action>
5165 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005166 </button>
z31s1g56189522016-01-13 19:12:40 +01005167
z31s1g608d7ff2016-01-18 19:47:25 +01005168 <button>
z31s1g56189522016-01-13 19:12:40 +01005169 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5170 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5171 <condition var1="tw_hide_kb" op="=" var2="1" />
5172 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5173 <image resource="kb_show" />
5174 <condition var1="tw_busy" var2="0" />
5175 <actions>
5176 <action function="set">tw_hide_kb=0</action>
5177 <action function="page">terminalcommand</action>
5178 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005179 </button>
z31s1g56189522016-01-13 19:12:40 +01005180
z31s1g608d7ff2016-01-18 19:47:25 +01005181 <button>
z31s1g56189522016-01-13 19:12:40 +01005182 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5183 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5184 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5185 <image resource="back" />
5186 <condition var1="tw_busy" var2="0" />
5187 <actions>
5188 <action function="set">tw_hide_kb=0</action>
5189 <action function="page">advanced</action>
5190 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005191 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005192
5193 <action>
5194 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005195 <actions>
5196 <action function="page">main</action>
5197 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005198 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005199 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005200 </action>
5201
5202 <action>
5203 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005204 <actions>
5205 <action function="page">advanced</action>
5206 <action function="set">tw_hide_kb=0</action>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005207 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01005208 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005209 </action>
z31s1g56189522016-01-13 19:12:40 +01005210
5211 <object type="action">
5212 <touch key="power+voldown" />
5213 <action function="screenshot" />
5214 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005215 </page>
Mohd Faraz77bbeb02020-08-12 12:29:42 +00005216
bigbiffdf8436b2020-08-30 16:22:34 -04005217 <page name="fastboot">
5218 <template name="page"/>
5219
5220 <text style="text_l">
5221 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5222 <text>{@fastboot_button=Fastboot}</text>
5223 </text>
5224
5225 <template name="console"/>
5226
5227 <template name="progress_bar"/>
5228
5229 <button style="main_button_half_width">
5230 <condition var1="tw_enable_fastboot" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005231 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005232 <text>{@enable_adb=Enable ADB}</text>
5233 <actions>
5234 <action function="enableadb"/>
5235 <action function="set">tw_enable_adb=1</action>
5236 <action function="set">tw_enable_fastboot=0</action>
5237 </actions>
5238 </button>
5239
5240 <button style="main_button_half_width">
5241 <condition var1="tw_enable_adb" op="=" var2="1" />
bigbiff7138a0f2020-10-24 19:52:25 -04005242 <placement x="%col1_x_left%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005243 <text>{@enable_fastboot=Enable Fastboot}</text>
5244 <actions>
5245 <action function="enablefastboot"/>
5246 <action function="set">tw_enable_fastboot=1</action>
5247 <action function="set">tw_enable_adb=0</action>
5248 </actions>
5249 </button>
5250
5251 <button style="main_button_half_width">
bigbiff7138a0f2020-10-24 19:52:25 -04005252 <placement x="%col2_x_right%" y="%row15a_y%"/>
bigbiffdf8436b2020-08-30 16:22:34 -04005253 <text>{@reboot_btn=Reboot}</text>
5254 <action function="page">fastbootreboot</action>
5255 </button>
5256 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005257
5258 <page name="sideload">
5259 <template name="page"/>
5260
5261 <text style="text_l">
5262 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005263 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005264 </text>
5265
5266 <text style="text_m">
5267 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005268 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005269 </text>
5270
5271 <checkbox>
5272 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005273 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005274 <data variable="tw_wipe_dalvik"/>
5275 </checkbox>
5276
5277 <checkbox>
5278 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005279 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005280 <data variable="tw_wipe_cache"/>
5281 </checkbox>
5282
5283 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005284 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005285 <actions>
5286 <action function="set">tw_back=advanced</action>
5287 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005288 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5289 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5290 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005291 <action function="set">tw_has_cancel=1</action>
5292 <action function="set">tw_show_reboot=1</action>
5293 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5294 <action function="page">action_page</action>
5295 </actions>
5296 </slider>
5297
5298 <action>
5299 <touch key="home"/>
5300 <action function="page">main</action>
5301 </action>
5302
5303 <action>
5304 <touch key="back"/>
5305 <action function="page">advanced</action>
5306 </action>
5307 </page>
5308
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005309 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005310 <template name="page"/>
5311
5312 <text style="text_l">
5313 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005314 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005315 </text>
5316
5317 <text style="text_m">
5318 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005319 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005320 </text>
5321
5322 <text style="text_m_accent">
5323 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005324 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005325 </text>
5326
z31s1g28f0a922015-11-07 18:50:22 +01005327 <text style="text_m_fail">
5328 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005329 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005330 </text>
5331
5332 <text style="text_m_fail">
5333 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005334 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005335 </text>
5336
5337 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005338 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005339 <actions>
5340 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005341 <action function="set">tw_action=fixcontexts</action>
5342 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5343 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005344 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005345 <action function="set">tw_show_reboot=1</action>
5346 <action function="page">action_page</action>
5347 </actions>
5348 </slider>
5349
5350 <action>
5351 <touch key="home"/>
5352 <action function="page">main</action>
5353 </action>
5354
5355 <action>
5356 <touch key="back"/>
5357 <action function="page">advanced</action>
5358 </action>
5359 </page>
5360
z31s1g28f0a922015-11-07 18:50:22 +01005361 <page name="slideout">
5362 <fill color="%background_color%">
5363 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5364 </fill>
5365
5366 <console>
5367 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5368 </console>
5369
5370 <button>
5371 <fill color="%transparent%"/>
5372 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5373 <action function="overlay"/>
5374 </button>
5375
5376 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005377 <touch key="power"/>
5378 <action function="togglebacklight"/>
5379 </action>
5380
5381 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005382 <touch key="power+voldown"/>
5383 <action function="screenshot"/>
5384 </action>
5385 </page>
5386
5387 <page name="select_storage">
5388 <fill color="%semi_transparent%">
5389 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5390 </fill>
5391
5392 <fill color="%background_color%">
5393 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5394 </fill>
5395
5396 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005397 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005398 <data name="tw_storage_path"/>
5399 <listtype name="storage"/>
5400 </partitionlist>
5401
5402 <button style="button_third_width">
5403 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005404 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005405 <actions>
5406 <action function="set">tw_clear_destination=%tw_back%</action>
5407 <action function="overlay"/>
5408 <action function="page">clear_vars</action>
5409 </actions>
5410 </button>
5411
5412 <fill color="#000000">
5413 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5414 </fill>
5415
5416 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005417 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5418 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5419 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5420 <image resource="back" />
5421 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005422 <actions>
5423 <action function="overlay"/>
5424 <action function="key">%tw_back%</action>
5425 </actions>
5426 </button>
5427
5428 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005429 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5430 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5431 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5432 <image resource="console" />
5433 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005434 <action function="overlay">slideout</action>
5435 </button>
5436
5437 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005438 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5439 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5440 <image resource="home" />
5441 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005442 <actions>
5443 <action function="overlay"/>
5444 <action function="key">home</action>
5445 </actions>
5446 </button>
5447
5448 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005449 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5450 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5451 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5452 <image resource="console" />
5453 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005454 <action function="overlay">slideout</action>
5455 </button>
5456
5457 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005458 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5459 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5460 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5461 <image resource="back" />
5462 <condition var1="tw_busy" var2="0" />
5463 <actions>
5464 <action function="overlay"/>
5465 <action function="key">%tw_back%</action>
5466 </actions>
5467 </button>
5468
5469 <button>
5470 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5471 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5472 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5473 <image resource="back" />
5474 <condition var1="tw_busy" var2="0" />
5475 <actions>
5476 <action function="overlay"/>
5477 <action function="key">%tw_back%</action>
5478 </actions>
5479 </button>
5480
5481 <button>
5482 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5483 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5484 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5485 <image resource="console" />
5486 <condition var1="tw_busy" var2="0" />
5487 <action function="overlay">slideout</action>
5488 </button>
5489
5490 <button>
5491 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5492 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5493 <image resource="home" />
5494 <condition var1="tw_busy" var2="0" />
5495 <actions>
5496 <action function="overlay"/>
5497 <action function="key">home</action>
5498 </actions>
5499 </button>
5500
5501 <button>
5502 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5503 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5504 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5505 <image resource="console" />
5506 <condition var1="tw_busy" var2="0" />
5507 <action function="overlay">slideout</action>
5508 </button>
5509
5510 <button>
5511 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5512 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5513 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5514 <image resource="back" />
5515 <condition var1="tw_busy" var2="0" />
5516 <actions>
5517 <action function="overlay"/>
5518 <action function="key">%tw_back%</action>
5519 </actions>
5520 </button>
5521
5522 <button>
5523 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5524 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5525 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5526 <image resource="back" />
5527 <condition var1="tw_busy" var2="0" />
5528 <actions>
5529 <action function="overlay"/>
5530 <action function="key">%tw_back%</action>
5531 </actions>
5532 </button>
5533
5534 <button>
5535 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5536 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5537 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5538 <image resource="console" />
5539 <condition var1="tw_busy" var2="0" />
5540 <action function="overlay">slideout</action>
5541 </button>
5542
5543 <button>
5544 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5545 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5546 <image resource="home" />
5547 <condition var1="tw_busy" var2="0" />
5548 <actions>
5549 <action function="overlay"/>
5550 <action function="key">home</action>
5551 </actions>
5552 </button>
5553
5554 <button>
5555 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5556 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5557 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5558 <image resource="console" />
5559 <condition var1="tw_busy" var2="0" />
5560 <action function="overlay">slideout</action>
5561 </button>
5562
5563 <button>
5564 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5565 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5566 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5567 <image resource="back" />
5568 <condition var1="tw_busy" var2="0" />
5569 <actions>
5570 <action function="overlay"/>
5571 <action function="key">%tw_back%</action>
5572 </actions>
5573 </button>
5574
5575 <action>
5576 <touch key="power+voldown"/>
5577 <action function="screenshot"/>
5578 </action>
5579 </page>
5580
5581 <page name="select_language">
5582 <fill color="%semi_transparent%">
5583 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5584 </fill>
5585
5586 <fill color="%background_color%">
5587 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5588 </fill>
5589
5590 <listbox>
5591 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5592 <text>{@select_language=Select Language:}</text>
5593 <icon selected="radio_true" unselected="radio_false" />
5594 <data name="tw_language" />
5595 </listbox>
5596
5597 <button style="button_third_width">
5598 <placement x="%dialog_button_x%" y="%row13_y%"/>
5599 <text>{@ok_btn=OK}</text>
5600 <actions>
5601 <action function="overlay"/>
5602 <action function="setlanguage"></action>
5603 </actions>
5604 </button>
5605
5606 <fill color="#000000">
5607 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5608 </fill>
5609
5610 <button>
5611 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5612 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5613 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5614 <image resource="back" />
5615 <condition var1="tw_busy" var2="0" />
5616 <actions>
5617 <action function="overlay"/>
5618 <action function="key">%tw_back%</action>
5619 </actions>
5620 </button>
5621
5622 <button>
5623 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5624 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5625 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5626 <image resource="console" />
5627 <condition var1="tw_busy" var2="0" />
5628 <action function="overlay">slideout</action>
5629 </button>
5630
5631 <button>
5632 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5633 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5634 <image resource="home" />
5635 <condition var1="tw_busy" var2="0" />
5636 <actions>
5637 <action function="overlay"/>
5638 <action function="key">home</action>
5639 </actions>
5640 </button>
5641
5642 <button>
5643 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5644 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5645 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5646 <image resource="console" />
5647 <condition var1="tw_busy" var2="0" />
5648 <action function="overlay">slideout</action>
5649 </button>
5650
5651 <button>
5652 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5653 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5654 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5655 <image resource="back" />
5656 <condition var1="tw_busy" var2="0" />
5657 <actions>
5658 <action function="overlay"/>
5659 <action function="key">%tw_back%</action>
5660 </actions>
5661 </button>
5662
5663 <button>
5664 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5665 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5666 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5667 <image resource="back" />
5668 <condition var1="tw_busy" var2="0" />
5669 <actions>
5670 <action function="overlay"/>
5671 <action function="key">%tw_back%</action>
5672 </actions>
5673 </button>
5674
5675 <button>
5676 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5677 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5678 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5679 <image resource="console" />
5680 <condition var1="tw_busy" var2="0" />
5681 <action function="overlay">slideout</action>
5682 </button>
5683
5684 <button>
5685 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5686 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5687 <image resource="home" />
5688 <condition var1="tw_busy" var2="0" />
5689 <actions>
5690 <action function="overlay"/>
5691 <action function="key">home</action>
5692 </actions>
5693 </button>
5694
5695 <button>
5696 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5697 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5698 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5699 <image resource="console" />
5700 <condition var1="tw_busy" var2="0" />
5701 <action function="overlay">slideout</action>
5702 </button>
5703
5704 <button>
5705 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5706 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5707 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5708 <image resource="back" />
5709 <condition var1="tw_busy" var2="0" />
5710 <actions>
5711 <action function="overlay"/>
5712 <action function="key">%tw_back%</action>
5713 </actions>
5714 </button>
5715
5716 <button>
5717 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5718 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5719 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5720 <image resource="back" />
5721 <condition var1="tw_busy" var2="0" />
5722 <actions>
5723 <action function="overlay"/>
5724 <action function="key">%tw_back%</action>
5725 </actions>
5726 </button>
5727
5728 <button>
5729 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5730 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5731 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5732 <image resource="console" />
5733 <condition var1="tw_busy" var2="0" />
5734 <action function="overlay">slideout</action>
5735 </button>
5736
5737 <button>
5738 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5739 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5740 <image resource="home" />
5741 <condition var1="tw_busy" var2="0" />
5742 <actions>
5743 <action function="overlay"/>
5744 <action function="key">home</action>
5745 </actions>
5746 </button>
5747
5748 <button>
5749 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5750 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5751 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5752 <image resource="console" />
5753 <condition var1="tw_busy" var2="0" />
5754 <action function="overlay">slideout</action>
5755 </button>
5756
5757 <button>
5758 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5759 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5760 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5761 <image resource="back" />
5762 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005763 <actions>
5764 <action function="overlay"/>
5765 <action function="key">%tw_back%</action>
5766 </actions>
5767 </button>
5768
5769 <action>
5770 <touch key="power+voldown"/>
5771 <action function="screenshot"/>
5772 </action>
5773 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005774
5775 <page name="decrypt_users">
5776 <template name="page"/>
5777
5778 <text style="text_l">
5779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5780 <text>{@decrypt_users=Decrypt Users}</text>
5781 </text>
5782
5783 <text style="text_m_accent">
5784 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5785 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5786 </text>
5787
5788 <listbox>
5789 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5790 <text>{@select_user=Select User}</text>
5791 <icon selected="radio_true" unselected="radio_false" />
5792 <data name="tw_crypto_user_id" />
5793 </listbox>
5794
5795 <button style="main_button_half_width">
5796 <placement x="%col2_x_right%" y="%row15a_y%"/>
5797 <text>{@decrypt_users=Decrypt Users}</text>
5798 <action function="set">tw_crypto_password=</action>
5799 <action function="set">tw_password_fail=0</action>
5800 <action function="page">decrypt</action>
5801 </button>
5802
5803 <action>
5804 <touch key="home"/>
5805 <action function="page">main</action>
5806 </action>
5807
5808 <action>
5809 <touch key="back"/>
5810 <action function="page">advanced</action>
5811 </action>
5812 </page>
epicXa721f952021-01-04 13:01:31 +05305813
5814 <page name="changeTwrpFolder">
5815 <template name="page"/>
5816
5817 <text style="text_l">
5818 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5819 <text>{@advanced_hdr=Advanced}</text>
5820 </text>
5821
5822 <text style="text_m">
5823 <placement x="%col1_x_header%" y="%row4_header_y%"/>
5824 <text>{@change_twrp_folder_btn=Change TWRP folder}</text>
5825 </text>
5826
5827 <text style="text_m_accent">
5828 <placement x="%col1_x_left%" y="%row2_y%"/>
5829 <text>{@name=Name:}</text>
5830 </text>
5831
5832 <input>
5833 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
5834 <text>%tw_custom_folder%</text>
5835 <data name="tw_custom_folder"/>
5836 <restrict minlen="1" maxlen="64" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"/>
5837 <actions>
5838 <action function="set">tw_back=changeTwrpFolder</action>
5839 <action function="set">tw_action=applycustomtwrpfolder</action>
5840 <action function="set">tw_action_param=%tw_custom_folder%</action>
5841 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5842 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5843 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5844 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} %tw_custom_folder%</action>
5845 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5846 <action function="set">tw_filecheck=/sdcard/%tw_custom_folder%</action>
5847 <action function="set">tw_existpage=changeTwrpFolder</action>
5848 <action function="set">tw_notexistpage=confirm_action</action>
5849 <action function="page">filecheck</action>
5850 </actions>
5851 </input>
5852
5853 <fill color="%accent_color%">
5854 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5855 </fill>
5856
5857 <fill color="%text_fail_color%">
5858 <condition var1="tw_fileexists" var2="1"/>
5859 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
5860 </fill>
5861
5862 <text style="text_m_fail">
5863 <condition var1="tw_fileexists" var2="1"/>
5864 <placement x="%col1_x_left%" y="%row4_y%"/>
5865 <text>{@tw_folder_exists=A folder with that name already exists!}</text>
5866 </text>
5867
5868 <button style="main_button_half_width_low">
5869 <placement x="%indent%" y="%row5_y%"/>
5870 <text>{@cancel_btn=Cancel}</text>
5871 <action function="page">advanced</action>
5872 </button>
5873
5874 <button style="main_button_half_width_low">
5875 <condition var1="tw_recovery_folder" op="!=" var2="/TWRP"/>
5876 <placement x="%date_button_x%" y="%row5_y%"/>
5877 <text>{@restore_defaults_btn=Restore Defaults}</text>
5878 <actions>
5879 <action function="set">tw_back=changeTwrpFolder</action>
5880 <action function="set">tw_action=applycustomtwrpfolder</action>
5881 <action function="set">tw_action_param=TWRP</action>
5882 <action function="set">tw_text1={@confirm_action=Confirm}</action>
5883 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
5884 <action function="set">tw_action_text1={@change_twrp_folder_on_process=Changing TWRP folder}</action>
5885 <action function="set">tw_complete_text1={@change_twrp_folder_after_process=TWRP folder changed to} TWRP</action>
5886 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
5887 <action function="set">tw_filecheck=/sdcard/TWRP</action>
5888 <action function="set">tw_existpage=changeTwrpFolder</action>
5889 <action function="set">tw_notexistpage=confirm_action</action>
5890 <action function="page">filecheck</action>
5891 </actions>
5892 </button>
5893
5894 <template name="keyboardtemplate"/>
5895
5896 <action>
5897 <touch key="home"/>
5898 <actions>
5899 <action function="page">main</action>
5900 </actions>
5901 </action>
5902
5903 <action>
5904 <touch key="back"/>
5905 <actions>
5906 <action function="page">advanced</action>
5907 </actions>
5908 </action>
5909 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005910 </pages>
5911</recovery>