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