blob: 7eaf62237a7fefb470fca76bde21bc54fba1dd26 [file] [log] [blame]
z31s1g28f0a922015-11-07 18:50:22 +01001<?xml version="1.0"?>
2<recovery>
3 <styles>
4 <style name="text_l">
5 <font resource="font_l" color="%text_color%"/>
6 </style>
7
8 <style name="text_m">
9 <font resource="font_m" color="%text_color%"/>
10 </style>
11
12 <style name="text_m_accent">
13 <font resource="font_m" color="%accent_color%"/>
14 </style>
15
16 <style name="text_m_fail">
17 <font resource="font_m" color="%text_fail_color%"/>
18 </style>
19
20 <style name="text_s">
21 <font resource="font_s" color="%text_color%"/>
22 </style>
23
24 <style name="input">
25 <background color="%background_color%"/>
26 <cursor color="%accent_color%" hasfocus="1" width="%input_line_width%"/>
27 <font resource="font_m" color="%text_color%"/>
28 </style>
29
30 <style name="checkbox">
31 <font resource="font_m" color="%text_color%"/>
32 <image checked="checkbox_true" unchecked="checkbox_false"/>
33 </style>
34
35 <style name="radiobutton">
36 <font resource="font_m" color="%text_color%"/>
37 <image checked="radio_true" unchecked="radio_false"/>
38 </style>
39
40 <style name="main_button">
41 <highlight color="%highlight_color%"/>
42 <font resource="font_l" color="%text_button_color%"/>
43 <image resource="main_button"/>
44 </style>
45
46 <style name="main_button_m">
47 <highlight color="%highlight_color%"/>
48 <font resource="font_m" color="%text_button_color%"/>
49 <image resource="main_button"/>
50 </style>
51
52 <style name="main_button_half_width">
53 <highlight color="%highlight_color%"/>
54 <font resource="font_m" color="%text_button_color%"/>
55 <image resource="main_button_half_width"/>
56 </style>
57
58 <style name="main_button_half_width_low">
59 <highlight color="%highlight_color%"/>
60 <font resource="font_m" color="%text_button_color%"/>
61 <image resource="main_button_half_width_low"/>
62 </style>
63
64 <style name="button_third_width">
65 <highlight color="%highlight_color%"/>
66 <font resource="font_m" color="%text_button_color%"/>
67 <image resource="tab_3"/>
68 </style>
69
70 <style name="button_quarter_width">
71 <highlight color="%highlight_color%"/>
72 <font resource="font_m" color="%text_button_color%"/>
73 <image resource="tab_4"/>
74 </style>
75
76 <style name="sort_asc">
77 <highlight color="%highlight_color%"/>
78 <font resource="font_m" color="%text_button_color%"/>
79 <image resource="sort_asc"/>
80 </style>
81
82 <style name="sort_desc">
83 <highlight color="%highlight_color%"/>
84 <font resource="font_m" color="%text_button_color%"/>
85 <image resource="sort_desc"/>
86 </style>
87
88 <style name="sort_empty">
89 <highlight color="%highlight_color%"/>
90 <font resource="font_m" color="%text_button_color%"/>
91 <image resource="sort_empty"/>
92 </style>
93
94 <style name="fab">
95 <highlight color="%highlight_color%"/>
96 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
97 <font resource="font_m" color="%button_text_color%"/>
98 </style>
99
100 <style name="tab">
101 <highlight color="%highlight_color%"/>
102 <fill color="%accent_color%"/>
103 <font resource="font_s" color="%text_button_color%"/>
104 </style>
105
106 <style name="console">
107 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
108 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
109 <font resource="fixed"/>
110 </style>
111
z31s1g56189522016-01-13 19:12:40 +0100112 <style name="terminal">
113 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
114 <background color="%background_color%"/>
115 <font resource="fixed" spacing="3" color="%text_color%"/>
116 </style>
117
z31s1g28f0a922015-11-07 18:50:22 +0100118 <style name="fileselector">
119 <highlight color="%fileselector_highlight_color%"/>
120 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
121 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <sort name="tw_gui_sort_order"/>
124 <icon folder="folder" file="file"/>
125 <background color="%background_color%"/>
126 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
127 </style>
128
129 <style name="listbox">
130 <highlight color="%fileselector_highlight_color%"/>
131 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
132 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
133 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
134 <icon selected="radio_true" unselected="radio_false"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
137 </style>
138
139 <style name="scrolllist">
140 <background color="%background_color%"/>
141 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300142 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
z31s1g28f0a922015-11-07 18:50:22 +0100143 </style>
144
145 <style name="partitionlist">
146 <highlight color="%fileselector_highlight_color%"/>
147 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
148 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
149 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
150 <icon selected="checkbox_true" unselected="checkbox_false"/>
151 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
152 <background color="%background_color%"/>
153 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
154 </style>
155
156 <style name="partitionlist_storage">
157 <highlight color="%fileselector_highlight_color%"/>
158 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
159 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
160 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
161 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
162 <icon selected="radio_true" unselected="radio_false"/>
163 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
164 <background color="%background_color%"/>
165 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
166 </style>
167
Ethan Yonker64e0a652018-07-25 09:52:17 -0500168 <style name="advanced_listbox">
169 <highlight color="%fileselector_highlight_color%"/>
170 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
171 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
172 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
173 <icon selected="handle" unselected="handle"/>
174 <background color="%background_color%"/>
175 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
176 </style>
177
z31s1g28f0a922015-11-07 18:50:22 +0100178 <style name="slider">
179 <placement x="%col2_x_right%" y="%row17a_y%"/>
180 <font resource="font_m" color="%text_color%"/>
181 <resource base="slider" used="slider_used" touch="slider_touch"/>
182 </style>
183
184 <style name="slider_centered">
185 <placement x="%center_x%" y="%row17a_y%"/>
186 <font resource="font_m" color="%text_color%"/>
187 <resource base="slider" used="slider_used" touch="slider_touch"/>
188 </style>
189
190 <style name="slidervalue">
191 <resource handle="handle"/>
192 <font resource="font_m" color="%text_color%"/>
193 <colors line="%fileselector_linecolor%"/>
194 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
195 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100196
197 <style name="patternpassword">
198 <size name="tw_gui_pattern_grid_size" default="3"/>
199 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100200 </styles>
201
202 <pages>
203 <page name="main">
204 <action>
205 <actions>
206 <action function="set">tw_clear_destination=main2</action>
207 <action function="page">clear_vars</action>
208 </actions>
209 </action>
210 </page>
211
212 <page name="main2">
213 <template name="page"/>
214
215 <text style="text_l">
216 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500217 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100218 </text>
219
220 <text style="text_m">
221 <condition var1="tw_no_cpu_temp" var2="0"/>
222 <placement x="%col1_x_header%" y="%row4_header_y%"/>
223 <text>%tw_version%</text>
224 </text>
225
226 <button style="main_button">
227 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500228 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100229 <actions>
230 <action function="queueclear"/>
231 <action function="set">tw_selectimage=0</action>
232 <action function="page">install</action>
233 </actions>
234 </button>
235
236 <button style="main_button">
237 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500238 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100239 <action function="page">wipe</action>
240 </button>
241
242 <button style="main_button">
243 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500244 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100245 <action function="page">backup</action>
246 </button>
247
248 <button style="main_button">
249 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 <action function="page">restore</action>
252 </button>
253
254 <button style="main_button">
255 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500256 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100257 <action function="page">mount</action>
258 </button>
259
260 <button style="main_button">
261 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500262 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100263 <action function="page">settings</action>
264 </button>
265
266 <button style="main_button">
267 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500268 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100269 <action function="page">advanced</action>
270 </button>
271
272 <button style="main_button">
273 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500274 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100275 <action function="page">reboot</action>
276 </button>
277 </page>
278
279 <page name="install">
280 <template name="page"/>
281
282 <text style="text_l">
283 <condition var1="tw_selectimage" var2="0"/>
284 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500285 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100286 </text>
287
288 <text style="text_l">
289 <condition var1="tw_selectimage" var2="1"/>
290 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500291 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100292 </text>
293
294 <text style="text_m">
295 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500296 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100297 </text>
298
299 <template name="sort_options"/>
300
301 <fileselector>
302 <placement x="%col1_x_left%" y="%row1a_y%" w="%fileselector_install_folder_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500303 <text>{@file_selector_folders_hdr=Folders}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100304 <filter folders="1" files="0"/>
305 <path name="tw_zip_location" default="/sdcard"/>
306 <data name="select"/>
307 </fileselector>
308
309 <fileselector>
310 <condition var1="tw_selectimage" var2="0"/>
311 <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/>
312 <text>%tw_zip_location%</text>
mauronofrio6d3bf892019-10-26 19:47:55 +0200313 <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/>
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">
Chaosmaster7b66bf52020-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
Chaosmaster7b66bf52020-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 Jacobson81d638d2019-04-28 00:10:07 -0400762 <action function="set">tw_crypto_user_id=</action>
763 <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 Yonker64c5c0a2017-03-06 12:42:54 -06001018 <action function="page">appcheck</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
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001027 <page name="appcheck">
1028 <action>
1029 <condition var1="tw_app_prompt" var2="1"/>
1030 <action function="checkforapp"></action>
1031 </action>
1032
1033 <action>
1034 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1035 <action function="reboot">%tw_reboot_param%</action>
1036 </action>
1037
1038 <action>
1039 <condition var1="tw_app_install_status" var2="1"/>
1040 <action function="page">rebootapp</action>
1041 </action>
1042
1043 <action>
1044 <condition var1="tw_app_install_status" var2="2"/>
1045 <action function="reboot">%tw_reboot_param%</action>
1046 </action>
1047 </page>
1048
z31s1g28f0a922015-11-07 18:50:22 +01001049 <page name="wipe">
1050 <template name="page"/>
1051
1052 <text style="text_l">
1053 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001054 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </text>
1056
1057 <text style="text_m">
1058 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 </text>
1061
1062 <text style="text_m_accent">
1063 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <text style="text_m_accent">
bigbiffadc599e2020-05-28 19:36:30 +00001068 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04001069 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1070 </text>
1071
1072 <text style="text_m_accent">
1073 <condition var1="tw_has_data_media" var2="1"/>
1074 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 </text>
1077
1078 <text style="text_m_accent">
1079 <conditions>
1080 <condition var1="tw_has_android_secure" var2="1"/>
1081 <condition var1="fileexists" var2="/and-sec"/>
1082 </conditions>
1083 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001084 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001085 </text>
1086
1087 <text style="text_m_accent">
1088 <condition var1="tw_has_sdext_partition" var2="1"/>
1089 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 </text>
1092
1093 <text style="text_m">
1094 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001096 </text>
1097
1098 <text style="text_m">
1099 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <text style="text_m">
1104 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <button style="main_button_half_width">
1109 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 <actions>
1112 <action function="set">partitionlisterror=0</action>
1113 <action function="page">advancedwipe</action>
1114 </actions>
1115 </button>
1116
1117 <button style="main_button_half_width">
1118 <condition var1="tw_has_data_media" var2="1"/>
1119 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">formatdata</action>
1122 </button>
1123
1124 <button style="main_button_half_width">
1125 <conditions>
1126 <condition var1="tw_is_encrypted" var2="1"/>
1127 <condition var1="tw_has_data_media" var2="0"/>
1128 </conditions>
1129 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
1132 <action function="set">tw_back=wipe</action>
1133 <action function="set">tw_action=wipe</action>
1134 <action function="set">tw_action_param=DATAMEDIA</action>
1135 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001136 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001137 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1139 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1140 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <action function="page">confirm_action</action>
1142 </actions>
1143 </button>
1144
1145 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 <actions>
1148 <action function="set">tw_back=wipe</action>
1149 <action function="set">tw_action=wipe</action>
1150 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1152 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <action function="page">action_page</action>
1154 </actions>
1155 </slider>
1156
1157 <action>
1158 <touch key="back"/>
1159 <action function="page">main</action>
1160 </action>
1161
1162 <action>
1163 <touch key="home"/>
1164 <action function="page">main</action>
1165 </action>
1166 </page>
1167
1168 <page name="advancedwipe">
1169 <template name="page"/>
1170
1171 <action>
1172 <action function="set">tw_wipe_list=</action>
1173 </action>
1174
1175 <text style="text_l">
1176 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001177 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001178 </text>
1179
1180 <text style="text_m">
1181 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001182 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001183 </text>
1184
1185 <partitionlist>
1186 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001187 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001188 <data name="tw_wipe_list"/>
1189 <listtype name="wipe"/>
1190 </partitionlist>
1191
1192 <text style="text_m_fail">
1193 <condition var1="partitionlisterror" var2="1"/>
1194 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001195 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001196 </text>
1197
1198 <button style="main_button_m">
1199 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001200 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001201 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001202 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001203 <action function="page">checkpartitionlist</action>
1204 </actions>
1205 </button>
1206
1207 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001208 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001209 <actions>
1210 <action function="set">tw_back=advancedwipe</action>
1211 <action function="set">tw_action=wipe</action>
1212 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1214 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1215 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001216 <action function="page">action_page</action>
1217 </actions>
1218 </slider>
1219
1220 <action>
1221 <touch key="home"/>
1222 <action function="page">main</action>
1223 </action>
1224
1225 <action>
1226 <touch key="back"/>
1227 <action function="page">wipe</action>
1228 </action>
1229 </page>
1230
1231 <page name="formatdata">
1232 <template name="page"/>
1233
1234 <text style="text_l">
1235 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </text>
1238
1239 <text style="text_m">
1240 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m_fail">
1245 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m_fail">
1250 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
Ethan Yonker66a19492015-12-10 10:19:45 -06001254 <text style="text_m_fail">
1255 <condition var1="tw_has_adopted_storage" var2="1"/>
1256 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1257 <text>{@format_data_adopted=Including Adopted Storage}</text>
1258 </text>
1259
z31s1g28f0a922015-11-07 18:50:22 +01001260 <text style="text_m">
1261 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <input>
1271 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1272 <text>%tw_confirm_formatdata%</text>
1273 <data name="tw_confirm_formatdata"/>
1274 <restrict minlen="3" maxlen="3" allow="yes"/>
1275 <action function="page">formatdata_confirm</action>
1276 </input>
1277
1278 <fill color="%accent_color%">
1279 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1280 </fill>
1281
1282 <template name="keyboardtemplate"/>
1283
1284 <action>
1285 <touch key="home"/>
1286 <action function="page">main</action>
1287 </action>
1288
1289 <action>
1290 <touch key="back"/>
1291 <action function="page">wipe</action>
1292 </action>
1293 </page>
1294
1295 <page name="formatdata_confirm">
1296 <action>
1297 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1298 <actions>
1299 <action function="set">tw_back=formatdata</action>
1300 <action function="set">tw_action=wipe</action>
1301 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1303 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">action_page</action>
1305 </actions>
1306 </action>
1307
1308 <action>
1309 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1310 <action function="page">formatdata</action>
1311 </action>
1312 </page>
1313
1314 <page name="checkpartitionlist">
1315 <action>
1316 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1317 <actions>
1318 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001319 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001320 <action function="page">partitionoptions</action>
1321 </actions>
1322 </action>
1323
1324 <action>
1325 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1326 <actions>
1327 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="page">advancedwipe</action>
1329 </actions>
1330 </action>
1331 </page>
1332
1333 <page name="partitionoptions">
1334 <template name="page"/>
1335
1336 <text style="text_l">
1337 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 </text>
1340
1341 <text style="text_m">
1342 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m_accent">
1347 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m_accent">
1352 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <text style="text_m">
1357 <condition var1="tw_partition_is_present" var2="1"/>
1358 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <text style="text_m">
1363 <condition var1="tw_partition_is_present" var2="0"/>
1364 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m">
1369 <condition var1="tw_partition_removable" var2="1"/>
1370 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001372 </text>
1373
1374 <text style="text_m">
1375 <condition var1="tw_partition_removable" var2="0"/>
1376 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m">
1381 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m">
1386 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m">
1391 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <text style="text_m">
1396 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001397 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001398 </text>
1399
1400 <button style="main_button_half_width">
1401 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1402 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <actions>
1405 <action function="set">tw_back=partitionoptions</action>
1406 <action function="set">tw_action=resize</action>
1407 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1408 <action function="set">tw_has_action2=1</action>
1409 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001410 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1414 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1415 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001416 <action function="page">confirm_action</action>
1417 </actions>
1418 </button>
1419
1420 <button style="main_button_half_width">
1421 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1422 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001423 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001424 <actions>
1425 <action function="set">tw_back=partitionoptions</action>
1426 <action function="set">tw_action=repair</action>
1427 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1428 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001431 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1432 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1433 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001434 <action function="page">confirm_action</action>
1435 </actions>
1436 </button>
1437
1438 <button style="main_button_half_width">
1439 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001440 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001441 <action function="page">selectfilesystem</action>
1442 </button>
1443
1444 <action>
1445 <touch key="home"/>
1446 <action function="page">main</action>
1447 </action>
1448
1449 <action>
1450 <touch key="back"/>
1451 <action function="page">advancedwipe</action>
1452 </action>
1453 </page>
1454
1455 <page name="refreshfilesystem">
1456 <action>
1457 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1458 <actions>
1459 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001460 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001461 <action function="page">selectfilesystem</action>
1462 </actions>
1463 </action>
1464
1465 <action>
1466 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1467 <actions>
1468 <action function="set">partitionlisterror=1</action>
1469 <action function="set">tw_wipe_list=</action>
1470 <action function="page">advancedwipe</action>
1471 </actions>
1472 </action>
1473 </page>
1474
1475 <page name="selectfilesystem">
1476 <template name="page"/>
1477
1478 <text style="text_l">
1479 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001480 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001481 </text>
1482
1483 <text style="text_m">
1484 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 </text>
1487
1488 <text style="text_m_accent">
1489 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 </text>
1492
1493 <text style="text_m_accent">
1494 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <text style="text_m_fail">
1499 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m_fail">
1504 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001506 </text>
1507
1508 <button style="main_button_half_width">
1509 <condition var1="tw_partition_ext" op="=" var2="1"/>
1510 <placement x="%col1_x_left%" y="%row11_y%"/>
1511 <text>EXT2</text>
1512 <actions>
1513 <action function="set">tw_back=refreshfilesystem</action>
1514 <action function="set">tw_action=changefilesystem</action>
1515 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1516 <action function="set">tw_action_new_file_system=ext2</action>
1517 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001518 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1519 <action function="set">tw_text2=EXT2</action>
1520 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1521 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1522 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001523 <action function="page">confirm_action</action>
1524 </actions>
1525 </button>
1526
1527 <button style="main_button_half_width">
1528 <condition var1="tw_partition_ext" op="=" var2="1"/>
1529 <placement x="%col2_x_left%" y="%row11_y%"/>
1530 <text>EXT3</text>
1531 <actions>
1532 <action function="set">tw_back=refreshfilesystem</action>
1533 <action function="set">tw_action=changefilesystem</action>
1534 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1535 <action function="set">tw_action_new_file_system=ext3</action>
1536 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1538 <action function="set">tw_text2=EXT3</action>
1539 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1540 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1541 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <action function="page">confirm_action</action>
1543 </actions>
1544 </button>
1545
1546 <button style="main_button_half_width">
1547 <condition var1="tw_partition_ext" op="=" var2="1"/>
1548 <placement x="%center_x%" y="%row11_y%"/>
1549 <text>EXT4</text>
1550 <actions>
1551 <action function="set">tw_back=refreshfilesystem</action>
1552 <action function="set">tw_action=changefilesystem</action>
1553 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1554 <action function="set">tw_action_new_file_system=ext4</action>
1555 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001556 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1557 <action function="set">tw_text2=EXT4</action>
1558 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1559 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1560 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001561 <action function="page">confirm_action</action>
1562 </actions>
1563 </button>
1564
1565 <button style="main_button_half_width">
1566 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1567 <placement x="%col2_x_right%" y="%row11_y%"/>
1568 <text>FAT</text>
1569 <actions>
1570 <action function="set">tw_back=refreshfilesystem</action>
1571 <action function="set">tw_action=changefilesystem</action>
1572 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1573 <action function="set">tw_action_new_file_system=vfat</action>
1574 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001575 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1576 <action function="set">tw_text2=FAT</action>
1577 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1578 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1579 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001580 <action function="page">confirm_action</action>
1581 </actions>
1582 </button>
1583
1584 <button style="main_button_half_width">
1585 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1586 <placement x="%col2_x_left%" y="%row15a_y%"/>
1587 <text>exFAT</text>
1588 <actions>
1589 <action function="set">tw_back=refreshfilesystem</action>
1590 <action function="set">tw_action=changefilesystem</action>
1591 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1592 <action function="set">tw_action_new_file_system=exfat</action>
1593 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1595 <action function="set">tw_text2=exFAT</action>
1596 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1597 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1598 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001599 <action function="page">confirm_action</action>
1600 </actions>
1601 </button>
1602
1603 <button style="main_button_half_width">
1604 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1605 <placement x="%center_x%" y="%row15a_y%"/>
1606 <text>F2FS</text>
1607 <actions>
1608 <action function="set">tw_back=refreshfilesystem</action>
1609 <action function="set">tw_action=changefilesystem</action>
1610 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1611 <action function="set">tw_action_new_file_system=f2fs</action>
1612 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1614 <action function="set">tw_text2=F2FS</action>
1615 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1616 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1617 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <action function="page">confirm_action</action>
1619 </actions>
1620 </button>
1621
1622 <action>
1623 <touch key="home"/>
1624 <action function="page">main</action>
1625 </action>
1626
1627 <action>
1628 <touch key="back"/>
1629 <action function="page">partitionoptions</action>
1630 </action>
1631 </page>
1632
1633 <page name="backup">
1634 <template name="page"/>
1635
Noah Jacobson81d638d2019-04-28 00:10:07 -04001636 <action>
1637 <conditions>
1638 <condition var1="tw_is_fbe" var2="1"/>
1639 <condition var1="tw_all_users_decrypted" var2="0"/>
1640 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1641 </conditions>
1642 <actions>
1643 <action function="set">tw_multiuser_warning_destination=backup</action>
1644 <action function="page">multiuser_warning</action>
1645 </actions>
1646 </action>
1647
z31s1g28f0a922015-11-07 18:50:22 +01001648 <text style="text_l">
1649 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <text style="text_m">
1654 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001655 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001656 </text>
1657
1658 <text style="text_m_accent">
1659 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 </text>
1662
1663 <text style="text_m">
1664 <placement x="%col1_x_left%" y="%row3_y%"/>
1665 <text>%tw_backup_name%</text>
1666 </text>
1667
1668 <fill color="%fileselector_linecolor%">
1669 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1670 </fill>
1671
1672 <button>
1673 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1674 <fill color="%transparent%"/>
1675 <actions>
1676 <action function="set">tw_fileexists=0</action>
1677 <action function="page">backupname1</action>
1678 </actions>
1679 </button>
1680
1681 <partitionlist>
1682 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <data name="tw_backup_list"/>
1685 <listtype name="backup"/>
1686 </partitionlist>
1687
1688 <text style="text_m_accent">
1689 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <text style="text_m">
1694 <conditions>
1695 <condition var1="tw_include_encrypted_backup" var2="1"/>
1696 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001697 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001698 </conditions>
1699 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 </text>
1702
1703 <text style="text_m">
1704 <conditions>
1705 <condition var1="tw_include_encrypted_backup" var2="1"/>
1706 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001707 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001708 </conditions>
1709 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 </text>
1712
1713 <fill color="%fileselector_linecolor%">
1714 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1715 </fill>
1716
1717 <button>
1718 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1719 <fill color="%transparent%"/>
1720 <actions>
1721 <action function="set">tw_password_not_match=0</action>
1722 <action function="page">backupencryption</action>
1723 </actions>
1724 </button>
1725
1726 <text style="text_m_accent">
1727 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <checkbox>
1732 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <data variable="tw_use_compression"/>
1735 </checkbox>
1736
1737 <checkbox>
1738 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001739 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1740 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </checkbox>
1742
1743 <checkbox>
1744 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001745 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 <data variable="tw_disable_free_space"/>
1747 </checkbox>
1748
1749 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001750 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001752 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <actions>
1754 <action function="set">tw_back=backup</action>
1755 <action function="overlay">select_storage</action>
1756 </actions>
1757 </button>
1758
1759 <button style="main_button_half_width">
1760 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 <actions>
1763 <action function="refreshsizes"/>
1764 <action function="page">backup</action>
1765 </actions>
1766 </button>
1767
1768 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001769 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001770 <action function="page">backup_run</action>
1771 </slider>
1772
1773 <action>
1774 <touch key="home"/>
1775 <action function="page">main</action>
1776 </action>
1777
1778 <action>
1779 <touch key="back"/>
1780 <action function="page">main</action>
1781 </action>
1782 </page>
1783
Noah Jacobson81d638d2019-04-28 00:10:07 -04001784 <page name="multiuser_warning">
1785 <template name="page"/>
1786
1787 <text style="text_l">
1788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1789 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1790 </text>
1791
1792 <text style="text_m_fail">
1793 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1794 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1795 </text>
1796
1797 <text style="text_m_fail">
1798 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1799 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1800 </text>
1801
1802 <button style="main_button_m">
1803 <placement x="%col1_x_left%" y="%row15a_y%"/>
1804 <text>{@decrypt_users=Decrypt Users}</text>
1805 <action function="page">decrypt_users</action>
1806 </button>
1807
1808 <slider>
1809 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1810 <actions>
1811 <action function="set">tw_multiuser_warning_accepted=1</action>
1812 <action function="page">%tw_multiuser_warning_destination%</action>
1813 </actions>
1814 </slider>
1815
1816 <action>
1817 <touch key="home"/>
1818 <action function="page">main</action>
1819 </action>
1820
1821 <action>
1822 <touch key="back"/>
1823 <action function="page">main</action>
1824 </action>
1825 </page>
1826
z31s1g28f0a922015-11-07 18:50:22 +01001827 <page name="backupname1">
1828 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001829 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001830 <action function="generatebackupname"/>
1831 </action>
1832
1833 <action>
1834 <action function="page">backupname2</action>
1835 </action>
1836 </page>
1837
1838 <page name="backupname2">
1839 <template name="page"/>
1840
1841 <text style="text_l">
1842 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001844 </text>
1845
1846 <text style="text_m">
1847 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001849 </text>
1850
1851 <text style="text_m_accent">
1852 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <input>
1857 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1858 <text>%tw_backup_name%</text>
1859 <data name="tw_backup_name"/>
1860 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1861 <actions>
1862 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1863 <action function="set">tw_existpage=backupname2</action>
1864 <action function="set">tw_notexistpage=backup</action>
1865 <action function="page">filecheck</action>
1866 </actions>
1867 </input>
1868
1869 <fill color="%accent_color%">
1870 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1871 </fill>
1872
1873 <fill color="%text_fail_color%">
1874 <condition var1="tw_fileexists" var2="1"/>
1875 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1876 </fill>
1877
1878 <text style="text_m_fail">
1879 <condition var1="tw_fileexists" var2="1"/>
1880 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <button style="main_button_half_width_low">
1885 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001889 <action function="page">backup</action>
1890 </actions>
1891 </button>
1892
1893 <button style="main_button_half_width_low">
1894 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 <action function="appenddatetobackupname"/>
1897 </button>
1898
1899 <template name="keyboardtemplate"/>
1900
1901 <action>
1902 <touch key="home"/>
1903 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001905 <action function="page">main</action>
1906 </actions>
1907 </action>
1908
1909 <action>
1910 <touch key="back"/>
1911 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001913 <action function="page">backup</action>
1914 </actions>
1915 </action>
1916 </page>
1917
1918 <page name="backupencryption">
1919 <template name="page"/>
1920
1921 <text style="text_l">
1922 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 </text>
1925
1926 <text style="text_m">
1927 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001928 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001929 </text>
1930
1931 <text style="text_m_accent">
1932 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001934 </text>
1935
1936 <input>
1937 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1938 <text>%tw_backup_encrypt_display%</text>
1939 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1940 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1941 <action function="page">backupencryption2</action>
1942 </input>
1943
1944 <fill color="%accent_color%">
1945 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1946 </fill>
1947
1948 <fill color="%text_fail_color%">
1949 <condition var1="tw_password_not_match" var2="1"/>
1950 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1951 </fill>
1952
1953 <text style="text_m_fail">
1954 <condition var1="tw_password_not_match" var2="1"/>
1955 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 </text>
1958
1959 <button style="main_button_half_width_low">
1960 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001961 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001962 <actions>
1963 <action function="set">tw_encrypt_backup=0</action>
1964 <action function="set">tw_backup_password=</action>
1965 <action function="set">tw_backup_password2=</action>
1966 <action function="set">tw_backup_encrypt_display=</action>
1967 <action function="set">tw_backup_encrypt_display2=</action>
1968 <action function="page">backup</action>
1969 </actions>
1970 </button>
1971
1972 <template name="keyboardtemplate"/>
1973
1974 <action>
1975 <touch key="home"/>
1976 <action function="page">main</action>
1977 </action>
1978
1979 <action>
1980 <touch key="back"/>
1981 <action function="page">backup</action>
1982 </action>
1983 </page>
1984
1985 <page name="backupencryption2">
1986 <template name="page"/>
1987
1988 <text style="text_l">
1989 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <text style="text_m">
1994 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001995 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001996 </text>
1997
1998 <text style="text_m_accent">
1999 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 </text>
2002
2003 <input>
2004 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2005 <text>%tw_backup_encrypt_display2%</text>
2006 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2007 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2008 <action function="page">checkbackuppassword</action>
2009 </input>
2010
2011 <fill color="%accent_color%">
2012 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2013 </fill>
2014
2015 <text style="text_m">
2016 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 </text>
2019
2020 <button style="main_button_half_width_low">
2021 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002022 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002023 <actions>
2024 <action function="set">tw_encrypt_backup=0</action>
2025 <action function="set">tw_backup_password=</action>
2026 <action function="set">tw_backup_password2=</action>
2027 <action function="set">tw_backup_encrypt_display=</action>
2028 <action function="set">tw_backup_encrypt_display2=</action>
2029 <action function="page">backup</action>
2030 </actions>
2031 </button>
2032
2033 <template name="keyboardtemplate"/>
2034
2035 <action>
2036 <touch key="home"/>
2037 <action function="page">main</action>
2038 </action>
2039
2040 <action>
2041 <touch key="back"/>
2042 <action function="page">backup</action>
2043 </action>
2044 </page>
2045
2046 <page name="checkbackuppassword">
2047 <action>
2048 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2049 <actions>
2050 <action function="set">tw_encrypt_backup=1</action>
2051 <action function="page">backup</action>
2052 </actions>
2053 </action>
2054
2055 <action>
2056 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2057 <actions>
2058 <action function="set">tw_encrypt_backup=0</action>
2059 <action function="set">tw_password_not_match=1</action>
2060 <action function="set">tw_backup_password=</action>
2061 <action function="set">tw_backup_password2=</action>
2062 <action function="set">tw_backup_encrypt_display=</action>
2063 <action function="set">tw_backup_encrypt_display2=</action>
2064 <action function="page">backupencryption</action>
2065 </actions>
2066 </action>
2067 </page>
2068
2069 <page name="backup_run">
2070 <template name="page"/>
2071
2072 <text style="text_l">
2073 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2074 <text>%tw_operation%</text>
2075 </text>
2076
2077 <text style="text_m">
2078 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2079 <text>%tw_partition% Partition</text>
2080 </text>
2081
2082 <template name="console"/>
2083
2084 <template name="progress_bar"/>
2085
2086 <text style="text_m_accent">
2087 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%progress_text_x%" y="%row17_y%"/>
2093 <text>%tw_file_progress%</text>
2094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%progress_text_x%" y="%row18_y%"/>
2098 <text>%tw_size_progress%</text>
2099 </text>
2100
2101 <button style="main_button_half_width">
2102 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002103 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002104 <action function="cancelbackup"/>
2105 </button>
2106
2107 <action>
2108 <action function="nandroid">backup</action>
2109 </action>
2110
2111 <action>
2112 <condition var1="tw_operation_state" var2="1"/>
2113 <condition var1="tw_cancel_backup" var2="0"/>
2114 <actions>
2115 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002117 <action function="set">tw_show_reboot=1</action>
2118 <action function="page">action_complete</action>
2119 </actions>
2120 </action>
2121
2122 <action>
2123 <condition var1="tw_operation_state" var2="1"/>
2124 <condition var1="tw_cancel_backup" var2="1"/>
2125 <actions>
2126 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002127 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002128 <action function="set">tw_show_reboot=1</action>
2129 <action function="page">action_complete</action>
2130 </actions>
2131 </action>
2132 </page>
2133
2134 <page name="restore">
2135 <template name="page"/>
2136
Noah Jacobson81d638d2019-04-28 00:10:07 -04002137 <action>
2138 <conditions>
2139 <condition var1="tw_is_fbe" var2="1"/>
2140 <condition var1="tw_all_users_decrypted" var2="0"/>
2141 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2142 </conditions>
2143 <actions>
2144 <action function="set">tw_multiuser_warning_destination=restore</action>
2145 <action function="page">multiuser_warning</action>
2146 </actions>
2147 </action>
2148
z31s1g28f0a922015-11-07 18:50:22 +01002149 <text style="text_l">
2150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002151 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002152 </text>
2153
2154 <text style="text_m">
2155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002156 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002157 </text>
2158
2159 <template name="sort_options"/>
2160
2161 <fileselector>
2162 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002164 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002165 <path name="tw_backups_folder"/>
2166 <data name="tw_restore" default=""/>
2167 <selection name="tw_restore_name"/>
2168 </fileselector>
2169
2170 <button style="main_button_half_width_low">
2171 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002173 <actions>
2174 <action function="set">tw_back=restore</action>
2175 <action function="overlay">select_storage</action>
2176 </actions>
2177 </button>
2178
2179 <action>
2180 <condition var1="tw_restore" op="modified"/>
2181 <actions>
2182 <action function="readBackup"/>
2183 <action function="page">restore_read</action>
2184 </actions>
2185 </action>
2186
2187 <action>
2188 <touch key="home"/>
2189 <action function="page">main</action>
2190 </action>
2191
2192 <action>
2193 <touch key="back"/>
2194 <action function="page">main</action>
2195 </action>
2196 </page>
2197
2198 <page name="restore_read">
2199 <action>
2200 <condition var1="tw_restore_encrypted" var2="1"/>
2201 <actions>
2202 <action function="set">tw_password_fail=0</action>
2203 <action function="page">restore_decrypt</action>
2204 </actions>
2205 </action>
2206
2207 <action>
2208 <condition var1="tw_restore_encrypted" var2="0"/>
2209 <actions>
2210 <action function="page">restore_select</action>
2211 </actions>
2212 </action>
2213 </page>
2214
2215 <page name="restore_decrypt">
2216 <template name="page"/>
2217
2218 <text style="text_l">
2219 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 </text>
2222
2223 <text style="text_m">
2224 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <text style="text_m_accent">
2229 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <input>
2234 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2235 <text>%tw_restore_display%</text>
2236 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2237 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2238 <action function="page">try_restore_decrypt</action>
2239 </input>
2240
2241 <fill color="%accent_color%">
2242 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2243 </fill>
2244
2245 <fill color="%text_fail_color%">
2246 <condition var1="tw_password_fail" var2="1"/>
2247 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2248 </fill>
2249
2250 <text style="text_m_fail">
2251 <condition var1="tw_password_fail" var2="1"/>
2252 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 </text>
2255
2256 <button style="main_button_half_width_low">
2257 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002258 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <actions>
2260 <action function="set">tw_page_done=1</action>
2261 <action function="page">restore</action>
2262 </actions>
2263 </button>
2264
2265 <button style="main_button_half_width_low">
2266 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 <actions>
2269 <action function="set">tw_back=restore</action>
2270 <action function="set">tw_action=cmd</action>
2271 <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 -05002272 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2273 <action function="set">tw_text2=%tw_restore_name%</action>
2274 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2275 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2276 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2277 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002278 <action function="page">confirm_action</action>
2279 </actions>
2280 </button>
2281
2282 <template name="keyboardtemplate"/>
2283
2284 <action>
2285 <touch key="home"/>
2286 <action function="page">main</action>
2287 </action>
2288
2289 <action>
2290 <touch key="back"/>
2291 <action function="page">restore</action>
2292 </action>
2293 </page>
2294
2295 <page name="try_restore_decrypt">
2296 <template name="page"/>
2297
2298 <text style="text_l">
2299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m">
2304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <template name="console"/>
2309
2310 <template name="progress_bar"/>
2311
2312 <action>
2313 <action function="decrypt_backup"/>
2314 </action>
2315
2316 <action>
2317 <conditions>
2318 <condition var1="tw_operation_state" var2="1"/>
2319 <condition var1="tw_operation_status" op="!=" var2="0"/>
2320 </conditions>
2321 <actions>
2322 <action function="set">tw_password_fail=1</action>
2323 <action function="page">restore_decrypt</action>
2324 </actions>
2325 </action>
2326
2327 <action>
2328 <conditions>
2329 <condition var1="tw_operation_state" var2="1"/>
2330 <condition var1="tw_operation_status" op="=" var2="0"/>
2331 </conditions>
2332 <actions>
2333 <action function="set">tw_page_done=1</action>
2334 <action function="page">restore_select</action>
2335 </actions>
2336 </action>
2337 </page>
2338
2339 <page name="restore_select">
2340 <template name="page"/>
2341
2342 <text style="text_l">
2343 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002344 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002345 </text>
2346
2347 <text style="text_m">
2348 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002349 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002350 </text>
2351
2352 <text style="text_m_accent">
2353 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002354 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002355 </text>
2356
2357 <text style="text_m">
2358 <placement x="%col1_x_left%" y="%row3_y%"/>
2359 <text>%tw_restore_name%</text>
2360 </text>
2361
2362 <fill color="%fileselector_linecolor%">
2363 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2364 </fill>
2365
2366 <button>
2367 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2368 <fill color="%transparent%"/>
2369 <actions>
2370 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2371 <action function="set">tw_fileexists=0</action>
2372 <action function="page">renamebackup</action>
2373 </actions>
2374 </button>
2375
2376 <partitionlist>
2377 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2380 <listtype name="restore"/>
2381 </partitionlist>
2382
2383 <text style="text_m_accent">
2384 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002385 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002386 </text>
2387
2388 <checkbox>
2389 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002390 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002391 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2392 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </checkbox>
2394
2395 <button style="main_button_half_width">
2396 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 <actions>
2399 <action function="set">tw_back=restore</action>
2400 <action function="set">tw_action=cmd</action>
2401 <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 -05002402 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002403 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2405 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2406 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2407 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002408 <action function="page">confirm_action</action>
2409 </actions>
2410 </button>
2411
2412 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002413 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002414 <action function="page">restore_run</action>
2415 </slider>
2416
2417 <action>
2418 <touch key="home"/>
2419 <action function="page">main</action>
2420 </action>
2421
2422 <action>
2423 <touch key="back"/>
2424 <action function="page">restore</action>
2425 </action>
2426 </page>
2427
2428 <page name="renamebackup">
2429 <template name="page"/>
2430
2431 <text style="text_l">
2432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002433 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </text>
2435
2436 <text style="text_m">
2437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002438 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002439 </text>
2440
2441 <text style="text_m_accent">
2442 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002443 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002444 </text>
2445
2446 <input>
2447 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2448 <text>%tw_backup_rename%</text>
2449 <data name="tw_backup_rename"/>
2450 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2451 <actions>
2452 <action function="set">tw_back=restore</action>
2453 <action function="set">tw_action=cmd</action>
2454 <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 -05002455 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2456 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2457 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2458 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2459 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002460 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2461 <action function="set">tw_existpage=renamebackup</action>
2462 <action function="set">tw_notexistpage=confirm_action</action>
2463 <action function="page">filecheck</action>
2464 </actions>
2465 </input>
2466
2467 <fill color="%accent_color%">
2468 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2469 </fill>
2470
2471 <fill color="%text_fail_color%">
2472 <condition var1="tw_fileexists" var2="1"/>
2473 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2474 </fill>
2475
2476 <text style="text_m_fail">
2477 <condition var1="tw_fileexists" var2="1"/>
2478 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 </text>
2481
2482 <button style="main_button_half_width_low">
2483 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <action function="page">restore_select</action>
2486 </button>
2487
2488 <template name="keyboardtemplate"/>
2489
2490 <action>
2491 <touch key="home"/>
2492 <action function="page">main</action>
2493 </action>
2494
2495 <action>
2496 <touch key="back"/>
2497 <action function="page">restore_select</action>
2498 </action>
2499 </page>
2500
2501 <page name="restore_run">
2502 <template name="page"/>
2503
2504 <text style="text_l">
2505 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002506 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <text style="text_m">
2510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2511 <text>%tw_operation% %tw_partition%</text>
2512 </text>
2513
2514 <template name="console"/>
2515
2516 <template name="progress_bar"/>
2517
2518 <text style="text_m_accent">
2519 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%progress_text_x%" y="%row18_y%"/>
2525 <text>%tw_size_progress%</text>
2526 </text>
2527
2528 <action>
2529 <condition var1="tw_operation_state" var2="1"/>
2530 <actions>
2531 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002532 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002533 <action function="set">tw_show_reboot=1</action>
2534 <action function="page">action_complete</action>
2535 </actions>
2536 </action>
2537
2538 <action>
2539 <action function="nandroid">restore</action>
2540 </action>
2541 </page>
2542
2543 <page name="mount">
2544 <template name="page"/>
2545
2546 <text style="text_l">
2547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </text>
2550
2551 <text style="text_m">
2552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002553 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002554 </text>
2555
2556 <partitionlist>
2557 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002558 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <listtype name="mount"/>
2560 </partitionlist>
2561
2562 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002563 <conditions>
2564 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2565 <condition var1="tw_is_super" op="=" var2="0"/>
2566 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002567 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002568 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002569 <image resource="checkbox_false"/>
2570 <action function="mountsystemtoggle">1</action>
2571 </button>
2572
2573 <button style="checkbox">
bigbiffee7b7ff2020-03-23 15:08:27 -04002574 <conditions>
2575 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2576 <condition var1="tw_is_super" op="=" var2="0"/>
2577 </conditions>
z31s1g28f0a922015-11-07 18:50:22 +01002578 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002579 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002580 <image resource="checkbox_true"/>
2581 <actions>
2582 <action function="set">tw_lifetime_writes=2</action>
2583 <action function="page">system_readonly_check</action>
2584 </actions>
2585 </button>
2586
2587 <button style="main_button_half_width">
2588 <condition var1="tw_has_usb_storage" var2="1"/>
2589 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002590 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002591 <action function="page">usb_mount</action>
2592 </button>
2593
2594 <button style="main_button_half_width">
2595 <conditions>
2596 <condition var1="tw_is_encrypted" var2="1"/>
2597 <condition var1="tw_is_decrypted" var2="0"/>
2598 </conditions>
2599 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002600 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson81d638d2019-04-28 00:10:07 -04002601 <action function="set">tw_crypto_user_id=0</action>
2602 <action function="set">tw_crypto_password=</action>
2603 <action function="set">tw_password_fail=0</action>
2604 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <action function="page">decrypt</action>
2606 </button>
2607
2608 <button style="main_button_half_width">
2609 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002610 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002611 <actions>
2612 <action function="set">tw_back=mount</action>
2613 <action function="overlay">select_storage</action>
2614 </actions>
2615 </button>
2616
2617 <button style="main_button_half_width">
2618 <conditions>
2619 <condition var1="tw_has_mtp" var2="1"/>
2620 <condition var1="tw_mtp_enabled" var2="0"/>
2621 </conditions>
2622 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002624 <action function="startmtp"/>
2625 </button>
2626
2627 <button style="main_button_half_width">
2628 <conditions>
2629 <condition var1="tw_has_mtp" var2="1"/>
2630 <condition var1="tw_mtp_enabled" var2="1"/>
2631 </conditions>
2632 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002633 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002634 <action function="stopmtp"/>
2635 </button>
2636
2637 <action>
2638 <touch key="home"/>
2639 <action function="page">main</action>
2640 </action>
2641
2642 <action>
2643 <touch key="back"/>
2644 <action function="page">main</action>
2645 </action>
2646 </page>
2647
2648 <page name="usb_mount">
2649 <template name="page"/>
2650
2651 <text style="text_l">
2652 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002653 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002654 </text>
2655
2656 <text style="text_m">
2657 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002658 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002659 </text>
2660
2661 <text style="text_m_accent">
2662 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002663 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002664 </text>
2665
2666 <text style="text_m">
2667 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002668 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002669 </text>
2670
2671 <text style="text_m">
2672 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002673 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002674 </text>
2675
2676 <button style="main_button_half_width">
2677 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002678 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002679 <action function="page">usb_umount</action>
2680 </button>
2681
2682 <action>
2683 <action function="mount">usb</action>
2684 <action function="set">tw_busy=1</action>
2685 </action>
2686 </page>
2687
2688 <page name="usb_umount">
2689 <action>
2690 <action function="unmount">usb</action>
2691 </action>
2692
2693 <action>
2694 <action function="page">mount</action>
2695 <action function="set">tw_busy=0</action>
2696 </action>
2697 </page>
2698
2699 <page name="system_readonly_check">
2700 <action>
2701 <action function="checkpartitionlifetimewrites">/system</action>
2702 </action>
2703
2704 <action>
2705 <condition var1="tw_lifetime_writes" var2="1"/>
2706 <actions>
2707 <action function="mountsystemtoggle">0</action>
2708 <action function="page">mount</action>
2709 </actions>
2710 </action>
2711
2712 <action>
2713 <condition var1="tw_lifetime_writes" var2="0"/>
2714 <actions>
2715 <action function="set">tw_back=mount</action>
2716 <action function="page">system_readonly</action>
2717 </actions>
2718 </action>
2719 </page>
2720
bigbiffdf8436b2020-08-30 16:22:34 -04002721 <page name="fastbootreboot">
2722 <template name="page"/>
2723
2724 <text style="text_l">
2725 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2726 <text>{@reboot_hdr=Reboot}</text>
2727 </text>
2728
2729 <listbox style="advanced_listbox">
2730 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2731
2732 <listitem name="{@rb_system_btn=System}">
2733 <condition var1="tw_reboot_system" var2="1"/>
2734 <actions>
2735 <action function="set">tw_back=fastbootreboot</action>
2736 <action function="set">tw_action=reboot</action>
2737 <action function="set">tw_action_param=system</action>
2738 <action function="set">tw_reboot_param=system</action>
2739 <action function="set">tw_has_action2=0</action>
2740 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2741 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2742 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2743 <action function="page">confirm_action</action>
2744 </actions>
2745 </listitem>
2746
2747 <listitem name="{@rb_poweroff_btn=Power Off}">
2748 <condition var1="tw_reboot_poweroff" var2="1"/>
2749 <actions>
2750 <action function="set">tw_back=fastbootreboot</action>
2751 <action function="set">tw_action=reboot</action>
2752 <action function="set">tw_action_param=poweroff</action>
2753 <action function="set">tw_reboot_param=poweroff</action>
2754 <action function="set">tw_has_action2=0</action>
2755 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2756 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2757 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2758 <action function="page">confirm_action</action>
2759 </actions>
2760 </listitem>
2761
2762 <listitem name="{@rb_recovery_btn=Recovery}">
2763 <condition var1="tw_reboot_recovery" var2="1"/>
2764 <actions>
2765 <action function="set">tw_back=fastbootreboot</action>
2766 <action function="set">tw_action=reboot</action>
2767 <action function="set">tw_action_param=recovery</action>
2768 <action function="set">tw_reboot_param=recovery</action>
2769 <action function="set">tw_has_action2=0</action>
2770 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2771 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2772 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2773 <action function="page">confirm_action</action>
2774 </actions>
2775 </listitem>
2776
2777 <listitem name="{@rb_bootloader_btn=Bootloader}">
2778 <condition var1="tw_reboot_bootloader" var2="1"/>
2779 <actions>
2780 <action function="set">tw_back=fastbootreboot</action>
2781 <action function="set">tw_action=reboot</action>
2782 <action function="set">tw_action_param=bootloader</action>
2783 <action function="set">tw_reboot_param=bootloader</action>
2784 <action function="set">tw_has_action2=0</action>
2785 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2786 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2787 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2788 <action function="page">confirm_action</action>
2789 </actions>
2790 </listitem>
2791
2792 <listitem name="{@rb_download_btn=Download}">
2793 <condition var1="tw_download_mode" var2="1"/>
2794 <actions>
2795 <action function="set">tw_back=fastbootreboot</action>
2796 <action function="set">tw_action=reboot</action>
2797 <action function="set">tw_action_param=download</action>
2798 <action function="set">tw_reboot_param=download</action>
2799 <action function="set">tw_has_action2=0</action>
2800 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2801 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2802 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2803 <action function="page">confirm_action</action>
2804 </actions>
2805 </listitem>
2806
2807 <listitem name="{@fastboot_button=Fastboot}">
2808 <condition var1="tw_fastboot_mode" var2="1"/>
2809 <actions>
2810 <action function="set">tw_back=fastbootreboot</action>
2811 <action function="set">tw_action=reboot</action>
2812 <action function="set">tw_action_param=fastboot</action>
2813 <action function="set">tw_reboot_param=fastboot</action>
2814 <action function="set">tw_has_action2=0</action>
2815 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2816 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2817 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2818 <action function="page">confirm_action</action>
2819 </actions>
2820 </listitem>
2821
2822 <listitem name="{@rb_edl_btn=Edl}">
2823 <condition var1="tw_edl_mode" var2="1"/>
2824 <actions>
2825 <action function="set">tw_back=fastbootreboot</action>
2826 <action function="set">tw_action=reboot</action>
2827 <action function="set">tw_action_param=edl</action>
2828 <action function="set">tw_reboot_param=edl</action>
2829 <action function="set">tw_has_action2=0</action>
2830 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2831 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2832 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2833 <action function="page">confirm_action</action>
2834 </actions>
2835 </listitem>
2836 </listbox>
2837 <action>
2838 <touch key="home"/>
2839 <action function="page">fastboot</action>
2840 </action>
2841
2842 <action>
2843 <touch key="back"/>
2844 <action function="page">fastboot</action>
2845 </action>
2846 </page>
2847
z31s1g28f0a922015-11-07 18:50:22 +01002848 <page name="reboot">
2849 <template name="page"/>
2850
2851 <text style="text_l">
2852 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002853 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002854 </text>
2855
bigbiffdf8436b2020-08-30 16:22:34 -04002856 <listbox style="advanced_listbox">
2857 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2858
2859 <listitem name="{@rb_system_btn=System}">
2860 <condition var1="tw_reboot_system" var2="1"/>
2861 <actions>
2862 <action function="set">tw_back=reboot</action>
2863 <action function="page">reboot_system_routine</action>
2864 </actions>
2865 </listitem>
2866
2867 <listitem name="{@rb_poweroff_btn=Power Off}">
2868 <condition var1="tw_reboot_poweroff" var2="1"/>
2869 <actions>
2870 <action function="set">tw_back=reboot</action>
2871 <action function="set">tw_action=reboot</action>
2872 <action function="set">tw_action_param=poweroff</action>
2873 <action function="set">tw_reboot_param=poweroff</action>
2874 <action function="set">tw_has_action2=0</action>
2875 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2876 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2877 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2878 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2879 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2880 <action function="page">rebootcheck</action>
2881 </actions>
2882 </listitem>
2883
2884 <listitem name="{@rb_recovery_btn=Recovery}">
2885 <condition var1="tw_reboot_recovery" var2="1"/>
2886 <actions>
2887 <action function="set">tw_back=reboot</action>
2888 <action function="set">tw_action=reboot</action>
2889 <action function="set">tw_action_param=recovery</action>
2890 <action function="set">tw_reboot_param=recovery</action>
2891 <action function="set">tw_has_action2=0</action>
2892 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2893 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2894 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2895 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2896 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2897 <action function="page">rebootcheck</action>
2898 </actions>
2899 </listitem>
2900
2901 <listitem name="{@rb_bootloader_btn=Bootloader}">
2902 <condition var1="tw_reboot_bootloader" var2="1"/>
2903 <actions>
2904 <action function="set">tw_back=reboot</action>
2905 <action function="set">tw_action=reboot</action>
2906 <action function="set">tw_action_param=bootloader</action>
2907 <action function="set">tw_reboot_param=bootloader</action>
2908 <action function="set">tw_has_action2=0</action>
2909 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2910 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2911 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2912 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2913 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2914 <action function="page">rebootcheck</action>
2915 </actions>
2916 </listitem>
2917
2918 <listitem name="{@rb_download_btn=Download}">
2919 <condition var1="tw_download_mode" var2="1"/>
2920 <actions>
2921 <action function="set">tw_back=reboot</action>
2922 <action function="set">tw_action=reboot</action>
2923 <action function="set">tw_action_param=download</action>
2924 <action function="set">tw_reboot_param=download</action>
2925 <action function="set">tw_has_action2=0</action>
2926 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2927 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2928 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2929 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2930 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2931 <action function="page">rebootcheck</action>
2932 </actions>
2933 </listitem>
2934
2935
2936 <listitem name="{@fastboot_button=Fastboot}">
2937 <condition var1="tw_fastboot_mode" var2="1"/>
2938 <actions>
2939 <action function="set">tw_back=reboot</action>
2940 <action function="set">tw_action=reboot</action>
2941 <action function="set">tw_action_param=fastboot</action>
2942 <action function="set">tw_reboot_param=fastboot</action>
2943 <action function="set">tw_has_action2=0</action>
2944 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2945 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2946 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2947 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2948 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2949 <action function="page">rebootcheck</action>
2950 </actions>
2951 </listitem>
2952
2953 <listitem name="{@rb_edl_btn=Edl}">
2954 <condition var1="tw_edl_mode" var2="1"/>
2955 <actions>
2956 <action function="set">tw_back=reboot</action>
2957 <action function="set">tw_action=reboot</action>
2958 <action function="set">tw_action_param=edl</action>
2959 <action function="set">tw_reboot_param=edl</action>
2960 <action function="set">tw_has_action2=0</action>
2961 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2962 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2963 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2964 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2965 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2966 <action function="page">rebootcheck</action>
2967 </actions>
2968 </button>
2969 </listbox>
2970
2971 <text style="text_m">
2972 <condition var1="tw_has_boot_slots" var2="1"/>
2973 <placement x="%center_x%" y="%row14_y%" placement="5"/>
2974 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2975 </text>
2976
z31s1g28f0a922015-11-07 18:50:22 +01002977 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04002978 <condition var1="tw_has_boot_slots" var2="1"/>
2979 <placement x="%indent%" y="%row16_y%"/>
2980 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 <actions>
2982 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04002983 <action function="set">tw_action=setbootslot</action>
2984 <action function="set">tw_action_param=A</action>
2985 <action function="set">tw_has_action2=0</action>
2986 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2987 <action function="set">tw_action_text2=</action>
2988 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2989 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002990 </actions>
2991 </button>
2992
2993 <button style="main_button">
bigbiffdf8436b2020-08-30 16:22:34 -04002994 <condition var1="tw_has_boot_slots" var2="1"/>
2995 <placement x="%center_x%" y="%row16_y%"/>
2996 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002997 <actions>
2998 <action function="set">tw_back=reboot</action>
bigbiffdf8436b2020-08-30 16:22:34 -04002999 <action function="set">tw_action=setbootslot</action>
3000 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01003001 <action function="set">tw_has_action2=0</action>
bigbiffdf8436b2020-08-30 16:22:34 -04003002 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
3003 <action function="set">tw_action_text2=</action>
3004 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
3005 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02003006 </actions>
3007 </button>
3008
z31s1g28f0a922015-11-07 18:50:22 +01003009 <action>
3010 <touch key="home"/>
3011 <action function="page">main</action>
3012 </action>
3013
3014 <action>
3015 <touch key="back"/>
3016 <action function="page">main</action>
3017 </action>
3018 </page>
3019
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003020 <page name="rebootapp">
3021 <template name="page"/>
3022
3023 <text style="text_l">
3024 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3025 <text>{@reboot_hdr=Reboot}</text>
3026 </text>
3027
3028 <text style="text_m">
3029 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3030 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
3031 </text>
3032
3033 <text style="text_m_accent">
3034 <placement x="%center_x%" y="%row2_y%" placement="5"/>
3035 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
3036 </text>
3037
3038 <text style="text_m_accent">
3039 <placement x="%center_x%" y="%row3_y%" placement="5"/>
3040 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
3041 </text>
3042
3043 <checkbox>
3044 <placement x="%indent%" y="%row5_y%"/>
3045 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
3046 <data variable="tw_app_prompt"/>
3047 </checkbox>
3048
3049 <checkbox>
3050 <condition var1="tw_mount_system_ro" var2="0"/>
3051 <placement x="%indent%" y="%row7_y%"/>
3052 <text>{@reboot_install_app_system=Install as a System App}</text>
3053 <data variable="tw_app_install_system"/>
3054 </checkbox>
3055
3056 <button style="main_button_half_width">
3057 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05003058 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003059 <action function="reboot">%tw_reboot_param%</action>
3060 </button>
3061
3062 <slider>
3063 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
3064 <actions>
3065 <action function="set">tw_back=reboot</action>
3066 <action function="set">tw_action=installapp</action>
3067 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
3068 <action function="set">tw_action_text2=</action>
3069 <action function="set">tw_has_action2=1</action>
3070 <action function="set">tw_action2=reboot</action>
3071 <action function="set">tw_action2_param=%tw_reboot_param%</action>
3072 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
3073 <action function="page">action_page</action>
3074 </actions>
3075 </slider>
3076
3077 <action>
3078 <touch key="home"/>
3079 <actions>
3080 <action function="set">tw_app_install_status=0</action>
3081 <action function="page">main</action>
3082 </actions>
3083 </action>
3084
3085 <action>
3086 <touch key="back"/>
3087 <actions>
3088 <action function="set">tw_app_install_status=0</action>
3089 <action function="page">reboot</action>
3090 </actions>
3091 </action>
3092 </page>
3093
z31s1g28f0a922015-11-07 18:50:22 +01003094 <page name="system_readonly">
3095 <template name="page"/>
3096
3097 <text style="text_l">
3098 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 </text>
3101
3102 <text style="text_m_accent">
3103 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003104 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003105 </text>
3106
3107 <text style="text_m">
3108 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <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 +01003110 </text>
3111
3112 <text style="text_m">
3113 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003114 <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 +01003115 </text>
3116
3117 <text style="text_m_fail">
3118 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003119 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003120 </text>
3121
3122 <checkbox>
3123 <condition var1="tw_is_encrypted" var2="0"/>
3124 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003125 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003126 <data variable="tw_never_show_system_ro_page"/>
3127 </checkbox>
3128
3129 <button style="main_button_half_width">
3130 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003131 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003132 <actions>
3133 <action function="mountsystemtoggle">1</action>
3134 <action function="set">tw_page_done=1</action>
3135 <action function="page">%tw_back%</action>
3136 </actions>
3137 </button>
3138
z31s1g608d7ff2016-01-18 19:47:25 +01003139 <button style="main_button_half_width">
3140 <placement x="%col2_x_left%" y="%row15a_y%"/>
3141 <text>{@sel_lang_btn=Select Language}</text>
3142 <action function="overlay">select_language</action>
3143 </button>
3144
z31s1g28f0a922015-11-07 18:50:22 +01003145 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003146 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003147 <actions>
3148 <action function="mountsystemtoggle">0</action>
3149 <action function="set">tw_page_done=1</action>
3150 <action function="page">%tw_back%</action>
3151 </actions>
3152 </slider>
3153 </page>
3154
3155 <page name="settings">
3156 <template name="page"/>
3157
3158 <text style="text_l">
3159 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003161 </text>
3162
3163 <text style="text_m">
3164 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003165 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003166 </text>
3167
3168 <template name="tabs_settings"/>
3169
3170 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003171 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003172 </fill>
3173
3174 <listbox style="scrolllist">
3175 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3176 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003177 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003178 <data variable="tw_signed_zip_verify"/>
3179 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003180 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3181 <data variable="tw_install_reboot"/>
3182 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003183 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003184 <data variable="tw_rm_rf"/>
3185 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003186 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3187 <data variable="tw_disable_free_space"/>
3188 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003189 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3190 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003191 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003192 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3193 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003194 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003195 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003196 <data variable="tw_military_time"/>
3197 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003198 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3199 <data variable="tw_app_prompt"/>
3200 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003201 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003202 <data variable="tw_simulate_actions"/>
3203 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003204 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003205 <condition var1="tw_simulate_actions" var2="1"/>
3206 <data variable="tw_simulate_fail"/>
3207 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003208 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3209 <condition var1="tw_no_sha2" var2="0"/>
3210 <data variable="tw_use_sha2"/>
3211 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003212 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3213 <data variable="tw_unmount_system"/>
3214 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003215 </listbox>
3216
3217 <checkbox>
3218 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003219 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003220 <data variable="tw_samsung_navbar"/>
3221 </checkbox>
3222
3223 <button style="radiobutton">
3224 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3225 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003227 <image resource="radio_false"/>
3228 <action function="set">tw_navbar_button_position=0</action>
3229 </button>
3230
3231 <button style="radiobutton">
3232 <condition var1="tw_navbar_button_position" var2="0"/>
3233 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003234 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003235 <image resource="radio_true"/>
3236 <action function="set">tw_navbar_button_position=0</action>
3237 </button>
3238
3239 <button style="radiobutton">
3240 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3241 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003242 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003243 <image resource="radio_false"/>
3244 <action function="set">tw_navbar_button_position=1</action>
3245 </button>
3246
3247 <button style="radiobutton">
3248 <condition var1="tw_navbar_button_position" var2="1"/>
3249 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003251 <image resource="radio_true"/>
3252 <action function="set">tw_navbar_button_position=1</action>
3253 </button>
3254
3255 <button style="radiobutton">
3256 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3257 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003258 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003259 <image resource="radio_false"/>
3260 <action function="set">tw_navbar_button_position=2</action>
3261 </button>
3262
3263 <button style="radiobutton">
3264 <condition var1="tw_navbar_button_position" var2="2"/>
3265 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003266 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003267 <image resource="radio_true"/>
3268 <action function="set">tw_navbar_button_position=2</action>
3269 </button>
3270
3271 <button style="main_button_half_width">
3272 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 <action function="restoredefaultsettings"/>
3275 </button>
3276
3277 <action>
3278 <touch key="home"/>
3279 <action function="page">main</action>
3280 </action>
3281
3282 <action>
3283 <touch key="back"/>
3284 <action function="page">main</action>
3285 </action>
3286 </page>
3287
3288 <page name="settings_timezone">
3289 <template name="page"/>
3290
3291 <text style="text_l">
3292 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m">
3297 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <template name="tabs_settings"/>
3302
3303 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </fill>
3306
3307 <listbox>
3308 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003309 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003310 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003311 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3312 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3313 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3314 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3315 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3316 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3317 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3318 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3319 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3320 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3321 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3322 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3323 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3324 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3325 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3326 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3327 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3328 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3329 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3330 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3331 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3332 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3333 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3334 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003335 </listbox>
3336
3337 <text style="text_m_accent">
3338 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003339 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003340 </text>
3341
3342 <button style="button_quarter_width">
3343 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003344 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003345 <action function="set">tw_time_zone_guioffset=0</action>
3346 </button>
3347
3348 <button style="button_quarter_width">
3349 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003350 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003351 <action function="set">tw_time_zone_guioffset=15</action>
3352 </button>
3353
3354 <button style="button_quarter_width">
3355 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003356 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003357 <action function="set">tw_time_zone_guioffset=30</action>
3358 </button>
3359
3360 <button style="button_quarter_width">
3361 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003362 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003363 <action function="set">tw_time_zone_guioffset=45</action>
3364 </button>
3365
3366 <checkbox>
3367 <placement x="%col1_x_right%" y="%row7_y%"/>
3368 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003370 <data variable="tw_time_zone_guidst"/>
3371 <image checked="checkbox_true" unchecked="checkbox_false"/>
3372 </checkbox>
3373
3374 <text color="%text_color%">
3375 <font resource="font_m"/>
3376 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003378 </text>
3379
3380 <button>
3381 <highlight color="%highlight_color%"/>
3382 <placement x="%col2_x_right%" y="%row15a_y%"/>
3383 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003384 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003385 <image resource="main_button_half_width"/>
3386 <action function="setguitimezone"/>
3387 </button>
3388
3389 <action>
3390 <touch key="home"/>
3391 <action function="page">main</action>
3392 </action>
3393
3394 <action>
3395 <touch key="back"/>
3396 <action function="page">main</action>
3397 </action>
3398 </page>
3399
3400 <page name="settings_screen">
3401 <template name="page"/>
3402
3403 <text style="text_l">
3404 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003405 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003406 </text>
3407
3408 <text style="text_m">
3409 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003410 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003411 </text>
3412
3413 <template name="tabs_settings"/>
3414
3415 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003417 </fill>
3418
3419 <button>
3420 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3421 <font resource="font_m" color="%text_color%"/>
3422 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3423 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003424 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003425 <image resource="checkbox_false"/>
3426 <action function="set">tw_screen_timeout_secs=60</action>
3427 </button>
3428
3429 <button>
3430 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3431 <font resource="font_m" color="%text_color%"/>
3432 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3433 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003434 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003435 <image resource="checkbox_true"/>
3436 <action function="set">tw_screen_timeout_secs=0</action>
3437 </button>
3438
3439 <slidervalue>
3440 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3441 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3442 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003443 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003444 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3445 </slidervalue>
3446
3447 <slidervalue>
3448 <condition var1="tw_has_brightnesss_file" var2="1"/>
3449 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003450 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003451 <data variable="tw_brightness_pct" min="10" max="100"/>
3452 <actions>
3453 <action function="set">tw_brightness=%tw_brightness_max%</action>
3454 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3455 <action function="compute">tw_brightness/100</action>
3456 <action function="setbrightness">%tw_brightness%</action>
3457 </actions>
3458 </slidervalue>
3459
3460 <action>
3461 <touch key="home"/>
3462 <action function="page">main</action>
3463 </action>
3464
3465 <action>
3466 <touch key="back"/>
3467 <action function="page">main</action>
3468 </action>
3469 </page>
3470
3471 <page name="settings_vibration">
3472 <template name="page"/>
3473
3474 <text style="text_l">
3475 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003476 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003477 </text>
3478
3479 <text style="text_m">
3480 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003481 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003482 </text>
3483
3484 <template name="tabs_settings"/>
3485
3486 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003487 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003488 </fill>
3489
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003490 <text style="text_m">
3491 <condition var1="tw_disable_haptics" var2="1"/>
3492 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3493 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3494 </text>
3495
z31s1g28f0a922015-11-07 18:50:22 +01003496 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003497 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003498 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003499 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003500 <data variable="tw_button_vibrate" min="0" max="300"/>
3501 </slidervalue>
3502
3503 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003504 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003505 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003506 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003507 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3508 </slidervalue>
3509
3510 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003511 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003512 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003513 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003514 <data variable="tw_action_vibrate" min="0" max="500"/>
3515 </slidervalue>
3516
3517 <action>
3518 <touch key="home"/>
3519 <action function="page">main</action>
3520 </action>
3521
3522 <action>
3523 <touch key="back"/>
3524 <action function="page">main</action>
3525 </action>
3526 </page>
3527
Ethan Yonker74db1572015-10-28 12:44:49 -05003528 <page name="settings_language">
3529 <template name="page"/>
3530
3531 <text style="text_l">
3532 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3533 <text>{@settings_hdr=Settings}</text>
3534 </text>
3535
3536 <text style="text_m">
3537 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3538 <text>{@language_hdr=Language - %tw_language_display%}</text>
3539 </text>
3540
3541 <template name="tabs_settings"/>
3542
3543 <fill color="%text_color%">
3544 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3545 </fill>
3546
3547 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003548 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003549 <text>{@select_language=Select Language:}</text>
3550 <icon selected="radio_true" unselected="radio_false" />
3551 <data name="tw_language" />
3552 </listbox>
3553
z31s1g56189522016-01-13 19:12:40 +01003554 <button>
3555 <highlight color="%highlight_color%"/>
3556 <placement x="%col2_x_right%" y="%row15a_y%"/>
3557 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003558 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003559 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003560 <action function="setlanguage"></action>
3561 </button>
3562
3563 <action>
3564 <touch key="home" />
3565 <action function="page">main</action>
3566 </action>
3567
3568 <action>
3569 <touch key="back" />
3570 <action function="page">settings</action>
3571 </action>
3572 </page>
3573
Matt Mower32676622017-01-18 18:56:13 -06003574 <page name="copylog">
3575 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003576
Matt Mower32676622017-01-18 18:56:13 -06003577 <text style="text_l">
3578 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3579 <text>{@copying_log=Copy Logs to SD Card}</text>
3580 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003581
Matt Mower32676622017-01-18 18:56:13 -06003582 <checkbox>
3583 <placement x="%indent%" y="%row4_y%"/>
3584 <text>{@include_kernel_log=Include Kernel Log}</text>
3585 <data variable="tw_include_kernel_log" value="1"/>
3586 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003587
Matt Mower32676622017-01-18 18:56:13 -06003588 <slider>
3589 <text>{@copying_log=Copy Logs to SD Card}</text>
3590 <actions>
3591 <action function="set">tw_back=advanced</action>
3592 <action function="set">tw_action=copylog</action>
3593 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3594 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3595 <action function="page">action_page</action>
3596 </actions>
3597 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003598
Matt Mower32676622017-01-18 18:56:13 -06003599 <action>
3600 <touch key="home"/>
3601 <action function="page">main</action>
3602 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003603
Matt Mower32676622017-01-18 18:56:13 -06003604 <action>
3605 <touch key="back"/>
3606 <actions>
3607 <action function="page">advanced</action>
3608 </actions>
3609 </action>
3610 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003611
z31s1g28f0a922015-11-07 18:50:22 +01003612 <page name="advanced">
3613 <template name="page"/>
3614
3615 <text style="text_l">
3616 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003617 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003618 </text>
3619
3620 <button style="main_button">
3621 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003622 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003623 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003624 </button>
3625
3626 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003627 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003628 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003629 <action function="page">filemanagerlist</action>
3630 </button>
3631
3632 <button style="main_button">
3633 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003635 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003636 </button>
3637
3638 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003639 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003640 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003641 <action function="page">sideload</action>
3642 </button>
3643
Ethan Yonker64e0a652018-07-25 09:52:17 -05003644 <listbox style="advanced_listbox">
3645 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
Noah Jacobson81d638d2019-04-28 00:10:07 -04003646 <listitem name="{@decrypt_users=Decrypt Users}">
3647 <conditions>
3648 <condition var1="tw_is_fbe" var2="1"/>
3649 <condition var1="tw_all_users_decrypted" var2="0"/>
3650 </conditions>
3651 <actions>
3652 <action function="set">tw_crypto_user_id=</action>
3653 <action function="page">decrypt_users</action>
3654 </actions>
3655 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003656 <listitem name="{@reload_theme_btn=Reload Theme}">
3657 <action function="reload"/>
3658 </listitem>
3659 <listitem name="{@part_sd_btn=Partition SD Card}">
3660 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3661 <actions>
3662 <action function="set">partitionlisterror=0</action>
3663 <action function="page">partsdcardsel</action>
3664 </actions>
3665 </listitem>
3666 <listitem name="{@fix_context_btn=Fix Contexts}">
3667 <condition var1="tw_has_data_media" var2="1"/>
3668 <action function="page">fixcontexts</action>
3669 </listitem>
3670 <listitem name="{@dumlock_btn=HTC Dumlock}">
3671 <condition var1="tw_show_dumlock" var2="1"/>
3672 <action function="page">htcdumlock</action>
3673 </listitem>
3674 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3675 <condition var1="tw_has_injecttwrp" var2="1"/>
3676 <actions>
3677 <action function="set">tw_back=advanced</action>
3678 <action function="set">tw_action=reinjecttwrp</action>
3679 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3680 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3681 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3682 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3683 <action function="page">confirm_action</action>
3684 </actions>
3685 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003686 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3687 <conditions>
3688 <condition var1="tw_has_boot_slots" var2="1"/>
3689 <condition var1="tw_has_repack_tools" var2="1"/>
3690 </conditions>
3691 <actions>
3692 <action function="set">tw_repack_kernel=0</action>
3693 <action function="page">repackselect</action>
3694 </actions>
3695 </listitem>
3696 <listitem name="{@install_kernel=Install Kernel}">
3697 <conditions>
3698 <condition var1="tw_has_boot_slots" var2="1"/>
3699 <condition var1="tw_has_repack_tools" var2="1"/>
3700 </conditions>
3701 <actions>
3702 <action function="set">tw_repack_kernel=1</action>
3703 <action function="page">repackselect</action>
3704 </actions>
3705 </listitem>
3706 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3707 <conditions>
3708 <condition var1="tw_has_boot_slots" var2="1"/>
3709 <condition var1="tw_has_repack_tools" var2="1"/>
3710 </conditions>
3711 <actions>
3712 <action function="set">tw_back=advanced</action>
3713 <action function="set">tw_action=fixabrecoverybootloop</action>
3714 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3715 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3716 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3717 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3718 <action function="page">confirm_action</action>
3719 </actions>
3720 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003721 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3722 <condition var1="tw_app_installed_in_system" var2="1"/>
3723 <actions>
3724 <action function="set">tw_back=advanced</action>
3725 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3726 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3727 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3728 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3729 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3730 <action function="page">confirm_action</action>
3731 </actions>
3732 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003733 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003734
3735 <action>
3736 <touch key="home"/>
3737 <action function="page">main</action>
3738 </action>
3739
3740 <action>
3741 <touch key="back"/>
3742 <action function="page">main</action>
3743 </action>
3744 </page>
3745
Ethan Yonker483e9f42016-01-11 22:21:18 -06003746 <page name="partsdcardsel">
3747 <template name="page"/>
3748
3749 <text style="text_l">
3750 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3751 <text>{@advanced_hdr=Advanced}</text>
3752 </text>
3753
3754 <text style="text_m">
3755 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3756 <text>{@part_sd_hdr=Partition SD Card}</text>
3757 </text>
3758
z31s1g782e1c92016-01-30 16:50:09 +01003759 <partitionlist>
3760 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003761 <text>{@sel_storage_list=Select Storage}</text>
3762 <data name="tw_storage_path"/>
3763 <listtype name="storage"/>
3764 </partitionlist>
3765
z31s1g782e1c92016-01-30 16:50:09 +01003766 <text style="text_m_fail">
3767 <condition var1="partitionlisterror" var2="1"/>
3768 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3769 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3770 </text>
3771
3772 <button style="main_button_half_width">
3773 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003774 <text>{@ok_btn=OK}</text>
3775 <actions>
3776 <action function="getpartitiondetails">tw_storage_path</action>
3777 <action function="page">partsdcardcheck</action>
3778 </actions>
3779 </button>
3780
Ethan Yonker483e9f42016-01-11 22:21:18 -06003781 <action>
3782 <touch key="home"/>
3783 <action function="page">main</action>
3784 </action>
3785
3786 <action>
3787 <touch key="back"/>
3788 <action function="page">advanced</action>
3789 </action>
3790 </page>
3791
3792 <page name="partsdcardcheck">
3793 <action>
3794 <condition var1="tw_partition_removable" op="=" var2="1"/>
3795 <actions>
3796 <action function="set">partitionlisterror=0</action>
3797 <action function="page">partsdcard</action>
3798 </actions>
3799 </action>
3800
3801 <action>
3802 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3803 <actions>
3804 <action function="set">partitionlisterror=1</action>
3805 <action function="page">partsdcardsel</action>
3806 </actions>
3807 </action>
3808 </page>
3809
z31s1g28f0a922015-11-07 18:50:22 +01003810 <page name="partsdcard">
3811 <template name="page"/>
3812
3813 <text style="text_l">
3814 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003815 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003816 </text>
3817
3818 <text style="text_m">
3819 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003821 </text>
3822
3823 <text style="text_m_fail">
3824 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003825 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003826 </text>
3827
3828 <text style="text_m_fail">
3829 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003830 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003831 </text>
3832
3833 <text style="text_m_accent">
3834 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003835 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003836 </text>
3837
3838 <text style="text_m">
3839 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3840 <text>%tw_sdext_size%</text>
3841 </text>
3842
3843 <button style="button_quarter_width">
3844 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003845 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003846 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003847 </button>
3848
3849 <button style="button_quarter_width">
3850 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003851 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003852 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003853 </button>
3854
3855 <text style="text_m_accent">
3856 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003857 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003858 </text>
3859
3860 <text style="text_m">
3861 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3862 <text>%tw_swap_size%</text>
3863 </text>
3864
3865 <button style="button_quarter_width">
3866 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003867 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003868 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003869 </button>
3870
3871 <button style="button_quarter_width">
3872 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003873 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003874 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003875 </button>
3876
3877 <text style="text_m_accent">
3878 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003879 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003880 </text>
3881
3882 <text style="text_m">
3883 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3884 <text>%tw_sdpart_file_system%</text>
3885 </text>
3886
3887 <button style="button_quarter_width">
3888 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3889 <text>EXT3</text>
3890 <action function="set">tw_sdpart_file_system=ext3</action>
3891 </button>
3892
3893 <button style="button_quarter_width">
3894 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3895 <text>EXT4</text>
3896 <action function="set">tw_sdpart_file_system=ext4</action>
3897 </button>
3898
3899 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003900 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003901 <action function="page">partsdcardaction</action>
3902 <actions>
3903 <action function="set">tw_back=partsdcard</action>
3904 <action function="set">tw_action=partitionsd</action>
3905 <action function="set">tw_has_action2=1</action>
3906 <action function="set">tw_action2=set</action>
3907 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003908 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3909 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3910 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003911 <action function="page">action_page</action>
3912 </actions>
3913 </slider>
3914
3915 <action>
3916 <touch key="home"/>
3917 <action function="page">main</action>
3918 </action>
3919
3920 <action>
3921 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003922 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003923 </action>
3924 </page>
3925
3926 <page name="htcdumlock">
3927 <template name="page"/>
3928
3929 <text style="text_l">
3930 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003931 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003932 </text>
3933
3934 <text style="text_m">
3935 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003936 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003937 </text>
3938
3939 <button style="main_button_m">
3940 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003941 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003942 <actions>
3943 <action function="set">tw_back=htcdumlock</action>
3944 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003945 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3946 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3947 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3948 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003949 <action function="page">confirm_action</action>
3950 </actions>
3951 </button>
3952
3953 <button style="main_button_m">
3954 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003955 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003956 <actions>
3957 <action function="set">tw_back=htcdumlock</action>
3958 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003959 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3960 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3961 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3962 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003963 <action function="page">confirm_action</action>
3964 </actions>
3965 </button>
3966
3967 <button style="main_button_m">
3968 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003970 <actions>
3971 <action function="set">tw_back=htcdumlock</action>
3972 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003973 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3974 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3975 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3976 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003977 <action function="page">confirm_action</action>
3978 </actions>
3979 </button>
3980
3981 <action>
3982 <touch key="home"/>
3983 <action function="page">main</action>
3984 </action>
3985
3986 <action>
3987 <touch key="back"/>
3988 <action function="page">advanced</action>
3989 </action>
3990 </page>
3991
Ethan Yonker53796e72019-01-11 22:49:52 -06003992 <page name="repackselect">
3993 <template name="page"/>
3994
3995 <text style="text_l">
3996 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3997 <text>{@repack_image_hdr=Select Image}</text>
3998 </text>
3999
4000 <text style="text_m">
4001 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4002 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
4003 </text>
4004
4005 <template name="sort_options"/>
4006
4007 <fileselector>
4008 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4009 <text>%tw_zip_location%</text>
4010 <filter extn=".img" folders="1" files="1"/>
4011 <path name="tw_zip_location" default="/sdcard"/>
4012 <data name="tw_filename"/>
4013 <selection name="tw_file"/>
4014 </fileselector>
4015
4016 <button style="main_button_half_width_low">
4017 <placement x="%col_button_right%" y="%row16a_y%"/>
4018 <text>{@select_storage_btn=Select Storage}</text>
4019 <actions>
4020 <action function="set">tw_back=install</action>
4021 <action function="overlay">select_storage</action>
4022 </actions>
4023 </button>
4024
4025 <action>
4026 <conditions>
4027 <condition var1="tw_filename" op="modified"/>
4028 </conditions>
4029 <action function="page">repackconfirm</action>
4030 </action>
4031
4032 <action>
4033 <touch key="back"/>
4034 <action function="page">advanced</action>
4035 </action>
4036
4037 <action>
4038 <touch key="home"/>
4039 <action function="page">main</action>
4040 </action>
4041 </page>
4042
4043 <page name="repackconfirm">
4044 <template name="page"/>
4045
4046 <text style="text_l">
4047 <condition var1="tw_repack_kernel" var2="1"/>
4048 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4049 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
4050 </text>
4051
4052 <text style="text_l">
4053 <condition var1="tw_repack_kernel" var2="0"/>
4054 <placement x="%col1_x_header%" y="%row3_header_y%"/>
4055 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
4056 </text>
4057
4058 <text style="text_m">
4059 <condition var1="tw_repack_kernel" var2="1"/>
4060 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4061 <text>{@repack_kernel_confirm=Install Kernel?}</text>
4062 </text>
4063
4064 <text style="text_m">
4065 <condition var1="tw_repack_kernel" var2="0"/>
4066 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4067 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
4068 </text>
4069
4070 <text style="text_m_accent">
4071 <placement x="%indent%" y="%row2_y%"/>
4072 <text>{@folder=Folder:}</text>
4073 </text>
4074
4075 <text style="text_m">
4076 <placement x="%indent%" y="%row3_y%"/>
4077 <text>%tw_zip_location%</text>
4078 </text>
4079
4080 <text style="text_m_accent">
4081 <placement x="%indent%" y="%row4_y%"/>
4082 <text>{@file=File:}</text>
4083 </text>
4084
4085 <text style="text_m">
4086 <placement x="%indent%" y="%row5_y%"/>
4087 <text>%tw_file%</text>
4088 </text>
4089
4090 <checkbox>
4091 <placement x="%indent%" y="%row7_y%"/>
4092 <text>{@repack_backup_first=Back up existing image first}</text>
4093 <data variable="tw_repack_backup_first"/>
4094 </checkbox>
4095
4096 <button style="main_button_half_width">
4097 <placement x="%col1_x_left%" y="%row15a_y%"/>
4098 <text>{@install_cancel=Do not Install}</text>
4099 <action function="page">repackselect</action>
4100 </button>
4101
4102 <slider style="slider_centered">
4103 <text>{@swipe_to_install=Swipe to Install}</text>
4104 <actions>
4105 <action function="set">tw_back=advanced</action>
4106 <action function="set">tw_action=repackimage</action>
4107 <action function="set">tw_action_param=/boot</action>
4108 <action function="set">tw_action_text1={@installing=Installing...}</action>
4109 <action function="set">tw_action_text2=</action>
4110 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
4111 <action function="page">action_page</action>
4112 </actions>
4113 </slider>
4114
4115 <action>
4116 <touch key="back"/>
4117 <action function="page">repackselect</action>
4118 </action>
4119
4120 <action>
4121 <touch key="home"/>
4122 <action function="page">main</action>
4123 </action>
4124 </page>
4125
z31s1g28f0a922015-11-07 18:50:22 +01004126 <page name="lock">
4127 <background color="%semi_transparent%"/>
4128
4129 <image>
4130 <image resource="unlock_icon"/>
4131 <placement x="%center_x%" y="%row8_y%" placement="4"/>
4132 </image>
4133
4134 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004135 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004136 <action function="overlay"/>
4137 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004138
4139 <action>
4140 <touch key="power"/>
4141 <action function="togglebacklight"/>
4142 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004143 </page>
4144
4145 <page name="filemanagerlist">
4146 <template name="page"/>
4147
4148 <text style="text_l">
4149 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004150 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004151 </text>
4152
4153 <text style="text_m">
4154 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004155 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004156 </text>
4157
4158 <template name="sort_options"/>
4159
4160 <fileselector>
4161 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4162 <text>%tw_file_location1%</text>
4163 <filter folders="1" files="1"/>
4164 <path name="tw_file_location1" default="/"/>
4165 <data name="tw_filename1"/>
4166 <selection name="tw_selection1"/>
4167 </fileselector>
4168
4169 <button style="main_button_half_width_low">
4170 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004171 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004172 <actions>
4173 <action function="set">tw_filename1=tw_file_location1</action>
4174 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004175 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004176 <action function="page">filemanageroptions</action>
4177 </actions>
4178 </button>
4179
4180 <action>
4181 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004182 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004183 <action function="set">tw_fm_isfolder=0</action>
4184 </actions>
4185 </action>
4186
4187 <action>
4188 <touch key="home"/>
4189 <action function="page">main</action>
4190 </action>
4191
4192 <action>
4193 <touch key="back"/>
4194 <action function="page">advanced</action>
4195 </action>
4196
4197 <action>
4198 <condition var1="tw_filename1" op="modified"/>
4199 <action function="page">filemanageroptions</action>
4200 </action>
4201 </page>
4202
4203 <page name="filemanageroptions">
4204 <template name="page"/>
4205
4206 <text style="text_l">
4207 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004208 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004209 </text>
4210
4211 <text style="text_m">
4212 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004213 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004214 </text>
4215
4216 <text style="text_m_accent">
4217 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004218 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004219 </text>
4220
4221 <text style="text_m">
4222 <placement x="%col1_x_left%" y="%row3_y%"/>
4223 <text>%tw_filename1%</text>
4224 </text>
4225
4226 <button style="main_button_half_width">
4227 <condition var1="tw_fm_isfolder" var2="0"/>
4228 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004229 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004230 <actions>
4231 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004232 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004233 <action function="page">choosedestinationfolder</action>
4234 </actions>
4235 </button>
4236
4237 <button style="main_button_half_width">
4238 <condition var1="tw_fm_isfolder" var2="1"/>
4239 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 <actions>
4242 <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 -05004243 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004244 <action function="page">choosedestinationfolder</action>
4245 </actions>
4246 </button>
4247
4248 <button style="main_button_half_width">
4249 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004250 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004251 <actions>
4252 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004253 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004254 <action function="page">choosedestinationfolder</action>
4255 </actions>
4256 </button>
4257
4258 <button style="main_button_half_width">
4259 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004261 <actions>
4262 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004264 <action function="set">tw_fm_text2=</action>
4265 <action function="set">tw_fm_text3=</action>
4266 <action function="set">tw_include_text3=0</action>
4267 <action function="set">tw_back=filemanageroptions</action>
4268 <action function="page">filemanagerconfirm</action>
4269 </actions>
4270 </button>
4271
4272 <button style="main_button_half_width">
4273 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004274 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004275 <actions>
4276 <action function="set">tw_filemanager_rename=0000</action>
4277 <action function="set">tw_fm_text2=</action>
4278 <action function="set">tw_fm_text3=</action>
4279 <action function="set">tw_include_text3=0</action>
4280 <action function="set">tw_back=filemanageroptions</action>
4281 <action function="page">filemanagerchmod</action>
4282 </actions>
4283 </button>
4284
4285 <button style="main_button_half_width">
4286 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004287 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004288 <actions>
4289 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004291 <action function="set">tw_fm_text2=</action>
4292 <action function="set">tw_fm_text3=</action>
4293 <action function="set">tw_include_text3=0</action>
4294 <action function="set">tw_back=filemanageroptions</action>
4295 <action function="page">filemanagerconfirm</action>
4296 </actions>
4297 </button>
4298
4299 <button style="main_button_half_width">
4300 <condition var1="tw_fm_isfolder" var2="0"/>
4301 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004302 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004303 <actions>
4304 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004305 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004306 <action function="set">tw_filemanager_command=mv</action>
4307 <action function="page">filemanagerrenamefile</action>
4308 </actions>
4309 </button>
4310
4311 <button style="main_button_half_width">
4312 <condition var1="tw_fm_isfolder" var2="1"/>
4313 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004314 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004315 <actions>
4316 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004317 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004318 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4319 <action function="page">filemanagerrenamefolder</action>
4320 </actions>
4321 </button>
4322
4323 <action>
4324 <touch key="home"/>
4325 <action function="page">main</action>
4326 </action>
4327
4328 <action>
4329 <touch key="back"/>
4330 <action function="page">filemanagerlist</action>
4331 </action>
4332 </page>
4333
4334 <page name="choosedestinationfolder">
4335 <template name="page"/>
4336
4337 <text style="text_l">
4338 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004339 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004340 </text>
4341
4342 <text style="text_m">
4343 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004344 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004345 </text>
4346
4347 <template name="sort_options"/>
4348
4349 <fileselector>
4350 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4351 <text>%tw_file_location2%</text>
4352 <filter folders="1" files="0"/>
4353 <path name="tw_file_location2" default="/"/>
4354 <data name="tw_filename2"/>
4355 <selection name="tw_selection2"/>
4356 </fileselector>
4357
4358 <button style="main_button_half_width_low">
4359 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004360 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004361 <actions>
4362 <action function="set">tw_fm_text2=to</action>
4363 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4364 <action function="set">tw_include_text3=1</action>
4365 <action function="set">tw_back=filemanageroptions</action>
4366 <action function="page">filemanagerconfirm</action>
4367 </actions>
4368 </button>
4369
4370 <action>
4371 <touch key="home"/>
4372 <action function="page">main</action>
4373 </action>
4374
4375 <action>
4376 <touch key="back"/>
4377 <action function="page">filemanageroptions</action>
4378 </action>
4379 </page>
4380
4381 <page name="filemanagerrenamefile">
4382 <template name="page"/>
4383
4384 <text style="text_l">
4385 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004386 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004387 </text>
4388
4389 <text style="text_m">
4390 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004391 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004392 </text>
4393
4394 <text style="text_m_accent">
4395 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004396 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004397 </text>
4398
4399 <input>
4400 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4401 <text>%tw_filemanager_rename%</text>
4402 <data name="tw_filemanager_rename"/>
4403 <restrict minlen="1" maxlen="128"/>
4404 <actions>
4405 <action function="set">tw_fm_text2=to</action>
4406 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4407 <action function="set">tw_include_text3=1</action>
4408 <action function="set">tw_back=filemanageroptions</action>
4409 <action function="page">filemanagerconfirm</action>
4410 </actions>
4411 </input>
4412
4413 <fill color="%accent_color%">
4414 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4415 </fill>
4416
4417 <button style="main_button_half_width_low">
4418 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004419 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004420 <action function="page">filemanageroptions</action>
4421 </button>
4422
4423 <template name="keyboardtemplate"/>
4424
4425 <action>
4426 <touch key="home"/>
4427 <action function="page">main</action>
4428 </action>
4429
4430 <action>
4431 <touch key="back"/>
4432 <action function="page">filemanageroptions</action>
4433 </action>
4434 </page>
4435
4436 <page name="filemanagerrenamefolder">
4437 <template name="page"/>
4438
4439 <text style="text_l">
4440 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004441 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004442 </text>
4443
4444 <text style="text_m">
4445 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004446 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004447 </text>
4448
4449 <text style="text_m_accent">
4450 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004451 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004452 </text>
4453
4454 <input>
4455 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4456 <text>%tw_filemanager_rename%</text>
4457 <data name="tw_filemanager_rename"/>
4458 <restrict minlen="1" maxlen="128"/>
4459 <actions>
4460 <action function="set">tw_fm_text2=to</action>
4461 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4462 <action function="set">tw_include_text3=1</action>
4463 <action function="set">tw_back=filemanageroptions</action>
4464 <action function="page">filemanagerconfirm</action>
4465 </actions>
4466 </input>
4467
4468 <fill color="%accent_color%">
4469 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4470 </fill>
4471
4472 <button style="main_button_half_width_low">
4473 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004474 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004475 <action function="page">filemanageroptions</action>
4476 </button>
4477
4478 <template name="keyboardtemplate"/>
4479
4480 <action>
4481 <touch key="home"/>
4482 <action function="page">main</action>
4483 </action>
4484
4485 <action>
4486 <touch key="back"/>
4487 <action function="page">filemanageroptions</action>
4488 </action>
4489 </page>
4490
4491 <page name="filemanagerchmod">
4492 <template name="page"/>
4493
4494 <text style="text_l">
4495 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004496 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004497 </text>
4498
4499 <text style="text_m">
4500 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004501 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004502 </text>
4503
4504 <text style="text_m_accent">
4505 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004506 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004507 </text>
4508
4509 <input>
4510 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4511 <text>%tw_filemanager_rename%</text>
4512 <data name="tw_filemanager_rename"/>
4513 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4514 <actions>
4515 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4516 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4517 <action function="set">tw_back=filemanageroptions</action>
4518 <action function="page">filemanagerconfirm</action>
4519 </actions>
4520 </input>
4521
4522 <fill color="%accent_color%">
4523 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4524 </fill>
4525
4526 <button style="main_button_half_width_low">
4527 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004528 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004529 <action function="page">filemanageroptions</action>
4530 </button>
4531
4532 <template name="keyboardtemplate"/>
4533
4534 <action>
4535 <touch key="home"/>
4536 <action function="page">main</action>
4537 </action>
4538
4539 <action>
4540 <touch key="back"/>
4541 <action function="page">filemanageroptions</action>
4542 </action>
4543 </page>
4544
4545 <page name="filemanagerconfirm">
4546 <template name="page"/>
4547
4548 <text style="text_l">
4549 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m">
4554 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
4558 <text style="text_m_accent">
4559 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4560 <text>%tw_fm_text1%</text>
4561 </text>
4562
4563 <text style="text_m">
4564 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4565 <text>%tw_filename1%</text>
4566 </text>
4567
4568 <text style="text_m_accent">
4569 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4570 <text>%tw_fm_text2%</text>
4571 </text>
4572
4573 <text style="text_m">
4574 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4575 <text>%tw_fm_text3%</text>
4576 </text>
4577
4578 <text style="text_m">
4579 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004580 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004581 </text>
4582
4583 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004584 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004585 <action function="page">filemanageraction</action>
4586 </slider>
4587
4588 <action>
4589 <touch key="back"/>
4590 <action function="page">%tw_back%</action>
4591 </action>
4592
4593 <action>
4594 <touch key="home"/>
4595 <action function="page">main</action>
4596 </action>
4597 </page>
4598
4599 <page name="filemanageraction">
4600 <template name="page"/>
4601
4602 <text style="text_l">
4603 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 </text>
4606
4607 <text style="text_m">
4608 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4609 <text>%tw_fm_text1%</text>
4610 </text>
4611
4612 <template name="console"/>
4613
4614 <template name="progress_bar"/>
4615
4616 <action>
4617 <conditions>
4618 <condition var1="tw_operation_state" var2="1"/>
4619 <condition var1="tw_operation_status" var2="0"/>
4620 </conditions>
4621 <actions>
4622 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004623 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004624 <action function="page">action_complete</action>
4625 </actions>
4626 </action>
4627
4628 <action>
4629 <conditions>
4630 <condition var1="tw_operation_state" var2="1"/>
4631 <condition var1="tw_operation_status" op="!=" var2="0"/>
4632 </conditions>
4633 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <action function="page">action_complete</action>
4636 </actions>
4637 </action>
4638
4639 <action>
4640 <condition var1="tw_include_text3" var2="0"/>
4641 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4642 </action>
4643
4644 <action>
4645 <condition var1="tw_include_text3" var2="1"/>
4646 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4647 </action>
4648 </page>
4649
4650 <page name="decrypt">
4651 <template name="page"/>
4652
4653 <action>
4654 <condition var1="tw_crypto_pwtype" var2="2"/>
4655 <action function="page">decrypt_pattern</action>
4656 </action>
4657
4658 <text style="text_l">
4659 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004660 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </text>
4662
4663 <text style="text_m">
4664 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004665 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004666 </text>
4667
4668 <text style="text_m_accent">
Noah Jacobson81d638d2019-04-28 00:10:07 -04004669 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004670 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004671 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004672 </text>
4673
Noah Jacobson81d638d2019-04-28 00:10:07 -04004674 <text style="text_m_accent">
4675 <condition var1="tw_is_fbe" var2="1"/>
4676 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4677 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4678 </text>
4679
z31s1g28f0a922015-11-07 18:50:22 +01004680 <input>
4681 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4682 <text>%tw_crypto_display%</text>
4683 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4684 <restrict minlen="1" maxlen="254"/>
4685 <action function="page">trydecrypt</action>
4686 </input>
4687
4688 <fill color="%accent_color%">
4689 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4690 </fill>
4691
4692 <fill color="%text_fail_color%">
4693 <condition var1="tw_password_fail" var2="1"/>
4694 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4695 </fill>
4696
4697 <text style="text_m_fail">
4698 <condition var1="tw_password_fail" var2="1"/>
4699 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004700 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004701 </text>
4702
4703 <button style="main_button_half_width_low">
4704 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004705 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004706 <actions>
4707 <action function="set">tw_page_done=1</action>
4708 <action function="page">main</action>
4709 </actions>
4710 </button>
4711
z31s1g608d7ff2016-01-18 19:47:25 +01004712 <button style="main_button_half_width_low">
4713 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4714 <text>{@sel_lang_btn=Select Language}</text>
4715 <action function="overlay">select_language</action>
4716 </button>
4717
z31s1g28f0a922015-11-07 18:50:22 +01004718 <template name="keyboardtemplate"/>
4719 </page>
4720
4721 <page name="decrypt_pattern">
4722 <template name="page"/>
4723
4724 <text style="text_l">
4725 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004726 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004727 </text>
4728
4729 <text style="text_m">
4730 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004731 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004732 </text>
4733
4734 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004735 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004736 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004737 </text>
4738
Aleksa Saraib25a1832015-12-31 17:36:00 +01004739 <text style="text_m_fail">
4740 <condition var1="tw_password_fail" var2="1"/>
4741 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004742 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004743 </text>
4744
z31s1g28f0a922015-11-07 18:50:22 +01004745 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004746 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004747 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4748 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4749 <data name="tw_crypto_password"/>
4750 <action function="page">trydecrypt</action>
4751 </patternpassword>
4752
Aleksa Saraib25a1832015-12-31 17:36:00 +01004753 <button style="main_button_half_width_low">
4754 <placement x="%col_button_right%" y="%row1a_y%"/>
4755 <text>3x3</text>
4756 <action function="set">tw_gui_pattern_grid_size=3</action>
4757 </button>
4758
4759 <button style="main_button_half_width_low">
4760 <placement x="%col_button_right%" y="%row4a_y%"/>
4761 <text>4x4</text>
4762 <action function="set">tw_gui_pattern_grid_size=4</action>
4763 </button>
4764
4765 <button style="main_button_half_width_low">
4766 <placement x="%col_button_right%" y="%row7a_y%"/>
4767 <text>5x5</text>
4768 <action function="set">tw_gui_pattern_grid_size=5</action>
4769 </button>
4770
4771 <button style="main_button_half_width_low">
4772 <placement x="%col_button_right%" y="%row10a_y%"/>
4773 <text>6x6</text>
4774 <action function="set">tw_gui_pattern_grid_size=6</action>
4775 </button>
4776
z31s1g28f0a922015-11-07 18:50:22 +01004777 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004778 <placement x="%col1_x_right%" y="%row15a_y%"/>
4779 <text>{@sel_lang_btn=Select Language}</text>
4780 <action function="overlay">select_language</action>
4781 </button>
4782
4783 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004784 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004785 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004786 <actions>
4787 <action function="set">tw_page_done=1</action>
4788 <action function="page">main</action>
4789 </actions>
4790 </button>
4791 </page>
4792
4793 <page name="trydecrypt">
4794 <template name="page"/>
4795
4796 <text style="text_l">
4797 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004798 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004799 </text>
4800
4801 <text style="text_m">
4802 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004803 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004804 </text>
4805
4806 <template name="console"/>
4807
4808 <template name="progress_bar"/>
4809
4810 <action>
4811 <action function="decrypt"/>
4812 </action>
4813
4814 <action>
4815 <conditions>
4816 <condition var1="tw_operation_state" var2="1"/>
4817 <condition var1="tw_operation_status" op="!=" var2="0"/>
4818 </conditions>
4819 <actions>
4820 <action function="set">tw_password_fail=1</action>
4821 <action function="page">decrypt</action>
4822 </actions>
4823 </action>
4824
4825 <action>
4826 <conditions>
4827 <condition var1="tw_operation_state" var2="1"/>
4828 <condition var1="tw_operation_status" op="=" var2="0"/>
4829 </conditions>
4830 <actions>
4831 <action function="set">tw_page_done=1</action>
4832 <action function="page">main</action>
4833 </actions>
4834 </action>
4835 </page>
4836
z31s1g28f0a922015-11-07 18:50:22 +01004837 <page name="terminalcommand">
4838 <template name="page"/>
4839
4840 <fill color="%background_color%">
4841 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4842 </fill>
4843
z31s1g56189522016-01-13 19:12:40 +01004844 <terminal>
4845 <condition var1="tw_hide_kb" var2="0"/>
4846 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4847 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004848
z31s1g56189522016-01-13 19:12:40 +01004849 <terminal>
4850 <condition var1="tw_hide_kb" var2="1"/>
4851 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4852 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004853
z31s1g56189522016-01-13 19:12:40 +01004854 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004855
z31s1g56189522016-01-13 19:12:40 +01004856 <object type="fill" color="#000000">
4857 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4858 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004859
z31s1g608d7ff2016-01-18 19:47:25 +01004860 <button>
z31s1g56189522016-01-13 19:12:40 +01004861 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4862 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4863 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4864 <image resource="back" />
4865 <condition var1="tw_busy" var2="0" />
4866 <actions>
4867 <action function="set">tw_hide_kb=0</action>
4868 <action function="page">advanced</action>
4869 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004870 </button>
z31s1g56189522016-01-13 19:12:40 +01004871
z31s1g608d7ff2016-01-18 19:47:25 +01004872 <button>
z31s1g56189522016-01-13 19:12:40 +01004873 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4874 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4875 <condition var1="tw_hide_kb" op="=" var2="0" />
4876 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4877 <image resource="kb_hide" />
4878 <condition var1="tw_busy" var2="0" />
4879 <actions>
4880 <action function="set">tw_hide_kb=1</action>
4881 <action function="page">terminalcommand</action>
4882 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004883 </button>
z31s1g56189522016-01-13 19:12:40 +01004884
z31s1g608d7ff2016-01-18 19:47:25 +01004885 <button>
z31s1g56189522016-01-13 19:12:40 +01004886 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4887 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4888 <condition var1="tw_hide_kb" op="=" var2="1" />
4889 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4890 <image resource="kb_show" />
4891 <condition var1="tw_busy" var2="0" />
4892 <actions>
4893 <action function="set">tw_hide_kb=0</action>
4894 <action function="page">terminalcommand</action>
4895 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004896 </button>
z31s1g56189522016-01-13 19:12:40 +01004897
z31s1g608d7ff2016-01-18 19:47:25 +01004898 <button>
z31s1g56189522016-01-13 19:12:40 +01004899 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4900 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4901 <image resource="home" />
4902 <condition var1="tw_busy" var2="0" />
4903 <actions>
4904 <action function="set">tw_hide_kb=0</action>
4905 <action function="key">home</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="0" />
4911 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4912 <condition var1="tw_hide_kb" op="=" var2="0" />
4913 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4914 <image resource="kb_hide" />
4915 <condition var1="tw_busy" var2="0" />
4916 <actions>
4917 <action function="set">tw_hide_kb=1</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="0" />
4924 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4925 <condition var1="tw_hide_kb" op="=" var2="1" />
4926 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4927 <image resource="kb_show" />
4928 <condition var1="tw_busy" var2="0" />
4929 <actions>
4930 <action function="set">tw_hide_kb=0</action>
4931 <action function="page">terminalcommand</action>
4932 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004933 </button>
z31s1g56189522016-01-13 19:12:40 +01004934
z31s1g608d7ff2016-01-18 19:47:25 +01004935 <button>
z31s1g56189522016-01-13 19:12:40 +01004936 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4937 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4938 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4939 <image resource="back" />
4940 <condition var1="tw_busy" var2="0" />
4941 <actions>
4942 <action function="set">tw_hide_kb=0</action>
4943 <action function="page">advanced</action>
4944 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004945 </button>
z31s1g56189522016-01-13 19:12:40 +01004946
z31s1g608d7ff2016-01-18 19:47:25 +01004947 <button>
z31s1g56189522016-01-13 19:12:40 +01004948 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4949 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4950 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4951 <image resource="back" />
4952 <condition var1="tw_busy" var2="0" />
4953 <actions>
4954 <action function="set">tw_hide_kb=0</action>
4955 <action function="page">advanced</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="1" />
4961 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4962 <condition var1="tw_hide_kb" op="=" var2="0" />
4963 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4964 <image resource="kb_hide" />
4965 <condition var1="tw_busy" var2="0" />
4966 <actions>
4967 <action function="set">tw_hide_kb=1</action>
4968 <action function="page">terminalcommand</action>
4969 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004970 </button>
z31s1g56189522016-01-13 19:12:40 +01004971
z31s1g608d7ff2016-01-18 19:47:25 +01004972 <button>
z31s1g56189522016-01-13 19:12:40 +01004973 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4974 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4975 <condition var1="tw_hide_kb" op="=" var2="1" />
4976 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4977 <image resource="kb_show" />
4978 <condition var1="tw_busy" var2="0" />
4979 <actions>
4980 <action function="set">tw_hide_kb=0</action>
4981 <action function="page">terminalcommand</action>
4982 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004983 </button>
z31s1g56189522016-01-13 19:12:40 +01004984
z31s1g608d7ff2016-01-18 19:47:25 +01004985 <button>
z31s1g56189522016-01-13 19:12:40 +01004986 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4987 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4988 <image resource="home" />
4989 <condition var1="tw_busy" var2="0" />
4990 <actions>
4991 <action function="set">tw_hide_kb=0</action>
4992 <action function="key">home</action>
4993 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004994 </button>
z31s1g56189522016-01-13 19:12:40 +01004995
z31s1g608d7ff2016-01-18 19:47:25 +01004996 <button>
z31s1g56189522016-01-13 19:12:40 +01004997 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4998 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4999 <condition var1="tw_hide_kb" op="=" var2="0" />
5000 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5001 <image resource="kb_hide" />
5002 <condition var1="tw_busy" var2="0" />
5003 <actions>
5004 <action function="set">tw_hide_kb=1</action>
5005 <action function="page">terminalcommand</action>
5006 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005007 </button>
z31s1g56189522016-01-13 19:12:40 +01005008
z31s1g608d7ff2016-01-18 19:47:25 +01005009 <button>
z31s1g56189522016-01-13 19:12:40 +01005010 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5011 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5012 <condition var1="tw_hide_kb" op="=" var2="1" />
5013 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5014 <image resource="kb_show" />
5015 <condition var1="tw_busy" var2="0" />
5016 <actions>
5017 <action function="set">tw_hide_kb=0</action>
5018 <action function="page">terminalcommand</action>
5019 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005020 </button>
z31s1g56189522016-01-13 19:12:40 +01005021
z31s1g608d7ff2016-01-18 19:47:25 +01005022 <button>
z31s1g56189522016-01-13 19:12:40 +01005023 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5024 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5025 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5026 <image resource="back" />
5027 <condition var1="tw_busy" var2="0" />
5028 <actions>
5029 <action function="set">tw_hide_kb=0</action>
5030 <action function="page">advanced</action>
5031 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005032 </button>
z31s1g56189522016-01-13 19:12:40 +01005033
z31s1g608d7ff2016-01-18 19:47:25 +01005034 <button>
z31s1g56189522016-01-13 19:12:40 +01005035 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5036 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5037 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5038 <image resource="back" />
5039 <condition var1="tw_busy" var2="0" />
5040 <actions>
5041 <action function="set">tw_hide_kb=0</action>
5042 <action function="page">advanced</action>
5043 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005044 </button>
z31s1g56189522016-01-13 19:12:40 +01005045
z31s1g608d7ff2016-01-18 19:47:25 +01005046 <button>
z31s1g56189522016-01-13 19:12:40 +01005047 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5048 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5049 <condition var1="tw_hide_kb" op="=" var2="0" />
5050 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5051 <image resource="kb_hide" />
5052 <condition var1="tw_busy" var2="0" />
5053 <actions>
5054 <action function="set">tw_hide_kb=1</action>
5055 <action function="page">terminalcommand</action>
5056 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005057 </button>
z31s1g56189522016-01-13 19:12:40 +01005058
z31s1g608d7ff2016-01-18 19:47:25 +01005059 <button>
z31s1g56189522016-01-13 19:12:40 +01005060 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5061 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5062 <condition var1="tw_hide_kb" op="=" var2="1" />
5063 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5064 <image resource="kb_show" />
5065 <condition var1="tw_busy" var2="0" />
5066 <actions>
5067 <action function="set">tw_hide_kb=0</action>
5068 <action function="page">terminalcommand</action>
5069 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005070 </button>
z31s1g56189522016-01-13 19:12:40 +01005071
z31s1g608d7ff2016-01-18 19:47:25 +01005072 <button>
z31s1g56189522016-01-13 19:12:40 +01005073 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5074 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5075 <image resource="home" />
5076 <condition var1="tw_busy" var2="0" />
5077 <actions>
5078 <action function="set">tw_hide_kb=0</action>
5079 <action function="key">home</action>
5080 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005081 </button>
z31s1g56189522016-01-13 19:12:40 +01005082
z31s1g608d7ff2016-01-18 19:47:25 +01005083 <button>
z31s1g56189522016-01-13 19:12:40 +01005084 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5085 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5086 <condition var1="tw_hide_kb" op="=" var2="0" />
5087 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5088 <image resource="kb_hide" />
5089 <condition var1="tw_busy" var2="0" />
5090 <actions>
5091 <action function="set">tw_hide_kb=1</action>
5092 <action function="page">terminalcommand</action>
5093 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005094 </button>
z31s1g56189522016-01-13 19:12:40 +01005095
z31s1g608d7ff2016-01-18 19:47:25 +01005096 <button>
z31s1g56189522016-01-13 19:12:40 +01005097 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5098 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5099 <condition var1="tw_hide_kb" op="=" var2="1" />
5100 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5101 <image resource="kb_show" />
5102 <condition var1="tw_busy" var2="0" />
5103 <actions>
5104 <action function="set">tw_hide_kb=0</action>
5105 <action function="page">terminalcommand</action>
5106 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005107 </button>
z31s1g56189522016-01-13 19:12:40 +01005108
z31s1g608d7ff2016-01-18 19:47:25 +01005109 <button>
z31s1g56189522016-01-13 19:12:40 +01005110 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5111 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5112 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5113 <image resource="back" />
5114 <condition var1="tw_busy" var2="0" />
5115 <actions>
5116 <action function="set">tw_hide_kb=0</action>
5117 <action function="page">advanced</action>
5118 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01005119 </button>
z31s1g28f0a922015-11-07 18:50:22 +01005120
5121 <action>
5122 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01005123 <actions>
5124 <action function="page">main</action>
5125 <action function="set">tw_hide_kb=0</action>
5126 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005127 </action>
5128
5129 <action>
5130 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01005131 <actions>
5132 <action function="page">advanced</action>
5133 <action function="set">tw_hide_kb=0</action>
5134 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01005135 </action>
z31s1g56189522016-01-13 19:12:40 +01005136
5137 <object type="action">
5138 <touch key="power+voldown" />
5139 <action function="screenshot" />
5140 </object>
z31s1g28f0a922015-11-07 18:50:22 +01005141 </page>
bigbiffdf8436b2020-08-30 16:22:34 -04005142
5143 <page name="fastboot">
5144 <template name="page"/>
5145
5146 <text style="text_l">
5147 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5148 <text>{@fastboot_button=Fastboot}</text>
5149 </text>
5150
5151 <template name="console"/>
5152
5153 <template name="progress_bar"/>
5154
5155 <button style="main_button_half_width">
5156 <condition var1="tw_enable_fastboot" op="=" var2="1" />
5157 <placement x="%col2_x_right%" y="%row15a_y%"/>
5158 <text>{@enable_adb=Enable ADB}</text>
5159 <actions>
5160 <action function="enableadb"/>
5161 <action function="set">tw_enable_adb=1</action>
5162 <action function="set">tw_enable_fastboot=0</action>
5163 </actions>
5164 </button>
5165
5166 <button style="main_button_half_width">
5167 <condition var1="tw_enable_adb" op="=" var2="1" />
5168 <placement x="%col2_x_right%" y="%row15a_y%"/>
5169 <text>{@enable_fastboot=Enable Fastboot}</text>
5170 <actions>
5171 <action function="enablefastboot"/>
5172 <action function="set">tw_enable_fastboot=1</action>
5173 <action function="set">tw_enable_adb=0</action>
5174 </actions>
5175 </button>
5176
5177 <button style="main_button_half_width">
5178 <placement x="%col3_x_right%" y="%row15a_y%"/>
5179 <text>{@reboot_btn=Reboot}</text>
5180 <action function="page">fastbootreboot</action>
5181 </button>
5182 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005183
5184 <page name="sideload">
5185 <template name="page"/>
5186
5187 <text style="text_l">
5188 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005189 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005190 </text>
5191
5192 <text style="text_m">
5193 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005194 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005195 </text>
5196
5197 <checkbox>
5198 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005199 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005200 <data variable="tw_wipe_dalvik"/>
5201 </checkbox>
5202
5203 <checkbox>
5204 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005205 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005206 <data variable="tw_wipe_cache"/>
5207 </checkbox>
5208
5209 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005210 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005211 <actions>
5212 <action function="set">tw_back=advanced</action>
5213 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005214 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5215 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5216 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005217 <action function="set">tw_has_cancel=1</action>
5218 <action function="set">tw_show_reboot=1</action>
5219 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5220 <action function="page">action_page</action>
5221 </actions>
5222 </slider>
5223
5224 <action>
5225 <touch key="home"/>
5226 <action function="page">main</action>
5227 </action>
5228
5229 <action>
5230 <touch key="back"/>
5231 <action function="page">advanced</action>
5232 </action>
5233 </page>
5234
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005235 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005236 <template name="page"/>
5237
5238 <text style="text_l">
5239 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005240 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005241 </text>
5242
5243 <text style="text_m">
5244 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005245 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005246 </text>
5247
5248 <text style="text_m_accent">
5249 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005250 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005251 </text>
5252
z31s1g28f0a922015-11-07 18:50:22 +01005253 <text style="text_m_fail">
5254 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005255 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005256 </text>
5257
5258 <text style="text_m_fail">
5259 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005260 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005261 </text>
5262
5263 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005264 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005265 <actions>
5266 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005267 <action function="set">tw_action=fixcontexts</action>
5268 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5269 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005270 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005271 <action function="set">tw_show_reboot=1</action>
5272 <action function="page">action_page</action>
5273 </actions>
5274 </slider>
5275
5276 <action>
5277 <touch key="home"/>
5278 <action function="page">main</action>
5279 </action>
5280
5281 <action>
5282 <touch key="back"/>
5283 <action function="page">advanced</action>
5284 </action>
5285 </page>
5286
z31s1g28f0a922015-11-07 18:50:22 +01005287 <page name="slideout">
5288 <fill color="%background_color%">
5289 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5290 </fill>
5291
5292 <console>
5293 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5294 </console>
5295
5296 <button>
5297 <fill color="%transparent%"/>
5298 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5299 <action function="overlay"/>
5300 </button>
5301
5302 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005303 <touch key="power"/>
5304 <action function="togglebacklight"/>
5305 </action>
5306
5307 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005308 <touch key="power+voldown"/>
5309 <action function="screenshot"/>
5310 </action>
5311 </page>
5312
5313 <page name="select_storage">
5314 <fill color="%semi_transparent%">
5315 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5316 </fill>
5317
5318 <fill color="%background_color%">
5319 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5320 </fill>
5321
5322 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005323 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005324 <data name="tw_storage_path"/>
5325 <listtype name="storage"/>
5326 </partitionlist>
5327
5328 <button style="button_third_width">
5329 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005330 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005331 <actions>
5332 <action function="set">tw_clear_destination=%tw_back%</action>
5333 <action function="overlay"/>
5334 <action function="page">clear_vars</action>
5335 </actions>
5336 </button>
5337
5338 <fill color="#000000">
5339 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5340 </fill>
5341
5342 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005343 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5344 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5345 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5346 <image resource="back" />
5347 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005348 <actions>
5349 <action function="overlay"/>
5350 <action function="key">%tw_back%</action>
5351 </actions>
5352 </button>
5353
5354 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005355 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5356 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5357 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5358 <image resource="console" />
5359 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005360 <action function="overlay">slideout</action>
5361 </button>
5362
5363 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005364 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5365 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5366 <image resource="home" />
5367 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005368 <actions>
5369 <action function="overlay"/>
5370 <action function="key">home</action>
5371 </actions>
5372 </button>
5373
5374 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005375 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5376 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5377 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5378 <image resource="console" />
5379 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005380 <action function="overlay">slideout</action>
5381 </button>
5382
5383 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005384 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5385 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5386 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5387 <image resource="back" />
5388 <condition var1="tw_busy" var2="0" />
5389 <actions>
5390 <action function="overlay"/>
5391 <action function="key">%tw_back%</action>
5392 </actions>
5393 </button>
5394
5395 <button>
5396 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5397 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5398 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5399 <image resource="back" />
5400 <condition var1="tw_busy" var2="0" />
5401 <actions>
5402 <action function="overlay"/>
5403 <action function="key">%tw_back%</action>
5404 </actions>
5405 </button>
5406
5407 <button>
5408 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5409 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5410 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5411 <image resource="console" />
5412 <condition var1="tw_busy" var2="0" />
5413 <action function="overlay">slideout</action>
5414 </button>
5415
5416 <button>
5417 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5418 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5419 <image resource="home" />
5420 <condition var1="tw_busy" var2="0" />
5421 <actions>
5422 <action function="overlay"/>
5423 <action function="key">home</action>
5424 </actions>
5425 </button>
5426
5427 <button>
5428 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5429 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5430 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5431 <image resource="console" />
5432 <condition var1="tw_busy" var2="0" />
5433 <action function="overlay">slideout</action>
5434 </button>
5435
5436 <button>
5437 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5438 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5439 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5440 <image resource="back" />
5441 <condition var1="tw_busy" var2="0" />
5442 <actions>
5443 <action function="overlay"/>
5444 <action function="key">%tw_back%</action>
5445 </actions>
5446 </button>
5447
5448 <button>
5449 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5450 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5451 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5452 <image resource="back" />
5453 <condition var1="tw_busy" var2="0" />
5454 <actions>
5455 <action function="overlay"/>
5456 <action function="key">%tw_back%</action>
5457 </actions>
5458 </button>
5459
5460 <button>
5461 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5462 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5463 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5464 <image resource="console" />
5465 <condition var1="tw_busy" var2="0" />
5466 <action function="overlay">slideout</action>
5467 </button>
5468
5469 <button>
5470 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5471 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5472 <image resource="home" />
5473 <condition var1="tw_busy" var2="0" />
5474 <actions>
5475 <action function="overlay"/>
5476 <action function="key">home</action>
5477 </actions>
5478 </button>
5479
5480 <button>
5481 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5482 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5483 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5484 <image resource="console" />
5485 <condition var1="tw_busy" var2="0" />
5486 <action function="overlay">slideout</action>
5487 </button>
5488
5489 <button>
5490 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5491 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5492 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5493 <image resource="back" />
5494 <condition var1="tw_busy" var2="0" />
5495 <actions>
5496 <action function="overlay"/>
5497 <action function="key">%tw_back%</action>
5498 </actions>
5499 </button>
5500
5501 <action>
5502 <touch key="power+voldown"/>
5503 <action function="screenshot"/>
5504 </action>
5505 </page>
5506
5507 <page name="select_language">
5508 <fill color="%semi_transparent%">
5509 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5510 </fill>
5511
5512 <fill color="%background_color%">
5513 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5514 </fill>
5515
5516 <listbox>
5517 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5518 <text>{@select_language=Select Language:}</text>
5519 <icon selected="radio_true" unselected="radio_false" />
5520 <data name="tw_language" />
5521 </listbox>
5522
5523 <button style="button_third_width">
5524 <placement x="%dialog_button_x%" y="%row13_y%"/>
5525 <text>{@ok_btn=OK}</text>
5526 <actions>
5527 <action function="overlay"/>
5528 <action function="setlanguage"></action>
5529 </actions>
5530 </button>
5531
5532 <fill color="#000000">
5533 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5534 </fill>
5535
5536 <button>
5537 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5538 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5539 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5540 <image resource="back" />
5541 <condition var1="tw_busy" var2="0" />
5542 <actions>
5543 <action function="overlay"/>
5544 <action function="key">%tw_back%</action>
5545 </actions>
5546 </button>
5547
5548 <button>
5549 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5550 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5551 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5552 <image resource="console" />
5553 <condition var1="tw_busy" var2="0" />
5554 <action function="overlay">slideout</action>
5555 </button>
5556
5557 <button>
5558 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5559 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5560 <image resource="home" />
5561 <condition var1="tw_busy" var2="0" />
5562 <actions>
5563 <action function="overlay"/>
5564 <action function="key">home</action>
5565 </actions>
5566 </button>
5567
5568 <button>
5569 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5570 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5571 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5572 <image resource="console" />
5573 <condition var1="tw_busy" var2="0" />
5574 <action function="overlay">slideout</action>
5575 </button>
5576
5577 <button>
5578 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5579 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5580 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5581 <image resource="back" />
5582 <condition var1="tw_busy" var2="0" />
5583 <actions>
5584 <action function="overlay"/>
5585 <action function="key">%tw_back%</action>
5586 </actions>
5587 </button>
5588
5589 <button>
5590 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5591 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5592 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5593 <image resource="back" />
5594 <condition var1="tw_busy" var2="0" />
5595 <actions>
5596 <action function="overlay"/>
5597 <action function="key">%tw_back%</action>
5598 </actions>
5599 </button>
5600
5601 <button>
5602 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5603 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5604 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5605 <image resource="console" />
5606 <condition var1="tw_busy" var2="0" />
5607 <action function="overlay">slideout</action>
5608 </button>
5609
5610 <button>
5611 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5612 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5613 <image resource="home" />
5614 <condition var1="tw_busy" var2="0" />
5615 <actions>
5616 <action function="overlay"/>
5617 <action function="key">home</action>
5618 </actions>
5619 </button>
5620
5621 <button>
5622 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5623 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5624 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5625 <image resource="console" />
5626 <condition var1="tw_busy" var2="0" />
5627 <action function="overlay">slideout</action>
5628 </button>
5629
5630 <button>
5631 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5632 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5633 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5634 <image resource="back" />
5635 <condition var1="tw_busy" var2="0" />
5636 <actions>
5637 <action function="overlay"/>
5638 <action function="key">%tw_back%</action>
5639 </actions>
5640 </button>
5641
5642 <button>
5643 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5644 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5645 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5646 <image resource="back" />
5647 <condition var1="tw_busy" var2="0" />
5648 <actions>
5649 <action function="overlay"/>
5650 <action function="key">%tw_back%</action>
5651 </actions>
5652 </button>
5653
5654 <button>
5655 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5656 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5657 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5658 <image resource="console" />
5659 <condition var1="tw_busy" var2="0" />
5660 <action function="overlay">slideout</action>
5661 </button>
5662
5663 <button>
5664 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5665 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5666 <image resource="home" />
5667 <condition var1="tw_busy" var2="0" />
5668 <actions>
5669 <action function="overlay"/>
5670 <action function="key">home</action>
5671 </actions>
5672 </button>
5673
5674 <button>
5675 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5676 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5677 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5678 <image resource="console" />
5679 <condition var1="tw_busy" var2="0" />
5680 <action function="overlay">slideout</action>
5681 </button>
5682
5683 <button>
5684 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5685 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5686 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5687 <image resource="back" />
5688 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005689 <actions>
5690 <action function="overlay"/>
5691 <action function="key">%tw_back%</action>
5692 </actions>
5693 </button>
5694
5695 <action>
5696 <touch key="power+voldown"/>
5697 <action function="screenshot"/>
5698 </action>
5699 </page>
Noah Jacobson81d638d2019-04-28 00:10:07 -04005700
5701 <page name="decrypt_users">
5702 <template name="page"/>
5703
5704 <text style="text_l">
5705 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5706 <text>{@decrypt_users=Decrypt Users}</text>
5707 </text>
5708
5709 <text style="text_m_accent">
5710 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5711 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5712 </text>
5713
5714 <listbox>
5715 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5716 <text>{@select_user=Select User}</text>
5717 <icon selected="radio_true" unselected="radio_false" />
5718 <data name="tw_crypto_user_id" />
5719 </listbox>
5720
5721 <button style="main_button_half_width">
5722 <placement x="%col2_x_right%" y="%row15a_y%"/>
5723 <text>{@decrypt_users=Decrypt Users}</text>
5724 <action function="set">tw_crypto_password=</action>
5725 <action function="set">tw_password_fail=0</action>
5726 <action function="page">decrypt</action>
5727 </button>
5728
5729 <action>
5730 <touch key="home"/>
5731 <action function="page">main</action>
5732 </action>
5733
5734 <action>
5735 <touch key="back"/>
5736 <action function="page">advanced</action>
5737 </action>
5738 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005739 </pages>
5740</recovery>