blob: 17977e2cd49e8424fe1640c6873b0bf7a952cdfa [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"/>
z31s1g28f0a922015-11-07 18:50:22 +0100314 <path name="tw_zip_location" default="/sdcard"/>
315 <data name="tw_filename"/>
316 <selection name="tw_file"/>
317 </fileselector>
318
319 <fileselector>
320 <condition var1="tw_selectimage" var2="1"/>
321 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
322 <text>%tw_zip_location%</text>
323 <filter extn=".img" folders="0" files="1"/>
324 <path name="tw_zip_location" default="/sdcard"/>
325 <data name="tw_filename"/>
326 <selection name="tw_file"/>
327 </fileselector>
328
329 <button style="main_button_half_width_low">
330 <condition var1="tw_selectimage" var2="0"/>
331 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500332 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100333 <actions>
334 <action function="set">tw_selectimage=1</action>
335 <action function="page">install</action>
336 </actions>
337 </button>
338
339 <button style="main_button_half_width_low">
340 <condition var1="tw_selectimage" var2="1"/>
341 <placement x="%col_button_right%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500342 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100343 <actions>
344 <action function="set">tw_selectimage=0</action>
345 <action function="page">install</action>
346 </actions>
347 </button>
348
349 <button style="main_button_half_width_low">
350 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500351 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100352 <actions>
353 <action function="set">tw_back=install</action>
354 <action function="overlay">select_storage</action>
355 </actions>
356 </button>
357
358 <action>
359 <conditions>
360 <condition var1="tw_selectimage" var2="0"/>
361 <condition var1="tw_filename" op="modified"/>
362 </conditions>
363 <actions>
364 <action function="queuezip"/>
365 <action function="page">flash_confirm</action>
366 </actions>
367 </action>
368
369 <action>
370 <conditions>
371 <condition var1="tw_selectimage" var2="1"/>
372 <condition var1="tw_filename" op="modified"/>
373 </conditions>
374 <action function="page">flashimage_confirm</action>
375 </action>
376
377 <action>
378 <touch key="back"/>
379 <action function="page">main</action>
380 </action>
381
382 <action>
383 <touch key="home"/>
384 <action function="page">main</action>
385 </action>
386 </page>
387
388 <page name="flash_confirm">
389 <template name="page"/>
390
391 <text style="text_l">
392 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500393 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100394 </text>
395
396 <text style="text_m">
397 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500398 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100399 </text>
400
401 <text style="text_m_accent">
402 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500403 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100404 </text>
405
406 <text style="text_m_accent">
407 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 </text>
410
411 <text style="text_m">
412 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500413 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100414 </text>
415
416 <text style="text_m_accent">
417 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500418 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100419 </text>
420
421 <text style="text_m">
422 <placement x="%col1_x_left%" y="%row9_y%"/>
423 <text>%tw_zip_location%</text>
424 </text>
425
426 <text style="text_m_accent">
427 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 </text>
430
431 <text style="text_m">
432 <placement x="%col1_x_left%" y="%row12_y%"/>
433 <text>%tw_file%</text>
434 </text>
435
436 <text style="text_m_accent">
437 <placement x="%col1_x_right%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500438 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100439 </text>
440
441 <checkbox>
442 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500443 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100444 <data variable="tw_signed_zip_verify"/>
445 </checkbox>
446
447 <checkbox>
448 <condition var1="tw_has_injecttwrp" var2="1"/>
449 <placement x="%col1_x_right%" y="%row10a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500450 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100451 <data variable="tw_inject_after_zip"/>
452 </checkbox>
453
bigbiffa869fc72016-03-01 19:40:36 -0500454 <checkbox>
Matt Mower8dc25b72016-04-25 23:06:53 -0500455 <placement x="%col1_x_right%" y="%row12_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500456 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mower8dc25b72016-04-25 23:06:53 -0500457 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500458 </checkbox>
459
z31s1g28f0a922015-11-07 18:50:22 +0100460 <button style="main_button_half_width">
461 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500462 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100463 <action function="page">install</action>
464 </button>
465
466 <button style="main_button_half_width">
467 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500468 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100469 <actions>
470 <action function="queueclear"/>
471 <action function="page">install</action>
472 </actions>
473 </button>
474
475 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500476 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100477 <action function="flash">flash_zip</action>
478 </slider>
479
480 <action>
481 <touch key="back"/>
482 <actions>
483 <action function="cancelzip"/>
484 <action function="page">install</action>
485 </actions>
486 </action>
487
488 <action>
489 <touch key="home"/>
490 <action function="page">main</action>
491 </action>
492 </page>
493
494 <page name="flash_zip">
495 <template name="page"/>
496
497 <text style="text_l">
498 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500499 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100500 </text>
501
502 <text style="text_m">
503 <placement x="%col1_x_header%" y="%row4_header_y%"/>
504 <text>%tw_file%</text>
505 </text>
506
507 <template name="console"/>
508
509 <template name="progress_bar"/>
510
511 <action>
512 <condition var1="tw_operation_state" var2="1"/>
513 <action function="page">flash_done</action>
514 </action>
515 </page>
516
517 <page name="flash_done">
518 <template name="page"/>
519
520 <text style="text_l">
521 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500522 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100523 </text>
524
525 <text style="text_m_fail">
526 <condition var1="tw_operation_status" op="!=" var2="0"/>
527 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500528 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100529 </text>
530
531 <text style="text_m">
532 <condition var1="tw_operation_status" var2="0"/>
533 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500534 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100535 </text>
536
537 <template name="console"/>
538
539 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500540 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100541 <placement x="%col2_x_left%" y="%row15a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500542 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100543 <actions>
544 <action function="set">tw_back=flash_done</action>
545 <action function="set">tw_action=wipe</action>
546 <action function="set">tw_action_param=/cache</action>
547 <action function="set">tw_has_action2=1</action>
548 <action function="set">tw_action2=wipe</action>
549 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500550 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
551 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
552 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
553 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100554 <action function="page">confirm_action</action>
555 </actions>
556 </button>
557
558 <button style="main_button_half_width">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500559 <condition var1="tw_ab_device" var2="1"/>
560 <placement x="%indent%" y="%row21a_y%"/>
561 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
562 <actions>
563 <action function="set">tw_back=flash_done</action>
564 <action function="set">tw_action=wipe</action>
565 <action function="set">tw_action_param=dalvik</action>
566 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
567 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
568 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
569 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
570 <action function="page">confirm_action</action>
571 </actions>
572 </button>
573
574 <button style="main_button_half_width">
Chaosmaster90df3de2020-02-07 20:33:43 +0100575 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100576 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500577 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100578 <actions>
579 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500580 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100581 </actions>
582 </button>
583
Chaosmaster90df3de2020-02-07 20:33:43 +0100584 <button style="main_button_half_width">
585 <condition var1="tw_ab_device" var2="1"/>
586 <placement x="%center_x%" y="%row15a_y%"/>
587 <text>{@reboot_btn=Reboot}</text>
588 <actions>
589 <action function="set">tw_back=main2</action>
590 <action function="page">reboot</action>
591 </actions>
592 </button>
593
594
z31s1g28f0a922015-11-07 18:50:22 +0100595 <action>
596 <touch key="back"/>
597 <actions>
598 <action function="set">tw_clear_destination=install</action>
599 <action function="page">clear_vars</action>
600 </actions>
601 </action>
602
603 <action>
604 <touch key="home"/>
605 <actions>
606 <action function="set">tw_clear_destination=main2</action>
607 <action function="page">clear_vars</action>
608 </actions>
609 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500610
611 <action>
612 <conditions>
613 <condition var1="tw_install_reboot" var2="1"/>
614 <condition var1="tw_operation_status" var2="0"/>
615 <condition var1="tw_reboot_system" var2="1"/>
616 </conditions>
617 <actions>
618 <action function="set">tw_sleep=%tw_sleep_total%</action>
619 <action function="page">flash_sleep_and_reboot</action>
620 </actions>
621 </action>
622 </page>
623
624 <page name="flash_sleep_and_reboot">
625 <template name="page"/>
626
627 <text style="text_l">
628 <placement x="%col1_x_header%" y="%row3_header_y%"/>
629 <text>{@install_zip_hdr=Install Zip}</text>
630 </text>
631
632 <text style="text_m">
633 <placement x="%col1_x_header%" y="%row4_header_y%"/>
634 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
635 </text>
636
637 <template name="console"/>
638
639 <template name="progress_bar"/>
640
641 <button style="main_button_half_width">
642 <condition var1="tw_sleep" op="&gt;" var2="0"/>
643 <placement x="%center_x%" y="%row15a_y%"/>
644 <text>{@cancel_btn=Cancel}</text>
645 <actions>
646 <action function="set">tw_install_reboot=0</action>
647 <action function="page">flash_done</action>
648 </actions>
649 </button>
650
651 <action>
652 <conditions>
653 <condition var1="tw_sleep" var2="tw_sleep_total"/>
654 <condition var1="tw_install_reboot" var2="1"/>
655 </conditions>
656 <action function="sleepcounter">%tw_sleep_total%</action>
657 </action>
658
659 <action>
660 <conditions>
661 <condition var1="tw_sleep" var2="0"/>
662 <condition var1="tw_install_reboot" var2="1"/>
663 </conditions>
664 <actions>
665 <action function="sleep">50000</action>
666 <action function="set">tw_back=main2</action>
667 <action function="page">reboot_system_routine</action>
668 </actions>
669 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100670 </page>
671
672 <page name="flashimage_confirm">
673 <template name="page"/>
674
675 <text style="text_l">
676 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500677 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100678 </text>
679
680 <text style="text_m">
681 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500682 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100683 </text>
684
685 <text style="text_m_accent">
686 <placement x="%col1_x_left%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500687 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100688 </text>
689
690 <text style="text_m">
691 <placement x="%col1_x_left%" y="%row9_y%"/>
692 <text>%tw_zip_location%</text>
693 </text>
694
695 <text style="text_m_accent">
696 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500697 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100698 </text>
699
700 <text style="text_m">
701 <placement x="%col1_x_left%" y="%row12_y%"/>
702 <text>%tw_file%</text>
703 </text>
704
705 <partitionlist>
706 <placement x="%col1_x_right%" y="%row7a_y%" w="%content_half_width%" h="%partitionlist_flashimage_height%"/>
707 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500708 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100709 <data name="tw_flash_partition"/>
710 <listtype name="flashimg"/>
711 </partitionlist>
712
713 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500714 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100715 <actions>
716 <action function="set">tw_back=flashimage_confirm</action>
717 <action function="set">tw_action=flashimage</action>
718 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500719 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100720 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500721 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100722 <action function="page">action_page</action>
723 </actions>
724 <action function="flashimage"/>
725 </slider>
726
727 <action>
728 <touch key="back"/>
729 <actions>
730 <action function="set">tw_clear_destination=install</action>
731 <action function="page">clear_vars</action>
732 </actions>
733 </action>
734
735 <action>
736 <touch key="home"/>
737 <actions>
738 <action function="set">tw_clear_destination=main2</action>
739 <action function="page">clear_vars</action>
740 </actions>
741 </action>
742 </page>
743
744 <page name="clear_vars">
745 <action>
746 <action function="set">tw_operation_state=0</action>
747 <action function="set">tw_text1=</action>
748 <action function="set">tw_text2=</action>
749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
751 <action function="set">tw_action_text1=</action>
752 <action function="set">tw_action_text2=</action>
753 <action function="set">tw_action_param=</action>
754 <action function="set">tw_has_action2=0</action>
755 <action function="set">tw_action2=</action>
756 <action function="set">tw_action2_param=</action>
757 <action function="set">tw_has_cancel=0</action>
758 <action function="set">tw_cancel_action=</action>
759 <action function="set">tw_cancel_param=</action>
760 <action function="set">tw_show_exclamation=0</action>
761 <action function="set">tw_show_reboot=0</action>
Noah Jacobson5a79f672019-04-28 00:10:07 -0400762 <action function="set">tw_crypto_user_id=</action>
Noah Jacobson3ad80f42020-07-21 01:28:22 -0400763 <action function="set">tw_multiuser_warning_accepted=</action>
764 <action function="set">tw_multiuser_warning_destination=</action>
z31s1g28f0a922015-11-07 18:50:22 +0100765 <action function="page">%tw_clear_destination%</action>
766 </action>
767 </page>
768
Matt Mower908dd252016-05-25 02:26:50 -0500769 <page name="reboot_system_routine">
770 <action>
771 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500772 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500773 <action function="set">tw_has_action2=0</action>
774 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
775 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
776 <action function="set">tw_text3=</action>
777 <action function="set">tw_text4=</action>
778 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
779 <action function="set">tw_action_text2=</action>
780 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
781 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
782 <action function="page">rebootcheck</action>
783 </action>
784 </page>
785
z31s1g28f0a922015-11-07 18:50:22 +0100786 <page name="confirm_action">
787 <template name="page"/>
788
789 <text style="text_l">
790 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500791 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100792 </text>
793
794 <text style="text_m">
795 <placement x="%col1_x_header%" y="%row4_header_y%"/>
796 <text/>
797 </text>
798
799 <text style="text_m_accent">
800 <placement x="%center_x%" y="%row2_y%" placement="5"/>
801 <text>%tw_text1%</text>
802 </text>
803
804 <text style="text_m_accent">
805 <placement x="%center_x%" y="%row3_y%" placement="5"/>
806 <text>%tw_text2%</text>
807 </text>
808
809 <text style="text_m">
810 <placement x="%center_x%" y="%row4_y%" placement="5"/>
811 <text>%tw_text3%</text>
812 </text>
813
814 <text style="text_m">
815 <placement x="%center_x%" y="%row5_y%" placement="5"/>
816 <text>%tw_text4%</text>
817 </text>
818
819 <text style="text_m">
820 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500821 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100822 </text>
823
824 <slider style="slider_centered">
825 <text>%tw_slider_text%</text>
826 <action function="page">action_page</action>
827 </slider>
828
829 <action>
830 <touch key="back"/>
831 <actions>
832 <action function="set">tw_clear_destination=%tw_back%</action>
833 <action function="page">clear_vars</action>
834 </actions>
835 </action>
836
837 <action>
838 <touch key="home"/>
839 <action function="page">main</action>
840 </action>
841 </page>
842
843 <page name="action_page">
844 <template name="page"/>
845
846 <text style="text_l">
847 <placement x="%col1_x_header%" y="%row3_header_y%"/>
848 <text>%tw_action_text1%</text>
849 </text>
850
851 <text style="text_m">
852 <placement x="%col1_x_header%" y="%row4_header_y%"/>
853 <text>%tw_action_text2%</text>
854 </text>
855
856 <template name="console"/>
857
858 <template name="progress_bar"/>
859
860 <button style="main_button_half_width">
861 <condition var1="tw_has_cancel" var2="1"/>
862 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500863 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100864 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
865 </button>
866
867 <action>
868 <condition var1="tw_operation_state" var2="1"/>
869 <actions>
870 <action function="page">action_complete</action>
871 </actions>
872 </action>
873
874 <action>
875 <condition var1="tw_has_action2" var2="0"/>
876 <actions>
877 <action function="%tw_action%">%tw_action_param%</action>
878 </actions>
879 </action>
880
881 <action>
882 <condition var1="tw_has_action2" var2="1"/>
883 <actions>
884 <action function="%tw_action%">%tw_action_param%</action>
885 <action function="%tw_action2%">%tw_action2_param%</action>
886 </actions>
887 </action>
888 </page>
889
890 <page name="singleaction_page">
891 <template name="page"/>
892
893 <text style="text_l">
894 <placement x="%col1_x_header%" y="%row3_header_y%"/>
895 <text>%tw_action_text1%</text>
896 </text>
897
898 <text style="text_m">
899 <placement x="%col1_x_header%" y="%row4_header_y%"/>
900 <text>%tw_action_text2%</text>
901 </text>
902
903 <template name="console"/>
904
905 <template name="progress_bar"/>
906
907 <action>
908 <condition var1="tw_operation_state" var2="1"/>
909 <actions>
910 <action function="set">tw_page_done=1</action>
911 </actions>
912 </action>
913
914 <action>
915 <condition var1="tw_has_action2" var2="0"/>
916 <actions>
917 <action function="%tw_action%">%tw_action_param%</action>
918 </actions>
919 </action>
920
921 <action>
922 <condition var1="tw_has_action2" var2="1"/>
923 <actions>
924 <action function="%tw_action%">%tw_action_param%</action>
925 <action function="%tw_action2%">%tw_action2_param%</action>
926 </actions>
927 </action>
928 </page>
929
930 <page name="action_complete">
931 <template name="page"/>
932
933 <text style="text_l">
934 <placement x="%col1_x_header%" y="%row3_header_y%"/>
935 <text>%tw_complete_text1%</text>
936 </text>
937
938 <text style="text_m_fail">
939 <condition var1="tw_operation_status" op="!=" var2="0"/>
940 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500941 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100942 </text>
943
944 <text style="text_m">
945 <condition var1="tw_operation_status" var2="0"/>
946 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500947 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100948 </text>
949
950 <template name="console"/>
951
952 <button style="main_button_half_width">
953 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500954 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100955 <actions>
956 <action function="set">tw_clear_destination=%tw_back%</action>
957 <action function="page">clear_vars</action>
958 </actions>
959 </button>
960
961 <button style="main_button_half_width">
962 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500963 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100964 <actions>
965 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500966 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100967 </actions>
968 </button>
969
970 <action>
971 <touch key="home"/>
972 <actions>
973 <action function="set">tw_clear_destination=main2</action>
974 <action function="page">clear_vars</action>
975 </actions>
976 </action>
977
978 <action>
979 <touch key="back"/>
980 <actions>
981 <action function="set">tw_clear_destination=%tw_back%</action>
982 <action function="page">clear_vars</action>
983 </actions>
984 </action>
985 </page>
986
987 <page name="filecheck">
988 <action>
989 <action function="fileexists">%tw_filecheck%</action>
990 </action>
991
992 <action>
993 <conditions>
994 <condition var1="tw_operation_state" var2="1"/>
995 <condition var1="tw_operation_status" var2="0"/>
996 </conditions>
997 <actions>
998 <action function="set">tw_fileexists=1</action>
999 <action function="page">%tw_existpage%</action>
1000 </actions>
1001 </action>
1002
1003 <action>
1004 <conditions>
1005 <condition var1="tw_operation_state" var2="1"/>
1006 <condition var1="tw_operation_status" var2="1"/>
1007 </conditions>
1008 <actions>
1009 <action function="set">tw_fileexists=0</action>
1010 <action function="page">%tw_notexistpage%</action>
1011 </actions>
1012 </action>
1013 </page>
1014
1015 <page name="rebootcheck">
1016 <action>
1017 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06001018 <action function="reboot">%tw_reboot_param%</action>
z31s1g28f0a922015-11-07 18:50:22 +01001019 </action>
1020
1021 <action>
1022 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1023 <action function="page">confirm_action</action>
1024 </action>
1025 </page>
1026
1027 <page name="wipe">
1028 <template name="page"/>
1029
1030 <text style="text_l">
1031 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001032 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001033 </text>
1034
1035 <text style="text_m">
1036 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001037 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001038 </text>
1039
1040 <text style="text_m_accent">
1041 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 </text>
1044
1045 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001046 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001047 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1048 </text>
1049
1050 <text style="text_m_accent">
1051 <condition var1="tw_has_data_media" var2="1"/>
1052 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001053 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001054 </text>
1055
1056 <text style="text_m_accent">
1057 <conditions>
1058 <condition var1="tw_has_android_secure" var2="1"/>
1059 <condition var1="fileexists" var2="/and-sec"/>
1060 </conditions>
1061 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 </text>
1064
1065 <text style="text_m_accent">
1066 <condition var1="tw_has_sdext_partition" var2="1"/>
1067 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001069 </text>
1070
1071 <text style="text_m">
1072 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001073 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001074 </text>
1075
1076 <text style="text_m">
1077 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 </text>
1080
1081 <text style="text_m">
1082 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001084 </text>
1085
1086 <button style="main_button_half_width">
1087 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001088 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001089 <actions>
1090 <action function="set">partitionlisterror=0</action>
1091 <action function="page">advancedwipe</action>
1092 </actions>
1093 </button>
1094
1095 <button style="main_button_half_width">
1096 <condition var1="tw_has_data_media" var2="1"/>
1097 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001098 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001099 <action function="page">formatdata</action>
1100 </button>
1101
1102 <button style="main_button_half_width">
1103 <conditions>
1104 <condition var1="tw_is_encrypted" var2="1"/>
1105 <condition var1="tw_has_data_media" var2="0"/>
1106 </conditions>
1107 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001108 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001109 <actions>
1110 <action function="set">tw_back=wipe</action>
1111 <action function="set">tw_action=wipe</action>
1112 <action function="set">tw_action_param=DATAMEDIA</action>
1113 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001114 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001115 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001116 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1117 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1118 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001119 <action function="page">confirm_action</action>
1120 </actions>
1121 </button>
1122
1123 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001124 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001125 <actions>
1126 <action function="set">tw_back=wipe</action>
1127 <action function="set">tw_action=wipe</action>
1128 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001129 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1130 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <action function="page">action_page</action>
1132 </actions>
1133 </slider>
1134
1135 <action>
1136 <touch key="back"/>
1137 <action function="page">main</action>
1138 </action>
1139
1140 <action>
1141 <touch key="home"/>
1142 <action function="page">main</action>
1143 </action>
1144 </page>
1145
1146 <page name="advancedwipe">
1147 <template name="page"/>
1148
1149 <action>
1150 <action function="set">tw_wipe_list=</action>
1151 </action>
1152
1153 <text style="text_l">
1154 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001155 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001156 </text>
1157
1158 <text style="text_m">
1159 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001160 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001161 </text>
1162
1163 <partitionlist>
1164 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001165 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001166 <data name="tw_wipe_list"/>
1167 <listtype name="wipe"/>
1168 </partitionlist>
1169
1170 <text style="text_m_fail">
1171 <condition var1="partitionlisterror" var2="1"/>
1172 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 </text>
1175
1176 <button style="main_button_m">
1177 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001180 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001181 <action function="page">checkpartitionlist</action>
1182 </actions>
1183 </button>
1184
1185 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001186 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001187 <actions>
1188 <action function="set">tw_back=advancedwipe</action>
1189 <action function="set">tw_action=wipe</action>
1190 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001191 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1192 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1193 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001194 <action function="page">action_page</action>
1195 </actions>
1196 </slider>
1197
1198 <action>
1199 <touch key="home"/>
1200 <action function="page">main</action>
1201 </action>
1202
1203 <action>
1204 <touch key="back"/>
1205 <action function="page">wipe</action>
1206 </action>
1207 </page>
1208
1209 <page name="formatdata">
1210 <template name="page"/>
1211
1212 <text style="text_l">
1213 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001214 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001215 </text>
1216
1217 <text style="text_m">
1218 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001219 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001220 </text>
1221
1222 <text style="text_m_fail">
1223 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001224 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001225 </text>
1226
1227 <text style="text_m_fail">
1228 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001229 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001230 </text>
1231
Ethan Yonker66a19492015-12-10 10:19:45 -06001232 <text style="text_m_fail">
1233 <condition var1="tw_has_adopted_storage" var2="1"/>
1234 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1235 <text>{@format_data_adopted=Including Adopted Storage}</text>
1236 </text>
1237
z31s1g28f0a922015-11-07 18:50:22 +01001238 <text style="text_m">
1239 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001240 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001241 </text>
1242
1243 <text style="text_m">
1244 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001245 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001246 </text>
1247
1248 <input>
1249 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1250 <text>%tw_confirm_formatdata%</text>
1251 <data name="tw_confirm_formatdata"/>
1252 <restrict minlen="3" maxlen="3" allow="yes"/>
1253 <action function="page">formatdata_confirm</action>
1254 </input>
1255
1256 <fill color="%accent_color%">
1257 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1258 </fill>
1259
1260 <template name="keyboardtemplate"/>
1261
1262 <action>
1263 <touch key="home"/>
1264 <action function="page">main</action>
1265 </action>
1266
1267 <action>
1268 <touch key="back"/>
1269 <action function="page">wipe</action>
1270 </action>
1271 </page>
1272
1273 <page name="formatdata_confirm">
1274 <action>
1275 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1276 <actions>
1277 <action function="set">tw_back=formatdata</action>
1278 <action function="set">tw_action=wipe</action>
1279 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1281 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001282 <action function="page">action_page</action>
1283 </actions>
1284 </action>
1285
1286 <action>
1287 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1288 <action function="page">formatdata</action>
1289 </action>
1290 </page>
1291
1292 <page name="checkpartitionlist">
1293 <action>
1294 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1295 <actions>
1296 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001297 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001298 <action function="page">partitionoptions</action>
1299 </actions>
1300 </action>
1301
1302 <action>
1303 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1304 <actions>
1305 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001306 <action function="page">advancedwipe</action>
1307 </actions>
1308 </action>
1309 </page>
1310
1311 <page name="partitionoptions">
1312 <template name="page"/>
1313
1314 <text style="text_l">
1315 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001316 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001317 </text>
1318
1319 <text style="text_m">
1320 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001321 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001322 </text>
1323
1324 <text style="text_m_accent">
1325 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001326 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001327 </text>
1328
1329 <text style="text_m_accent">
1330 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001331 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001332 </text>
1333
1334 <text style="text_m">
1335 <condition var1="tw_partition_is_present" var2="1"/>
1336 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001337 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001338 </text>
1339
1340 <text style="text_m">
1341 <condition var1="tw_partition_is_present" var2="0"/>
1342 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m">
1347 <condition var1="tw_partition_removable" var2="1"/>
1348 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001349 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001350 </text>
1351
1352 <text style="text_m">
1353 <condition var1="tw_partition_removable" var2="0"/>
1354 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001355 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001356 </text>
1357
1358 <text style="text_m">
1359 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001360 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001361 </text>
1362
1363 <text style="text_m">
1364 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m">
1369 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001370 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001371 </text>
1372
1373 <text style="text_m">
1374 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001375 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001376 </text>
1377
1378 <button style="main_button_half_width">
1379 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1380 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001381 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001382 <actions>
1383 <action function="set">tw_back=partitionoptions</action>
1384 <action function="set">tw_action=resize</action>
1385 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1386 <action function="set">tw_has_action2=1</action>
1387 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001388 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001389 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001390 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001391 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1392 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1393 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001394 <action function="page">confirm_action</action>
1395 </actions>
1396 </button>
1397
1398 <button style="main_button_half_width">
1399 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1400 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001401 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001402 <actions>
1403 <action function="set">tw_back=partitionoptions</action>
1404 <action function="set">tw_action=repair</action>
1405 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1406 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001407 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001408 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001409 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1410 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1411 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <action function="page">confirm_action</action>
1413 </actions>
1414 </button>
1415
1416 <button style="main_button_half_width">
1417 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001418 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001419 <action function="page">selectfilesystem</action>
1420 </button>
1421
1422 <action>
1423 <touch key="home"/>
1424 <action function="page">main</action>
1425 </action>
1426
1427 <action>
1428 <touch key="back"/>
1429 <action function="page">advancedwipe</action>
1430 </action>
1431 </page>
1432
1433 <page name="refreshfilesystem">
1434 <action>
1435 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1436 <actions>
1437 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001438 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001439 <action function="page">selectfilesystem</action>
1440 </actions>
1441 </action>
1442
1443 <action>
1444 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1445 <actions>
1446 <action function="set">partitionlisterror=1</action>
1447 <action function="set">tw_wipe_list=</action>
1448 <action function="page">advancedwipe</action>
1449 </actions>
1450 </action>
1451 </page>
1452
1453 <page name="selectfilesystem">
1454 <template name="page"/>
1455
1456 <text style="text_l">
1457 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001458 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001459 </text>
1460
1461 <text style="text_m">
1462 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001463 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001464 </text>
1465
1466 <text style="text_m_accent">
1467 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001468 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001469 </text>
1470
1471 <text style="text_m_accent">
1472 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001473 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001474 </text>
1475
1476 <text style="text_m_fail">
1477 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001478 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001479 </text>
1480
1481 <text style="text_m_fail">
1482 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001483 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001484 </text>
1485
1486 <button style="main_button_half_width">
1487 <condition var1="tw_partition_ext" op="=" var2="1"/>
1488 <placement x="%col1_x_left%" y="%row11_y%"/>
1489 <text>EXT2</text>
1490 <actions>
1491 <action function="set">tw_back=refreshfilesystem</action>
1492 <action function="set">tw_action=changefilesystem</action>
1493 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1494 <action function="set">tw_action_new_file_system=ext2</action>
1495 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001496 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1497 <action function="set">tw_text2=EXT2</action>
1498 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1499 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1500 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001501 <action function="page">confirm_action</action>
1502 </actions>
1503 </button>
1504
1505 <button style="main_button_half_width">
1506 <condition var1="tw_partition_ext" op="=" var2="1"/>
1507 <placement x="%col2_x_left%" y="%row11_y%"/>
1508 <text>EXT3</text>
1509 <actions>
1510 <action function="set">tw_back=refreshfilesystem</action>
1511 <action function="set">tw_action=changefilesystem</action>
1512 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1513 <action function="set">tw_action_new_file_system=ext3</action>
1514 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001515 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1516 <action function="set">tw_text2=EXT3</action>
1517 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1518 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1519 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001520 <action function="page">confirm_action</action>
1521 </actions>
1522 </button>
1523
1524 <button style="main_button_half_width">
1525 <condition var1="tw_partition_ext" op="=" var2="1"/>
1526 <placement x="%center_x%" y="%row11_y%"/>
1527 <text>EXT4</text>
1528 <actions>
1529 <action function="set">tw_back=refreshfilesystem</action>
1530 <action function="set">tw_action=changefilesystem</action>
1531 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1532 <action function="set">tw_action_new_file_system=ext4</action>
1533 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001534 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1535 <action function="set">tw_text2=EXT4</action>
1536 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1537 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1538 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001539 <action function="page">confirm_action</action>
1540 </actions>
1541 </button>
1542
1543 <button style="main_button_half_width">
1544 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1545 <placement x="%col2_x_right%" y="%row11_y%"/>
1546 <text>FAT</text>
1547 <actions>
1548 <action function="set">tw_back=refreshfilesystem</action>
1549 <action function="set">tw_action=changefilesystem</action>
1550 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1551 <action function="set">tw_action_new_file_system=vfat</action>
1552 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001553 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1554 <action function="set">tw_text2=FAT</action>
1555 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1556 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1557 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001558 <action function="page">confirm_action</action>
1559 </actions>
1560 </button>
1561
1562 <button style="main_button_half_width">
1563 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1564 <placement x="%col2_x_left%" y="%row15a_y%"/>
1565 <text>exFAT</text>
1566 <actions>
1567 <action function="set">tw_back=refreshfilesystem</action>
1568 <action function="set">tw_action=changefilesystem</action>
1569 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1570 <action function="set">tw_action_new_file_system=exfat</action>
1571 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001572 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1573 <action function="set">tw_text2=exFAT</action>
1574 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1575 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1576 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001577 <action function="page">confirm_action</action>
1578 </actions>
1579 </button>
1580
1581 <button style="main_button_half_width">
1582 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1583 <placement x="%center_x%" y="%row15a_y%"/>
1584 <text>F2FS</text>
1585 <actions>
1586 <action function="set">tw_back=refreshfilesystem</action>
1587 <action function="set">tw_action=changefilesystem</action>
1588 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1589 <action function="set">tw_action_new_file_system=f2fs</action>
1590 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001591 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1592 <action function="set">tw_text2=F2FS</action>
1593 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1594 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1595 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001596 <action function="page">confirm_action</action>
1597 </actions>
1598 </button>
1599
1600 <action>
1601 <touch key="home"/>
1602 <action function="page">main</action>
1603 </action>
1604
1605 <action>
1606 <touch key="back"/>
1607 <action function="page">partitionoptions</action>
1608 </action>
1609 </page>
1610
1611 <page name="backup">
1612 <template name="page"/>
1613
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001614 <action>
1615 <conditions>
1616 <condition var1="tw_is_fbe" var2="1"/>
1617 <condition var1="tw_all_users_decrypted" var2="0"/>
1618 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1619 </conditions>
1620 <actions>
1621 <action function="set">tw_multiuser_warning_destination=backup</action>
1622 <action function="page">multiuser_warning</action>
1623 </actions>
1624 </action>
1625
z31s1g28f0a922015-11-07 18:50:22 +01001626 <text style="text_l">
1627 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001628 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001629 </text>
1630
1631 <text style="text_m">
1632 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001633 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001634 </text>
1635
1636 <text style="text_m_accent">
1637 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001638 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001639 </text>
1640
1641 <text style="text_m">
1642 <placement x="%col1_x_left%" y="%row3_y%"/>
1643 <text>%tw_backup_name%</text>
1644 </text>
1645
1646 <fill color="%fileselector_linecolor%">
1647 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1648 </fill>
1649
1650 <button>
1651 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1652 <fill color="%transparent%"/>
1653 <actions>
1654 <action function="set">tw_fileexists=0</action>
1655 <action function="page">backupname1</action>
1656 </actions>
1657 </button>
1658
1659 <partitionlist>
1660 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001661 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001662 <data name="tw_backup_list"/>
1663 <listtype name="backup"/>
1664 </partitionlist>
1665
1666 <text style="text_m_accent">
1667 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001668 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001669 </text>
1670
1671 <text style="text_m">
1672 <conditions>
1673 <condition var1="tw_include_encrypted_backup" var2="1"/>
1674 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001675 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001676 </conditions>
1677 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001678 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001679 </text>
1680
1681 <text style="text_m">
1682 <conditions>
1683 <condition var1="tw_include_encrypted_backup" var2="1"/>
1684 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001685 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001686 </conditions>
1687 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001688 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001689 </text>
1690
1691 <fill color="%fileselector_linecolor%">
1692 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1693 </fill>
1694
1695 <button>
1696 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1697 <fill color="%transparent%"/>
1698 <actions>
1699 <action function="set">tw_password_not_match=0</action>
1700 <action function="page">backupencryption</action>
1701 </actions>
1702 </button>
1703
1704 <text style="text_m_accent">
1705 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001706 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001707 </text>
1708
1709 <checkbox>
1710 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 <data variable="tw_use_compression"/>
1713 </checkbox>
1714
1715 <checkbox>
1716 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001717 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1718 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001719 </checkbox>
1720
1721 <checkbox>
1722 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001723 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001724 <data variable="tw_disable_free_space"/>
1725 </checkbox>
1726
1727 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001728 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001729 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001730 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001731 <actions>
1732 <action function="set">tw_back=backup</action>
1733 <action function="overlay">select_storage</action>
1734 </actions>
1735 </button>
1736
1737 <button style="main_button_half_width">
1738 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001739 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001740 <actions>
1741 <action function="refreshsizes"/>
1742 <action function="page">backup</action>
1743 </actions>
1744 </button>
1745
1746 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001747 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001748 <action function="page">backup_run</action>
1749 </slider>
1750
1751 <action>
1752 <touch key="home"/>
1753 <action function="page">main</action>
1754 </action>
1755
1756 <action>
1757 <touch key="back"/>
1758 <action function="page">main</action>
1759 </action>
1760 </page>
1761
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001762 <page name="multiuser_warning">
1763 <template name="page"/>
1764
1765 <text style="text_l">
1766 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1767 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1768 </text>
1769
1770 <text style="text_m_fail">
1771 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1772 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1773 </text>
1774
1775 <text style="text_m_fail">
1776 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1777 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1778 </text>
1779
1780 <button style="main_button_m">
1781 <placement x="%col1_x_left%" y="%row15a_y%"/>
1782 <text>{@decrypt_users=Decrypt Users}</text>
1783 <action function="page">decrypt_users</action>
1784 </button>
1785
1786 <slider>
1787 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1788 <actions>
1789 <action function="set">tw_multiuser_warning_accepted=1</action>
1790 <action function="page">%tw_multiuser_warning_destination%</action>
1791 </actions>
1792 </slider>
1793
1794 <action>
1795 <touch key="home"/>
1796 <action function="page">main</action>
1797 </action>
1798
1799 <action>
1800 <touch key="back"/>
1801 <action function="page">main</action>
1802 </action>
1803 </page>
1804
z31s1g28f0a922015-11-07 18:50:22 +01001805 <page name="backupname1">
1806 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001807 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001808 <action function="generatebackupname"/>
1809 </action>
1810
1811 <action>
1812 <action function="page">backupname2</action>
1813 </action>
1814 </page>
1815
1816 <page name="backupname2">
1817 <template name="page"/>
1818
1819 <text style="text_l">
1820 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001821 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001822 </text>
1823
1824 <text style="text_m">
1825 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001826 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001827 </text>
1828
1829 <text style="text_m_accent">
1830 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001831 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001832 </text>
1833
1834 <input>
1835 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1836 <text>%tw_backup_name%</text>
1837 <data name="tw_backup_name"/>
1838 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1839 <actions>
1840 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1841 <action function="set">tw_existpage=backupname2</action>
1842 <action function="set">tw_notexistpage=backup</action>
1843 <action function="page">filecheck</action>
1844 </actions>
1845 </input>
1846
1847 <fill color="%accent_color%">
1848 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1849 </fill>
1850
1851 <fill color="%text_fail_color%">
1852 <condition var1="tw_fileexists" var2="1"/>
1853 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1854 </fill>
1855
1856 <text style="text_m_fail">
1857 <condition var1="tw_fileexists" var2="1"/>
1858 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001859 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001860 </text>
1861
1862 <button style="main_button_half_width_low">
1863 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001864 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001865 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001866 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001867 <action function="page">backup</action>
1868 </actions>
1869 </button>
1870
1871 <button style="main_button_half_width_low">
1872 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001873 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001874 <action function="appenddatetobackupname"/>
1875 </button>
1876
1877 <template name="keyboardtemplate"/>
1878
1879 <action>
1880 <touch key="home"/>
1881 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001882 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001883 <action function="page">main</action>
1884 </actions>
1885 </action>
1886
1887 <action>
1888 <touch key="back"/>
1889 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001890 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001891 <action function="page">backup</action>
1892 </actions>
1893 </action>
1894 </page>
1895
1896 <page name="backupencryption">
1897 <template name="page"/>
1898
1899 <text style="text_l">
1900 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001901 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001902 </text>
1903
1904 <text style="text_m">
1905 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001906 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001907 </text>
1908
1909 <text style="text_m_accent">
1910 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001911 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001912 </text>
1913
1914 <input>
1915 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1916 <text>%tw_backup_encrypt_display%</text>
1917 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1918 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1919 <action function="page">backupencryption2</action>
1920 </input>
1921
1922 <fill color="%accent_color%">
1923 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1924 </fill>
1925
1926 <fill color="%text_fail_color%">
1927 <condition var1="tw_password_not_match" var2="1"/>
1928 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1929 </fill>
1930
1931 <text style="text_m_fail">
1932 <condition var1="tw_password_not_match" var2="1"/>
1933 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001934 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001935 </text>
1936
1937 <button style="main_button_half_width_low">
1938 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001939 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001940 <actions>
1941 <action function="set">tw_encrypt_backup=0</action>
1942 <action function="set">tw_backup_password=</action>
1943 <action function="set">tw_backup_password2=</action>
1944 <action function="set">tw_backup_encrypt_display=</action>
1945 <action function="set">tw_backup_encrypt_display2=</action>
1946 <action function="page">backup</action>
1947 </actions>
1948 </button>
1949
1950 <template name="keyboardtemplate"/>
1951
1952 <action>
1953 <touch key="home"/>
1954 <action function="page">main</action>
1955 </action>
1956
1957 <action>
1958 <touch key="back"/>
1959 <action function="page">backup</action>
1960 </action>
1961 </page>
1962
1963 <page name="backupencryption2">
1964 <template name="page"/>
1965
1966 <text style="text_l">
1967 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001968 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001969 </text>
1970
1971 <text style="text_m">
1972 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001973 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001974 </text>
1975
1976 <text style="text_m_accent">
1977 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001978 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001979 </text>
1980
1981 <input>
1982 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1983 <text>%tw_backup_encrypt_display2%</text>
1984 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
1985 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1986 <action function="page">checkbackuppassword</action>
1987 </input>
1988
1989 <fill color="%accent_color%">
1990 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1991 </fill>
1992
1993 <text style="text_m">
1994 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001995 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001996 </text>
1997
1998 <button style="main_button_half_width_low">
1999 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 <actions>
2002 <action function="set">tw_encrypt_backup=0</action>
2003 <action function="set">tw_backup_password=</action>
2004 <action function="set">tw_backup_password2=</action>
2005 <action function="set">tw_backup_encrypt_display=</action>
2006 <action function="set">tw_backup_encrypt_display2=</action>
2007 <action function="page">backup</action>
2008 </actions>
2009 </button>
2010
2011 <template name="keyboardtemplate"/>
2012
2013 <action>
2014 <touch key="home"/>
2015 <action function="page">main</action>
2016 </action>
2017
2018 <action>
2019 <touch key="back"/>
2020 <action function="page">backup</action>
2021 </action>
2022 </page>
2023
2024 <page name="checkbackuppassword">
2025 <action>
2026 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2027 <actions>
2028 <action function="set">tw_encrypt_backup=1</action>
2029 <action function="page">backup</action>
2030 </actions>
2031 </action>
2032
2033 <action>
2034 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2035 <actions>
2036 <action function="set">tw_encrypt_backup=0</action>
2037 <action function="set">tw_password_not_match=1</action>
2038 <action function="set">tw_backup_password=</action>
2039 <action function="set">tw_backup_password2=</action>
2040 <action function="set">tw_backup_encrypt_display=</action>
2041 <action function="set">tw_backup_encrypt_display2=</action>
2042 <action function="page">backupencryption</action>
2043 </actions>
2044 </action>
2045 </page>
2046
2047 <page name="backup_run">
2048 <template name="page"/>
2049
2050 <text style="text_l">
2051 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2052 <text>%tw_operation%</text>
2053 </text>
2054
2055 <text style="text_m">
2056 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2057 <text>%tw_partition% Partition</text>
2058 </text>
2059
2060 <template name="console"/>
2061
2062 <template name="progress_bar"/>
2063
2064 <text style="text_m_accent">
2065 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002066 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002067 </text>
2068
2069 <text style="text_m">
2070 <placement x="%progress_text_x%" y="%row17_y%"/>
2071 <text>%tw_file_progress%</text>
2072 </text>
2073
2074 <text style="text_m">
2075 <placement x="%progress_text_x%" y="%row18_y%"/>
2076 <text>%tw_size_progress%</text>
2077 </text>
2078
2079 <button style="main_button_half_width">
2080 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002081 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002082 <action function="cancelbackup"/>
2083 </button>
2084
2085 <action>
2086 <action function="nandroid">backup</action>
2087 </action>
2088
2089 <action>
2090 <condition var1="tw_operation_state" var2="1"/>
2091 <condition var1="tw_cancel_backup" var2="0"/>
2092 <actions>
2093 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002094 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002095 <action function="set">tw_show_reboot=1</action>
2096 <action function="page">action_complete</action>
2097 </actions>
2098 </action>
2099
2100 <action>
2101 <condition var1="tw_operation_state" var2="1"/>
2102 <condition var1="tw_cancel_backup" var2="1"/>
2103 <actions>
2104 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002105 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002106 <action function="set">tw_show_reboot=1</action>
2107 <action function="page">action_complete</action>
2108 </actions>
2109 </action>
2110 </page>
2111
2112 <page name="restore">
2113 <template name="page"/>
2114
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002115 <action>
2116 <conditions>
2117 <condition var1="tw_is_fbe" var2="1"/>
2118 <condition var1="tw_all_users_decrypted" var2="0"/>
2119 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2120 </conditions>
2121 <actions>
2122 <action function="set">tw_multiuser_warning_destination=restore</action>
2123 <action function="page">multiuser_warning</action>
2124 </actions>
2125 </action>
2126
z31s1g28f0a922015-11-07 18:50:22 +01002127 <text style="text_l">
2128 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002129 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002130 </text>
2131
2132 <text style="text_m">
2133 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002134 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002135 </text>
2136
2137 <template name="sort_options"/>
2138
2139 <fileselector>
2140 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002141 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002142 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002143 <path name="tw_backups_folder"/>
2144 <data name="tw_restore" default=""/>
2145 <selection name="tw_restore_name"/>
2146 </fileselector>
2147
2148 <button style="main_button_half_width_low">
2149 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002150 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002151 <actions>
2152 <action function="set">tw_back=restore</action>
2153 <action function="overlay">select_storage</action>
2154 </actions>
2155 </button>
2156
2157 <action>
2158 <condition var1="tw_restore" op="modified"/>
2159 <actions>
2160 <action function="readBackup"/>
2161 <action function="page">restore_read</action>
2162 </actions>
2163 </action>
2164
2165 <action>
2166 <touch key="home"/>
2167 <action function="page">main</action>
2168 </action>
2169
2170 <action>
2171 <touch key="back"/>
2172 <action function="page">main</action>
2173 </action>
2174 </page>
2175
2176 <page name="restore_read">
2177 <action>
2178 <condition var1="tw_restore_encrypted" var2="1"/>
2179 <actions>
2180 <action function="set">tw_password_fail=0</action>
2181 <action function="page">restore_decrypt</action>
2182 </actions>
2183 </action>
2184
2185 <action>
2186 <condition var1="tw_restore_encrypted" var2="0"/>
2187 <actions>
2188 <action function="page">restore_select</action>
2189 </actions>
2190 </action>
2191 </page>
2192
2193 <page name="restore_decrypt">
2194 <template name="page"/>
2195
2196 <text style="text_l">
2197 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002198 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002199 </text>
2200
2201 <text style="text_m">
2202 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002204 </text>
2205
2206 <text style="text_m_accent">
2207 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002208 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002209 </text>
2210
2211 <input>
2212 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2213 <text>%tw_restore_display%</text>
2214 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2215 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2216 <action function="page">try_restore_decrypt</action>
2217 </input>
2218
2219 <fill color="%accent_color%">
2220 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2221 </fill>
2222
2223 <fill color="%text_fail_color%">
2224 <condition var1="tw_password_fail" var2="1"/>
2225 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2226 </fill>
2227
2228 <text style="text_m_fail">
2229 <condition var1="tw_password_fail" var2="1"/>
2230 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002231 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002232 </text>
2233
2234 <button style="main_button_half_width_low">
2235 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002236 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002237 <actions>
2238 <action function="set">tw_page_done=1</action>
2239 <action function="page">restore</action>
2240 </actions>
2241 </button>
2242
2243 <button style="main_button_half_width_low">
2244 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002245 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002246 <actions>
2247 <action function="set">tw_back=restore</action>
2248 <action function="set">tw_action=cmd</action>
2249 <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 -05002250 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2251 <action function="set">tw_text2=%tw_restore_name%</action>
2252 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2253 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2254 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2255 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002256 <action function="page">confirm_action</action>
2257 </actions>
2258 </button>
2259
2260 <template name="keyboardtemplate"/>
2261
2262 <action>
2263 <touch key="home"/>
2264 <action function="page">main</action>
2265 </action>
2266
2267 <action>
2268 <touch key="back"/>
2269 <action function="page">restore</action>
2270 </action>
2271 </page>
2272
2273 <page name="try_restore_decrypt">
2274 <template name="page"/>
2275
2276 <text style="text_l">
2277 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002278 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002279 </text>
2280
2281 <text style="text_m">
2282 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002283 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002284 </text>
2285
2286 <template name="console"/>
2287
2288 <template name="progress_bar"/>
2289
2290 <action>
2291 <action function="decrypt_backup"/>
2292 </action>
2293
2294 <action>
2295 <conditions>
2296 <condition var1="tw_operation_state" var2="1"/>
2297 <condition var1="tw_operation_status" op="!=" var2="0"/>
2298 </conditions>
2299 <actions>
2300 <action function="set">tw_password_fail=1</action>
2301 <action function="page">restore_decrypt</action>
2302 </actions>
2303 </action>
2304
2305 <action>
2306 <conditions>
2307 <condition var1="tw_operation_state" var2="1"/>
2308 <condition var1="tw_operation_status" op="=" var2="0"/>
2309 </conditions>
2310 <actions>
2311 <action function="set">tw_page_done=1</action>
2312 <action function="page">restore_select</action>
2313 </actions>
2314 </action>
2315 </page>
2316
2317 <page name="restore_select">
2318 <template name="page"/>
2319
2320 <text style="text_l">
2321 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002322 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002323 </text>
2324
2325 <text style="text_m">
2326 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002327 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002328 </text>
2329
2330 <text style="text_m_accent">
2331 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002332 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002333 </text>
2334
2335 <text style="text_m">
2336 <placement x="%col1_x_left%" y="%row3_y%"/>
2337 <text>%tw_restore_name%</text>
2338 </text>
2339
2340 <fill color="%fileselector_linecolor%">
2341 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2342 </fill>
2343
2344 <button>
2345 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2346 <fill color="%transparent%"/>
2347 <actions>
2348 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2349 <action function="set">tw_fileexists=0</action>
2350 <action function="page">renamebackup</action>
2351 </actions>
2352 </button>
2353
2354 <partitionlist>
2355 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002356 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002357 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2358 <listtype name="restore"/>
2359 </partitionlist>
2360
2361 <text style="text_m_accent">
2362 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002363 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002364 </text>
2365
2366 <checkbox>
2367 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002368 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002369 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2370 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002371 </checkbox>
2372
2373 <button style="main_button_half_width">
2374 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002375 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002376 <actions>
2377 <action function="set">tw_back=restore</action>
2378 <action function="set">tw_action=cmd</action>
2379 <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 -05002380 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002381 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002382 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2383 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2384 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2385 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002386 <action function="page">confirm_action</action>
2387 </actions>
2388 </button>
2389
2390 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002391 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002392 <action function="page">restore_run</action>
2393 </slider>
2394
2395 <action>
2396 <touch key="home"/>
2397 <action function="page">main</action>
2398 </action>
2399
2400 <action>
2401 <touch key="back"/>
2402 <action function="page">restore</action>
2403 </action>
2404 </page>
2405
2406 <page name="renamebackup">
2407 <template name="page"/>
2408
2409 <text style="text_l">
2410 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002411 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002412 </text>
2413
2414 <text style="text_m">
2415 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002416 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002417 </text>
2418
2419 <text style="text_m_accent">
2420 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002421 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002422 </text>
2423
2424 <input>
2425 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2426 <text>%tw_backup_rename%</text>
2427 <data name="tw_backup_rename"/>
2428 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2429 <actions>
2430 <action function="set">tw_back=restore</action>
2431 <action function="set">tw_action=cmd</action>
2432 <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 -05002433 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2434 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2435 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2436 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2437 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002438 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2439 <action function="set">tw_existpage=renamebackup</action>
2440 <action function="set">tw_notexistpage=confirm_action</action>
2441 <action function="page">filecheck</action>
2442 </actions>
2443 </input>
2444
2445 <fill color="%accent_color%">
2446 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2447 </fill>
2448
2449 <fill color="%text_fail_color%">
2450 <condition var1="tw_fileexists" var2="1"/>
2451 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2452 </fill>
2453
2454 <text style="text_m_fail">
2455 <condition var1="tw_fileexists" var2="1"/>
2456 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002457 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002458 </text>
2459
2460 <button style="main_button_half_width_low">
2461 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002462 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002463 <action function="page">restore_select</action>
2464 </button>
2465
2466 <template name="keyboardtemplate"/>
2467
2468 <action>
2469 <touch key="home"/>
2470 <action function="page">main</action>
2471 </action>
2472
2473 <action>
2474 <touch key="back"/>
2475 <action function="page">restore_select</action>
2476 </action>
2477 </page>
2478
2479 <page name="restore_run">
2480 <template name="page"/>
2481
2482 <text style="text_l">
2483 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 </text>
2486
2487 <text style="text_m">
2488 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2489 <text>%tw_operation% %tw_partition%</text>
2490 </text>
2491
2492 <template name="console"/>
2493
2494 <template name="progress_bar"/>
2495
2496 <text style="text_m_accent">
2497 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002498 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002499 </text>
2500
2501 <text style="text_m">
2502 <placement x="%progress_text_x%" y="%row18_y%"/>
2503 <text>%tw_size_progress%</text>
2504 </text>
2505
2506 <action>
2507 <condition var1="tw_operation_state" var2="1"/>
2508 <actions>
2509 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002510 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002511 <action function="set">tw_show_reboot=1</action>
2512 <action function="page">action_complete</action>
2513 </actions>
2514 </action>
2515
2516 <action>
2517 <action function="nandroid">restore</action>
2518 </action>
2519 </page>
2520
2521 <page name="mount">
2522 <template name="page"/>
2523
2524 <text style="text_l">
2525 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002526 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002527 </text>
2528
2529 <text style="text_m">
2530 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002531 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002532 </text>
2533
2534 <partitionlist>
2535 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002536 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002537 <listtype name="mount"/>
2538 </partitionlist>
2539
2540 <button style="checkbox">
2541 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2542 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002543 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002544 <image resource="checkbox_false"/>
2545 <action function="mountsystemtoggle">1</action>
2546 </button>
2547
2548 <button style="checkbox">
2549 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2550 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002551 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002552 <image resource="checkbox_true"/>
2553 <actions>
2554 <action function="set">tw_lifetime_writes=2</action>
2555 <action function="page">system_readonly_check</action>
2556 </actions>
2557 </button>
2558
2559 <button style="main_button_half_width">
2560 <condition var1="tw_has_usb_storage" var2="1"/>
2561 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002562 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002563 <action function="page">usb_mount</action>
2564 </button>
2565
2566 <button style="main_button_half_width">
2567 <conditions>
2568 <condition var1="tw_is_encrypted" var2="1"/>
2569 <condition var1="tw_is_decrypted" var2="0"/>
2570 </conditions>
2571 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002572 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002573 <action function="set">tw_crypto_user_id=0</action>
2574 <action function="set">tw_crypto_password=</action>
2575 <action function="set">tw_password_fail=0</action>
2576 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002577 <action function="page">decrypt</action>
2578 </button>
2579
2580 <button style="main_button_half_width">
2581 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002582 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002583 <actions>
2584 <action function="set">tw_back=mount</action>
2585 <action function="overlay">select_storage</action>
2586 </actions>
2587 </button>
2588
2589 <button style="main_button_half_width">
2590 <conditions>
2591 <condition var1="tw_has_mtp" var2="1"/>
2592 <condition var1="tw_mtp_enabled" var2="0"/>
2593 </conditions>
2594 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002595 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002596 <action function="startmtp"/>
2597 </button>
2598
2599 <button style="main_button_half_width">
2600 <conditions>
2601 <condition var1="tw_has_mtp" var2="1"/>
2602 <condition var1="tw_mtp_enabled" var2="1"/>
2603 </conditions>
2604 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002605 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002606 <action function="stopmtp"/>
2607 </button>
2608
2609 <action>
2610 <touch key="home"/>
2611 <action function="page">main</action>
2612 </action>
2613
2614 <action>
2615 <touch key="back"/>
2616 <action function="page">main</action>
2617 </action>
2618 </page>
2619
2620 <page name="usb_mount">
2621 <template name="page"/>
2622
2623 <text style="text_l">
2624 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002625 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002626 </text>
2627
2628 <text style="text_m">
2629 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002630 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002631 </text>
2632
2633 <text style="text_m_accent">
2634 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 </text>
2637
2638 <text style="text_m">
2639 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002640 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002641 </text>
2642
2643 <text style="text_m">
2644 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002645 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002646 </text>
2647
2648 <button style="main_button_half_width">
2649 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002650 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002651 <action function="page">usb_umount</action>
2652 </button>
2653
2654 <action>
2655 <action function="mount">usb</action>
2656 <action function="set">tw_busy=1</action>
2657 </action>
2658 </page>
2659
2660 <page name="usb_umount">
2661 <action>
2662 <action function="unmount">usb</action>
2663 </action>
2664
2665 <action>
2666 <action function="page">mount</action>
2667 <action function="set">tw_busy=0</action>
2668 </action>
2669 </page>
2670
2671 <page name="system_readonly_check">
2672 <action>
2673 <action function="checkpartitionlifetimewrites">/system</action>
2674 </action>
2675
2676 <action>
2677 <condition var1="tw_lifetime_writes" var2="1"/>
2678 <actions>
2679 <action function="mountsystemtoggle">0</action>
2680 <action function="page">mount</action>
2681 </actions>
2682 </action>
2683
2684 <action>
2685 <condition var1="tw_lifetime_writes" var2="0"/>
2686 <actions>
2687 <action function="set">tw_back=mount</action>
2688 <action function="page">system_readonly</action>
2689 </actions>
2690 </action>
2691 </page>
2692
2693 <page name="reboot">
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002694 <action>
2695 <action function="checkforapp"></action>
2696 <action function="page">reboot2</action>
2697 </action>
2698 </page>
2699
2700 <page name="reboot2">
z31s1g28f0a922015-11-07 18:50:22 +01002701 <template name="page"/>
2702
2703 <text style="text_l">
2704 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002705 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002706 </text>
2707
bigbiff97829df2020-12-20 12:26:15 -05002708 <listbox style="advanced_listbox">
Captain Throwback4a78bda2020-12-25 22:46:59 -05002709 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%fileselector_install_height%"/>
bigbiff97829df2020-12-20 12:26:15 -05002710
2711 <listitem name="{@rb_system_btn=System}">
2712 <condition var1="tw_reboot_system" var2="1"/>
2713 <actions>
2714 <action function="set">tw_back=reboot</action>
2715 <action function="page">reboot_system_routine</action>
2716 </actions>
2717 </listitem>
2718
2719 <listitem name="{@rb_poweroff_btn=Power Off}">
2720 <condition var1="tw_reboot_poweroff" var2="1"/>
2721 <actions>
2722 <action function="set">tw_back=reboot</action>
2723 <action function="set">tw_action=reboot</action>
2724 <action function="set">tw_action_param=poweroff</action>
2725 <action function="set">tw_reboot_param=poweroff</action>
2726 <action function="set">tw_has_action2=0</action>
2727 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2728 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2729 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2730 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2731 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2732 <action function="page">rebootcheck</action>
2733 </actions>
2734 </listitem>
2735
2736 <listitem name="{@rb_recovery_btn=Recovery}">
2737 <condition var1="tw_reboot_recovery" var2="1"/>
2738 <actions>
2739 <action function="set">tw_back=reboot</action>
2740 <action function="set">tw_action=reboot</action>
2741 <action function="set">tw_action_param=recovery</action>
2742 <action function="set">tw_reboot_param=recovery</action>
2743 <action function="set">tw_has_action2=0</action>
2744 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2745 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2746 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2747 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2748 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2749 <action function="page">rebootcheck</action>
2750 </actions>
2751 </listitem>
2752
2753 <listitem name="{@rb_bootloader_btn=Bootloader}">
2754 <condition var1="tw_reboot_bootloader" var2="1"/>
2755 <actions>
2756 <action function="set">tw_back=reboot</action>
2757 <action function="set">tw_action=reboot</action>
2758 <action function="set">tw_action_param=bootloader</action>
2759 <action function="set">tw_reboot_param=bootloader</action>
2760 <action function="set">tw_has_action2=0</action>
2761 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2762 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2763 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2764 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2765 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2766 <action function="page">rebootcheck</action>
2767 </actions>
2768 </listitem>
2769
2770 <listitem name="{@rb_download_btn=Download}">
2771 <condition var1="tw_download_mode" var2="1"/>
2772 <actions>
2773 <action function="set">tw_back=reboot</action>
2774 <action function="set">tw_action=reboot</action>
2775 <action function="set">tw_action_param=download</action>
2776 <action function="set">tw_reboot_param=download</action>
2777 <action function="set">tw_has_action2=0</action>
2778 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2779 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2780 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2781 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2782 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2783 <action function="page">rebootcheck</action>
2784 </actions>
2785 </listitem>
2786
2787 <listitem name="{@rb_edl_btn=Edl}">
2788 <condition var1="tw_edl_mode" var2="1"/>
2789 <actions>
2790 <action function="set">tw_back=reboot</action>
2791 <action function="set">tw_action=reboot</action>
2792 <action function="set">tw_action_param=edl</action>
2793 <action function="set">tw_reboot_param=edl</action>
2794 <action function="set">tw_has_action2=0</action>
2795 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2796 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2797 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2798 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2799 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2800 <action function="page">rebootcheck</action>
2801 </actions>
2802 </button>
2803 </listbox>
2804
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002805 <button style="main_button">
2806 <condition var1="tw_app_install_status" var2="1"/>
2807 <placement x="%center_x%" y="%row12_y%"/>
2808 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
2809 <actions>
2810 <action function="set">tw_back=reboot</action>
2811 <action function="set">tw_appinstall_title={@reboot_hdr=Reboot}</action>
2812 <action function="page">installapp</action>
2813 </actions>
2814 </button>
2815
bigbiff97829df2020-12-20 12:26:15 -05002816 <text style="text_m">
2817 <condition var1="tw_has_boot_slots" var2="1"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002818 <placement x="%col1_x_header%" y="%row14_y%"/>
bigbiff97829df2020-12-20 12:26:15 -05002819 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2820 </text>
2821
z31s1g28f0a922015-11-07 18:50:22 +01002822 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002823 <condition var1="tw_has_boot_slots" var2="1"/>
2824 <placement x="%indent%" y="%row16_y%"/>
2825 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002826 <actions>
2827 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002828 <action function="set">tw_action=setbootslot</action>
2829 <action function="set">tw_action_param=A</action>
2830 <action function="set">tw_has_action2=0</action>
2831 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2832 <action function="set">tw_action_text2=</action>
2833 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2834 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002835 </actions>
2836 </button>
2837
2838 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002839 <condition var1="tw_has_boot_slots" var2="1"/>
2840 <placement x="%center_x%" y="%row16_y%"/>
2841 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002842 <actions>
2843 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002844 <action function="set">tw_action=setbootslot</action>
2845 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <action function="set">tw_has_action2=0</action>
bigbiff97829df2020-12-20 12:26:15 -05002847 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2848 <action function="set">tw_action_text2=</action>
2849 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2850 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002851 </actions>
2852 </button>
2853
z31s1g28f0a922015-11-07 18:50:22 +01002854 <action>
2855 <touch key="home"/>
2856 <action function="page">main</action>
2857 </action>
2858
2859 <action>
2860 <touch key="back"/>
2861 <action function="page">main</action>
2862 </action>
2863 </page>
2864
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002865 <page name="installapp">
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002866 <template name="page"/>
2867
2868 <text style="text_l">
2869 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002870 <text>%tw_appinstall_title%</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002871 </text>
2872
2873 <text style="text_m">
2874 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002875 <text>{@reboot_install_app_hdr=Install TWRP App}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002876 </text>
2877
2878 <text style="text_m_accent">
2879 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2880 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2881 </text>
2882
2883 <text style="text_m_accent">
2884 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2885 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2886 </text>
2887
2888 <checkbox>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002889 <condition var1="tw_mount_system_ro" var2="0"/>
2890 <placement x="%indent%" y="%row7_y%"/>
2891 <text>{@reboot_install_app_system=Install as a System App}</text>
2892 <data variable="tw_app_install_system"/>
2893 </checkbox>
2894
2895 <button style="main_button_half_width">
2896 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002897 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002898 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002899 </button>
2900
2901 <slider>
2902 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2903 <actions>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002904 <action function="set">tw_action=installapp</action>
2905 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2906 <action function="set">tw_action_text2=</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002907 <action function="set">tw_complete_text1={@successful=Successful}</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002908 <action function="page">action_page</action>
2909 </actions>
2910 </slider>
2911
2912 <action>
2913 <touch key="home"/>
2914 <actions>
2915 <action function="set">tw_app_install_status=0</action>
2916 <action function="page">main</action>
2917 </actions>
2918 </action>
2919
2920 <action>
2921 <touch key="back"/>
2922 <actions>
2923 <action function="set">tw_app_install_status=0</action>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06002924 <action function="page">%tw_back%</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002925 </actions>
2926 </action>
2927 </page>
2928
z31s1g28f0a922015-11-07 18:50:22 +01002929 <page name="system_readonly">
2930 <template name="page"/>
2931
2932 <text style="text_l">
2933 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002934 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002935 </text>
2936
2937 <text style="text_m_accent">
2938 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002939 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002940 </text>
2941
2942 <text style="text_m">
2943 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <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 +01002945 </text>
2946
2947 <text style="text_m">
2948 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002949 <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 +01002950 </text>
2951
2952 <text style="text_m_fail">
2953 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002954 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002955 </text>
2956
2957 <checkbox>
2958 <condition var1="tw_is_encrypted" var2="0"/>
2959 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002960 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002961 <data variable="tw_never_show_system_ro_page"/>
2962 </checkbox>
2963
2964 <button style="main_button_half_width">
2965 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002966 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002967 <actions>
2968 <action function="mountsystemtoggle">1</action>
2969 <action function="set">tw_page_done=1</action>
2970 <action function="page">%tw_back%</action>
2971 </actions>
2972 </button>
2973
z31s1g608d7ff2016-01-18 19:47:25 +01002974 <button style="main_button_half_width">
2975 <placement x="%col2_x_left%" y="%row15a_y%"/>
2976 <text>{@sel_lang_btn=Select Language}</text>
2977 <action function="overlay">select_language</action>
2978 </button>
2979
z31s1g28f0a922015-11-07 18:50:22 +01002980 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002981 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002982 <actions>
2983 <action function="mountsystemtoggle">0</action>
2984 <action function="set">tw_page_done=1</action>
2985 <action function="page">%tw_back%</action>
2986 </actions>
2987 </slider>
2988 </page>
2989
2990 <page name="settings">
2991 <template name="page"/>
2992
2993 <text style="text_l">
2994 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 </text>
2997
2998 <text style="text_m">
2999 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003000 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003001 </text>
3002
3003 <template name="tabs_settings"/>
3004
3005 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003006 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003007 </fill>
3008
3009 <listbox style="scrolllist">
3010 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3011 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003012 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003013 <data variable="tw_signed_zip_verify"/>
3014 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003015 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3016 <data variable="tw_install_reboot"/>
3017 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003018 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003019 <data variable="tw_rm_rf"/>
3020 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003021 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3022 <data variable="tw_disable_free_space"/>
3023 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003024 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3025 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003026 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003027 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3028 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003029 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003030 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003031 <data variable="tw_military_time"/>
3032 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003033 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003034 <data variable="tw_simulate_actions"/>
3035 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003036 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003037 <condition var1="tw_simulate_actions" var2="1"/>
3038 <data variable="tw_simulate_fail"/>
3039 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003040 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3041 <condition var1="tw_no_sha2" var2="0"/>
3042 <data variable="tw_use_sha2"/>
3043 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003044 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3045 <data variable="tw_unmount_system"/>
3046 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003047 </listbox>
3048
3049 <checkbox>
3050 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003051 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003052 <data variable="tw_samsung_navbar"/>
3053 </checkbox>
3054
3055 <button style="radiobutton">
3056 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3057 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003058 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003059 <image resource="radio_false"/>
3060 <action function="set">tw_navbar_button_position=0</action>
3061 </button>
3062
3063 <button style="radiobutton">
3064 <condition var1="tw_navbar_button_position" var2="0"/>
3065 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003066 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003067 <image resource="radio_true"/>
3068 <action function="set">tw_navbar_button_position=0</action>
3069 </button>
3070
3071 <button style="radiobutton">
3072 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3073 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003074 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003075 <image resource="radio_false"/>
3076 <action function="set">tw_navbar_button_position=1</action>
3077 </button>
3078
3079 <button style="radiobutton">
3080 <condition var1="tw_navbar_button_position" var2="1"/>
3081 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003082 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003083 <image resource="radio_true"/>
3084 <action function="set">tw_navbar_button_position=1</action>
3085 </button>
3086
3087 <button style="radiobutton">
3088 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3089 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003090 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003091 <image resource="radio_false"/>
3092 <action function="set">tw_navbar_button_position=2</action>
3093 </button>
3094
3095 <button style="radiobutton">
3096 <condition var1="tw_navbar_button_position" var2="2"/>
3097 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003099 <image resource="radio_true"/>
3100 <action function="set">tw_navbar_button_position=2</action>
3101 </button>
3102
3103 <button style="main_button_half_width">
3104 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003105 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003106 <action function="restoredefaultsettings"/>
3107 </button>
3108
3109 <action>
3110 <touch key="home"/>
3111 <action function="page">main</action>
3112 </action>
3113
3114 <action>
3115 <touch key="back"/>
3116 <action function="page">main</action>
3117 </action>
3118 </page>
3119
3120 <page name="settings_timezone">
3121 <template name="page"/>
3122
3123 <text style="text_l">
3124 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003126 </text>
3127
3128 <text style="text_m">
3129 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003131 </text>
3132
3133 <template name="tabs_settings"/>
3134
3135 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003136 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003137 </fill>
3138
3139 <listbox>
3140 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003141 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003142 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003143 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3144 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3145 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3146 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3147 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3148 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3149 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3150 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3151 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3152 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3153 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3154 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3155 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3156 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3157 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3158 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3159 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3160 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3161 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3162 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3163 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3164 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3165 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3166 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003167 </listbox>
3168
3169 <text style="text_m_accent">
3170 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </text>
3173
3174 <button style="button_quarter_width">
3175 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003176 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003177 <action function="set">tw_time_zone_guioffset=0</action>
3178 </button>
3179
3180 <button style="button_quarter_width">
3181 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003182 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003183 <action function="set">tw_time_zone_guioffset=15</action>
3184 </button>
3185
3186 <button style="button_quarter_width">
3187 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <action function="set">tw_time_zone_guioffset=30</action>
3190 </button>
3191
3192 <button style="button_quarter_width">
3193 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003194 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003195 <action function="set">tw_time_zone_guioffset=45</action>
3196 </button>
3197
3198 <checkbox>
3199 <placement x="%col1_x_right%" y="%row7_y%"/>
3200 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003202 <data variable="tw_time_zone_guidst"/>
3203 <image checked="checkbox_true" unchecked="checkbox_false"/>
3204 </checkbox>
3205
3206 <text color="%text_color%">
3207 <font resource="font_m"/>
3208 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003209 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003210 </text>
3211
3212 <button>
3213 <highlight color="%highlight_color%"/>
3214 <placement x="%col2_x_right%" y="%row15a_y%"/>
3215 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003216 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003217 <image resource="main_button_half_width"/>
3218 <action function="setguitimezone"/>
3219 </button>
3220
3221 <action>
3222 <touch key="home"/>
3223 <action function="page">main</action>
3224 </action>
3225
3226 <action>
3227 <touch key="back"/>
3228 <action function="page">main</action>
3229 </action>
3230 </page>
3231
3232 <page name="settings_screen">
3233 <template name="page"/>
3234
3235 <text style="text_l">
3236 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003237 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003238 </text>
3239
3240 <text style="text_m">
3241 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 </text>
3244
3245 <template name="tabs_settings"/>
3246
3247 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003248 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003249 </fill>
3250
3251 <button>
3252 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3253 <font resource="font_m" color="%text_color%"/>
3254 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3255 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003256 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003257 <image resource="checkbox_false"/>
3258 <action function="set">tw_screen_timeout_secs=60</action>
3259 </button>
3260
3261 <button>
3262 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3263 <font resource="font_m" color="%text_color%"/>
3264 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3265 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 <image resource="checkbox_true"/>
3268 <action function="set">tw_screen_timeout_secs=0</action>
3269 </button>
3270
3271 <slidervalue>
3272 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3273 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3274 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003275 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003276 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3277 </slidervalue>
3278
3279 <slidervalue>
3280 <condition var1="tw_has_brightnesss_file" var2="1"/>
3281 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003282 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003283 <data variable="tw_brightness_pct" min="10" max="100"/>
3284 <actions>
3285 <action function="set">tw_brightness=%tw_brightness_max%</action>
3286 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3287 <action function="compute">tw_brightness/100</action>
3288 <action function="setbrightness">%tw_brightness%</action>
3289 </actions>
3290 </slidervalue>
3291
3292 <action>
3293 <touch key="home"/>
3294 <action function="page">main</action>
3295 </action>
3296
3297 <action>
3298 <touch key="back"/>
3299 <action function="page">main</action>
3300 </action>
3301 </page>
3302
3303 <page name="settings_vibration">
3304 <template name="page"/>
3305
3306 <text style="text_l">
3307 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003308 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003309 </text>
3310
3311 <text style="text_m">
3312 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003313 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003314 </text>
3315
3316 <template name="tabs_settings"/>
3317
3318 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003319 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003320 </fill>
3321
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003322 <text style="text_m">
3323 <condition var1="tw_disable_haptics" var2="1"/>
3324 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3325 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3326 </text>
3327
z31s1g28f0a922015-11-07 18:50:22 +01003328 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003329 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003330 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 <data variable="tw_button_vibrate" min="0" max="300"/>
3333 </slidervalue>
3334
3335 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003336 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003337 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3340 </slidervalue>
3341
3342 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003343 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003344 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003345 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003346 <data variable="tw_action_vibrate" min="0" max="500"/>
3347 </slidervalue>
3348
3349 <action>
3350 <touch key="home"/>
3351 <action function="page">main</action>
3352 </action>
3353
3354 <action>
3355 <touch key="back"/>
3356 <action function="page">main</action>
3357 </action>
3358 </page>
3359
Ethan Yonker74db1572015-10-28 12:44:49 -05003360 <page name="settings_language">
3361 <template name="page"/>
3362
3363 <text style="text_l">
3364 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3365 <text>{@settings_hdr=Settings}</text>
3366 </text>
3367
3368 <text style="text_m">
3369 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3370 <text>{@language_hdr=Language - %tw_language_display%}</text>
3371 </text>
3372
3373 <template name="tabs_settings"/>
3374
3375 <fill color="%text_color%">
3376 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3377 </fill>
3378
3379 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003380 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003381 <text>{@select_language=Select Language:}</text>
3382 <icon selected="radio_true" unselected="radio_false" />
3383 <data name="tw_language" />
3384 </listbox>
3385
z31s1g56189522016-01-13 19:12:40 +01003386 <button>
3387 <highlight color="%highlight_color%"/>
3388 <placement x="%col2_x_right%" y="%row15a_y%"/>
3389 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003390 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003391 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003392 <action function="setlanguage"></action>
3393 </button>
3394
3395 <action>
3396 <touch key="home" />
3397 <action function="page">main</action>
3398 </action>
3399
3400 <action>
3401 <touch key="back" />
3402 <action function="page">settings</action>
3403 </action>
3404 </page>
3405
Matt Mower32676622017-01-18 18:56:13 -06003406 <page name="copylog">
3407 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003408
Matt Mower32676622017-01-18 18:56:13 -06003409 <text style="text_l">
3410 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3411 <text>{@copying_log=Copy Logs to SD Card}</text>
3412 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003413
Matt Mower32676622017-01-18 18:56:13 -06003414 <checkbox>
3415 <placement x="%indent%" y="%row4_y%"/>
3416 <text>{@include_kernel_log=Include Kernel Log}</text>
3417 <data variable="tw_include_kernel_log" value="1"/>
3418 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003419
Matt Mower32676622017-01-18 18:56:13 -06003420 <slider>
3421 <text>{@copying_log=Copy Logs to SD Card}</text>
3422 <actions>
3423 <action function="set">tw_back=advanced</action>
3424 <action function="set">tw_action=copylog</action>
3425 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3426 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3427 <action function="page">action_page</action>
3428 </actions>
3429 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430
Matt Mower32676622017-01-18 18:56:13 -06003431 <action>
3432 <touch key="home"/>
3433 <action function="page">main</action>
3434 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003435
Matt Mower32676622017-01-18 18:56:13 -06003436 <action>
3437 <touch key="back"/>
3438 <actions>
3439 <action function="page">advanced</action>
3440 </actions>
3441 </action>
3442 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003443
z31s1g28f0a922015-11-07 18:50:22 +01003444 <page name="advanced">
3445 <template name="page"/>
3446
3447 <text style="text_l">
3448 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003449 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003450 </text>
3451
3452 <button style="main_button">
3453 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003454 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003455 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003456 </button>
3457
3458 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003459 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003460 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003461 <action function="page">filemanagerlist</action>
3462 </button>
3463
3464 <button style="main_button">
3465 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003467 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003468 </button>
3469
3470 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003471 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003472 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003473 <action function="page">sideload</action>
3474 </button>
3475
Ethan Yonker64e0a652018-07-25 09:52:17 -05003476 <listbox style="advanced_listbox">
3477 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003478 <listitem name="{@decrypt_users=Decrypt Users}">
3479 <conditions>
3480 <condition var1="tw_is_fbe" var2="1"/>
3481 <condition var1="tw_all_users_decrypted" var2="0"/>
3482 </conditions>
3483 <actions>
3484 <action function="set">tw_crypto_user_id=</action>
3485 <action function="page">decrypt_users</action>
3486 </actions>
3487 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003488 <listitem name="{@reload_theme_btn=Reload Theme}">
3489 <action function="reload"/>
3490 </listitem>
3491 <listitem name="{@part_sd_btn=Partition SD Card}">
3492 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3493 <actions>
3494 <action function="set">partitionlisterror=0</action>
3495 <action function="page">partsdcardsel</action>
3496 </actions>
3497 </listitem>
3498 <listitem name="{@fix_context_btn=Fix Contexts}">
3499 <condition var1="tw_has_data_media" var2="1"/>
3500 <action function="page">fixcontexts</action>
3501 </listitem>
3502 <listitem name="{@dumlock_btn=HTC Dumlock}">
3503 <condition var1="tw_show_dumlock" var2="1"/>
3504 <action function="page">htcdumlock</action>
3505 </listitem>
3506 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3507 <condition var1="tw_has_injecttwrp" var2="1"/>
3508 <actions>
3509 <action function="set">tw_back=advanced</action>
3510 <action function="set">tw_action=reinjecttwrp</action>
3511 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3512 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3513 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3514 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3515 <action function="page">confirm_action</action>
3516 </actions>
3517 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003518 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3519 <conditions>
3520 <condition var1="tw_has_boot_slots" var2="1"/>
3521 <condition var1="tw_has_repack_tools" var2="1"/>
3522 </conditions>
3523 <actions>
3524 <action function="set">tw_repack_kernel=0</action>
3525 <action function="page">repackselect</action>
3526 </actions>
3527 </listitem>
3528 <listitem name="{@install_kernel=Install Kernel}">
3529 <conditions>
3530 <condition var1="tw_has_boot_slots" var2="1"/>
3531 <condition var1="tw_has_repack_tools" var2="1"/>
3532 </conditions>
3533 <actions>
3534 <action function="set">tw_repack_kernel=1</action>
3535 <action function="page">repackselect</action>
3536 </actions>
3537 </listitem>
3538 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3539 <conditions>
3540 <condition var1="tw_has_boot_slots" var2="1"/>
3541 <condition var1="tw_has_repack_tools" var2="1"/>
3542 </conditions>
3543 <actions>
3544 <action function="set">tw_back=advanced</action>
3545 <action function="set">tw_action=fixabrecoverybootloop</action>
3546 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3547 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3548 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3549 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3550 <action function="page">confirm_action</action>
3551 </actions>
3552 </listitem>
Ethan Yonkercbd4e0c2020-12-17 14:51:50 -06003553 <listitem name="{@reboot_install_app_hdr=Install TWRP App}">
3554 <condition var1="tw_app_install_status" var2="1"/>
3555 <actions>
3556 <action function="set">tw_back=advanced</action>
3557 <action function="set">tw_appinstall_title={@advanced_hdr=Advanced}</action>
3558 <action function="page">installapp</action>
3559 </actions>
3560 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003561 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3562 <condition var1="tw_app_installed_in_system" var2="1"/>
3563 <actions>
3564 <action function="set">tw_back=advanced</action>
3565 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3566 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3567 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3568 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3569 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3570 <action function="page">confirm_action</action>
3571 </actions>
3572 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003573 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003574
3575 <action>
3576 <touch key="home"/>
3577 <action function="page">main</action>
3578 </action>
3579
3580 <action>
3581 <touch key="back"/>
3582 <action function="page">main</action>
3583 </action>
3584 </page>
3585
Ethan Yonker483e9f42016-01-11 22:21:18 -06003586 <page name="partsdcardsel">
3587 <template name="page"/>
3588
3589 <text style="text_l">
3590 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3591 <text>{@advanced_hdr=Advanced}</text>
3592 </text>
3593
3594 <text style="text_m">
3595 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3596 <text>{@part_sd_hdr=Partition SD Card}</text>
3597 </text>
3598
z31s1g782e1c92016-01-30 16:50:09 +01003599 <partitionlist>
3600 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003601 <text>{@sel_storage_list=Select Storage}</text>
3602 <data name="tw_storage_path"/>
3603 <listtype name="storage"/>
3604 </partitionlist>
3605
z31s1g782e1c92016-01-30 16:50:09 +01003606 <text style="text_m_fail">
3607 <condition var1="partitionlisterror" var2="1"/>
3608 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3609 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3610 </text>
3611
3612 <button style="main_button_half_width">
3613 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003614 <text>{@ok_btn=OK}</text>
3615 <actions>
3616 <action function="getpartitiondetails">tw_storage_path</action>
3617 <action function="page">partsdcardcheck</action>
3618 </actions>
3619 </button>
3620
Ethan Yonker483e9f42016-01-11 22:21:18 -06003621 <action>
3622 <touch key="home"/>
3623 <action function="page">main</action>
3624 </action>
3625
3626 <action>
3627 <touch key="back"/>
3628 <action function="page">advanced</action>
3629 </action>
3630 </page>
3631
3632 <page name="partsdcardcheck">
3633 <action>
3634 <condition var1="tw_partition_removable" op="=" var2="1"/>
3635 <actions>
3636 <action function="set">partitionlisterror=0</action>
3637 <action function="page">partsdcard</action>
3638 </actions>
3639 </action>
3640
3641 <action>
3642 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3643 <actions>
3644 <action function="set">partitionlisterror=1</action>
3645 <action function="page">partsdcardsel</action>
3646 </actions>
3647 </action>
3648 </page>
3649
z31s1g28f0a922015-11-07 18:50:22 +01003650 <page name="partsdcard">
3651 <template name="page"/>
3652
3653 <text style="text_l">
3654 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003655 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003656 </text>
3657
3658 <text style="text_m">
3659 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003660 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003661 </text>
3662
3663 <text style="text_m_fail">
3664 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003665 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003666 </text>
3667
3668 <text style="text_m_fail">
3669 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003671 </text>
3672
3673 <text style="text_m_accent">
3674 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003675 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003676 </text>
3677
3678 <text style="text_m">
3679 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3680 <text>%tw_sdext_size%</text>
3681 </text>
3682
3683 <button style="button_quarter_width">
3684 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003685 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003686 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003687 </button>
3688
3689 <button style="button_quarter_width">
3690 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003692 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003693 </button>
3694
3695 <text style="text_m_accent">
3696 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003697 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003698 </text>
3699
3700 <text style="text_m">
3701 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3702 <text>%tw_swap_size%</text>
3703 </text>
3704
3705 <button style="button_quarter_width">
3706 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003707 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003708 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003709 </button>
3710
3711 <button style="button_quarter_width">
3712 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003713 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003714 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003715 </button>
3716
3717 <text style="text_m_accent">
3718 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 </text>
3721
3722 <text style="text_m">
3723 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3724 <text>%tw_sdpart_file_system%</text>
3725 </text>
3726
3727 <button style="button_quarter_width">
3728 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3729 <text>EXT3</text>
3730 <action function="set">tw_sdpart_file_system=ext3</action>
3731 </button>
3732
3733 <button style="button_quarter_width">
3734 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3735 <text>EXT4</text>
3736 <action function="set">tw_sdpart_file_system=ext4</action>
3737 </button>
3738
3739 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003740 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003741 <action function="page">partsdcardaction</action>
3742 <actions>
3743 <action function="set">tw_back=partsdcard</action>
3744 <action function="set">tw_action=partitionsd</action>
3745 <action function="set">tw_has_action2=1</action>
3746 <action function="set">tw_action2=set</action>
3747 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003748 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3749 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3750 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003751 <action function="page">action_page</action>
3752 </actions>
3753 </slider>
3754
3755 <action>
3756 <touch key="home"/>
3757 <action function="page">main</action>
3758 </action>
3759
3760 <action>
3761 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003762 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003763 </action>
3764 </page>
3765
3766 <page name="htcdumlock">
3767 <template name="page"/>
3768
3769 <text style="text_l">
3770 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003771 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003772 </text>
3773
3774 <text style="text_m">
3775 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 </text>
3778
3779 <button style="main_button_m">
3780 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003781 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003782 <actions>
3783 <action function="set">tw_back=htcdumlock</action>
3784 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3786 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3787 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3788 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003789 <action function="page">confirm_action</action>
3790 </actions>
3791 </button>
3792
3793 <button style="main_button_m">
3794 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003795 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003796 <actions>
3797 <action function="set">tw_back=htcdumlock</action>
3798 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003799 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3800 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3801 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3802 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003803 <action function="page">confirm_action</action>
3804 </actions>
3805 </button>
3806
3807 <button style="main_button_m">
3808 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003809 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003810 <actions>
3811 <action function="set">tw_back=htcdumlock</action>
3812 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003813 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3814 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3815 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3816 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003817 <action function="page">confirm_action</action>
3818 </actions>
3819 </button>
3820
3821 <action>
3822 <touch key="home"/>
3823 <action function="page">main</action>
3824 </action>
3825
3826 <action>
3827 <touch key="back"/>
3828 <action function="page">advanced</action>
3829 </action>
3830 </page>
3831
Ethan Yonker53796e72019-01-11 22:49:52 -06003832 <page name="repackselect">
3833 <template name="page"/>
3834
3835 <text style="text_l">
3836 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3837 <text>{@repack_image_hdr=Select Image}</text>
3838 </text>
3839
3840 <text style="text_m">
3841 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3842 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3843 </text>
3844
3845 <template name="sort_options"/>
3846
3847 <fileselector>
3848 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3849 <text>%tw_zip_location%</text>
3850 <filter extn=".img" folders="1" files="1"/>
3851 <path name="tw_zip_location" default="/sdcard"/>
3852 <data name="tw_filename"/>
3853 <selection name="tw_file"/>
3854 </fileselector>
3855
3856 <button style="main_button_half_width_low">
3857 <placement x="%col_button_right%" y="%row16a_y%"/>
3858 <text>{@select_storage_btn=Select Storage}</text>
3859 <actions>
3860 <action function="set">tw_back=install</action>
3861 <action function="overlay">select_storage</action>
3862 </actions>
3863 </button>
3864
3865 <action>
3866 <conditions>
3867 <condition var1="tw_filename" op="modified"/>
3868 </conditions>
3869 <action function="page">repackconfirm</action>
3870 </action>
3871
3872 <action>
3873 <touch key="back"/>
3874 <action function="page">advanced</action>
3875 </action>
3876
3877 <action>
3878 <touch key="home"/>
3879 <action function="page">main</action>
3880 </action>
3881 </page>
3882
3883 <page name="repackconfirm">
3884 <template name="page"/>
3885
3886 <text style="text_l">
3887 <condition var1="tw_repack_kernel" var2="1"/>
3888 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3889 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3890 </text>
3891
3892 <text style="text_l">
3893 <condition var1="tw_repack_kernel" var2="0"/>
3894 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3895 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3896 </text>
3897
3898 <text style="text_m">
3899 <condition var1="tw_repack_kernel" var2="1"/>
3900 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3901 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3902 </text>
3903
3904 <text style="text_m">
3905 <condition var1="tw_repack_kernel" var2="0"/>
3906 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3907 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3908 </text>
3909
3910 <text style="text_m_accent">
3911 <placement x="%indent%" y="%row2_y%"/>
3912 <text>{@folder=Folder:}</text>
3913 </text>
3914
3915 <text style="text_m">
3916 <placement x="%indent%" y="%row3_y%"/>
3917 <text>%tw_zip_location%</text>
3918 </text>
3919
3920 <text style="text_m_accent">
3921 <placement x="%indent%" y="%row4_y%"/>
3922 <text>{@file=File:}</text>
3923 </text>
3924
3925 <text style="text_m">
3926 <placement x="%indent%" y="%row5_y%"/>
3927 <text>%tw_file%</text>
3928 </text>
3929
3930 <checkbox>
3931 <placement x="%indent%" y="%row7_y%"/>
3932 <text>{@repack_backup_first=Back up existing image first}</text>
3933 <data variable="tw_repack_backup_first"/>
3934 </checkbox>
3935
3936 <button style="main_button_half_width">
3937 <placement x="%col1_x_left%" y="%row15a_y%"/>
3938 <text>{@install_cancel=Do not Install}</text>
3939 <action function="page">repackselect</action>
3940 </button>
3941
3942 <slider style="slider_centered">
3943 <text>{@swipe_to_install=Swipe to Install}</text>
3944 <actions>
3945 <action function="set">tw_back=advanced</action>
3946 <action function="set">tw_action=repackimage</action>
3947 <action function="set">tw_action_param=/boot</action>
3948 <action function="set">tw_action_text1={@installing=Installing...}</action>
3949 <action function="set">tw_action_text2=</action>
3950 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3951 <action function="page">action_page</action>
3952 </actions>
3953 </slider>
3954
3955 <action>
3956 <touch key="back"/>
3957 <action function="page">repackselect</action>
3958 </action>
3959
3960 <action>
3961 <touch key="home"/>
3962 <action function="page">main</action>
3963 </action>
3964 </page>
3965
z31s1g28f0a922015-11-07 18:50:22 +01003966 <page name="lock">
3967 <background color="%semi_transparent%"/>
3968
3969 <image>
3970 <image resource="unlock_icon"/>
3971 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3972 </image>
3973
3974 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003975 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003976 <action function="overlay"/>
3977 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003978
3979 <action>
3980 <touch key="power"/>
3981 <action function="togglebacklight"/>
3982 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003983 </page>
3984
3985 <page name="filemanagerlist">
3986 <template name="page"/>
3987
3988 <text style="text_l">
3989 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 </text>
3992
3993 <text style="text_m">
3994 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003995 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003996 </text>
3997
3998 <template name="sort_options"/>
3999
4000 <fileselector>
4001 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4002 <text>%tw_file_location1%</text>
4003 <filter folders="1" files="1"/>
4004 <path name="tw_file_location1" default="/"/>
4005 <data name="tw_filename1"/>
4006 <selection name="tw_selection1"/>
4007 </fileselector>
4008
4009 <button style="main_button_half_width_low">
4010 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004011 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004012 <actions>
4013 <action function="set">tw_filename1=tw_file_location1</action>
4014 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004015 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004016 <action function="page">filemanageroptions</action>
4017 </actions>
4018 </button>
4019
4020 <action>
4021 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004022 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004023 <action function="set">tw_fm_isfolder=0</action>
4024 </actions>
4025 </action>
4026
4027 <action>
4028 <touch key="home"/>
4029 <action function="page">main</action>
4030 </action>
4031
4032 <action>
4033 <touch key="back"/>
4034 <action function="page">advanced</action>
4035 </action>
4036
4037 <action>
4038 <condition var1="tw_filename1" op="modified"/>
4039 <action function="page">filemanageroptions</action>
4040 </action>
4041 </page>
4042
4043 <page name="filemanageroptions">
4044 <template name="page"/>
4045
4046 <text style="text_l">
4047 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 </text>
4050
4051 <text style="text_m">
4052 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004054 </text>
4055
4056 <text style="text_m_accent">
4057 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004058 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004059 </text>
4060
4061 <text style="text_m">
4062 <placement x="%col1_x_left%" y="%row3_y%"/>
4063 <text>%tw_filename1%</text>
4064 </text>
4065
4066 <button style="main_button_half_width">
4067 <condition var1="tw_fm_isfolder" var2="0"/>
4068 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 <actions>
4071 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004072 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004073 <action function="page">choosedestinationfolder</action>
4074 </actions>
4075 </button>
4076
4077 <button style="main_button_half_width">
4078 <condition var1="tw_fm_isfolder" var2="1"/>
4079 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004080 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004081 <actions>
4082 <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 -05004083 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004084 <action function="page">choosedestinationfolder</action>
4085 </actions>
4086 </button>
4087
4088 <button style="main_button_half_width">
4089 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004090 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004091 <actions>
4092 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004094 <action function="page">choosedestinationfolder</action>
4095 </actions>
4096 </button>
4097
4098 <button style="main_button_half_width">
4099 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004100 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004101 <actions>
4102 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004103 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004104 <action function="set">tw_fm_text2=</action>
4105 <action function="set">tw_fm_text3=</action>
4106 <action function="set">tw_include_text3=0</action>
4107 <action function="set">tw_back=filemanageroptions</action>
4108 <action function="page">filemanagerconfirm</action>
4109 </actions>
4110 </button>
4111
4112 <button style="main_button_half_width">
4113 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004114 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004115 <actions>
4116 <action function="set">tw_filemanager_rename=0000</action>
4117 <action function="set">tw_fm_text2=</action>
4118 <action function="set">tw_fm_text3=</action>
4119 <action function="set">tw_include_text3=0</action>
4120 <action function="set">tw_back=filemanageroptions</action>
4121 <action function="page">filemanagerchmod</action>
4122 </actions>
4123 </button>
4124
4125 <button style="main_button_half_width">
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004126 <condition var1="tw_fm_isfolder" var2="1"/>
4127 <placement x="%col2_x_right%" y="%row15a_y%"/>
4128 <text>{@fm_open_terminal_btn=Open Terminal Here}</text>
4129 <action function="changeterminal">%tw_filename1%</action>
4130 </button>
4131
4132 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004133 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004134 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004135 <actions>
4136 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004137 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004138 <action function="set">tw_fm_text2=</action>
4139 <action function="set">tw_fm_text3=</action>
4140 <action function="set">tw_include_text3=0</action>
4141 <action function="set">tw_back=filemanageroptions</action>
4142 <action function="page">filemanagerconfirm</action>
4143 </actions>
4144 </button>
4145
4146 <button style="main_button_half_width">
4147 <condition var1="tw_fm_isfolder" var2="0"/>
4148 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004149 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004150 <actions>
4151 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004153 <action function="set">tw_filemanager_command=mv</action>
4154 <action function="page">filemanagerrenamefile</action>
4155 </actions>
4156 </button>
4157
4158 <button style="main_button_half_width">
4159 <condition var1="tw_fm_isfolder" var2="1"/>
4160 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004161 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004162 <actions>
4163 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004164 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004165 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4166 <action function="page">filemanagerrenamefolder</action>
4167 </actions>
4168 </button>
4169
4170 <action>
4171 <touch key="home"/>
4172 <action function="page">main</action>
4173 </action>
4174
4175 <action>
4176 <touch key="back"/>
4177 <action function="page">filemanagerlist</action>
4178 </action>
4179 </page>
4180
4181 <page name="choosedestinationfolder">
4182 <template name="page"/>
4183
4184 <text style="text_l">
4185 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004186 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004187 </text>
4188
4189 <text style="text_m">
4190 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004191 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004192 </text>
4193
4194 <template name="sort_options"/>
4195
4196 <fileselector>
4197 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4198 <text>%tw_file_location2%</text>
4199 <filter folders="1" files="0"/>
4200 <path name="tw_file_location2" default="/"/>
4201 <data name="tw_filename2"/>
4202 <selection name="tw_selection2"/>
4203 </fileselector>
4204
4205 <button style="main_button_half_width_low">
4206 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004207 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004208 <actions>
4209 <action function="set">tw_fm_text2=to</action>
4210 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4211 <action function="set">tw_include_text3=1</action>
4212 <action function="set">tw_back=filemanageroptions</action>
4213 <action function="page">filemanagerconfirm</action>
4214 </actions>
4215 </button>
4216
4217 <action>
4218 <touch key="home"/>
4219 <action function="page">main</action>
4220 </action>
4221
4222 <action>
4223 <touch key="back"/>
4224 <action function="page">filemanageroptions</action>
4225 </action>
4226 </page>
4227
4228 <page name="filemanagerrenamefile">
4229 <template name="page"/>
4230
4231 <text style="text_l">
4232 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004233 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004234 </text>
4235
4236 <text style="text_m">
4237 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004238 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004239 </text>
4240
4241 <text style="text_m_accent">
4242 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004243 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004244 </text>
4245
4246 <input>
4247 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4248 <text>%tw_filemanager_rename%</text>
4249 <data name="tw_filemanager_rename"/>
4250 <restrict minlen="1" maxlen="128"/>
4251 <actions>
4252 <action function="set">tw_fm_text2=to</action>
4253 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4254 <action function="set">tw_include_text3=1</action>
4255 <action function="set">tw_back=filemanageroptions</action>
4256 <action function="page">filemanagerconfirm</action>
4257 </actions>
4258 </input>
4259
4260 <fill color="%accent_color%">
4261 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4262 </fill>
4263
4264 <button style="main_button_half_width_low">
4265 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004266 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004267 <action function="page">filemanageroptions</action>
4268 </button>
4269
4270 <template name="keyboardtemplate"/>
4271
4272 <action>
4273 <touch key="home"/>
4274 <action function="page">main</action>
4275 </action>
4276
4277 <action>
4278 <touch key="back"/>
4279 <action function="page">filemanageroptions</action>
4280 </action>
4281 </page>
4282
4283 <page name="filemanagerrenamefolder">
4284 <template name="page"/>
4285
4286 <text style="text_l">
4287 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004288 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004289 </text>
4290
4291 <text style="text_m">
4292 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004294 </text>
4295
4296 <text style="text_m_accent">
4297 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004298 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004299 </text>
4300
4301 <input>
4302 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4303 <text>%tw_filemanager_rename%</text>
4304 <data name="tw_filemanager_rename"/>
4305 <restrict minlen="1" maxlen="128"/>
4306 <actions>
4307 <action function="set">tw_fm_text2=to</action>
4308 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4309 <action function="set">tw_include_text3=1</action>
4310 <action function="set">tw_back=filemanageroptions</action>
4311 <action function="page">filemanagerconfirm</action>
4312 </actions>
4313 </input>
4314
4315 <fill color="%accent_color%">
4316 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4317 </fill>
4318
4319 <button style="main_button_half_width_low">
4320 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004321 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004322 <action function="page">filemanageroptions</action>
4323 </button>
4324
4325 <template name="keyboardtemplate"/>
4326
4327 <action>
4328 <touch key="home"/>
4329 <action function="page">main</action>
4330 </action>
4331
4332 <action>
4333 <touch key="back"/>
4334 <action function="page">filemanageroptions</action>
4335 </action>
4336 </page>
4337
4338 <page name="filemanagerchmod">
4339 <template name="page"/>
4340
4341 <text style="text_l">
4342 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004343 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004344 </text>
4345
4346 <text style="text_m">
4347 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004348 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004349 </text>
4350
4351 <text style="text_m_accent">
4352 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004353 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004354 </text>
4355
4356 <input>
4357 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4358 <text>%tw_filemanager_rename%</text>
4359 <data name="tw_filemanager_rename"/>
4360 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4361 <actions>
4362 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4363 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4364 <action function="set">tw_back=filemanageroptions</action>
4365 <action function="page">filemanagerconfirm</action>
4366 </actions>
4367 </input>
4368
4369 <fill color="%accent_color%">
4370 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4371 </fill>
4372
4373 <button style="main_button_half_width_low">
4374 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004375 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004376 <action function="page">filemanageroptions</action>
4377 </button>
4378
4379 <template name="keyboardtemplate"/>
4380
4381 <action>
4382 <touch key="home"/>
4383 <action function="page">main</action>
4384 </action>
4385
4386 <action>
4387 <touch key="back"/>
4388 <action function="page">filemanageroptions</action>
4389 </action>
4390 </page>
4391
4392 <page name="filemanagerconfirm">
4393 <template name="page"/>
4394
4395 <text style="text_l">
4396 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004397 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004398 </text>
4399
4400 <text style="text_m">
4401 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004402 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004403 </text>
4404
4405 <text style="text_m_accent">
4406 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4407 <text>%tw_fm_text1%</text>
4408 </text>
4409
4410 <text style="text_m">
4411 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4412 <text>%tw_filename1%</text>
4413 </text>
4414
4415 <text style="text_m_accent">
4416 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4417 <text>%tw_fm_text2%</text>
4418 </text>
4419
4420 <text style="text_m">
4421 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4422 <text>%tw_fm_text3%</text>
4423 </text>
4424
4425 <text style="text_m">
4426 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004428 </text>
4429
4430 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004431 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004432 <action function="page">filemanageraction</action>
4433 </slider>
4434
4435 <action>
4436 <touch key="back"/>
4437 <action function="page">%tw_back%</action>
4438 </action>
4439
4440 <action>
4441 <touch key="home"/>
4442 <action function="page">main</action>
4443 </action>
4444 </page>
4445
4446 <page name="filemanageraction">
4447 <template name="page"/>
4448
4449 <text style="text_l">
4450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <text style="text_m">
4455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4456 <text>%tw_fm_text1%</text>
4457 </text>
4458
4459 <template name="console"/>
4460
4461 <template name="progress_bar"/>
4462
4463 <action>
4464 <conditions>
4465 <condition var1="tw_operation_state" var2="1"/>
4466 <condition var1="tw_operation_status" var2="0"/>
4467 </conditions>
4468 <actions>
4469 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004470 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004471 <action function="page">action_complete</action>
4472 </actions>
4473 </action>
4474
4475 <action>
4476 <conditions>
4477 <condition var1="tw_operation_state" var2="1"/>
4478 <condition var1="tw_operation_status" op="!=" var2="0"/>
4479 </conditions>
4480 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004482 <action function="page">action_complete</action>
4483 </actions>
4484 </action>
4485
4486 <action>
4487 <condition var1="tw_include_text3" var2="0"/>
4488 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4489 </action>
4490
4491 <action>
4492 <condition var1="tw_include_text3" var2="1"/>
4493 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4494 </action>
4495 </page>
4496
4497 <page name="decrypt">
4498 <template name="page"/>
4499
4500 <action>
4501 <condition var1="tw_crypto_pwtype" var2="2"/>
4502 <action function="page">decrypt_pattern</action>
4503 </action>
4504
4505 <text style="text_l">
4506 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004507 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004508 </text>
4509
4510 <text style="text_m">
4511 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004512 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004513 </text>
4514
4515 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004516 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004517 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004518 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004519 </text>
4520
Noah Jacobson5a79f672019-04-28 00:10:07 -04004521 <text style="text_m_accent">
4522 <condition var1="tw_is_fbe" var2="1"/>
4523 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4524 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4525 </text>
4526
z31s1g28f0a922015-11-07 18:50:22 +01004527 <input>
4528 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4529 <text>%tw_crypto_display%</text>
4530 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4531 <restrict minlen="1" maxlen="254"/>
4532 <action function="page">trydecrypt</action>
4533 </input>
4534
4535 <fill color="%accent_color%">
4536 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4537 </fill>
4538
4539 <fill color="%text_fail_color%">
4540 <condition var1="tw_password_fail" var2="1"/>
4541 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4542 </fill>
4543
4544 <text style="text_m_fail">
4545 <condition var1="tw_password_fail" var2="1"/>
4546 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004547 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <button style="main_button_half_width_low">
4551 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004552 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004553 <actions>
4554 <action function="set">tw_page_done=1</action>
4555 <action function="page">main</action>
4556 </actions>
4557 </button>
4558
z31s1g608d7ff2016-01-18 19:47:25 +01004559 <button style="main_button_half_width_low">
4560 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4561 <text>{@sel_lang_btn=Select Language}</text>
4562 <action function="overlay">select_language</action>
4563 </button>
4564
z31s1g28f0a922015-11-07 18:50:22 +01004565 <template name="keyboardtemplate"/>
4566 </page>
4567
4568 <page name="decrypt_pattern">
4569 <template name="page"/>
4570
4571 <text style="text_l">
4572 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004573 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004574 </text>
4575
4576 <text style="text_m">
4577 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004578 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004579 </text>
4580
4581 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004582 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004583 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004584 </text>
4585
Aleksa Saraib25a1832015-12-31 17:36:00 +01004586 <text style="text_m_fail">
4587 <condition var1="tw_password_fail" var2="1"/>
4588 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004589 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004590 </text>
4591
z31s1g28f0a922015-11-07 18:50:22 +01004592 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004593 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004594 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4595 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4596 <data name="tw_crypto_password"/>
4597 <action function="page">trydecrypt</action>
4598 </patternpassword>
4599
Aleksa Saraib25a1832015-12-31 17:36:00 +01004600 <button style="main_button_half_width_low">
4601 <placement x="%col_button_right%" y="%row1a_y%"/>
4602 <text>3x3</text>
4603 <action function="set">tw_gui_pattern_grid_size=3</action>
4604 </button>
4605
4606 <button style="main_button_half_width_low">
4607 <placement x="%col_button_right%" y="%row4a_y%"/>
4608 <text>4x4</text>
4609 <action function="set">tw_gui_pattern_grid_size=4</action>
4610 </button>
4611
4612 <button style="main_button_half_width_low">
4613 <placement x="%col_button_right%" y="%row7a_y%"/>
4614 <text>5x5</text>
4615 <action function="set">tw_gui_pattern_grid_size=5</action>
4616 </button>
4617
4618 <button style="main_button_half_width_low">
4619 <placement x="%col_button_right%" y="%row10a_y%"/>
4620 <text>6x6</text>
4621 <action function="set">tw_gui_pattern_grid_size=6</action>
4622 </button>
4623
z31s1g28f0a922015-11-07 18:50:22 +01004624 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004625 <placement x="%col1_x_right%" y="%row15a_y%"/>
4626 <text>{@sel_lang_btn=Select Language}</text>
4627 <action function="overlay">select_language</action>
4628 </button>
4629
4630 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004631 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004632 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004633 <actions>
4634 <action function="set">tw_page_done=1</action>
4635 <action function="page">main</action>
4636 </actions>
4637 </button>
4638 </page>
4639
4640 <page name="trydecrypt">
4641 <template name="page"/>
4642
4643 <text style="text_l">
4644 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004645 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004646 </text>
4647
4648 <text style="text_m">
4649 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004650 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004651 </text>
4652
4653 <template name="console"/>
4654
4655 <template name="progress_bar"/>
4656
4657 <action>
4658 <action function="decrypt"/>
4659 </action>
4660
4661 <action>
4662 <conditions>
4663 <condition var1="tw_operation_state" var2="1"/>
4664 <condition var1="tw_operation_status" op="!=" var2="0"/>
4665 </conditions>
4666 <actions>
4667 <action function="set">tw_password_fail=1</action>
4668 <action function="page">decrypt</action>
4669 </actions>
4670 </action>
4671
4672 <action>
4673 <conditions>
4674 <condition var1="tw_operation_state" var2="1"/>
4675 <condition var1="tw_operation_status" op="=" var2="0"/>
4676 </conditions>
4677 <actions>
4678 <action function="set">tw_page_done=1</action>
4679 <action function="page">main</action>
4680 </actions>
4681 </action>
4682 </page>
4683
z31s1g28f0a922015-11-07 18:50:22 +01004684 <page name="terminalcommand">
4685 <template name="page"/>
4686
4687 <fill color="%background_color%">
4688 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4689 </fill>
4690
z31s1g56189522016-01-13 19:12:40 +01004691 <terminal>
4692 <condition var1="tw_hide_kb" var2="0"/>
4693 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4694 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004695
z31s1g56189522016-01-13 19:12:40 +01004696 <terminal>
4697 <condition var1="tw_hide_kb" var2="1"/>
4698 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4699 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004700
z31s1g56189522016-01-13 19:12:40 +01004701 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004702
z31s1g56189522016-01-13 19:12:40 +01004703 <object type="fill" color="#000000">
4704 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4705 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004706
z31s1g608d7ff2016-01-18 19:47:25 +01004707 <button>
z31s1g56189522016-01-13 19:12:40 +01004708 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4709 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4710 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4711 <image resource="back" />
4712 <condition var1="tw_busy" var2="0" />
4713 <actions>
4714 <action function="set">tw_hide_kb=0</action>
4715 <action function="page">advanced</action>
4716 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004717 </button>
z31s1g56189522016-01-13 19:12:40 +01004718
z31s1g608d7ff2016-01-18 19:47:25 +01004719 <button>
z31s1g56189522016-01-13 19:12:40 +01004720 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4721 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4722 <condition var1="tw_hide_kb" op="=" var2="0" />
4723 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4724 <image resource="kb_hide" />
4725 <condition var1="tw_busy" var2="0" />
4726 <actions>
4727 <action function="set">tw_hide_kb=1</action>
4728 <action function="page">terminalcommand</action>
4729 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004730 </button>
z31s1g56189522016-01-13 19:12:40 +01004731
z31s1g608d7ff2016-01-18 19:47:25 +01004732 <button>
z31s1g56189522016-01-13 19:12:40 +01004733 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4734 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4735 <condition var1="tw_hide_kb" op="=" var2="1" />
4736 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4737 <image resource="kb_show" />
4738 <condition var1="tw_busy" var2="0" />
4739 <actions>
4740 <action function="set">tw_hide_kb=0</action>
4741 <action function="page">terminalcommand</action>
4742 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004743 </button>
z31s1g56189522016-01-13 19:12:40 +01004744
z31s1g608d7ff2016-01-18 19:47:25 +01004745 <button>
z31s1g56189522016-01-13 19:12:40 +01004746 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4747 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4748 <image resource="home" />
4749 <condition var1="tw_busy" var2="0" />
4750 <actions>
4751 <action function="set">tw_hide_kb=0</action>
4752 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004753 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004754 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004755 </button>
z31s1g56189522016-01-13 19:12:40 +01004756
z31s1g608d7ff2016-01-18 19:47:25 +01004757 <button>
z31s1g56189522016-01-13 19:12:40 +01004758 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4759 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4760 <condition var1="tw_hide_kb" op="=" var2="0" />
4761 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4762 <image resource="kb_hide" />
4763 <condition var1="tw_busy" var2="0" />
4764 <actions>
4765 <action function="set">tw_hide_kb=1</action>
4766 <action function="page">terminalcommand</action>
4767 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004768 </button>
z31s1g56189522016-01-13 19:12:40 +01004769
z31s1g608d7ff2016-01-18 19:47:25 +01004770 <button>
z31s1g56189522016-01-13 19:12:40 +01004771 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4772 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4773 <condition var1="tw_hide_kb" op="=" var2="1" />
4774 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4775 <image resource="kb_show" />
4776 <condition var1="tw_busy" var2="0" />
4777 <actions>
4778 <action function="set">tw_hide_kb=0</action>
4779 <action function="page">terminalcommand</action>
4780 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004781 </button>
z31s1g56189522016-01-13 19:12:40 +01004782
z31s1g608d7ff2016-01-18 19:47:25 +01004783 <button>
z31s1g56189522016-01-13 19:12:40 +01004784 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4785 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4786 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4787 <image resource="back" />
4788 <condition var1="tw_busy" var2="0" />
4789 <actions>
4790 <action function="set">tw_hide_kb=0</action>
4791 <action function="page">advanced</action>
4792 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004793 </button>
z31s1g56189522016-01-13 19:12:40 +01004794
z31s1g608d7ff2016-01-18 19:47:25 +01004795 <button>
z31s1g56189522016-01-13 19:12:40 +01004796 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4797 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4798 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4799 <image resource="back" />
4800 <condition var1="tw_busy" var2="0" />
4801 <actions>
4802 <action function="set">tw_hide_kb=0</action>
4803 <action function="page">advanced</action>
4804 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004805 </button>
z31s1g56189522016-01-13 19:12:40 +01004806
z31s1g608d7ff2016-01-18 19:47:25 +01004807 <button>
z31s1g56189522016-01-13 19:12:40 +01004808 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4809 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4810 <condition var1="tw_hide_kb" op="=" var2="0" />
4811 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4812 <image resource="kb_hide" />
4813 <condition var1="tw_busy" var2="0" />
4814 <actions>
4815 <action function="set">tw_hide_kb=1</action>
4816 <action function="page">terminalcommand</action>
4817 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004818 </button>
z31s1g56189522016-01-13 19:12:40 +01004819
z31s1g608d7ff2016-01-18 19:47:25 +01004820 <button>
z31s1g56189522016-01-13 19:12:40 +01004821 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4822 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4823 <condition var1="tw_hide_kb" op="=" var2="1" />
4824 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4825 <image resource="kb_show" />
4826 <condition var1="tw_busy" var2="0" />
4827 <actions>
4828 <action function="set">tw_hide_kb=0</action>
4829 <action function="page">terminalcommand</action>
4830 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004831 </button>
z31s1g56189522016-01-13 19:12:40 +01004832
z31s1g608d7ff2016-01-18 19:47:25 +01004833 <button>
z31s1g56189522016-01-13 19:12:40 +01004834 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4835 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4836 <image resource="home" />
4837 <condition var1="tw_busy" var2="0" />
4838 <actions>
4839 <action function="set">tw_hide_kb=0</action>
4840 <action function="key">home</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004841 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004842 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004843 </button>
z31s1g56189522016-01-13 19:12:40 +01004844
z31s1g608d7ff2016-01-18 19:47:25 +01004845 <button>
z31s1g56189522016-01-13 19:12:40 +01004846 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4847 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4848 <condition var1="tw_hide_kb" op="=" var2="0" />
4849 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4850 <image resource="kb_hide" />
4851 <condition var1="tw_busy" var2="0" />
4852 <actions>
4853 <action function="set">tw_hide_kb=1</action>
4854 <action function="page">terminalcommand</action>
4855 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004856 </button>
z31s1g56189522016-01-13 19:12:40 +01004857
z31s1g608d7ff2016-01-18 19:47:25 +01004858 <button>
z31s1g56189522016-01-13 19:12:40 +01004859 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4860 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4861 <condition var1="tw_hide_kb" op="=" var2="1" />
4862 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4863 <image resource="kb_show" />
4864 <condition var1="tw_busy" var2="0" />
4865 <actions>
4866 <action function="set">tw_hide_kb=0</action>
4867 <action function="page">terminalcommand</action>
4868 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004869 </button>
z31s1g56189522016-01-13 19:12:40 +01004870
z31s1g608d7ff2016-01-18 19:47:25 +01004871 <button>
z31s1g56189522016-01-13 19:12:40 +01004872 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4873 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4874 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4875 <image resource="back" />
4876 <condition var1="tw_busy" var2="0" />
4877 <actions>
4878 <action function="set">tw_hide_kb=0</action>
4879 <action function="page">advanced</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004880 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004881 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004882 </button>
z31s1g56189522016-01-13 19:12:40 +01004883
z31s1g608d7ff2016-01-18 19:47:25 +01004884 <button>
z31s1g56189522016-01-13 19:12:40 +01004885 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4886 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4887 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4888 <image resource="back" />
4889 <condition var1="tw_busy" var2="0" />
4890 <actions>
4891 <action function="set">tw_hide_kb=0</action>
4892 <action function="page">advanced</action>
4893 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004894 </button>
z31s1g56189522016-01-13 19:12:40 +01004895
z31s1g608d7ff2016-01-18 19:47:25 +01004896 <button>
z31s1g56189522016-01-13 19:12:40 +01004897 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4898 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4899 <condition var1="tw_hide_kb" op="=" var2="0" />
4900 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4901 <image resource="kb_hide" />
4902 <condition var1="tw_busy" var2="0" />
4903 <actions>
4904 <action function="set">tw_hide_kb=1</action>
4905 <action function="page">terminalcommand</action>
4906 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004907 </button>
z31s1g56189522016-01-13 19:12:40 +01004908
z31s1g608d7ff2016-01-18 19:47:25 +01004909 <button>
z31s1g56189522016-01-13 19:12:40 +01004910 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4911 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4912 <condition var1="tw_hide_kb" op="=" var2="1" />
4913 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4914 <image resource="kb_show" />
4915 <condition var1="tw_busy" var2="0" />
4916 <actions>
4917 <action function="set">tw_hide_kb=0</action>
4918 <action function="page">terminalcommand</action>
4919 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004920 </button>
z31s1g56189522016-01-13 19:12:40 +01004921
z31s1g608d7ff2016-01-18 19:47:25 +01004922 <button>
z31s1g56189522016-01-13 19:12:40 +01004923 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4924 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4925 <image resource="home" />
4926 <condition var1="tw_busy" var2="0" />
4927 <actions>
4928 <action function="set">tw_hide_kb=0</action>
4929 <action function="key">home</action>
4930 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004931 </button>
z31s1g56189522016-01-13 19:12:40 +01004932
z31s1g608d7ff2016-01-18 19:47:25 +01004933 <button>
z31s1g56189522016-01-13 19:12:40 +01004934 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4935 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4936 <condition var1="tw_hide_kb" op="=" var2="0" />
4937 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4938 <image resource="kb_hide" />
4939 <condition var1="tw_busy" var2="0" />
4940 <actions>
4941 <action function="set">tw_hide_kb=1</action>
4942 <action function="page">terminalcommand</action>
4943 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004944 </button>
z31s1g56189522016-01-13 19:12:40 +01004945
z31s1g608d7ff2016-01-18 19:47:25 +01004946 <button>
z31s1g56189522016-01-13 19:12:40 +01004947 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4948 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4949 <condition var1="tw_hide_kb" op="=" var2="1" />
4950 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4951 <image resource="kb_show" />
4952 <condition var1="tw_busy" var2="0" />
4953 <actions>
4954 <action function="set">tw_hide_kb=0</action>
4955 <action function="page">terminalcommand</action>
4956 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004957 </button>
z31s1g56189522016-01-13 19:12:40 +01004958
z31s1g608d7ff2016-01-18 19:47:25 +01004959 <button>
z31s1g56189522016-01-13 19:12:40 +01004960 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4961 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4962 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4963 <image resource="back" />
4964 <condition var1="tw_busy" var2="0" />
4965 <actions>
4966 <action function="set">tw_hide_kb=0</action>
4967 <action function="page">advanced</action>
4968 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004969 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004970
4971 <action>
4972 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004973 <actions>
4974 <action function="page">main</action>
4975 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004976 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004977 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004978 </action>
4979
4980 <action>
4981 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004982 <actions>
4983 <action function="page">advanced</action>
4984 <action function="set">tw_hide_kb=0</action>
Mohd Faraz3c25ab32020-08-12 12:29:42 +00004985 <action function="changeterminal"/>
z31s1g56189522016-01-13 19:12:40 +01004986 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004987 </action>
z31s1g56189522016-01-13 19:12:40 +01004988
4989 <object type="action">
4990 <touch key="power+voldown" />
4991 <action function="screenshot" />
4992 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004993 </page>
4994
4995 <page name="sideload">
4996 <template name="page"/>
4997
4998 <text style="text_l">
4999 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005000 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005001 </text>
5002
5003 <text style="text_m">
5004 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005005 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005006 </text>
5007
5008 <checkbox>
5009 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005010 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005011 <data variable="tw_wipe_dalvik"/>
5012 </checkbox>
5013
5014 <checkbox>
5015 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005016 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005017 <data variable="tw_wipe_cache"/>
5018 </checkbox>
5019
5020 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005021 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005022 <actions>
5023 <action function="set">tw_back=advanced</action>
5024 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005025 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5026 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5027 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005028 <action function="set">tw_has_cancel=1</action>
5029 <action function="set">tw_show_reboot=1</action>
5030 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5031 <action function="page">action_page</action>
5032 </actions>
5033 </slider>
5034
5035 <action>
5036 <touch key="home"/>
5037 <action function="page">main</action>
5038 </action>
5039
5040 <action>
5041 <touch key="back"/>
5042 <action function="page">advanced</action>
5043 </action>
5044 </page>
5045
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005046 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005047 <template name="page"/>
5048
5049 <text style="text_l">
5050 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005051 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005052 </text>
5053
5054 <text style="text_m">
5055 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005056 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005057 </text>
5058
5059 <text style="text_m_accent">
5060 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005061 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005062 </text>
5063
z31s1g28f0a922015-11-07 18:50:22 +01005064 <text style="text_m_fail">
5065 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005066 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005067 </text>
5068
5069 <text style="text_m_fail">
5070 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005071 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005072 </text>
5073
5074 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005075 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005076 <actions>
5077 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005078 <action function="set">tw_action=fixcontexts</action>
5079 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5080 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005081 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005082 <action function="set">tw_show_reboot=1</action>
5083 <action function="page">action_page</action>
5084 </actions>
5085 </slider>
5086
5087 <action>
5088 <touch key="home"/>
5089 <action function="page">main</action>
5090 </action>
5091
5092 <action>
5093 <touch key="back"/>
5094 <action function="page">advanced</action>
5095 </action>
5096 </page>
5097
z31s1g28f0a922015-11-07 18:50:22 +01005098 <page name="slideout">
5099 <fill color="%background_color%">
5100 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5101 </fill>
5102
5103 <console>
5104 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5105 </console>
5106
5107 <button>
5108 <fill color="%transparent%"/>
5109 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5110 <action function="overlay"/>
5111 </button>
5112
5113 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005114 <touch key="power"/>
5115 <action function="togglebacklight"/>
5116 </action>
5117
5118 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005119 <touch key="power+voldown"/>
5120 <action function="screenshot"/>
5121 </action>
5122 </page>
5123
5124 <page name="select_storage">
5125 <fill color="%semi_transparent%">
5126 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5127 </fill>
5128
5129 <fill color="%background_color%">
5130 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5131 </fill>
5132
5133 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005134 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005135 <data name="tw_storage_path"/>
5136 <listtype name="storage"/>
5137 </partitionlist>
5138
5139 <button style="button_third_width">
5140 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005141 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005142 <actions>
5143 <action function="set">tw_clear_destination=%tw_back%</action>
5144 <action function="overlay"/>
5145 <action function="page">clear_vars</action>
5146 </actions>
5147 </button>
5148
5149 <fill color="#000000">
5150 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5151 </fill>
5152
5153 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005154 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5155 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5156 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5157 <image resource="back" />
5158 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005159 <actions>
5160 <action function="overlay"/>
5161 <action function="key">%tw_back%</action>
5162 </actions>
5163 </button>
5164
5165 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005166 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5167 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5168 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5169 <image resource="console" />
5170 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005171 <action function="overlay">slideout</action>
5172 </button>
5173
5174 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005175 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5176 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5177 <image resource="home" />
5178 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005179 <actions>
5180 <action function="overlay"/>
5181 <action function="key">home</action>
5182 </actions>
5183 </button>
5184
5185 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005186 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5187 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5188 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5189 <image resource="console" />
5190 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005191 <action function="overlay">slideout</action>
5192 </button>
5193
5194 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005195 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5196 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5197 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5198 <image resource="back" />
5199 <condition var1="tw_busy" var2="0" />
5200 <actions>
5201 <action function="overlay"/>
5202 <action function="key">%tw_back%</action>
5203 </actions>
5204 </button>
5205
5206 <button>
5207 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5208 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5209 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5210 <image resource="back" />
5211 <condition var1="tw_busy" var2="0" />
5212 <actions>
5213 <action function="overlay"/>
5214 <action function="key">%tw_back%</action>
5215 </actions>
5216 </button>
5217
5218 <button>
5219 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5220 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5221 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5222 <image resource="console" />
5223 <condition var1="tw_busy" var2="0" />
5224 <action function="overlay">slideout</action>
5225 </button>
5226
5227 <button>
5228 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5229 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5230 <image resource="home" />
5231 <condition var1="tw_busy" var2="0" />
5232 <actions>
5233 <action function="overlay"/>
5234 <action function="key">home</action>
5235 </actions>
5236 </button>
5237
5238 <button>
5239 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5240 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5241 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5242 <image resource="console" />
5243 <condition var1="tw_busy" var2="0" />
5244 <action function="overlay">slideout</action>
5245 </button>
5246
5247 <button>
5248 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5249 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5250 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5251 <image resource="back" />
5252 <condition var1="tw_busy" var2="0" />
5253 <actions>
5254 <action function="overlay"/>
5255 <action function="key">%tw_back%</action>
5256 </actions>
5257 </button>
5258
5259 <button>
5260 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5261 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5262 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5263 <image resource="back" />
5264 <condition var1="tw_busy" var2="0" />
5265 <actions>
5266 <action function="overlay"/>
5267 <action function="key">%tw_back%</action>
5268 </actions>
5269 </button>
5270
5271 <button>
5272 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5273 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5274 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5275 <image resource="console" />
5276 <condition var1="tw_busy" var2="0" />
5277 <action function="overlay">slideout</action>
5278 </button>
5279
5280 <button>
5281 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5282 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5283 <image resource="home" />
5284 <condition var1="tw_busy" var2="0" />
5285 <actions>
5286 <action function="overlay"/>
5287 <action function="key">home</action>
5288 </actions>
5289 </button>
5290
5291 <button>
5292 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5293 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5294 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5295 <image resource="console" />
5296 <condition var1="tw_busy" var2="0" />
5297 <action function="overlay">slideout</action>
5298 </button>
5299
5300 <button>
5301 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5302 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5303 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5304 <image resource="back" />
5305 <condition var1="tw_busy" var2="0" />
5306 <actions>
5307 <action function="overlay"/>
5308 <action function="key">%tw_back%</action>
5309 </actions>
5310 </button>
5311
5312 <action>
5313 <touch key="power+voldown"/>
5314 <action function="screenshot"/>
5315 </action>
5316 </page>
5317
5318 <page name="select_language">
5319 <fill color="%semi_transparent%">
5320 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5321 </fill>
5322
5323 <fill color="%background_color%">
5324 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5325 </fill>
5326
5327 <listbox>
5328 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5329 <text>{@select_language=Select Language:}</text>
5330 <icon selected="radio_true" unselected="radio_false" />
5331 <data name="tw_language" />
5332 </listbox>
5333
5334 <button style="button_third_width">
5335 <placement x="%dialog_button_x%" y="%row13_y%"/>
5336 <text>{@ok_btn=OK}</text>
5337 <actions>
5338 <action function="overlay"/>
5339 <action function="setlanguage"></action>
5340 </actions>
5341 </button>
5342
5343 <fill color="#000000">
5344 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5345 </fill>
5346
5347 <button>
5348 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5349 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5350 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5351 <image resource="back" />
5352 <condition var1="tw_busy" var2="0" />
5353 <actions>
5354 <action function="overlay"/>
5355 <action function="key">%tw_back%</action>
5356 </actions>
5357 </button>
5358
5359 <button>
5360 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5361 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5362 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5363 <image resource="console" />
5364 <condition var1="tw_busy" var2="0" />
5365 <action function="overlay">slideout</action>
5366 </button>
5367
5368 <button>
5369 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5370 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5371 <image resource="home" />
5372 <condition var1="tw_busy" var2="0" />
5373 <actions>
5374 <action function="overlay"/>
5375 <action function="key">home</action>
5376 </actions>
5377 </button>
5378
5379 <button>
5380 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5381 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5382 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5383 <image resource="console" />
5384 <condition var1="tw_busy" var2="0" />
5385 <action function="overlay">slideout</action>
5386 </button>
5387
5388 <button>
5389 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5390 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5391 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5392 <image resource="back" />
5393 <condition var1="tw_busy" var2="0" />
5394 <actions>
5395 <action function="overlay"/>
5396 <action function="key">%tw_back%</action>
5397 </actions>
5398 </button>
5399
5400 <button>
5401 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5402 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5403 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5404 <image resource="back" />
5405 <condition var1="tw_busy" var2="0" />
5406 <actions>
5407 <action function="overlay"/>
5408 <action function="key">%tw_back%</action>
5409 </actions>
5410 </button>
5411
5412 <button>
5413 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5414 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5415 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5416 <image resource="console" />
5417 <condition var1="tw_busy" var2="0" />
5418 <action function="overlay">slideout</action>
5419 </button>
5420
5421 <button>
5422 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5423 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5424 <image resource="home" />
5425 <condition var1="tw_busy" var2="0" />
5426 <actions>
5427 <action function="overlay"/>
5428 <action function="key">home</action>
5429 </actions>
5430 </button>
5431
5432 <button>
5433 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5434 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5435 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5436 <image resource="console" />
5437 <condition var1="tw_busy" var2="0" />
5438 <action function="overlay">slideout</action>
5439 </button>
5440
5441 <button>
5442 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5443 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5444 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5445 <image resource="back" />
5446 <condition var1="tw_busy" var2="0" />
5447 <actions>
5448 <action function="overlay"/>
5449 <action function="key">%tw_back%</action>
5450 </actions>
5451 </button>
5452
5453 <button>
5454 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5455 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5456 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5457 <image resource="back" />
5458 <condition var1="tw_busy" var2="0" />
5459 <actions>
5460 <action function="overlay"/>
5461 <action function="key">%tw_back%</action>
5462 </actions>
5463 </button>
5464
5465 <button>
5466 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5467 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5468 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5469 <image resource="console" />
5470 <condition var1="tw_busy" var2="0" />
5471 <action function="overlay">slideout</action>
5472 </button>
5473
5474 <button>
5475 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5476 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5477 <image resource="home" />
5478 <condition var1="tw_busy" var2="0" />
5479 <actions>
5480 <action function="overlay"/>
5481 <action function="key">home</action>
5482 </actions>
5483 </button>
5484
5485 <button>
5486 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5487 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5488 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5489 <image resource="console" />
5490 <condition var1="tw_busy" var2="0" />
5491 <action function="overlay">slideout</action>
5492 </button>
5493
5494 <button>
5495 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5496 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5497 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5498 <image resource="back" />
5499 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005500 <actions>
5501 <action function="overlay"/>
5502 <action function="key">%tw_back%</action>
5503 </actions>
5504 </button>
5505
5506 <action>
5507 <touch key="power+voldown"/>
5508 <action function="screenshot"/>
5509 </action>
5510 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005511
5512 <page name="decrypt_users">
5513 <template name="page"/>
5514
5515 <text style="text_l">
5516 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5517 <text>{@decrypt_users=Decrypt Users}</text>
5518 </text>
5519
5520 <text style="text_m_accent">
5521 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5522 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5523 </text>
5524
5525 <listbox>
5526 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5527 <text>{@select_user=Select User}</text>
5528 <icon selected="radio_true" unselected="radio_false" />
5529 <data name="tw_crypto_user_id" />
5530 </listbox>
5531
5532 <button style="main_button_half_width">
5533 <placement x="%col2_x_right%" y="%row15a_y%"/>
5534 <text>{@decrypt_users=Decrypt Users}</text>
5535 <action function="set">tw_crypto_password=</action>
5536 <action function="set">tw_password_fail=0</action>
5537 <action function="page">decrypt</action>
5538 </button>
5539
5540 <action>
5541 <touch key="home"/>
5542 <action function="page">main</action>
5543 </action>
5544
5545 <action>
5546 <touch key="back"/>
5547 <action function="page">advanced</action>
5548 </action>
5549 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005550 </pages>
5551</recovery>