blob: 44452b6fa403fde2200e4689a05bfd985e28aa17 [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 Yonker64c5c0a2017-03-06 12:42:54 -06001018 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +01001019 </action>
1020
1021 <action>
1022 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
1023 <action function="page">confirm_action</action>
1024 </action>
1025 </page>
1026
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06001027 <page name="appcheck">
1028 <action>
1029 <condition var1="tw_app_prompt" var2="1"/>
1030 <action function="checkforapp"></action>
1031 </action>
1032
1033 <action>
1034 <condition var1="tw_app_prompt" op="!=" var2="1"/>
1035 <action function="reboot">%tw_reboot_param%</action>
1036 </action>
1037
1038 <action>
1039 <condition var1="tw_app_install_status" var2="1"/>
1040 <action function="page">rebootapp</action>
1041 </action>
1042
1043 <action>
1044 <condition var1="tw_app_install_status" var2="2"/>
1045 <action function="reboot">%tw_reboot_param%</action>
1046 </action>
1047 </page>
1048
z31s1g28f0a922015-11-07 18:50:22 +01001049 <page name="wipe">
1050 <template name="page"/>
1051
1052 <text style="text_l">
1053 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001054 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001055 </text>
1056
1057 <text style="text_m">
1058 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001059 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001060 </text>
1061
1062 <text style="text_m_accent">
1063 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001064 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001065 </text>
1066
1067 <text style="text_m_accent">
z31s1g28f0a922015-11-07 18:50:22 +01001068 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04001069 <text>{@factory_reset5=(not including users/lockscreen)}</text>
1070 </text>
1071
1072 <text style="text_m_accent">
1073 <condition var1="tw_has_data_media" var2="1"/>
1074 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001075 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001076 </text>
1077
1078 <text style="text_m_accent">
1079 <conditions>
1080 <condition var1="tw_has_android_secure" var2="1"/>
1081 <condition var1="fileexists" var2="/and-sec"/>
1082 </conditions>
1083 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001084 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001085 </text>
1086
1087 <text style="text_m_accent">
1088 <condition var1="tw_has_sdext_partition" var2="1"/>
1089 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001090 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001091 </text>
1092
1093 <text style="text_m">
1094 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001095 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001096 </text>
1097
1098 <text style="text_m">
1099 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001100 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001101 </text>
1102
1103 <text style="text_m">
1104 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001105 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001106 </text>
1107
1108 <button style="main_button_half_width">
1109 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001110 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001111 <actions>
1112 <action function="set">partitionlisterror=0</action>
1113 <action function="page">advancedwipe</action>
1114 </actions>
1115 </button>
1116
1117 <button style="main_button_half_width">
1118 <condition var1="tw_has_data_media" var2="1"/>
1119 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001120 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001121 <action function="page">formatdata</action>
1122 </button>
1123
1124 <button style="main_button_half_width">
1125 <conditions>
1126 <condition var1="tw_is_encrypted" var2="1"/>
1127 <condition var1="tw_has_data_media" var2="0"/>
1128 </conditions>
1129 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001130 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001131 <actions>
1132 <action function="set">tw_back=wipe</action>
1133 <action function="set">tw_action=wipe</action>
1134 <action function="set">tw_action_param=DATAMEDIA</action>
1135 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001136 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001137 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001138 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1139 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1140 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <action function="page">confirm_action</action>
1142 </actions>
1143 </button>
1144
1145 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001146 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001147 <actions>
1148 <action function="set">tw_back=wipe</action>
1149 <action function="set">tw_action=wipe</action>
1150 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001151 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1152 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001153 <action function="page">action_page</action>
1154 </actions>
1155 </slider>
1156
1157 <action>
1158 <touch key="back"/>
1159 <action function="page">main</action>
1160 </action>
1161
1162 <action>
1163 <touch key="home"/>
1164 <action function="page">main</action>
1165 </action>
1166 </page>
1167
1168 <page name="advancedwipe">
1169 <template name="page"/>
1170
1171 <action>
1172 <action function="set">tw_wipe_list=</action>
1173 </action>
1174
1175 <text style="text_l">
1176 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001177 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001178 </text>
1179
1180 <text style="text_m">
1181 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001182 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001183 </text>
1184
1185 <partitionlist>
1186 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001187 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001188 <data name="tw_wipe_list"/>
1189 <listtype name="wipe"/>
1190 </partitionlist>
1191
1192 <text style="text_m_fail">
1193 <condition var1="partitionlisterror" var2="1"/>
1194 <placement x="%col2_x_left%" y="%row14a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001195 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001196 </text>
1197
1198 <button style="main_button_m">
1199 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001200 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001201 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001202 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001203 <action function="page">checkpartitionlist</action>
1204 </actions>
1205 </button>
1206
1207 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001208 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001209 <actions>
1210 <action function="set">tw_back=advancedwipe</action>
1211 <action function="set">tw_action=wipe</action>
1212 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001213 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1214 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1215 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001216 <action function="page">action_page</action>
1217 </actions>
1218 </slider>
1219
1220 <action>
1221 <touch key="home"/>
1222 <action function="page">main</action>
1223 </action>
1224
1225 <action>
1226 <touch key="back"/>
1227 <action function="page">wipe</action>
1228 </action>
1229 </page>
1230
1231 <page name="formatdata">
1232 <template name="page"/>
1233
1234 <text style="text_l">
1235 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001236 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001237 </text>
1238
1239 <text style="text_m">
1240 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001241 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001242 </text>
1243
1244 <text style="text_m_fail">
1245 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001246 <text>{@format_data_lcp1=Format Data will wipe all of your apps, backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001247 </text>
1248
1249 <text style="text_m_fail">
1250 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001251 <text>{@format_data_lcp2=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001252 </text>
1253
Ethan Yonker66a19492015-12-10 10:19:45 -06001254 <text style="text_m_fail">
1255 <condition var1="tw_has_adopted_storage" var2="1"/>
1256 <placement x="%center_x%" y="%row4_y%" placement="5"/>
1257 <text>{@format_data_adopted=Including Adopted Storage}</text>
1258 </text>
1259
z31s1g28f0a922015-11-07 18:50:22 +01001260 <text style="text_m">
1261 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001262 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001263 </text>
1264
1265 <text style="text_m">
1266 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001267 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001268 </text>
1269
1270 <input>
1271 <placement x="%col1_x_left%" y="%row8_y%" w="%content_width%" h="%input_height%"/>
1272 <text>%tw_confirm_formatdata%</text>
1273 <data name="tw_confirm_formatdata"/>
1274 <restrict minlen="3" maxlen="3" allow="yes"/>
1275 <action function="page">formatdata_confirm</action>
1276 </input>
1277
1278 <fill color="%accent_color%">
1279 <placement x="%col1_x_left%" y="row9_y" w="%content_width%" h="input_line_width"/>
1280 </fill>
1281
1282 <template name="keyboardtemplate"/>
1283
1284 <action>
1285 <touch key="home"/>
1286 <action function="page">main</action>
1287 </action>
1288
1289 <action>
1290 <touch key="back"/>
1291 <action function="page">wipe</action>
1292 </action>
1293 </page>
1294
1295 <page name="formatdata_confirm">
1296 <action>
1297 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1298 <actions>
1299 <action function="set">tw_back=formatdata</action>
1300 <action function="set">tw_action=wipe</action>
1301 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1303 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001304 <action function="page">action_page</action>
1305 </actions>
1306 </action>
1307
1308 <action>
1309 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1310 <action function="page">formatdata</action>
1311 </action>
1312 </page>
1313
1314 <page name="checkpartitionlist">
1315 <action>
1316 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1317 <actions>
1318 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001319 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001320 <action function="page">partitionoptions</action>
1321 </actions>
1322 </action>
1323
1324 <action>
1325 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1326 <actions>
1327 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001328 <action function="page">advancedwipe</action>
1329 </actions>
1330 </action>
1331 </page>
1332
1333 <page name="partitionoptions">
1334 <template name="page"/>
1335
1336 <text style="text_l">
1337 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001338 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001339 </text>
1340
1341 <text style="text_m">
1342 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001343 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001344 </text>
1345
1346 <text style="text_m_accent">
1347 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001349 </text>
1350
1351 <text style="text_m_accent">
1352 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001353 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001354 </text>
1355
1356 <text style="text_m">
1357 <condition var1="tw_partition_is_present" var2="1"/>
1358 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001359 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001360 </text>
1361
1362 <text style="text_m">
1363 <condition var1="tw_partition_is_present" var2="0"/>
1364 <placement x="%col2_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001365 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001366 </text>
1367
1368 <text style="text_m">
1369 <condition var1="tw_partition_removable" var2="1"/>
1370 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001371 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001372 </text>
1373
1374 <text style="text_m">
1375 <condition var1="tw_partition_removable" var2="0"/>
1376 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 </text>
1379
1380 <text style="text_m">
1381 <placement x="%col2_x_left%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001382 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001383 </text>
1384
1385 <text style="text_m">
1386 <placement x="%col1_x_right%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001387 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001388 </text>
1389
1390 <text style="text_m">
1391 <placement x="%col2_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001392 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001393 </text>
1394
1395 <text style="text_m">
1396 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001397 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001398 </text>
1399
1400 <button style="main_button_half_width">
1401 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1402 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001403 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001404 <actions>
1405 <action function="set">tw_back=partitionoptions</action>
1406 <action function="set">tw_action=resize</action>
1407 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1408 <action function="set">tw_has_action2=1</action>
1409 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001410 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001411 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001412 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001413 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1414 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1415 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001416 <action function="page">confirm_action</action>
1417 </actions>
1418 </button>
1419
1420 <button style="main_button_half_width">
1421 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1422 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001423 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001424 <actions>
1425 <action function="set">tw_back=partitionoptions</action>
1426 <action function="set">tw_action=repair</action>
1427 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1428 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001429 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001430 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001431 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1432 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1433 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001434 <action function="page">confirm_action</action>
1435 </actions>
1436 </button>
1437
1438 <button style="main_button_half_width">
1439 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001440 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001441 <action function="page">selectfilesystem</action>
1442 </button>
1443
1444 <action>
1445 <touch key="home"/>
1446 <action function="page">main</action>
1447 </action>
1448
1449 <action>
1450 <touch key="back"/>
1451 <action function="page">advancedwipe</action>
1452 </action>
1453 </page>
1454
1455 <page name="refreshfilesystem">
1456 <action>
1457 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1458 <actions>
1459 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001460 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001461 <action function="page">selectfilesystem</action>
1462 </actions>
1463 </action>
1464
1465 <action>
1466 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1467 <actions>
1468 <action function="set">partitionlisterror=1</action>
1469 <action function="set">tw_wipe_list=</action>
1470 <action function="page">advancedwipe</action>
1471 </actions>
1472 </action>
1473 </page>
1474
1475 <page name="selectfilesystem">
1476 <template name="page"/>
1477
1478 <text style="text_l">
1479 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001480 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001481 </text>
1482
1483 <text style="text_m">
1484 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001485 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001486 </text>
1487
1488 <text style="text_m_accent">
1489 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001490 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001491 </text>
1492
1493 <text style="text_m_accent">
1494 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001495 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001496 </text>
1497
1498 <text style="text_m_fail">
1499 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001500 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001501 </text>
1502
1503 <text style="text_m_fail">
1504 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001505 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001506 </text>
1507
1508 <button style="main_button_half_width">
1509 <condition var1="tw_partition_ext" op="=" var2="1"/>
1510 <placement x="%col1_x_left%" y="%row11_y%"/>
1511 <text>EXT2</text>
1512 <actions>
1513 <action function="set">tw_back=refreshfilesystem</action>
1514 <action function="set">tw_action=changefilesystem</action>
1515 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1516 <action function="set">tw_action_new_file_system=ext2</action>
1517 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001518 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1519 <action function="set">tw_text2=EXT2</action>
1520 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1521 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1522 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001523 <action function="page">confirm_action</action>
1524 </actions>
1525 </button>
1526
1527 <button style="main_button_half_width">
1528 <condition var1="tw_partition_ext" op="=" var2="1"/>
1529 <placement x="%col2_x_left%" y="%row11_y%"/>
1530 <text>EXT3</text>
1531 <actions>
1532 <action function="set">tw_back=refreshfilesystem</action>
1533 <action function="set">tw_action=changefilesystem</action>
1534 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1535 <action function="set">tw_action_new_file_system=ext3</action>
1536 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001537 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1538 <action function="set">tw_text2=EXT3</action>
1539 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1540 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1541 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001542 <action function="page">confirm_action</action>
1543 </actions>
1544 </button>
1545
1546 <button style="main_button_half_width">
1547 <condition var1="tw_partition_ext" op="=" var2="1"/>
1548 <placement x="%center_x%" y="%row11_y%"/>
1549 <text>EXT4</text>
1550 <actions>
1551 <action function="set">tw_back=refreshfilesystem</action>
1552 <action function="set">tw_action=changefilesystem</action>
1553 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1554 <action function="set">tw_action_new_file_system=ext4</action>
1555 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001556 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1557 <action function="set">tw_text2=EXT4</action>
1558 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1559 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1560 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001561 <action function="page">confirm_action</action>
1562 </actions>
1563 </button>
1564
1565 <button style="main_button_half_width">
1566 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1567 <placement x="%col2_x_right%" y="%row11_y%"/>
1568 <text>FAT</text>
1569 <actions>
1570 <action function="set">tw_back=refreshfilesystem</action>
1571 <action function="set">tw_action=changefilesystem</action>
1572 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1573 <action function="set">tw_action_new_file_system=vfat</action>
1574 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001575 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1576 <action function="set">tw_text2=FAT</action>
1577 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1578 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1579 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001580 <action function="page">confirm_action</action>
1581 </actions>
1582 </button>
1583
1584 <button style="main_button_half_width">
1585 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1586 <placement x="%col2_x_left%" y="%row15a_y%"/>
1587 <text>exFAT</text>
1588 <actions>
1589 <action function="set">tw_back=refreshfilesystem</action>
1590 <action function="set">tw_action=changefilesystem</action>
1591 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1592 <action function="set">tw_action_new_file_system=exfat</action>
1593 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001594 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1595 <action function="set">tw_text2=exFAT</action>
1596 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1597 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1598 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001599 <action function="page">confirm_action</action>
1600 </actions>
1601 </button>
1602
1603 <button style="main_button_half_width">
1604 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1605 <placement x="%center_x%" y="%row15a_y%"/>
1606 <text>F2FS</text>
1607 <actions>
1608 <action function="set">tw_back=refreshfilesystem</action>
1609 <action function="set">tw_action=changefilesystem</action>
1610 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1611 <action function="set">tw_action_new_file_system=f2fs</action>
1612 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001613 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1614 <action function="set">tw_text2=F2FS</action>
1615 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1616 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1617 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001618 <action function="page">confirm_action</action>
1619 </actions>
1620 </button>
1621
1622 <action>
1623 <touch key="home"/>
1624 <action function="page">main</action>
1625 </action>
1626
1627 <action>
1628 <touch key="back"/>
1629 <action function="page">partitionoptions</action>
1630 </action>
1631 </page>
1632
1633 <page name="backup">
1634 <template name="page"/>
1635
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001636 <action>
1637 <conditions>
1638 <condition var1="tw_is_fbe" var2="1"/>
1639 <condition var1="tw_all_users_decrypted" var2="0"/>
1640 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
1641 </conditions>
1642 <actions>
1643 <action function="set">tw_multiuser_warning_destination=backup</action>
1644 <action function="page">multiuser_warning</action>
1645 </actions>
1646 </action>
1647
z31s1g28f0a922015-11-07 18:50:22 +01001648 <text style="text_l">
1649 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001650 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001651 </text>
1652
1653 <text style="text_m">
1654 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001655 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001656 </text>
1657
1658 <text style="text_m_accent">
1659 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001660 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001661 </text>
1662
1663 <text style="text_m">
1664 <placement x="%col1_x_left%" y="%row3_y%"/>
1665 <text>%tw_backup_name%</text>
1666 </text>
1667
1668 <fill color="%fileselector_linecolor%">
1669 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1670 </fill>
1671
1672 <button>
1673 <placement x="col1_x_left" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1674 <fill color="%transparent%"/>
1675 <actions>
1676 <action function="set">tw_fileexists=0</action>
1677 <action function="page">backupname1</action>
1678 </actions>
1679 </button>
1680
1681 <partitionlist>
1682 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001683 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001684 <data name="tw_backup_list"/>
1685 <listtype name="backup"/>
1686 </partitionlist>
1687
1688 <text style="text_m_accent">
1689 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@encryption=Encryption:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <text style="text_m">
1694 <conditions>
1695 <condition var1="tw_include_encrypted_backup" var2="1"/>
1696 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001697 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001698 </conditions>
1699 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001700 <text>{@enc_disabled=disabled - set a password to enable}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001701 </text>
1702
1703 <text style="text_m">
1704 <conditions>
1705 <condition var1="tw_include_encrypted_backup" var2="1"/>
1706 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001707 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001708 </conditions>
1709 <placement x="%col1_x_right%" y="%row3_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001710 <text>{@enc_enabled=enabled}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001711 </text>
1712
1713 <fill color="%fileselector_linecolor%">
1714 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1715 </fill>
1716
1717 <button>
1718 <placement x="col1_x_right" y="%row2_y%" w="%content_half_width%" h="%navbar_height%"/>
1719 <fill color="%transparent%"/>
1720 <actions>
1721 <action function="set">tw_password_not_match=0</action>
1722 <action function="page">backupencryption</action>
1723 </actions>
1724 </button>
1725
1726 <text style="text_m_accent">
1727 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001728 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001729 </text>
1730
1731 <checkbox>
1732 <placement x="%col1_x_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001733 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001734 <data variable="tw_use_compression"/>
1735 </checkbox>
1736
1737 <checkbox>
1738 <placement x="%col1_x_right%" y="%row7a_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001739 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1740 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001741 </checkbox>
1742
1743 <checkbox>
1744 <placement x="%col1_x_right%" y="%row9_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001745 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001746 <data variable="tw_disable_free_space"/>
1747 </checkbox>
1748
1749 <button style="main_button_half_width">
bigbiffce8f83c2015-12-12 18:30:21 -05001750 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001751 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001752 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001753 <actions>
1754 <action function="set">tw_back=backup</action>
1755 <action function="overlay">select_storage</action>
1756 </actions>
1757 </button>
1758
1759 <button style="main_button_half_width">
1760 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001761 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001762 <actions>
1763 <action function="refreshsizes"/>
1764 <action function="page">backup</action>
1765 </actions>
1766 </button>
1767
1768 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001769 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001770 <action function="page">backup_run</action>
1771 </slider>
1772
1773 <action>
1774 <touch key="home"/>
1775 <action function="page">main</action>
1776 </action>
1777
1778 <action>
1779 <touch key="back"/>
1780 <action function="page">main</action>
1781 </action>
1782 </page>
1783
Noah Jacobson3ad80f42020-07-21 01:28:22 -04001784 <page name="multiuser_warning">
1785 <template name="page"/>
1786
1787 <text style="text_l">
1788 <placement x="%col1_x_header%" y="%row3_header_y%"/>
1789 <text>{@multiuser_warning_hdr=Multiuser Warning}</text>
1790 </text>
1791
1792 <text style="text_m_fail">
1793 <placement x="%center_x%" y="%row7_y%" placement="5"/>
1794 <text>{@multiuser_warning1=Not all users decrypted!}</text>
1795 </text>
1796
1797 <text style="text_m_fail">
1798 <placement x="%center_x%" y="%row8_y%" placement="5"/>
1799 <text>{@multiuser_warning2=Backup/restore operations may fail!}</text>
1800 </text>
1801
1802 <button style="main_button_m">
1803 <placement x="%col1_x_left%" y="%row15a_y%"/>
1804 <text>{@decrypt_users=Decrypt Users}</text>
1805 <action function="page">decrypt_users</action>
1806 </button>
1807
1808 <slider>
1809 <text>{@multiuser_warning_accept=Continue Anyway}</text>
1810 <actions>
1811 <action function="set">tw_multiuser_warning_accepted=1</action>
1812 <action function="page">%tw_multiuser_warning_destination%</action>
1813 </actions>
1814 </slider>
1815
1816 <action>
1817 <touch key="home"/>
1818 <action function="page">main</action>
1819 </action>
1820
1821 <action>
1822 <touch key="back"/>
1823 <action function="page">main</action>
1824 </action>
1825 </page>
1826
z31s1g28f0a922015-11-07 18:50:22 +01001827 <page name="backupname1">
1828 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001829 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001830 <action function="generatebackupname"/>
1831 </action>
1832
1833 <action>
1834 <action function="page">backupname2</action>
1835 </action>
1836 </page>
1837
1838 <page name="backupname2">
1839 <template name="page"/>
1840
1841 <text style="text_l">
1842 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001843 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001844 </text>
1845
1846 <text style="text_m">
1847 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001848 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001849 </text>
1850
1851 <text style="text_m_accent">
1852 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 </text>
1855
1856 <input>
1857 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
1858 <text>%tw_backup_name%</text>
1859 <data name="tw_backup_name"/>
1860 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1861 <actions>
1862 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1863 <action function="set">tw_existpage=backupname2</action>
1864 <action function="set">tw_notexistpage=backup</action>
1865 <action function="page">filecheck</action>
1866 </actions>
1867 </input>
1868
1869 <fill color="%accent_color%">
1870 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1871 </fill>
1872
1873 <fill color="%text_fail_color%">
1874 <condition var1="tw_fileexists" var2="1"/>
1875 <placement x="%col1_x_left%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
1876 </fill>
1877
1878 <text style="text_m_fail">
1879 <condition var1="tw_fileexists" var2="1"/>
1880 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001881 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001882 </text>
1883
1884 <button style="main_button_half_width_low">
1885 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001886 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001887 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001888 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001889 <action function="page">backup</action>
1890 </actions>
1891 </button>
1892
1893 <button style="main_button_half_width_low">
1894 <placement x="%date_button_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001895 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001896 <action function="appenddatetobackupname"/>
1897 </button>
1898
1899 <template name="keyboardtemplate"/>
1900
1901 <action>
1902 <touch key="home"/>
1903 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001904 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001905 <action function="page">main</action>
1906 </actions>
1907 </action>
1908
1909 <action>
1910 <touch key="back"/>
1911 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001912 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001913 <action function="page">backup</action>
1914 </actions>
1915 </action>
1916 </page>
1917
1918 <page name="backupencryption">
1919 <template name="page"/>
1920
1921 <text style="text_l">
1922 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001923 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001924 </text>
1925
1926 <text style="text_m">
1927 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001928 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001929 </text>
1930
1931 <text style="text_m_accent">
1932 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001934 </text>
1935
1936 <input>
1937 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
1938 <text>%tw_backup_encrypt_display%</text>
1939 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1940 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1941 <action function="page">backupencryption2</action>
1942 </input>
1943
1944 <fill color="%accent_color%">
1945 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1946 </fill>
1947
1948 <fill color="%text_fail_color%">
1949 <condition var1="tw_password_not_match" var2="1"/>
1950 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width"/>
1951 </fill>
1952
1953 <text style="text_m_fail">
1954 <condition var1="tw_password_not_match" var2="1"/>
1955 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001956 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001957 </text>
1958
1959 <button style="main_button_half_width_low">
1960 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001961 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001962 <actions>
1963 <action function="set">tw_encrypt_backup=0</action>
1964 <action function="set">tw_backup_password=</action>
1965 <action function="set">tw_backup_password2=</action>
1966 <action function="set">tw_backup_encrypt_display=</action>
1967 <action function="set">tw_backup_encrypt_display2=</action>
1968 <action function="page">backup</action>
1969 </actions>
1970 </button>
1971
1972 <template name="keyboardtemplate"/>
1973
1974 <action>
1975 <touch key="home"/>
1976 <action function="page">main</action>
1977 </action>
1978
1979 <action>
1980 <touch key="back"/>
1981 <action function="page">backup</action>
1982 </action>
1983 </page>
1984
1985 <page name="backupencryption2">
1986 <template name="page"/>
1987
1988 <text style="text_l">
1989 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001990 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001991 </text>
1992
1993 <text style="text_m">
1994 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001995 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001996 </text>
1997
1998 <text style="text_m_accent">
1999 <placement x="%col1_x_right%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002000 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002001 </text>
2002
2003 <input>
2004 <placement x="%col1_x_right%" y="%row2_input_y%" w="%content_half_width%" h="%input_height%"/>
2005 <text>%tw_backup_encrypt_display2%</text>
2006 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2007 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2008 <action function="page">checkbackuppassword</action>
2009 </input>
2010
2011 <fill color="%accent_color%">
2012 <placement x="%col1_x_right%" y="row4_y" w="%content_half_width%" h="input_line_width" placement="1"/>
2013 </fill>
2014
2015 <text style="text_m">
2016 <placement x="%col1_x_right%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002017 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002018 </text>
2019
2020 <button style="main_button_half_width_low">
2021 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002022 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002023 <actions>
2024 <action function="set">tw_encrypt_backup=0</action>
2025 <action function="set">tw_backup_password=</action>
2026 <action function="set">tw_backup_password2=</action>
2027 <action function="set">tw_backup_encrypt_display=</action>
2028 <action function="set">tw_backup_encrypt_display2=</action>
2029 <action function="page">backup</action>
2030 </actions>
2031 </button>
2032
2033 <template name="keyboardtemplate"/>
2034
2035 <action>
2036 <touch key="home"/>
2037 <action function="page">main</action>
2038 </action>
2039
2040 <action>
2041 <touch key="back"/>
2042 <action function="page">backup</action>
2043 </action>
2044 </page>
2045
2046 <page name="checkbackuppassword">
2047 <action>
2048 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2049 <actions>
2050 <action function="set">tw_encrypt_backup=1</action>
2051 <action function="page">backup</action>
2052 </actions>
2053 </action>
2054
2055 <action>
2056 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2057 <actions>
2058 <action function="set">tw_encrypt_backup=0</action>
2059 <action function="set">tw_password_not_match=1</action>
2060 <action function="set">tw_backup_password=</action>
2061 <action function="set">tw_backup_password2=</action>
2062 <action function="set">tw_backup_encrypt_display=</action>
2063 <action function="set">tw_backup_encrypt_display2=</action>
2064 <action function="page">backupencryption</action>
2065 </actions>
2066 </action>
2067 </page>
2068
2069 <page name="backup_run">
2070 <template name="page"/>
2071
2072 <text style="text_l">
2073 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2074 <text>%tw_operation%</text>
2075 </text>
2076
2077 <text style="text_m">
2078 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2079 <text>%tw_partition% Partition</text>
2080 </text>
2081
2082 <template name="console"/>
2083
2084 <template name="progress_bar"/>
2085
2086 <text style="text_m_accent">
2087 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002088 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002089 </text>
2090
2091 <text style="text_m">
2092 <placement x="%progress_text_x%" y="%row17_y%"/>
2093 <text>%tw_file_progress%</text>
2094 </text>
2095
2096 <text style="text_m">
2097 <placement x="%progress_text_x%" y="%row18_y%"/>
2098 <text>%tw_size_progress%</text>
2099 </text>
2100
2101 <button style="main_button_half_width">
2102 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002103 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002104 <action function="cancelbackup"/>
2105 </button>
2106
2107 <action>
2108 <action function="nandroid">backup</action>
2109 </action>
2110
2111 <action>
2112 <condition var1="tw_operation_state" var2="1"/>
2113 <condition var1="tw_cancel_backup" var2="0"/>
2114 <actions>
2115 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002116 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002117 <action function="set">tw_show_reboot=1</action>
2118 <action function="page">action_complete</action>
2119 </actions>
2120 </action>
2121
2122 <action>
2123 <condition var1="tw_operation_state" var2="1"/>
2124 <condition var1="tw_cancel_backup" var2="1"/>
2125 <actions>
2126 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002127 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002128 <action function="set">tw_show_reboot=1</action>
2129 <action function="page">action_complete</action>
2130 </actions>
2131 </action>
2132 </page>
2133
2134 <page name="restore">
2135 <template name="page"/>
2136
Noah Jacobson3ad80f42020-07-21 01:28:22 -04002137 <action>
2138 <conditions>
2139 <condition var1="tw_is_fbe" var2="1"/>
2140 <condition var1="tw_all_users_decrypted" var2="0"/>
2141 <condition var1="tw_multiuser_warning_accepted" op="!=" var2="1"/>
2142 </conditions>
2143 <actions>
2144 <action function="set">tw_multiuser_warning_destination=restore</action>
2145 <action function="page">multiuser_warning</action>
2146 </actions>
2147 </action>
2148
z31s1g28f0a922015-11-07 18:50:22 +01002149 <text style="text_l">
2150 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002151 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002152 </text>
2153
2154 <text style="text_m">
2155 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002156 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002157 </text>
2158
2159 <template name="sort_options"/>
2160
2161 <fileselector>
2162 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002163 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002164 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002165 <path name="tw_backups_folder"/>
2166 <data name="tw_restore" default=""/>
2167 <selection name="tw_restore_name"/>
2168 </fileselector>
2169
2170 <button style="main_button_half_width_low">
2171 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002172 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002173 <actions>
2174 <action function="set">tw_back=restore</action>
2175 <action function="overlay">select_storage</action>
2176 </actions>
2177 </button>
2178
2179 <action>
2180 <condition var1="tw_restore" op="modified"/>
2181 <actions>
2182 <action function="readBackup"/>
2183 <action function="page">restore_read</action>
2184 </actions>
2185 </action>
2186
2187 <action>
2188 <touch key="home"/>
2189 <action function="page">main</action>
2190 </action>
2191
2192 <action>
2193 <touch key="back"/>
2194 <action function="page">main</action>
2195 </action>
2196 </page>
2197
2198 <page name="restore_read">
2199 <action>
2200 <condition var1="tw_restore_encrypted" var2="1"/>
2201 <actions>
2202 <action function="set">tw_password_fail=0</action>
2203 <action function="page">restore_decrypt</action>
2204 </actions>
2205 </action>
2206
2207 <action>
2208 <condition var1="tw_restore_encrypted" var2="0"/>
2209 <actions>
2210 <action function="page">restore_select</action>
2211 </actions>
2212 </action>
2213 </page>
2214
2215 <page name="restore_decrypt">
2216 <template name="page"/>
2217
2218 <text style="text_l">
2219 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002220 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002221 </text>
2222
2223 <text style="text_m">
2224 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002225 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002226 </text>
2227
2228 <text style="text_m_accent">
2229 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002230 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002231 </text>
2232
2233 <input>
2234 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2235 <text>%tw_restore_display%</text>
2236 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2237 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2238 <action function="page">try_restore_decrypt</action>
2239 </input>
2240
2241 <fill color="%accent_color%">
2242 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2243 </fill>
2244
2245 <fill color="%text_fail_color%">
2246 <condition var1="tw_password_fail" var2="1"/>
2247 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
2248 </fill>
2249
2250 <text style="text_m_fail">
2251 <condition var1="tw_password_fail" var2="1"/>
2252 <placement x="%col1_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002253 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002254 </text>
2255
2256 <button style="main_button_half_width_low">
2257 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002258 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002259 <actions>
2260 <action function="set">tw_page_done=1</action>
2261 <action function="page">restore</action>
2262 </actions>
2263 </button>
2264
2265 <button style="main_button_half_width_low">
2266 <placement x="%col_button_right%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002267 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002268 <actions>
2269 <action function="set">tw_back=restore</action>
2270 <action function="set">tw_action=cmd</action>
2271 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002272 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2273 <action function="set">tw_text2=%tw_restore_name%</action>
2274 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2275 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2276 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2277 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002278 <action function="page">confirm_action</action>
2279 </actions>
2280 </button>
2281
2282 <template name="keyboardtemplate"/>
2283
2284 <action>
2285 <touch key="home"/>
2286 <action function="page">main</action>
2287 </action>
2288
2289 <action>
2290 <touch key="back"/>
2291 <action function="page">restore</action>
2292 </action>
2293 </page>
2294
2295 <page name="try_restore_decrypt">
2296 <template name="page"/>
2297
2298 <text style="text_l">
2299 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m">
2304 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <template name="console"/>
2309
2310 <template name="progress_bar"/>
2311
2312 <action>
2313 <action function="decrypt_backup"/>
2314 </action>
2315
2316 <action>
2317 <conditions>
2318 <condition var1="tw_operation_state" var2="1"/>
2319 <condition var1="tw_operation_status" op="!=" var2="0"/>
2320 </conditions>
2321 <actions>
2322 <action function="set">tw_password_fail=1</action>
2323 <action function="page">restore_decrypt</action>
2324 </actions>
2325 </action>
2326
2327 <action>
2328 <conditions>
2329 <condition var1="tw_operation_state" var2="1"/>
2330 <condition var1="tw_operation_status" op="=" var2="0"/>
2331 </conditions>
2332 <actions>
2333 <action function="set">tw_page_done=1</action>
2334 <action function="page">restore_select</action>
2335 </actions>
2336 </action>
2337 </page>
2338
2339 <page name="restore_select">
2340 <template name="page"/>
2341
2342 <text style="text_l">
2343 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002344 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002345 </text>
2346
2347 <text style="text_m">
2348 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002349 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002350 </text>
2351
2352 <text style="text_m_accent">
2353 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002354 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002355 </text>
2356
2357 <text style="text_m">
2358 <placement x="%col1_x_left%" y="%row3_y%"/>
2359 <text>%tw_restore_name%</text>
2360 </text>
2361
2362 <fill color="%fileselector_linecolor%">
2363 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width"/>
2364 </fill>
2365
2366 <button>
2367 <placement x="col1_x_left" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2368 <fill color="%transparent%"/>
2369 <actions>
2370 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2371 <action function="set">tw_fileexists=0</action>
2372 <action function="page">renamebackup</action>
2373 </actions>
2374 </button>
2375
2376 <partitionlist>
2377 <placement x="%col1_x_left%" y="%row4a_y%" w="%content_half_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002378 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002379 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2380 <listtype name="restore"/>
2381 </partitionlist>
2382
2383 <text style="text_m_accent">
2384 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002385 <text>{@options=Options:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002386 </text>
2387
2388 <checkbox>
2389 <placement x="%col1_x_right%" y="%row6_y%"/>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002390 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002391 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2392 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002393 </checkbox>
2394
2395 <button style="main_button_half_width">
2396 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002397 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002398 <actions>
2399 <action function="set">tw_back=restore</action>
2400 <action function="set">tw_action=cmd</action>
2401 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; rm -rf "%tw_restore_name%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002402 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002403 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002404 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2405 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2406 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2407 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002408 <action function="page">confirm_action</action>
2409 </actions>
2410 </button>
2411
2412 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002413 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002414 <action function="page">restore_run</action>
2415 </slider>
2416
2417 <action>
2418 <touch key="home"/>
2419 <action function="page">main</action>
2420 </action>
2421
2422 <action>
2423 <touch key="back"/>
2424 <action function="page">restore</action>
2425 </action>
2426 </page>
2427
2428 <page name="renamebackup">
2429 <template name="page"/>
2430
2431 <text style="text_l">
2432 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002433 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002434 </text>
2435
2436 <text style="text_m">
2437 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002438 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002439 </text>
2440
2441 <text style="text_m_accent">
2442 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002443 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002444 </text>
2445
2446 <input>
2447 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2448 <text>%tw_backup_rename%</text>
2449 <data name="tw_backup_rename"/>
2450 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2451 <actions>
2452 <action function="set">tw_back=restore</action>
2453 <action function="set">tw_action=cmd</action>
2454 <action function="set">tw_action_param=cd %tw_backups_folder% &amp;&amp; mv "%tw_restore_name%" "%tw_backup_rename%"</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002455 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2456 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2457 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2458 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2459 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002460 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2461 <action function="set">tw_existpage=renamebackup</action>
2462 <action function="set">tw_notexistpage=confirm_action</action>
2463 <action function="page">filecheck</action>
2464 </actions>
2465 </input>
2466
2467 <fill color="%accent_color%">
2468 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2469 </fill>
2470
2471 <fill color="%text_fail_color%">
2472 <condition var1="tw_fileexists" var2="1"/>
2473 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2474 </fill>
2475
2476 <text style="text_m_fail">
2477 <condition var1="tw_fileexists" var2="1"/>
2478 <placement x="%col1_x_left%" y="%row4_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002479 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002480 </text>
2481
2482 <button style="main_button_half_width_low">
2483 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002484 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002485 <action function="page">restore_select</action>
2486 </button>
2487
2488 <template name="keyboardtemplate"/>
2489
2490 <action>
2491 <touch key="home"/>
2492 <action function="page">main</action>
2493 </action>
2494
2495 <action>
2496 <touch key="back"/>
2497 <action function="page">restore_select</action>
2498 </action>
2499 </page>
2500
2501 <page name="restore_run">
2502 <template name="page"/>
2503
2504 <text style="text_l">
2505 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002506 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002507 </text>
2508
2509 <text style="text_m">
2510 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2511 <text>%tw_operation% %tw_partition%</text>
2512 </text>
2513
2514 <template name="console"/>
2515
2516 <template name="progress_bar"/>
2517
2518 <text style="text_m_accent">
2519 <placement x="%progress_text_x%" y="%progress_text_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002520 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002521 </text>
2522
2523 <text style="text_m">
2524 <placement x="%progress_text_x%" y="%row18_y%"/>
2525 <text>%tw_size_progress%</text>
2526 </text>
2527
2528 <action>
2529 <condition var1="tw_operation_state" var2="1"/>
2530 <actions>
2531 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002532 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002533 <action function="set">tw_show_reboot=1</action>
2534 <action function="page">action_complete</action>
2535 </actions>
2536 </action>
2537
2538 <action>
2539 <action function="nandroid">restore</action>
2540 </action>
2541 </page>
2542
2543 <page name="mount">
2544 <template name="page"/>
2545
2546 <text style="text_l">
2547 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002548 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002549 </text>
2550
2551 <text style="text_m">
2552 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002553 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002554 </text>
2555
2556 <partitionlist>
2557 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002558 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002559 <listtype name="mount"/>
2560 </partitionlist>
2561
2562 <button style="checkbox">
2563 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2564 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002565 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002566 <image resource="checkbox_false"/>
2567 <action function="mountsystemtoggle">1</action>
2568 </button>
2569
2570 <button style="checkbox">
2571 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2572 <placement x="%col1_x_left%" y="%row14_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002573 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002574 <image resource="checkbox_true"/>
2575 <actions>
2576 <action function="set">tw_lifetime_writes=2</action>
2577 <action function="page">system_readonly_check</action>
2578 </actions>
2579 </button>
2580
2581 <button style="main_button_half_width">
2582 <condition var1="tw_has_usb_storage" var2="1"/>
2583 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002584 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002585 <action function="page">usb_mount</action>
2586 </button>
2587
2588 <button style="main_button_half_width">
2589 <conditions>
2590 <condition var1="tw_is_encrypted" var2="1"/>
2591 <condition var1="tw_is_decrypted" var2="0"/>
2592 </conditions>
2593 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002594 <text>{@decrypt_data_btn=Decrypt Data}</text>
Noah Jacobson5a79f672019-04-28 00:10:07 -04002595 <action function="set">tw_crypto_user_id=0</action>
2596 <action function="set">tw_crypto_password=</action>
2597 <action function="set">tw_password_fail=0</action>
2598 <action function="set">tw_crypto_pwtype=%tw_crypto_pwtype_0%</action>
z31s1g28f0a922015-11-07 18:50:22 +01002599 <action function="page">decrypt</action>
2600 </button>
2601
2602 <button style="main_button_half_width">
2603 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002604 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002605 <actions>
2606 <action function="set">tw_back=mount</action>
2607 <action function="overlay">select_storage</action>
2608 </actions>
2609 </button>
2610
2611 <button style="main_button_half_width">
2612 <conditions>
2613 <condition var1="tw_has_mtp" var2="1"/>
2614 <condition var1="tw_mtp_enabled" var2="0"/>
2615 </conditions>
2616 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002617 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002618 <action function="startmtp"/>
2619 </button>
2620
2621 <button style="main_button_half_width">
2622 <conditions>
2623 <condition var1="tw_has_mtp" var2="1"/>
2624 <condition var1="tw_mtp_enabled" var2="1"/>
2625 </conditions>
2626 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002627 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002628 <action function="stopmtp"/>
2629 </button>
2630
2631 <action>
2632 <touch key="home"/>
2633 <action function="page">main</action>
2634 </action>
2635
2636 <action>
2637 <touch key="back"/>
2638 <action function="page">main</action>
2639 </action>
2640 </page>
2641
2642 <page name="usb_mount">
2643 <template name="page"/>
2644
2645 <text style="text_l">
2646 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002647 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002648 </text>
2649
2650 <text style="text_m">
2651 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002652 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002653 </text>
2654
2655 <text style="text_m_accent">
2656 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002657 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002658 </text>
2659
2660 <text style="text_m">
2661 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002662 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002663 </text>
2664
2665 <text style="text_m">
2666 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002667 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002668 </text>
2669
2670 <button style="main_button_half_width">
2671 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002672 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002673 <action function="page">usb_umount</action>
2674 </button>
2675
2676 <action>
2677 <action function="mount">usb</action>
2678 <action function="set">tw_busy=1</action>
2679 </action>
2680 </page>
2681
2682 <page name="usb_umount">
2683 <action>
2684 <action function="unmount">usb</action>
2685 </action>
2686
2687 <action>
2688 <action function="page">mount</action>
2689 <action function="set">tw_busy=0</action>
2690 </action>
2691 </page>
2692
2693 <page name="system_readonly_check">
2694 <action>
2695 <action function="checkpartitionlifetimewrites">/system</action>
2696 </action>
2697
2698 <action>
2699 <condition var1="tw_lifetime_writes" var2="1"/>
2700 <actions>
2701 <action function="mountsystemtoggle">0</action>
2702 <action function="page">mount</action>
2703 </actions>
2704 </action>
2705
2706 <action>
2707 <condition var1="tw_lifetime_writes" var2="0"/>
2708 <actions>
2709 <action function="set">tw_back=mount</action>
2710 <action function="page">system_readonly</action>
2711 </actions>
2712 </action>
2713 </page>
2714
2715 <page name="reboot">
2716 <template name="page"/>
2717
2718 <text style="text_l">
2719 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002720 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002721 </text>
2722
bigbiff97829df2020-12-20 12:26:15 -05002723 <listbox style="advanced_listbox">
2724 <placement x="%col1_x_left%" y="%row2_y%" w="%content_width%" h="%listbox_advanced_height%"/>
2725
2726 <listitem name="{@rb_system_btn=System}">
2727 <condition var1="tw_reboot_system" var2="1"/>
2728 <actions>
2729 <action function="set">tw_back=reboot</action>
2730 <action function="page">reboot_system_routine</action>
2731 </actions>
2732 </listitem>
2733
2734 <listitem name="{@rb_poweroff_btn=Power Off}">
2735 <condition var1="tw_reboot_poweroff" var2="1"/>
2736 <actions>
2737 <action function="set">tw_back=reboot</action>
2738 <action function="set">tw_action=reboot</action>
2739 <action function="set">tw_action_param=poweroff</action>
2740 <action function="set">tw_reboot_param=poweroff</action>
2741 <action function="set">tw_has_action2=0</action>
2742 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2743 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2744 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2745 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2746 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
2747 <action function="page">rebootcheck</action>
2748 </actions>
2749 </listitem>
2750
2751 <listitem name="{@rb_recovery_btn=Recovery}">
2752 <condition var1="tw_reboot_recovery" var2="1"/>
2753 <actions>
2754 <action function="set">tw_back=reboot</action>
2755 <action function="set">tw_action=reboot</action>
2756 <action function="set">tw_action_param=recovery</action>
2757 <action function="set">tw_reboot_param=recovery</action>
2758 <action function="set">tw_has_action2=0</action>
2759 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2760 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2761 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2762 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2763 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2764 <action function="page">rebootcheck</action>
2765 </actions>
2766 </listitem>
2767
2768 <listitem name="{@rb_bootloader_btn=Bootloader}">
2769 <condition var1="tw_reboot_bootloader" var2="1"/>
2770 <actions>
2771 <action function="set">tw_back=reboot</action>
2772 <action function="set">tw_action=reboot</action>
2773 <action function="set">tw_action_param=bootloader</action>
2774 <action function="set">tw_reboot_param=bootloader</action>
2775 <action function="set">tw_has_action2=0</action>
2776 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2777 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2778 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2779 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2780 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2781 <action function="page">rebootcheck</action>
2782 </actions>
2783 </listitem>
2784
2785 <listitem name="{@rb_download_btn=Download}">
2786 <condition var1="tw_download_mode" var2="1"/>
2787 <actions>
2788 <action function="set">tw_back=reboot</action>
2789 <action function="set">tw_action=reboot</action>
2790 <action function="set">tw_action_param=download</action>
2791 <action function="set">tw_reboot_param=download</action>
2792 <action function="set">tw_has_action2=0</action>
2793 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2794 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2795 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2796 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2797 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2798 <action function="page">rebootcheck</action>
2799 </actions>
2800 </listitem>
2801
2802 <listitem name="{@rb_edl_btn=Edl}">
2803 <condition var1="tw_edl_mode" var2="1"/>
2804 <actions>
2805 <action function="set">tw_back=reboot</action>
2806 <action function="set">tw_action=reboot</action>
2807 <action function="set">tw_action_param=edl</action>
2808 <action function="set">tw_reboot_param=edl</action>
2809 <action function="set">tw_has_action2=0</action>
2810 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2811 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2812 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2813 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2814 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2815 <action function="page">rebootcheck</action>
2816 </actions>
2817 </button>
2818 </listbox>
2819
2820 <text style="text_m">
2821 <condition var1="tw_has_boot_slots" var2="1"/>
2822 <placement x="%center_x%" y="%row14_y%" placement="5"/>
2823 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2824 </text>
2825
z31s1g28f0a922015-11-07 18:50:22 +01002826 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002827 <condition var1="tw_has_boot_slots" var2="1"/>
2828 <placement x="%indent%" y="%row16_y%"/>
2829 <text>{@boot_slot_a=Slot A}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002830 <actions>
2831 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002832 <action function="set">tw_action=setbootslot</action>
2833 <action function="set">tw_action_param=A</action>
2834 <action function="set">tw_has_action2=0</action>
2835 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2836 <action function="set">tw_action_text2=</action>
2837 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2838 <action function="page">action_page</action>
z31s1g28f0a922015-11-07 18:50:22 +01002839 </actions>
2840 </button>
2841
2842 <button style="main_button">
bigbiff97829df2020-12-20 12:26:15 -05002843 <condition var1="tw_has_boot_slots" var2="1"/>
2844 <placement x="%center_x%" y="%row16_y%"/>
2845 <text>{@boot_slot_b=Slot B}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <actions>
2847 <action function="set">tw_back=reboot</action>
bigbiff97829df2020-12-20 12:26:15 -05002848 <action function="set">tw_action=setbootslot</action>
2849 <action function="set">tw_action_param=B</action>
z31s1g28f0a922015-11-07 18:50:22 +01002850 <action function="set">tw_has_action2=0</action>
bigbiff97829df2020-12-20 12:26:15 -05002851 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2852 <action function="set">tw_action_text2=</action>
2853 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2854 <action function="page">action_page</action>
mauronofrioe9a49ef2018-10-03 13:38:16 +02002855 </actions>
2856 </button>
2857
z31s1g28f0a922015-11-07 18:50:22 +01002858 <action>
2859 <touch key="home"/>
2860 <action function="page">main</action>
2861 </action>
2862
2863 <action>
2864 <touch key="back"/>
2865 <action function="page">main</action>
2866 </action>
2867 </page>
2868
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002869 <page name="rebootapp">
2870 <template name="page"/>
2871
2872 <text style="text_l">
2873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2874 <text>{@reboot_hdr=Reboot}</text>
2875 </text>
2876
2877 <text style="text_m">
2878 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2879 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2880 </text>
2881
2882 <text style="text_m_accent">
2883 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2884 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2885 </text>
2886
2887 <text style="text_m_accent">
2888 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2889 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2890 </text>
2891
2892 <checkbox>
2893 <placement x="%indent%" y="%row5_y%"/>
2894 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2895 <data variable="tw_app_prompt"/>
2896 </checkbox>
2897
2898 <checkbox>
2899 <condition var1="tw_mount_system_ro" var2="0"/>
2900 <placement x="%indent%" y="%row7_y%"/>
2901 <text>{@reboot_install_app_system=Install as a System App}</text>
2902 <data variable="tw_app_install_system"/>
2903 </checkbox>
2904
2905 <button style="main_button_half_width">
2906 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002907 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002908 <action function="reboot">%tw_reboot_param%</action>
2909 </button>
2910
2911 <slider>
2912 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2913 <actions>
2914 <action function="set">tw_back=reboot</action>
2915 <action function="set">tw_action=installapp</action>
2916 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2917 <action function="set">tw_action_text2=</action>
2918 <action function="set">tw_has_action2=1</action>
2919 <action function="set">tw_action2=reboot</action>
2920 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2921 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2922 <action function="page">action_page</action>
2923 </actions>
2924 </slider>
2925
2926 <action>
2927 <touch key="home"/>
2928 <actions>
2929 <action function="set">tw_app_install_status=0</action>
2930 <action function="page">main</action>
2931 </actions>
2932 </action>
2933
2934 <action>
2935 <touch key="back"/>
2936 <actions>
2937 <action function="set">tw_app_install_status=0</action>
2938 <action function="page">reboot</action>
2939 </actions>
2940 </action>
2941 </page>
2942
z31s1g28f0a922015-11-07 18:50:22 +01002943 <page name="system_readonly">
2944 <template name="page"/>
2945
2946 <text style="text_l">
2947 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002948 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002949 </text>
2950
2951 <text style="text_m_accent">
2952 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002953 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002954 </text>
2955
2956 <text style="text_m">
2957 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002958 <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 +01002959 </text>
2960
2961 <text style="text_m">
2962 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002963 <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 +01002964 </text>
2965
2966 <text style="text_m_fail">
2967 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002968 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002969 </text>
2970
2971 <checkbox>
2972 <condition var1="tw_is_encrypted" var2="0"/>
2973 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002974 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002975 <data variable="tw_never_show_system_ro_page"/>
2976 </checkbox>
2977
2978 <button style="main_button_half_width">
2979 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002980 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002981 <actions>
2982 <action function="mountsystemtoggle">1</action>
2983 <action function="set">tw_page_done=1</action>
2984 <action function="page">%tw_back%</action>
2985 </actions>
2986 </button>
2987
z31s1g608d7ff2016-01-18 19:47:25 +01002988 <button style="main_button_half_width">
2989 <placement x="%col2_x_left%" y="%row15a_y%"/>
2990 <text>{@sel_lang_btn=Select Language}</text>
2991 <action function="overlay">select_language</action>
2992 </button>
2993
z31s1g28f0a922015-11-07 18:50:22 +01002994 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002995 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002996 <actions>
2997 <action function="mountsystemtoggle">0</action>
2998 <action function="set">tw_page_done=1</action>
2999 <action function="page">%tw_back%</action>
3000 </actions>
3001 </slider>
3002 </page>
3003
3004 <page name="settings">
3005 <template name="page"/>
3006
3007 <text style="text_l">
3008 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003009 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </text>
3011
3012 <text style="text_m">
3013 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003015 </text>
3016
3017 <template name="tabs_settings"/>
3018
3019 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003021 </fill>
3022
3023 <listbox style="scrolllist">
3024 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
3025 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003026 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003027 <data variable="tw_signed_zip_verify"/>
3028 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003029 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3030 <data variable="tw_install_reboot"/>
3031 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003033 <data variable="tw_rm_rf"/>
3034 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003035 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3036 <data variable="tw_disable_free_space"/>
3037 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003038 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3039 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003040 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003041 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3042 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003043 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003044 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003045 <data variable="tw_military_time"/>
3046 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003047 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3048 <data variable="tw_app_prompt"/>
3049 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003050 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003051 <data variable="tw_simulate_actions"/>
3052 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003053 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003054 <condition var1="tw_simulate_actions" var2="1"/>
3055 <data variable="tw_simulate_fail"/>
3056 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003057 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3058 <condition var1="tw_no_sha2" var2="0"/>
3059 <data variable="tw_use_sha2"/>
3060 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003061 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3062 <data variable="tw_unmount_system"/>
3063 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003064 </listbox>
3065
3066 <checkbox>
3067 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003068 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003069 <data variable="tw_samsung_navbar"/>
3070 </checkbox>
3071
3072 <button style="radiobutton">
3073 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3074 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003075 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003076 <image resource="radio_false"/>
3077 <action function="set">tw_navbar_button_position=0</action>
3078 </button>
3079
3080 <button style="radiobutton">
3081 <condition var1="tw_navbar_button_position" var2="0"/>
3082 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003083 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003084 <image resource="radio_true"/>
3085 <action function="set">tw_navbar_button_position=0</action>
3086 </button>
3087
3088 <button style="radiobutton">
3089 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3090 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003091 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003092 <image resource="radio_false"/>
3093 <action function="set">tw_navbar_button_position=1</action>
3094 </button>
3095
3096 <button style="radiobutton">
3097 <condition var1="tw_navbar_button_position" var2="1"/>
3098 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003099 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003100 <image resource="radio_true"/>
3101 <action function="set">tw_navbar_button_position=1</action>
3102 </button>
3103
3104 <button style="radiobutton">
3105 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3106 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003107 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003108 <image resource="radio_false"/>
3109 <action function="set">tw_navbar_button_position=2</action>
3110 </button>
3111
3112 <button style="radiobutton">
3113 <condition var1="tw_navbar_button_position" var2="2"/>
3114 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003116 <image resource="radio_true"/>
3117 <action function="set">tw_navbar_button_position=2</action>
3118 </button>
3119
3120 <button style="main_button_half_width">
3121 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003122 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003123 <action function="restoredefaultsettings"/>
3124 </button>
3125
3126 <action>
3127 <touch key="home"/>
3128 <action function="page">main</action>
3129 </action>
3130
3131 <action>
3132 <touch key="back"/>
3133 <action function="page">main</action>
3134 </action>
3135 </page>
3136
3137 <page name="settings_timezone">
3138 <template name="page"/>
3139
3140 <text style="text_l">
3141 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003142 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003143 </text>
3144
3145 <text style="text_m">
3146 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003147 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003148 </text>
3149
3150 <template name="tabs_settings"/>
3151
3152 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003153 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003154 </fill>
3155
3156 <listbox>
3157 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003160 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3161 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3162 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3163 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3164 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3165 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3166 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3167 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3168 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3169 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3170 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3171 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3172 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3173 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3174 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3175 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3176 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3177 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3178 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3179 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3180 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3181 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3182 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3183 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003184 </listbox>
3185
3186 <text style="text_m_accent">
3187 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 </text>
3190
3191 <button style="button_quarter_width">
3192 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003193 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003194 <action function="set">tw_time_zone_guioffset=0</action>
3195 </button>
3196
3197 <button style="button_quarter_width">
3198 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003200 <action function="set">tw_time_zone_guioffset=15</action>
3201 </button>
3202
3203 <button style="button_quarter_width">
3204 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003205 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003206 <action function="set">tw_time_zone_guioffset=30</action>
3207 </button>
3208
3209 <button style="button_quarter_width">
3210 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003211 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003212 <action function="set">tw_time_zone_guioffset=45</action>
3213 </button>
3214
3215 <checkbox>
3216 <placement x="%col1_x_right%" y="%row7_y%"/>
3217 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003218 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003219 <data variable="tw_time_zone_guidst"/>
3220 <image checked="checkbox_true" unchecked="checkbox_false"/>
3221 </checkbox>
3222
3223 <text color="%text_color%">
3224 <font resource="font_m"/>
3225 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003226 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003227 </text>
3228
3229 <button>
3230 <highlight color="%highlight_color%"/>
3231 <placement x="%col2_x_right%" y="%row15a_y%"/>
3232 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003233 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003234 <image resource="main_button_half_width"/>
3235 <action function="setguitimezone"/>
3236 </button>
3237
3238 <action>
3239 <touch key="home"/>
3240 <action function="page">main</action>
3241 </action>
3242
3243 <action>
3244 <touch key="back"/>
3245 <action function="page">main</action>
3246 </action>
3247 </page>
3248
3249 <page name="settings_screen">
3250 <template name="page"/>
3251
3252 <text style="text_l">
3253 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003254 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003255 </text>
3256
3257 <text style="text_m">
3258 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003259 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003260 </text>
3261
3262 <template name="tabs_settings"/>
3263
3264 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </fill>
3267
3268 <button>
3269 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3270 <font resource="font_m" color="%text_color%"/>
3271 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3272 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003273 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003274 <image resource="checkbox_false"/>
3275 <action function="set">tw_screen_timeout_secs=60</action>
3276 </button>
3277
3278 <button>
3279 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3280 <font resource="font_m" color="%text_color%"/>
3281 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3282 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003283 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003284 <image resource="checkbox_true"/>
3285 <action function="set">tw_screen_timeout_secs=0</action>
3286 </button>
3287
3288 <slidervalue>
3289 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3290 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3291 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003292 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003293 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3294 </slidervalue>
3295
3296 <slidervalue>
3297 <condition var1="tw_has_brightnesss_file" var2="1"/>
3298 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003299 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003300 <data variable="tw_brightness_pct" min="10" max="100"/>
3301 <actions>
3302 <action function="set">tw_brightness=%tw_brightness_max%</action>
3303 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3304 <action function="compute">tw_brightness/100</action>
3305 <action function="setbrightness">%tw_brightness%</action>
3306 </actions>
3307 </slidervalue>
3308
3309 <action>
3310 <touch key="home"/>
3311 <action function="page">main</action>
3312 </action>
3313
3314 <action>
3315 <touch key="back"/>
3316 <action function="page">main</action>
3317 </action>
3318 </page>
3319
3320 <page name="settings_vibration">
3321 <template name="page"/>
3322
3323 <text style="text_l">
3324 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 </text>
3327
3328 <text style="text_m">
3329 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003330 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003331 </text>
3332
3333 <template name="tabs_settings"/>
3334
3335 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003336 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003337 </fill>
3338
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003339 <text style="text_m">
3340 <condition var1="tw_disable_haptics" var2="1"/>
3341 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3342 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3343 </text>
3344
z31s1g28f0a922015-11-07 18:50:22 +01003345 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003346 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003347 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003348 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003349 <data variable="tw_button_vibrate" min="0" max="300"/>
3350 </slidervalue>
3351
3352 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003353 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003354 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003355 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003356 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3357 </slidervalue>
3358
3359 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003360 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003361 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003362 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003363 <data variable="tw_action_vibrate" min="0" max="500"/>
3364 </slidervalue>
3365
3366 <action>
3367 <touch key="home"/>
3368 <action function="page">main</action>
3369 </action>
3370
3371 <action>
3372 <touch key="back"/>
3373 <action function="page">main</action>
3374 </action>
3375 </page>
3376
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <page name="settings_language">
3378 <template name="page"/>
3379
3380 <text style="text_l">
3381 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3382 <text>{@settings_hdr=Settings}</text>
3383 </text>
3384
3385 <text style="text_m">
3386 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3387 <text>{@language_hdr=Language - %tw_language_display%}</text>
3388 </text>
3389
3390 <template name="tabs_settings"/>
3391
3392 <fill color="%text_color%">
3393 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3394 </fill>
3395
3396 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003397 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003398 <text>{@select_language=Select Language:}</text>
3399 <icon selected="radio_true" unselected="radio_false" />
3400 <data name="tw_language" />
3401 </listbox>
3402
z31s1g56189522016-01-13 19:12:40 +01003403 <button>
3404 <highlight color="%highlight_color%"/>
3405 <placement x="%col2_x_right%" y="%row15a_y%"/>
3406 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003407 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003408 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003409 <action function="setlanguage"></action>
3410 </button>
3411
3412 <action>
3413 <touch key="home" />
3414 <action function="page">main</action>
3415 </action>
3416
3417 <action>
3418 <touch key="back" />
3419 <action function="page">settings</action>
3420 </action>
3421 </page>
3422
Matt Mower32676622017-01-18 18:56:13 -06003423 <page name="copylog">
3424 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003425
Matt Mower32676622017-01-18 18:56:13 -06003426 <text style="text_l">
3427 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3428 <text>{@copying_log=Copy Logs to SD Card}</text>
3429 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430
Matt Mower32676622017-01-18 18:56:13 -06003431 <checkbox>
3432 <placement x="%indent%" y="%row4_y%"/>
3433 <text>{@include_kernel_log=Include Kernel Log}</text>
3434 <data variable="tw_include_kernel_log" value="1"/>
3435 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003436
Matt Mower32676622017-01-18 18:56:13 -06003437 <slider>
3438 <text>{@copying_log=Copy Logs to SD Card}</text>
3439 <actions>
3440 <action function="set">tw_back=advanced</action>
3441 <action function="set">tw_action=copylog</action>
3442 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3443 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3444 <action function="page">action_page</action>
3445 </actions>
3446 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003447
Matt Mower32676622017-01-18 18:56:13 -06003448 <action>
3449 <touch key="home"/>
3450 <action function="page">main</action>
3451 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003452
Matt Mower32676622017-01-18 18:56:13 -06003453 <action>
3454 <touch key="back"/>
3455 <actions>
3456 <action function="page">advanced</action>
3457 </actions>
3458 </action>
3459 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003460
z31s1g28f0a922015-11-07 18:50:22 +01003461 <page name="advanced">
3462 <template name="page"/>
3463
3464 <text style="text_l">
3465 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003466 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003467 </text>
3468
3469 <button style="main_button">
3470 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003471 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003472 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003473 </button>
3474
3475 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003476 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003477 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003478 <action function="page">filemanagerlist</action>
3479 </button>
3480
3481 <button style="main_button">
3482 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003483 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003484 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003485 </button>
3486
3487 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003488 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003489 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003490 <action function="page">sideload</action>
3491 </button>
3492
Ethan Yonker64e0a652018-07-25 09:52:17 -05003493 <listbox style="advanced_listbox">
3494 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003495 <listitem name="{@decrypt_users=Decrypt Users}">
3496 <conditions>
3497 <condition var1="tw_is_fbe" var2="1"/>
3498 <condition var1="tw_all_users_decrypted" var2="0"/>
3499 </conditions>
3500 <actions>
3501 <action function="set">tw_crypto_user_id=</action>
3502 <action function="page">decrypt_users</action>
3503 </actions>
3504 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003505 <listitem name="{@reload_theme_btn=Reload Theme}">
3506 <action function="reload"/>
3507 </listitem>
3508 <listitem name="{@part_sd_btn=Partition SD Card}">
3509 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3510 <actions>
3511 <action function="set">partitionlisterror=0</action>
3512 <action function="page">partsdcardsel</action>
3513 </actions>
3514 </listitem>
3515 <listitem name="{@fix_context_btn=Fix Contexts}">
3516 <condition var1="tw_has_data_media" var2="1"/>
3517 <action function="page">fixcontexts</action>
3518 </listitem>
3519 <listitem name="{@dumlock_btn=HTC Dumlock}">
3520 <condition var1="tw_show_dumlock" var2="1"/>
3521 <action function="page">htcdumlock</action>
3522 </listitem>
3523 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3524 <condition var1="tw_has_injecttwrp" var2="1"/>
3525 <actions>
3526 <action function="set">tw_back=advanced</action>
3527 <action function="set">tw_action=reinjecttwrp</action>
3528 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3529 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3530 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3531 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3532 <action function="page">confirm_action</action>
3533 </actions>
3534 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003535 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3536 <conditions>
3537 <condition var1="tw_has_boot_slots" var2="1"/>
3538 <condition var1="tw_has_repack_tools" var2="1"/>
3539 </conditions>
3540 <actions>
3541 <action function="set">tw_repack_kernel=0</action>
3542 <action function="page">repackselect</action>
3543 </actions>
3544 </listitem>
3545 <listitem name="{@install_kernel=Install Kernel}">
3546 <conditions>
3547 <condition var1="tw_has_boot_slots" var2="1"/>
3548 <condition var1="tw_has_repack_tools" var2="1"/>
3549 </conditions>
3550 <actions>
3551 <action function="set">tw_repack_kernel=1</action>
3552 <action function="page">repackselect</action>
3553 </actions>
3554 </listitem>
3555 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3556 <conditions>
3557 <condition var1="tw_has_boot_slots" var2="1"/>
3558 <condition var1="tw_has_repack_tools" var2="1"/>
3559 </conditions>
3560 <actions>
3561 <action function="set">tw_back=advanced</action>
3562 <action function="set">tw_action=fixabrecoverybootloop</action>
3563 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3564 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3565 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3566 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3567 <action function="page">confirm_action</action>
3568 </actions>
3569 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003570 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3571 <condition var1="tw_app_installed_in_system" var2="1"/>
3572 <actions>
3573 <action function="set">tw_back=advanced</action>
3574 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3575 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3576 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3577 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3578 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3579 <action function="page">confirm_action</action>
3580 </actions>
3581 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003582 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003583
3584 <action>
3585 <touch key="home"/>
3586 <action function="page">main</action>
3587 </action>
3588
3589 <action>
3590 <touch key="back"/>
3591 <action function="page">main</action>
3592 </action>
3593 </page>
3594
Ethan Yonker483e9f42016-01-11 22:21:18 -06003595 <page name="partsdcardsel">
3596 <template name="page"/>
3597
3598 <text style="text_l">
3599 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3600 <text>{@advanced_hdr=Advanced}</text>
3601 </text>
3602
3603 <text style="text_m">
3604 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3605 <text>{@part_sd_hdr=Partition SD Card}</text>
3606 </text>
3607
z31s1g782e1c92016-01-30 16:50:09 +01003608 <partitionlist>
3609 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003610 <text>{@sel_storage_list=Select Storage}</text>
3611 <data name="tw_storage_path"/>
3612 <listtype name="storage"/>
3613 </partitionlist>
3614
z31s1g782e1c92016-01-30 16:50:09 +01003615 <text style="text_m_fail">
3616 <condition var1="partitionlisterror" var2="1"/>
3617 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3618 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3619 </text>
3620
3621 <button style="main_button_half_width">
3622 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003623 <text>{@ok_btn=OK}</text>
3624 <actions>
3625 <action function="getpartitiondetails">tw_storage_path</action>
3626 <action function="page">partsdcardcheck</action>
3627 </actions>
3628 </button>
3629
Ethan Yonker483e9f42016-01-11 22:21:18 -06003630 <action>
3631 <touch key="home"/>
3632 <action function="page">main</action>
3633 </action>
3634
3635 <action>
3636 <touch key="back"/>
3637 <action function="page">advanced</action>
3638 </action>
3639 </page>
3640
3641 <page name="partsdcardcheck">
3642 <action>
3643 <condition var1="tw_partition_removable" op="=" var2="1"/>
3644 <actions>
3645 <action function="set">partitionlisterror=0</action>
3646 <action function="page">partsdcard</action>
3647 </actions>
3648 </action>
3649
3650 <action>
3651 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3652 <actions>
3653 <action function="set">partitionlisterror=1</action>
3654 <action function="page">partsdcardsel</action>
3655 </actions>
3656 </action>
3657 </page>
3658
z31s1g28f0a922015-11-07 18:50:22 +01003659 <page name="partsdcard">
3660 <template name="page"/>
3661
3662 <text style="text_l">
3663 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003665 </text>
3666
3667 <text style="text_m">
3668 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003669 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003670 </text>
3671
3672 <text style="text_m_fail">
3673 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003674 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003675 </text>
3676
3677 <text style="text_m_fail">
3678 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003679 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003680 </text>
3681
3682 <text style="text_m_accent">
3683 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003684 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003685 </text>
3686
3687 <text style="text_m">
3688 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3689 <text>%tw_sdext_size%</text>
3690 </text>
3691
3692 <button style="button_quarter_width">
3693 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003694 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003695 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003696 </button>
3697
3698 <button style="button_quarter_width">
3699 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003700 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003701 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </button>
3703
3704 <text style="text_m_accent">
3705 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </text>
3708
3709 <text style="text_m">
3710 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3711 <text>%tw_swap_size%</text>
3712 </text>
3713
3714 <button style="button_quarter_width">
3715 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003716 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003717 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003718 </button>
3719
3720 <button style="button_quarter_width">
3721 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003722 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003723 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003724 </button>
3725
3726 <text style="text_m_accent">
3727 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003728 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </text>
3730
3731 <text style="text_m">
3732 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3733 <text>%tw_sdpart_file_system%</text>
3734 </text>
3735
3736 <button style="button_quarter_width">
3737 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3738 <text>EXT3</text>
3739 <action function="set">tw_sdpart_file_system=ext3</action>
3740 </button>
3741
3742 <button style="button_quarter_width">
3743 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3744 <text>EXT4</text>
3745 <action function="set">tw_sdpart_file_system=ext4</action>
3746 </button>
3747
3748 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003750 <action function="page">partsdcardaction</action>
3751 <actions>
3752 <action function="set">tw_back=partsdcard</action>
3753 <action function="set">tw_action=partitionsd</action>
3754 <action function="set">tw_has_action2=1</action>
3755 <action function="set">tw_action2=set</action>
3756 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003757 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3758 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3759 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003760 <action function="page">action_page</action>
3761 </actions>
3762 </slider>
3763
3764 <action>
3765 <touch key="home"/>
3766 <action function="page">main</action>
3767 </action>
3768
3769 <action>
3770 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003771 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003772 </action>
3773 </page>
3774
3775 <page name="htcdumlock">
3776 <template name="page"/>
3777
3778 <text style="text_l">
3779 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003780 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003781 </text>
3782
3783 <text style="text_m">
3784 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003785 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003786 </text>
3787
3788 <button style="main_button_m">
3789 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003790 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003791 <actions>
3792 <action function="set">tw_back=htcdumlock</action>
3793 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003794 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3795 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3796 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3797 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003798 <action function="page">confirm_action</action>
3799 </actions>
3800 </button>
3801
3802 <button style="main_button_m">
3803 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003804 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003805 <actions>
3806 <action function="set">tw_back=htcdumlock</action>
3807 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003808 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3809 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3810 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3811 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003812 <action function="page">confirm_action</action>
3813 </actions>
3814 </button>
3815
3816 <button style="main_button_m">
3817 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003818 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003819 <actions>
3820 <action function="set">tw_back=htcdumlock</action>
3821 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003822 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3823 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3824 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3825 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003826 <action function="page">confirm_action</action>
3827 </actions>
3828 </button>
3829
3830 <action>
3831 <touch key="home"/>
3832 <action function="page">main</action>
3833 </action>
3834
3835 <action>
3836 <touch key="back"/>
3837 <action function="page">advanced</action>
3838 </action>
3839 </page>
3840
Ethan Yonker53796e72019-01-11 22:49:52 -06003841 <page name="repackselect">
3842 <template name="page"/>
3843
3844 <text style="text_l">
3845 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3846 <text>{@repack_image_hdr=Select Image}</text>
3847 </text>
3848
3849 <text style="text_m">
3850 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3851 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3852 </text>
3853
3854 <template name="sort_options"/>
3855
3856 <fileselector>
3857 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3858 <text>%tw_zip_location%</text>
3859 <filter extn=".img" folders="1" files="1"/>
3860 <path name="tw_zip_location" default="/sdcard"/>
3861 <data name="tw_filename"/>
3862 <selection name="tw_file"/>
3863 </fileselector>
3864
3865 <button style="main_button_half_width_low">
3866 <placement x="%col_button_right%" y="%row16a_y%"/>
3867 <text>{@select_storage_btn=Select Storage}</text>
3868 <actions>
3869 <action function="set">tw_back=install</action>
3870 <action function="overlay">select_storage</action>
3871 </actions>
3872 </button>
3873
3874 <action>
3875 <conditions>
3876 <condition var1="tw_filename" op="modified"/>
3877 </conditions>
3878 <action function="page">repackconfirm</action>
3879 </action>
3880
3881 <action>
3882 <touch key="back"/>
3883 <action function="page">advanced</action>
3884 </action>
3885
3886 <action>
3887 <touch key="home"/>
3888 <action function="page">main</action>
3889 </action>
3890 </page>
3891
3892 <page name="repackconfirm">
3893 <template name="page"/>
3894
3895 <text style="text_l">
3896 <condition var1="tw_repack_kernel" var2="1"/>
3897 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3898 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3899 </text>
3900
3901 <text style="text_l">
3902 <condition var1="tw_repack_kernel" var2="0"/>
3903 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3904 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3905 </text>
3906
3907 <text style="text_m">
3908 <condition var1="tw_repack_kernel" var2="1"/>
3909 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3910 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3911 </text>
3912
3913 <text style="text_m">
3914 <condition var1="tw_repack_kernel" var2="0"/>
3915 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3916 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3917 </text>
3918
3919 <text style="text_m_accent">
3920 <placement x="%indent%" y="%row2_y%"/>
3921 <text>{@folder=Folder:}</text>
3922 </text>
3923
3924 <text style="text_m">
3925 <placement x="%indent%" y="%row3_y%"/>
3926 <text>%tw_zip_location%</text>
3927 </text>
3928
3929 <text style="text_m_accent">
3930 <placement x="%indent%" y="%row4_y%"/>
3931 <text>{@file=File:}</text>
3932 </text>
3933
3934 <text style="text_m">
3935 <placement x="%indent%" y="%row5_y%"/>
3936 <text>%tw_file%</text>
3937 </text>
3938
3939 <checkbox>
3940 <placement x="%indent%" y="%row7_y%"/>
3941 <text>{@repack_backup_first=Back up existing image first}</text>
3942 <data variable="tw_repack_backup_first"/>
3943 </checkbox>
3944
3945 <button style="main_button_half_width">
3946 <placement x="%col1_x_left%" y="%row15a_y%"/>
3947 <text>{@install_cancel=Do not Install}</text>
3948 <action function="page">repackselect</action>
3949 </button>
3950
3951 <slider style="slider_centered">
3952 <text>{@swipe_to_install=Swipe to Install}</text>
3953 <actions>
3954 <action function="set">tw_back=advanced</action>
3955 <action function="set">tw_action=repackimage</action>
3956 <action function="set">tw_action_param=/boot</action>
3957 <action function="set">tw_action_text1={@installing=Installing...}</action>
3958 <action function="set">tw_action_text2=</action>
3959 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3960 <action function="page">action_page</action>
3961 </actions>
3962 </slider>
3963
3964 <action>
3965 <touch key="back"/>
3966 <action function="page">repackselect</action>
3967 </action>
3968
3969 <action>
3970 <touch key="home"/>
3971 <action function="page">main</action>
3972 </action>
3973 </page>
3974
z31s1g28f0a922015-11-07 18:50:22 +01003975 <page name="lock">
3976 <background color="%semi_transparent%"/>
3977
3978 <image>
3979 <image resource="unlock_icon"/>
3980 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3981 </image>
3982
3983 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003984 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003985 <action function="overlay"/>
3986 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003987
3988 <action>
3989 <touch key="power"/>
3990 <action function="togglebacklight"/>
3991 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003992 </page>
3993
3994 <page name="filemanagerlist">
3995 <template name="page"/>
3996
3997 <text style="text_l">
3998 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003999 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004000 </text>
4001
4002 <text style="text_m">
4003 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004004 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004005 </text>
4006
4007 <template name="sort_options"/>
4008
4009 <fileselector>
4010 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4011 <text>%tw_file_location1%</text>
4012 <filter folders="1" files="1"/>
4013 <path name="tw_file_location1" default="/"/>
4014 <data name="tw_filename1"/>
4015 <selection name="tw_selection1"/>
4016 </fileselector>
4017
4018 <button style="main_button_half_width_low">
4019 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004020 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004021 <actions>
4022 <action function="set">tw_filename1=tw_file_location1</action>
4023 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004024 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004025 <action function="page">filemanageroptions</action>
4026 </actions>
4027 </button>
4028
4029 <action>
4030 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004031 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004032 <action function="set">tw_fm_isfolder=0</action>
4033 </actions>
4034 </action>
4035
4036 <action>
4037 <touch key="home"/>
4038 <action function="page">main</action>
4039 </action>
4040
4041 <action>
4042 <touch key="back"/>
4043 <action function="page">advanced</action>
4044 </action>
4045
4046 <action>
4047 <condition var1="tw_filename1" op="modified"/>
4048 <action function="page">filemanageroptions</action>
4049 </action>
4050 </page>
4051
4052 <page name="filemanageroptions">
4053 <template name="page"/>
4054
4055 <text style="text_l">
4056 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004057 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004058 </text>
4059
4060 <text style="text_m">
4061 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004062 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004063 </text>
4064
4065 <text style="text_m_accent">
4066 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004067 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004068 </text>
4069
4070 <text style="text_m">
4071 <placement x="%col1_x_left%" y="%row3_y%"/>
4072 <text>%tw_filename1%</text>
4073 </text>
4074
4075 <button style="main_button_half_width">
4076 <condition var1="tw_fm_isfolder" var2="0"/>
4077 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004078 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004079 <actions>
4080 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004081 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004082 <action function="page">choosedestinationfolder</action>
4083 </actions>
4084 </button>
4085
4086 <button style="main_button_half_width">
4087 <condition var1="tw_fm_isfolder" var2="1"/>
4088 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004089 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004090 <actions>
4091 <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 -05004092 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004093 <action function="page">choosedestinationfolder</action>
4094 </actions>
4095 </button>
4096
4097 <button style="main_button_half_width">
4098 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004099 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004100 <actions>
4101 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004102 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004103 <action function="page">choosedestinationfolder</action>
4104 </actions>
4105 </button>
4106
4107 <button style="main_button_half_width">
4108 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004110 <actions>
4111 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004112 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004113 <action function="set">tw_fm_text2=</action>
4114 <action function="set">tw_fm_text3=</action>
4115 <action function="set">tw_include_text3=0</action>
4116 <action function="set">tw_back=filemanageroptions</action>
4117 <action function="page">filemanagerconfirm</action>
4118 </actions>
4119 </button>
4120
4121 <button style="main_button_half_width">
4122 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004123 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004124 <actions>
4125 <action function="set">tw_filemanager_rename=0000</action>
4126 <action function="set">tw_fm_text2=</action>
4127 <action function="set">tw_fm_text3=</action>
4128 <action function="set">tw_include_text3=0</action>
4129 <action function="set">tw_back=filemanageroptions</action>
4130 <action function="page">filemanagerchmod</action>
4131 </actions>
4132 </button>
4133
4134 <button style="main_button_half_width">
4135 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004136 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004137 <actions>
4138 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004139 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004140 <action function="set">tw_fm_text2=</action>
4141 <action function="set">tw_fm_text3=</action>
4142 <action function="set">tw_include_text3=0</action>
4143 <action function="set">tw_back=filemanageroptions</action>
4144 <action function="page">filemanagerconfirm</action>
4145 </actions>
4146 </button>
4147
4148 <button style="main_button_half_width">
4149 <condition var1="tw_fm_isfolder" var2="0"/>
4150 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004151 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004152 <actions>
4153 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004154 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004155 <action function="set">tw_filemanager_command=mv</action>
4156 <action function="page">filemanagerrenamefile</action>
4157 </actions>
4158 </button>
4159
4160 <button style="main_button_half_width">
4161 <condition var1="tw_fm_isfolder" var2="1"/>
4162 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004163 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004164 <actions>
4165 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004166 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004167 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4168 <action function="page">filemanagerrenamefolder</action>
4169 </actions>
4170 </button>
4171
4172 <action>
4173 <touch key="home"/>
4174 <action function="page">main</action>
4175 </action>
4176
4177 <action>
4178 <touch key="back"/>
4179 <action function="page">filemanagerlist</action>
4180 </action>
4181 </page>
4182
4183 <page name="choosedestinationfolder">
4184 <template name="page"/>
4185
4186 <text style="text_l">
4187 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004188 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004189 </text>
4190
4191 <text style="text_m">
4192 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004193 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004194 </text>
4195
4196 <template name="sort_options"/>
4197
4198 <fileselector>
4199 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4200 <text>%tw_file_location2%</text>
4201 <filter folders="1" files="0"/>
4202 <path name="tw_file_location2" default="/"/>
4203 <data name="tw_filename2"/>
4204 <selection name="tw_selection2"/>
4205 </fileselector>
4206
4207 <button style="main_button_half_width_low">
4208 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004209 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004210 <actions>
4211 <action function="set">tw_fm_text2=to</action>
4212 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4213 <action function="set">tw_include_text3=1</action>
4214 <action function="set">tw_back=filemanageroptions</action>
4215 <action function="page">filemanagerconfirm</action>
4216 </actions>
4217 </button>
4218
4219 <action>
4220 <touch key="home"/>
4221 <action function="page">main</action>
4222 </action>
4223
4224 <action>
4225 <touch key="back"/>
4226 <action function="page">filemanageroptions</action>
4227 </action>
4228 </page>
4229
4230 <page name="filemanagerrenamefile">
4231 <template name="page"/>
4232
4233 <text style="text_l">
4234 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004235 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004236 </text>
4237
4238 <text style="text_m">
4239 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004240 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004241 </text>
4242
4243 <text style="text_m_accent">
4244 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004245 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004246 </text>
4247
4248 <input>
4249 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4250 <text>%tw_filemanager_rename%</text>
4251 <data name="tw_filemanager_rename"/>
4252 <restrict minlen="1" maxlen="128"/>
4253 <actions>
4254 <action function="set">tw_fm_text2=to</action>
4255 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4256 <action function="set">tw_include_text3=1</action>
4257 <action function="set">tw_back=filemanageroptions</action>
4258 <action function="page">filemanagerconfirm</action>
4259 </actions>
4260 </input>
4261
4262 <fill color="%accent_color%">
4263 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4264 </fill>
4265
4266 <button style="main_button_half_width_low">
4267 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004269 <action function="page">filemanageroptions</action>
4270 </button>
4271
4272 <template name="keyboardtemplate"/>
4273
4274 <action>
4275 <touch key="home"/>
4276 <action function="page">main</action>
4277 </action>
4278
4279 <action>
4280 <touch key="back"/>
4281 <action function="page">filemanageroptions</action>
4282 </action>
4283 </page>
4284
4285 <page name="filemanagerrenamefolder">
4286 <template name="page"/>
4287
4288 <text style="text_l">
4289 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004290 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004291 </text>
4292
4293 <text style="text_m">
4294 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004295 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004296 </text>
4297
4298 <text style="text_m_accent">
4299 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004300 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004301 </text>
4302
4303 <input>
4304 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4305 <text>%tw_filemanager_rename%</text>
4306 <data name="tw_filemanager_rename"/>
4307 <restrict minlen="1" maxlen="128"/>
4308 <actions>
4309 <action function="set">tw_fm_text2=to</action>
4310 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4311 <action function="set">tw_include_text3=1</action>
4312 <action function="set">tw_back=filemanageroptions</action>
4313 <action function="page">filemanagerconfirm</action>
4314 </actions>
4315 </input>
4316
4317 <fill color="%accent_color%">
4318 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4319 </fill>
4320
4321 <button style="main_button_half_width_low">
4322 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004323 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004324 <action function="page">filemanageroptions</action>
4325 </button>
4326
4327 <template name="keyboardtemplate"/>
4328
4329 <action>
4330 <touch key="home"/>
4331 <action function="page">main</action>
4332 </action>
4333
4334 <action>
4335 <touch key="back"/>
4336 <action function="page">filemanageroptions</action>
4337 </action>
4338 </page>
4339
4340 <page name="filemanagerchmod">
4341 <template name="page"/>
4342
4343 <text style="text_l">
4344 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004345 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004346 </text>
4347
4348 <text style="text_m">
4349 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004350 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004351 </text>
4352
4353 <text style="text_m_accent">
4354 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004355 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004356 </text>
4357
4358 <input>
4359 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4360 <text>%tw_filemanager_rename%</text>
4361 <data name="tw_filemanager_rename"/>
4362 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4363 <actions>
4364 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4365 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4366 <action function="set">tw_back=filemanageroptions</action>
4367 <action function="page">filemanagerconfirm</action>
4368 </actions>
4369 </input>
4370
4371 <fill color="%accent_color%">
4372 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4373 </fill>
4374
4375 <button style="main_button_half_width_low">
4376 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004377 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004378 <action function="page">filemanageroptions</action>
4379 </button>
4380
4381 <template name="keyboardtemplate"/>
4382
4383 <action>
4384 <touch key="home"/>
4385 <action function="page">main</action>
4386 </action>
4387
4388 <action>
4389 <touch key="back"/>
4390 <action function="page">filemanageroptions</action>
4391 </action>
4392 </page>
4393
4394 <page name="filemanagerconfirm">
4395 <template name="page"/>
4396
4397 <text style="text_l">
4398 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <text style="text_m">
4403 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004404 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004405 </text>
4406
4407 <text style="text_m_accent">
4408 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4409 <text>%tw_fm_text1%</text>
4410 </text>
4411
4412 <text style="text_m">
4413 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4414 <text>%tw_filename1%</text>
4415 </text>
4416
4417 <text style="text_m_accent">
4418 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4419 <text>%tw_fm_text2%</text>
4420 </text>
4421
4422 <text style="text_m">
4423 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4424 <text>%tw_fm_text3%</text>
4425 </text>
4426
4427 <text style="text_m">
4428 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004429 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004430 </text>
4431
4432 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004433 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004434 <action function="page">filemanageraction</action>
4435 </slider>
4436
4437 <action>
4438 <touch key="back"/>
4439 <action function="page">%tw_back%</action>
4440 </action>
4441
4442 <action>
4443 <touch key="home"/>
4444 <action function="page">main</action>
4445 </action>
4446 </page>
4447
4448 <page name="filemanageraction">
4449 <template name="page"/>
4450
4451 <text style="text_l">
4452 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004454 </text>
4455
4456 <text style="text_m">
4457 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4458 <text>%tw_fm_text1%</text>
4459 </text>
4460
4461 <template name="console"/>
4462
4463 <template name="progress_bar"/>
4464
4465 <action>
4466 <conditions>
4467 <condition var1="tw_operation_state" var2="1"/>
4468 <condition var1="tw_operation_status" var2="0"/>
4469 </conditions>
4470 <actions>
4471 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004472 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004473 <action function="page">action_complete</action>
4474 </actions>
4475 </action>
4476
4477 <action>
4478 <conditions>
4479 <condition var1="tw_operation_state" var2="1"/>
4480 <condition var1="tw_operation_status" op="!=" var2="0"/>
4481 </conditions>
4482 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004483 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004484 <action function="page">action_complete</action>
4485 </actions>
4486 </action>
4487
4488 <action>
4489 <condition var1="tw_include_text3" var2="0"/>
4490 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4491 </action>
4492
4493 <action>
4494 <condition var1="tw_include_text3" var2="1"/>
4495 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4496 </action>
4497 </page>
4498
4499 <page name="decrypt">
4500 <template name="page"/>
4501
4502 <action>
4503 <condition var1="tw_crypto_pwtype" var2="2"/>
4504 <action function="page">decrypt_pattern</action>
4505 </action>
4506
4507 <text style="text_l">
4508 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004509 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004510 </text>
4511
4512 <text style="text_m">
4513 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004514 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004515 </text>
4516
4517 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004518 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004519 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004520 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004521 </text>
4522
Noah Jacobson5a79f672019-04-28 00:10:07 -04004523 <text style="text_m_accent">
4524 <condition var1="tw_is_fbe" var2="1"/>
4525 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4526 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4527 </text>
4528
z31s1g28f0a922015-11-07 18:50:22 +01004529 <input>
4530 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4531 <text>%tw_crypto_display%</text>
4532 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4533 <restrict minlen="1" maxlen="254"/>
4534 <action function="page">trydecrypt</action>
4535 </input>
4536
4537 <fill color="%accent_color%">
4538 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4539 </fill>
4540
4541 <fill color="%text_fail_color%">
4542 <condition var1="tw_password_fail" var2="1"/>
4543 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4544 </fill>
4545
4546 <text style="text_m_fail">
4547 <condition var1="tw_password_fail" var2="1"/>
4548 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004549 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004550 </text>
4551
4552 <button style="main_button_half_width_low">
4553 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004554 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004555 <actions>
4556 <action function="set">tw_page_done=1</action>
4557 <action function="page">main</action>
4558 </actions>
4559 </button>
4560
z31s1g608d7ff2016-01-18 19:47:25 +01004561 <button style="main_button_half_width_low">
4562 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4563 <text>{@sel_lang_btn=Select Language}</text>
4564 <action function="overlay">select_language</action>
4565 </button>
4566
z31s1g28f0a922015-11-07 18:50:22 +01004567 <template name="keyboardtemplate"/>
4568 </page>
4569
4570 <page name="decrypt_pattern">
4571 <template name="page"/>
4572
4573 <text style="text_l">
4574 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004575 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004576 </text>
4577
4578 <text style="text_m">
4579 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004580 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004581 </text>
4582
4583 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004584 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004585 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004586 </text>
4587
Aleksa Saraib25a1832015-12-31 17:36:00 +01004588 <text style="text_m_fail">
4589 <condition var1="tw_password_fail" var2="1"/>
4590 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004591 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004592 </text>
4593
z31s1g28f0a922015-11-07 18:50:22 +01004594 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004595 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004596 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4597 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4598 <data name="tw_crypto_password"/>
4599 <action function="page">trydecrypt</action>
4600 </patternpassword>
4601
Aleksa Saraib25a1832015-12-31 17:36:00 +01004602 <button style="main_button_half_width_low">
4603 <placement x="%col_button_right%" y="%row1a_y%"/>
4604 <text>3x3</text>
4605 <action function="set">tw_gui_pattern_grid_size=3</action>
4606 </button>
4607
4608 <button style="main_button_half_width_low">
4609 <placement x="%col_button_right%" y="%row4a_y%"/>
4610 <text>4x4</text>
4611 <action function="set">tw_gui_pattern_grid_size=4</action>
4612 </button>
4613
4614 <button style="main_button_half_width_low">
4615 <placement x="%col_button_right%" y="%row7a_y%"/>
4616 <text>5x5</text>
4617 <action function="set">tw_gui_pattern_grid_size=5</action>
4618 </button>
4619
4620 <button style="main_button_half_width_low">
4621 <placement x="%col_button_right%" y="%row10a_y%"/>
4622 <text>6x6</text>
4623 <action function="set">tw_gui_pattern_grid_size=6</action>
4624 </button>
4625
z31s1g28f0a922015-11-07 18:50:22 +01004626 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004627 <placement x="%col1_x_right%" y="%row15a_y%"/>
4628 <text>{@sel_lang_btn=Select Language}</text>
4629 <action function="overlay">select_language</action>
4630 </button>
4631
4632 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004633 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004634 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004635 <actions>
4636 <action function="set">tw_page_done=1</action>
4637 <action function="page">main</action>
4638 </actions>
4639 </button>
4640 </page>
4641
4642 <page name="trydecrypt">
4643 <template name="page"/>
4644
4645 <text style="text_l">
4646 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004647 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004648 </text>
4649
4650 <text style="text_m">
4651 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004652 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004653 </text>
4654
4655 <template name="console"/>
4656
4657 <template name="progress_bar"/>
4658
4659 <action>
4660 <action function="decrypt"/>
4661 </action>
4662
4663 <action>
4664 <conditions>
4665 <condition var1="tw_operation_state" var2="1"/>
4666 <condition var1="tw_operation_status" op="!=" var2="0"/>
4667 </conditions>
4668 <actions>
4669 <action function="set">tw_password_fail=1</action>
4670 <action function="page">decrypt</action>
4671 </actions>
4672 </action>
4673
4674 <action>
4675 <conditions>
4676 <condition var1="tw_operation_state" var2="1"/>
4677 <condition var1="tw_operation_status" op="=" var2="0"/>
4678 </conditions>
4679 <actions>
4680 <action function="set">tw_page_done=1</action>
4681 <action function="page">main</action>
4682 </actions>
4683 </action>
4684 </page>
4685
z31s1g28f0a922015-11-07 18:50:22 +01004686 <page name="terminalcommand">
4687 <template name="page"/>
4688
4689 <fill color="%background_color%">
4690 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4691 </fill>
4692
z31s1g56189522016-01-13 19:12:40 +01004693 <terminal>
4694 <condition var1="tw_hide_kb" var2="0"/>
4695 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4696 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004697
z31s1g56189522016-01-13 19:12:40 +01004698 <terminal>
4699 <condition var1="tw_hide_kb" var2="1"/>
4700 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4701 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004702
z31s1g56189522016-01-13 19:12:40 +01004703 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004704
z31s1g56189522016-01-13 19:12:40 +01004705 <object type="fill" color="#000000">
4706 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4707 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004708
z31s1g608d7ff2016-01-18 19:47:25 +01004709 <button>
z31s1g56189522016-01-13 19:12:40 +01004710 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4711 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4712 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4713 <image resource="back" />
4714 <condition var1="tw_busy" var2="0" />
4715 <actions>
4716 <action function="set">tw_hide_kb=0</action>
4717 <action function="page">advanced</action>
4718 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004719 </button>
z31s1g56189522016-01-13 19:12:40 +01004720
z31s1g608d7ff2016-01-18 19:47:25 +01004721 <button>
z31s1g56189522016-01-13 19:12:40 +01004722 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4723 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4724 <condition var1="tw_hide_kb" op="=" var2="0" />
4725 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4726 <image resource="kb_hide" />
4727 <condition var1="tw_busy" var2="0" />
4728 <actions>
4729 <action function="set">tw_hide_kb=1</action>
4730 <action function="page">terminalcommand</action>
4731 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004732 </button>
z31s1g56189522016-01-13 19:12:40 +01004733
z31s1g608d7ff2016-01-18 19:47:25 +01004734 <button>
z31s1g56189522016-01-13 19:12:40 +01004735 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4736 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4737 <condition var1="tw_hide_kb" op="=" var2="1" />
4738 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4739 <image resource="kb_show" />
4740 <condition var1="tw_busy" var2="0" />
4741 <actions>
4742 <action function="set">tw_hide_kb=0</action>
4743 <action function="page">terminalcommand</action>
4744 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004745 </button>
z31s1g56189522016-01-13 19:12:40 +01004746
z31s1g608d7ff2016-01-18 19:47:25 +01004747 <button>
z31s1g56189522016-01-13 19:12:40 +01004748 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4749 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4750 <image resource="home" />
4751 <condition var1="tw_busy" var2="0" />
4752 <actions>
4753 <action function="set">tw_hide_kb=0</action>
4754 <action function="key">home</action>
4755 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004756 </button>
z31s1g56189522016-01-13 19:12:40 +01004757
z31s1g608d7ff2016-01-18 19:47:25 +01004758 <button>
z31s1g56189522016-01-13 19:12:40 +01004759 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4760 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4761 <condition var1="tw_hide_kb" op="=" var2="0" />
4762 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4763 <image resource="kb_hide" />
4764 <condition var1="tw_busy" var2="0" />
4765 <actions>
4766 <action function="set">tw_hide_kb=1</action>
4767 <action function="page">terminalcommand</action>
4768 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004769 </button>
z31s1g56189522016-01-13 19:12:40 +01004770
z31s1g608d7ff2016-01-18 19:47:25 +01004771 <button>
z31s1g56189522016-01-13 19:12:40 +01004772 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4773 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4774 <condition var1="tw_hide_kb" op="=" var2="1" />
4775 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4776 <image resource="kb_show" />
4777 <condition var1="tw_busy" var2="0" />
4778 <actions>
4779 <action function="set">tw_hide_kb=0</action>
4780 <action function="page">terminalcommand</action>
4781 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004782 </button>
z31s1g56189522016-01-13 19:12:40 +01004783
z31s1g608d7ff2016-01-18 19:47:25 +01004784 <button>
z31s1g56189522016-01-13 19:12:40 +01004785 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4786 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4787 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4788 <image resource="back" />
4789 <condition var1="tw_busy" var2="0" />
4790 <actions>
4791 <action function="set">tw_hide_kb=0</action>
4792 <action function="page">advanced</action>
4793 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004794 </button>
z31s1g56189522016-01-13 19:12:40 +01004795
z31s1g608d7ff2016-01-18 19:47:25 +01004796 <button>
z31s1g56189522016-01-13 19:12:40 +01004797 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4798 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4799 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4800 <image resource="back" />
4801 <condition var1="tw_busy" var2="0" />
4802 <actions>
4803 <action function="set">tw_hide_kb=0</action>
4804 <action function="page">advanced</action>
4805 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004806 </button>
z31s1g56189522016-01-13 19:12:40 +01004807
z31s1g608d7ff2016-01-18 19:47:25 +01004808 <button>
z31s1g56189522016-01-13 19:12:40 +01004809 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4810 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4811 <condition var1="tw_hide_kb" op="=" var2="0" />
4812 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4813 <image resource="kb_hide" />
4814 <condition var1="tw_busy" var2="0" />
4815 <actions>
4816 <action function="set">tw_hide_kb=1</action>
4817 <action function="page">terminalcommand</action>
4818 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004819 </button>
z31s1g56189522016-01-13 19:12:40 +01004820
z31s1g608d7ff2016-01-18 19:47:25 +01004821 <button>
z31s1g56189522016-01-13 19:12:40 +01004822 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4823 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4824 <condition var1="tw_hide_kb" op="=" var2="1" />
4825 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4826 <image resource="kb_show" />
4827 <condition var1="tw_busy" var2="0" />
4828 <actions>
4829 <action function="set">tw_hide_kb=0</action>
4830 <action function="page">terminalcommand</action>
4831 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004832 </button>
z31s1g56189522016-01-13 19:12:40 +01004833
z31s1g608d7ff2016-01-18 19:47:25 +01004834 <button>
z31s1g56189522016-01-13 19:12:40 +01004835 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4836 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4837 <image resource="home" />
4838 <condition var1="tw_busy" var2="0" />
4839 <actions>
4840 <action function="set">tw_hide_kb=0</action>
4841 <action function="key">home</action>
4842 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004843 </button>
z31s1g56189522016-01-13 19:12:40 +01004844
z31s1g608d7ff2016-01-18 19:47:25 +01004845 <button>
z31s1g56189522016-01-13 19:12:40 +01004846 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4847 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4848 <condition var1="tw_hide_kb" op="=" var2="0" />
4849 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4850 <image resource="kb_hide" />
4851 <condition var1="tw_busy" var2="0" />
4852 <actions>
4853 <action function="set">tw_hide_kb=1</action>
4854 <action function="page">terminalcommand</action>
4855 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004856 </button>
z31s1g56189522016-01-13 19:12:40 +01004857
z31s1g608d7ff2016-01-18 19:47:25 +01004858 <button>
z31s1g56189522016-01-13 19:12:40 +01004859 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4860 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4861 <condition var1="tw_hide_kb" op="=" var2="1" />
4862 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4863 <image resource="kb_show" />
4864 <condition var1="tw_busy" var2="0" />
4865 <actions>
4866 <action function="set">tw_hide_kb=0</action>
4867 <action function="page">terminalcommand</action>
4868 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004869 </button>
z31s1g56189522016-01-13 19:12:40 +01004870
z31s1g608d7ff2016-01-18 19:47:25 +01004871 <button>
z31s1g56189522016-01-13 19:12:40 +01004872 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4873 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4874 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4875 <image resource="back" />
4876 <condition var1="tw_busy" var2="0" />
4877 <actions>
4878 <action function="set">tw_hide_kb=0</action>
4879 <action function="page">advanced</action>
4880 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004881 </button>
z31s1g56189522016-01-13 19:12:40 +01004882
z31s1g608d7ff2016-01-18 19:47:25 +01004883 <button>
z31s1g56189522016-01-13 19:12:40 +01004884 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4885 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4886 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4887 <image resource="back" />
4888 <condition var1="tw_busy" var2="0" />
4889 <actions>
4890 <action function="set">tw_hide_kb=0</action>
4891 <action function="page">advanced</action>
4892 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004893 </button>
z31s1g56189522016-01-13 19:12:40 +01004894
z31s1g608d7ff2016-01-18 19:47:25 +01004895 <button>
z31s1g56189522016-01-13 19:12:40 +01004896 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4897 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4898 <condition var1="tw_hide_kb" op="=" var2="0" />
4899 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4900 <image resource="kb_hide" />
4901 <condition var1="tw_busy" var2="0" />
4902 <actions>
4903 <action function="set">tw_hide_kb=1</action>
4904 <action function="page">terminalcommand</action>
4905 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004906 </button>
z31s1g56189522016-01-13 19:12:40 +01004907
z31s1g608d7ff2016-01-18 19:47:25 +01004908 <button>
z31s1g56189522016-01-13 19:12:40 +01004909 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4910 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4911 <condition var1="tw_hide_kb" op="=" var2="1" />
4912 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4913 <image resource="kb_show" />
4914 <condition var1="tw_busy" var2="0" />
4915 <actions>
4916 <action function="set">tw_hide_kb=0</action>
4917 <action function="page">terminalcommand</action>
4918 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004919 </button>
z31s1g56189522016-01-13 19:12:40 +01004920
z31s1g608d7ff2016-01-18 19:47:25 +01004921 <button>
z31s1g56189522016-01-13 19:12:40 +01004922 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4923 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4924 <image resource="home" />
4925 <condition var1="tw_busy" var2="0" />
4926 <actions>
4927 <action function="set">tw_hide_kb=0</action>
4928 <action function="key">home</action>
4929 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004930 </button>
z31s1g56189522016-01-13 19:12:40 +01004931
z31s1g608d7ff2016-01-18 19:47:25 +01004932 <button>
z31s1g56189522016-01-13 19:12:40 +01004933 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4934 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4935 <condition var1="tw_hide_kb" op="=" var2="0" />
4936 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4937 <image resource="kb_hide" />
4938 <condition var1="tw_busy" var2="0" />
4939 <actions>
4940 <action function="set">tw_hide_kb=1</action>
4941 <action function="page">terminalcommand</action>
4942 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004943 </button>
z31s1g56189522016-01-13 19:12:40 +01004944
z31s1g608d7ff2016-01-18 19:47:25 +01004945 <button>
z31s1g56189522016-01-13 19:12:40 +01004946 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4947 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4948 <condition var1="tw_hide_kb" op="=" var2="1" />
4949 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4950 <image resource="kb_show" />
4951 <condition var1="tw_busy" var2="0" />
4952 <actions>
4953 <action function="set">tw_hide_kb=0</action>
4954 <action function="page">terminalcommand</action>
4955 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004956 </button>
z31s1g56189522016-01-13 19:12:40 +01004957
z31s1g608d7ff2016-01-18 19:47:25 +01004958 <button>
z31s1g56189522016-01-13 19:12:40 +01004959 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4960 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4961 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4962 <image resource="back" />
4963 <condition var1="tw_busy" var2="0" />
4964 <actions>
4965 <action function="set">tw_hide_kb=0</action>
4966 <action function="page">advanced</action>
4967 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004968 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004969
4970 <action>
4971 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004972 <actions>
4973 <action function="page">main</action>
4974 <action function="set">tw_hide_kb=0</action>
4975 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004976 </action>
4977
4978 <action>
4979 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004980 <actions>
4981 <action function="page">advanced</action>
4982 <action function="set">tw_hide_kb=0</action>
4983 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004984 </action>
z31s1g56189522016-01-13 19:12:40 +01004985
4986 <object type="action">
4987 <touch key="power+voldown" />
4988 <action function="screenshot" />
4989 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004990 </page>
4991
4992 <page name="sideload">
4993 <template name="page"/>
4994
4995 <text style="text_l">
4996 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004997 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004998 </text>
4999
5000 <text style="text_m">
5001 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005002 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005003 </text>
5004
5005 <checkbox>
5006 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005007 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005008 <data variable="tw_wipe_dalvik"/>
5009 </checkbox>
5010
5011 <checkbox>
5012 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005013 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005014 <data variable="tw_wipe_cache"/>
5015 </checkbox>
5016
5017 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05005018 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005019 <actions>
5020 <action function="set">tw_back=advanced</action>
5021 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005022 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
5023 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
5024 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005025 <action function="set">tw_has_cancel=1</action>
5026 <action function="set">tw_show_reboot=1</action>
5027 <action function="set">tw_cancel_action=adbsideloadcancel</action>
5028 <action function="page">action_page</action>
5029 </actions>
5030 </slider>
5031
5032 <action>
5033 <touch key="home"/>
5034 <action function="page">main</action>
5035 </action>
5036
5037 <action>
5038 <touch key="back"/>
5039 <action function="page">advanced</action>
5040 </action>
5041 </page>
5042
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005043 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005044 <template name="page"/>
5045
5046 <text style="text_l">
5047 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005048 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005049 </text>
5050
5051 <text style="text_m">
5052 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005053 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005054 </text>
5055
5056 <text style="text_m_accent">
5057 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005058 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005059 </text>
5060
z31s1g28f0a922015-11-07 18:50:22 +01005061 <text style="text_m_fail">
5062 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005063 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005064 </text>
5065
5066 <text style="text_m_fail">
5067 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005068 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005069 </text>
5070
5071 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005072 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005073 <actions>
5074 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005075 <action function="set">tw_action=fixcontexts</action>
5076 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5077 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005078 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005079 <action function="set">tw_show_reboot=1</action>
5080 <action function="page">action_page</action>
5081 </actions>
5082 </slider>
5083
5084 <action>
5085 <touch key="home"/>
5086 <action function="page">main</action>
5087 </action>
5088
5089 <action>
5090 <touch key="back"/>
5091 <action function="page">advanced</action>
5092 </action>
5093 </page>
5094
z31s1g28f0a922015-11-07 18:50:22 +01005095 <page name="slideout">
5096 <fill color="%background_color%">
5097 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5098 </fill>
5099
5100 <console>
5101 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5102 </console>
5103
5104 <button>
5105 <fill color="%transparent%"/>
5106 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5107 <action function="overlay"/>
5108 </button>
5109
5110 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005111 <touch key="power"/>
5112 <action function="togglebacklight"/>
5113 </action>
5114
5115 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005116 <touch key="power+voldown"/>
5117 <action function="screenshot"/>
5118 </action>
5119 </page>
5120
5121 <page name="select_storage">
5122 <fill color="%semi_transparent%">
5123 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5124 </fill>
5125
5126 <fill color="%background_color%">
5127 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5128 </fill>
5129
5130 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005131 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005132 <data name="tw_storage_path"/>
5133 <listtype name="storage"/>
5134 </partitionlist>
5135
5136 <button style="button_third_width">
5137 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005138 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005139 <actions>
5140 <action function="set">tw_clear_destination=%tw_back%</action>
5141 <action function="overlay"/>
5142 <action function="page">clear_vars</action>
5143 </actions>
5144 </button>
5145
5146 <fill color="#000000">
5147 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5148 </fill>
5149
5150 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005151 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5152 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5153 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5154 <image resource="back" />
5155 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005156 <actions>
5157 <action function="overlay"/>
5158 <action function="key">%tw_back%</action>
5159 </actions>
5160 </button>
5161
5162 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005163 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5164 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5165 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5166 <image resource="console" />
5167 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005168 <action function="overlay">slideout</action>
5169 </button>
5170
5171 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005172 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5173 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5174 <image resource="home" />
5175 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005176 <actions>
5177 <action function="overlay"/>
5178 <action function="key">home</action>
5179 </actions>
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="console" />
5187 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005188 <action function="overlay">slideout</action>
5189 </button>
5190
5191 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005192 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5193 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5194 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5195 <image resource="back" />
5196 <condition var1="tw_busy" var2="0" />
5197 <actions>
5198 <action function="overlay"/>
5199 <action function="key">%tw_back%</action>
5200 </actions>
5201 </button>
5202
5203 <button>
5204 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5205 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5206 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5207 <image resource="back" />
5208 <condition var1="tw_busy" var2="0" />
5209 <actions>
5210 <action function="overlay"/>
5211 <action function="key">%tw_back%</action>
5212 </actions>
5213 </button>
5214
5215 <button>
5216 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5217 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5218 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5219 <image resource="console" />
5220 <condition var1="tw_busy" var2="0" />
5221 <action function="overlay">slideout</action>
5222 </button>
5223
5224 <button>
5225 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5226 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5227 <image resource="home" />
5228 <condition var1="tw_busy" var2="0" />
5229 <actions>
5230 <action function="overlay"/>
5231 <action function="key">home</action>
5232 </actions>
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="console" />
5240 <condition var1="tw_busy" var2="0" />
5241 <action function="overlay">slideout</action>
5242 </button>
5243
5244 <button>
5245 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5246 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5247 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5248 <image resource="back" />
5249 <condition var1="tw_busy" var2="0" />
5250 <actions>
5251 <action function="overlay"/>
5252 <action function="key">%tw_back%</action>
5253 </actions>
5254 </button>
5255
5256 <button>
5257 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5258 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5259 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5260 <image resource="back" />
5261 <condition var1="tw_busy" var2="0" />
5262 <actions>
5263 <action function="overlay"/>
5264 <action function="key">%tw_back%</action>
5265 </actions>
5266 </button>
5267
5268 <button>
5269 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5270 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5271 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5272 <image resource="console" />
5273 <condition var1="tw_busy" var2="0" />
5274 <action function="overlay">slideout</action>
5275 </button>
5276
5277 <button>
5278 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5279 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5280 <image resource="home" />
5281 <condition var1="tw_busy" var2="0" />
5282 <actions>
5283 <action function="overlay"/>
5284 <action function="key">home</action>
5285 </actions>
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="console" />
5293 <condition var1="tw_busy" var2="0" />
5294 <action function="overlay">slideout</action>
5295 </button>
5296
5297 <button>
5298 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5299 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5300 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5301 <image resource="back" />
5302 <condition var1="tw_busy" var2="0" />
5303 <actions>
5304 <action function="overlay"/>
5305 <action function="key">%tw_back%</action>
5306 </actions>
5307 </button>
5308
5309 <action>
5310 <touch key="power+voldown"/>
5311 <action function="screenshot"/>
5312 </action>
5313 </page>
5314
5315 <page name="select_language">
5316 <fill color="%semi_transparent%">
5317 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5318 </fill>
5319
5320 <fill color="%background_color%">
5321 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5322 </fill>
5323
5324 <listbox>
5325 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5326 <text>{@select_language=Select Language:}</text>
5327 <icon selected="radio_true" unselected="radio_false" />
5328 <data name="tw_language" />
5329 </listbox>
5330
5331 <button style="button_third_width">
5332 <placement x="%dialog_button_x%" y="%row13_y%"/>
5333 <text>{@ok_btn=OK}</text>
5334 <actions>
5335 <action function="overlay"/>
5336 <action function="setlanguage"></action>
5337 </actions>
5338 </button>
5339
5340 <fill color="#000000">
5341 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5342 </fill>
5343
5344 <button>
5345 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5346 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5347 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5348 <image resource="back" />
5349 <condition var1="tw_busy" var2="0" />
5350 <actions>
5351 <action function="overlay"/>
5352 <action function="key">%tw_back%</action>
5353 </actions>
5354 </button>
5355
5356 <button>
5357 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5358 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5359 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5360 <image resource="console" />
5361 <condition var1="tw_busy" var2="0" />
5362 <action function="overlay">slideout</action>
5363 </button>
5364
5365 <button>
5366 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5367 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5368 <image resource="home" />
5369 <condition var1="tw_busy" var2="0" />
5370 <actions>
5371 <action function="overlay"/>
5372 <action function="key">home</action>
5373 </actions>
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="console" />
5381 <condition var1="tw_busy" var2="0" />
5382 <action function="overlay">slideout</action>
5383 </button>
5384
5385 <button>
5386 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5387 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5388 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5389 <image resource="back" />
5390 <condition var1="tw_busy" var2="0" />
5391 <actions>
5392 <action function="overlay"/>
5393 <action function="key">%tw_back%</action>
5394 </actions>
5395 </button>
5396
5397 <button>
5398 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5399 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5400 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5401 <image resource="back" />
5402 <condition var1="tw_busy" var2="0" />
5403 <actions>
5404 <action function="overlay"/>
5405 <action function="key">%tw_back%</action>
5406 </actions>
5407 </button>
5408
5409 <button>
5410 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5411 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5412 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5413 <image resource="console" />
5414 <condition var1="tw_busy" var2="0" />
5415 <action function="overlay">slideout</action>
5416 </button>
5417
5418 <button>
5419 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5420 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5421 <image resource="home" />
5422 <condition var1="tw_busy" var2="0" />
5423 <actions>
5424 <action function="overlay"/>
5425 <action function="key">home</action>
5426 </actions>
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="console" />
5434 <condition var1="tw_busy" var2="0" />
5435 <action function="overlay">slideout</action>
5436 </button>
5437
5438 <button>
5439 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5440 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5441 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5442 <image resource="back" />
5443 <condition var1="tw_busy" var2="0" />
5444 <actions>
5445 <action function="overlay"/>
5446 <action function="key">%tw_back%</action>
5447 </actions>
5448 </button>
5449
5450 <button>
5451 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5452 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5453 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5454 <image resource="back" />
5455 <condition var1="tw_busy" var2="0" />
5456 <actions>
5457 <action function="overlay"/>
5458 <action function="key">%tw_back%</action>
5459 </actions>
5460 </button>
5461
5462 <button>
5463 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5464 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5465 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5466 <image resource="console" />
5467 <condition var1="tw_busy" var2="0" />
5468 <action function="overlay">slideout</action>
5469 </button>
5470
5471 <button>
5472 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5473 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5474 <image resource="home" />
5475 <condition var1="tw_busy" var2="0" />
5476 <actions>
5477 <action function="overlay"/>
5478 <action function="key">home</action>
5479 </actions>
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="console" />
5487 <condition var1="tw_busy" var2="0" />
5488 <action function="overlay">slideout</action>
5489 </button>
5490
5491 <button>
5492 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5493 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5494 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5495 <image resource="back" />
5496 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005497 <actions>
5498 <action function="overlay"/>
5499 <action function="key">%tw_back%</action>
5500 </actions>
5501 </button>
5502
5503 <action>
5504 <touch key="power+voldown"/>
5505 <action function="screenshot"/>
5506 </action>
5507 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005508
5509 <page name="decrypt_users">
5510 <template name="page"/>
5511
5512 <text style="text_l">
5513 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5514 <text>{@decrypt_users=Decrypt Users}</text>
5515 </text>
5516
5517 <text style="text_m_accent">
5518 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5519 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5520 </text>
5521
5522 <listbox>
5523 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5524 <text>{@select_user=Select User}</text>
5525 <icon selected="radio_true" unselected="radio_false" />
5526 <data name="tw_crypto_user_id" />
5527 </listbox>
5528
5529 <button style="main_button_half_width">
5530 <placement x="%col2_x_right%" y="%row15a_y%"/>
5531 <text>{@decrypt_users=Decrypt Users}</text>
5532 <action function="set">tw_crypto_password=</action>
5533 <action function="set">tw_password_fail=0</action>
5534 <action function="page">decrypt</action>
5535 </button>
5536
5537 <action>
5538 <touch key="home"/>
5539 <action function="page">main</action>
5540 </action>
5541
5542 <action>
5543 <touch key="back"/>
5544 <action function="page">advanced</action>
5545 </action>
5546 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005547 </pages>
5548</recovery>