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