blob: daee7f33796ab7a6cf06d87e89921d8d483e802f [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
2723 <button style="main_button">
2724 <condition var1="tw_reboot_system" var2="1"/>
2725 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002726 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002727 <actions>
2728 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002729 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002730 </actions>
2731 </button>
2732
2733 <button style="main_button">
2734 <condition var1="tw_reboot_poweroff" var2="1"/>
2735 <placement x="%center_x%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002736 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002737 <actions>
2738 <action function="set">tw_back=reboot</action>
2739 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002740 <action function="set">tw_action_param=poweroff</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002741 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002742 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002743 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2744 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2745 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2746 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2747 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002748 <action function="page">rebootcheck</action>
2749 </actions>
2750 </button>
2751
2752 <button style="main_button">
2753 <condition var1="tw_reboot_recovery" var2="1"/>
2754 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002755 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002756 <actions>
2757 <action function="set">tw_back=reboot</action>
2758 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002759 <action function="set">tw_action_param=recovery</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002760 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002761 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002762 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2763 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2764 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2765 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2766 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002767 <action function="page">rebootcheck</action>
2768 </actions>
2769 </button>
2770
2771 <button style="main_button">
2772 <condition var1="tw_reboot_bootloader" var2="1"/>
2773 <placement x="%center_x%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002774 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002775 <actions>
2776 <action function="set">tw_back=reboot</action>
2777 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002778 <action function="set">tw_action_param=bootloader</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002779 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002780 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002781 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2782 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2783 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2784 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2785 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002786 <action function="page">rebootcheck</action>
2787 </actions>
2788 </button>
2789
2790 <button style="main_button">
2791 <condition var1="tw_download_mode" var2="1"/>
2792 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002793 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002794 <actions>
2795 <action function="set">tw_back=reboot</action>
2796 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002797 <action function="set">tw_action_param=download</action>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002798 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002799 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002800 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2801 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2802 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2803 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2804 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002805 <action function="page">rebootcheck</action>
2806 </actions>
2807 </button>
2808
mauronofrioe9a49ef2018-10-03 13:38:16 +02002809 <button style="main_button">
2810 <condition var1="tw_edl_mode" var2="1"/>
2811 <placement x="%center_x%" y="%row11_y%"/>
2812 <text>{@rb_edl_btn=Edl}</text>
2813 <actions>
2814 <action function="set">tw_back=reboot</action>
2815 <action function="set">tw_action=reboot</action>
2816 <action function="set">tw_action_param=edl</action>
2817 <action function="set">tw_reboot_param=edl</action>
2818 <action function="set">tw_has_action2=0</action>
2819 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2820 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2821 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2822 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2823 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2824 <action function="page">rebootcheck</action>
2825 </actions>
2826 </button>
2827
z31s1g28f0a922015-11-07 18:50:22 +01002828 <action>
2829 <touch key="home"/>
2830 <action function="page">main</action>
2831 </action>
2832
2833 <action>
2834 <touch key="back"/>
2835 <action function="page">main</action>
2836 </action>
2837 </page>
2838
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002839 <page name="rebootapp">
2840 <template name="page"/>
2841
2842 <text style="text_l">
2843 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2844 <text>{@reboot_hdr=Reboot}</text>
2845 </text>
2846
2847 <text style="text_m">
2848 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2849 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2850 </text>
2851
2852 <text style="text_m_accent">
2853 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2854 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2855 </text>
2856
2857 <text style="text_m_accent">
2858 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2859 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2860 </text>
2861
2862 <checkbox>
2863 <placement x="%indent%" y="%row5_y%"/>
2864 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2865 <data variable="tw_app_prompt"/>
2866 </checkbox>
2867
2868 <checkbox>
2869 <condition var1="tw_mount_system_ro" var2="0"/>
2870 <placement x="%indent%" y="%row7_y%"/>
2871 <text>{@reboot_install_app_system=Install as a System App}</text>
2872 <data variable="tw_app_install_system"/>
2873 </checkbox>
2874
2875 <button style="main_button_half_width">
2876 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002877 <text>{@install_cancel=Do not Install}</text>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06002878 <action function="reboot">%tw_reboot_param%</action>
2879 </button>
2880
2881 <slider>
2882 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2883 <actions>
2884 <action function="set">tw_back=reboot</action>
2885 <action function="set">tw_action=installapp</action>
2886 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2887 <action function="set">tw_action_text2=</action>
2888 <action function="set">tw_has_action2=1</action>
2889 <action function="set">tw_action2=reboot</action>
2890 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2891 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2892 <action function="page">action_page</action>
2893 </actions>
2894 </slider>
2895
2896 <action>
2897 <touch key="home"/>
2898 <actions>
2899 <action function="set">tw_app_install_status=0</action>
2900 <action function="page">main</action>
2901 </actions>
2902 </action>
2903
2904 <action>
2905 <touch key="back"/>
2906 <actions>
2907 <action function="set">tw_app_install_status=0</action>
2908 <action function="page">reboot</action>
2909 </actions>
2910 </action>
2911 </page>
2912
z31s1g28f0a922015-11-07 18:50:22 +01002913 <page name="system_readonly">
2914 <template name="page"/>
2915
2916 <text style="text_l">
2917 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002918 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002919 </text>
2920
2921 <text style="text_m_accent">
2922 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002923 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002924 </text>
2925
2926 <text style="text_m">
2927 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002928 <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 +01002929 </text>
2930
2931 <text style="text_m">
2932 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002933 <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 +01002934 </text>
2935
2936 <text style="text_m_fail">
2937 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002938 <text>{@sys_rol3=Installing zips or performing adb operations may still modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002939 </text>
2940
2941 <checkbox>
2942 <condition var1="tw_is_encrypted" var2="0"/>
2943 <placement x="%col1_x_left%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002944 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002945 <data variable="tw_never_show_system_ro_page"/>
2946 </checkbox>
2947
2948 <button style="main_button_half_width">
2949 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002950 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002951 <actions>
2952 <action function="mountsystemtoggle">1</action>
2953 <action function="set">tw_page_done=1</action>
2954 <action function="page">%tw_back%</action>
2955 </actions>
2956 </button>
2957
z31s1g608d7ff2016-01-18 19:47:25 +01002958 <button style="main_button_half_width">
2959 <placement x="%col2_x_left%" y="%row15a_y%"/>
2960 <text>{@sel_lang_btn=Select Language}</text>
2961 <action function="overlay">select_language</action>
2962 </button>
2963
z31s1g28f0a922015-11-07 18:50:22 +01002964 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002965 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002966 <actions>
2967 <action function="mountsystemtoggle">0</action>
2968 <action function="set">tw_page_done=1</action>
2969 <action function="page">%tw_back%</action>
2970 </actions>
2971 </slider>
2972 </page>
2973
2974 <page name="settings">
2975 <template name="page"/>
2976
2977 <text style="text_l">
2978 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002979 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002980 </text>
2981
2982 <text style="text_m">
2983 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002984 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002985 </text>
2986
2987 <template name="tabs_settings"/>
2988
2989 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05002990 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01002991 </fill>
2992
2993 <listbox style="scrolllist">
2994 <placement x="%col1_x_left%" y="%row3a_y%" w="%content_half_width%" h="%listbox_settings_height%"/>
2995 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002996 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01002997 <data variable="tw_signed_zip_verify"/>
2998 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05002999 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3000 <data variable="tw_install_reboot"/>
3001 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003002 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003003 <data variable="tw_rm_rf"/>
3004 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003005 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3006 <data variable="tw_disable_free_space"/>
3007 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003008 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3009 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003010 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003011 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3012 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003013 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003014 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003015 <data variable="tw_military_time"/>
3016 </listitem>
Ethan Yonker64c5c0a2017-03-06 12:42:54 -06003017 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3018 <data variable="tw_app_prompt"/>
3019 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003020 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003021 <data variable="tw_simulate_actions"/>
3022 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003023 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003024 <condition var1="tw_simulate_actions" var2="1"/>
3025 <data variable="tw_simulate_fail"/>
3026 </listitem>
bigbiff bigbiff1c01fab2017-08-07 18:41:14 -04003027 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3028 <condition var1="tw_no_sha2" var2="0"/>
3029 <data variable="tw_use_sha2"/>
3030 </listitem>
Chaosmasterff4f9582020-01-26 15:38:11 +01003031 <listitem name="{@unmount_sys_install=Unmount System before installing a ZIP}">
3032 <data variable="tw_unmount_system"/>
3033 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003034 </listbox>
3035
3036 <checkbox>
3037 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003038 <text>{@rev_navbar_chk=Reversed navbar layout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003039 <data variable="tw_samsung_navbar"/>
3040 </checkbox>
3041
3042 <button style="radiobutton">
3043 <condition var1="tw_navbar_button_position" op="!=" var2="0"/>
3044 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003045 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003046 <image resource="radio_false"/>
3047 <action function="set">tw_navbar_button_position=0</action>
3048 </button>
3049
3050 <button style="radiobutton">
3051 <condition var1="tw_navbar_button_position" var2="0"/>
3052 <placement x="%col1_x_right%" y="%row5_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003053 <text>{@ctr_navbar_rdo=Center navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003054 <image resource="radio_true"/>
3055 <action function="set">tw_navbar_button_position=0</action>
3056 </button>
3057
3058 <button style="radiobutton">
3059 <condition var1="tw_navbar_button_position" op="!=" var2="1"/>
3060 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003061 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003062 <image resource="radio_false"/>
3063 <action function="set">tw_navbar_button_position=1</action>
3064 </button>
3065
3066 <button style="radiobutton">
3067 <condition var1="tw_navbar_button_position" var2="1"/>
3068 <placement x="%col1_x_right%" y="%row6a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <text>{@lft_navbar_rdo=Left align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003070 <image resource="radio_true"/>
3071 <action function="set">tw_navbar_button_position=1</action>
3072 </button>
3073
3074 <button style="radiobutton">
3075 <condition var1="tw_navbar_button_position" op="!=" var2="2"/>
3076 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003077 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003078 <image resource="radio_false"/>
3079 <action function="set">tw_navbar_button_position=2</action>
3080 </button>
3081
3082 <button style="radiobutton">
3083 <condition var1="tw_navbar_button_position" var2="2"/>
3084 <placement x="%col1_x_right%" y="%row8_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003085 <text>{@rht_navbar_rdo=Right align navbar buttons}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003086 <image resource="radio_true"/>
3087 <action function="set">tw_navbar_button_position=2</action>
3088 </button>
3089
3090 <button style="main_button_half_width">
3091 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003092 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003093 <action function="restoredefaultsettings"/>
3094 </button>
3095
3096 <action>
3097 <touch key="home"/>
3098 <action function="page">main</action>
3099 </action>
3100
3101 <action>
3102 <touch key="back"/>
3103 <action function="page">main</action>
3104 </action>
3105 </page>
3106
3107 <page name="settings_timezone">
3108 <template name="page"/>
3109
3110 <text style="text_l">
3111 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003112 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003113 </text>
3114
3115 <text style="text_m">
3116 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003117 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003118 </text>
3119
3120 <template name="tabs_settings"/>
3121
3122 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003123 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003124 </fill>
3125
3126 <listbox>
3127 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003128 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003129 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003130 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3131 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3132 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3133 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3134 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3135 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3136 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3137 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3138 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3139 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3140 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3141 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3142 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3143 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3144 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3145 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3146 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3147 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3148 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3149 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3150 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3151 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3152 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3153 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003154 </listbox>
3155
3156 <text style="text_m_accent">
3157 <placement x="%col1_x_right%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003158 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003159 </text>
3160
3161 <button style="button_quarter_width">
3162 <placement x="%col1_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003163 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003164 <action function="set">tw_time_zone_guioffset=0</action>
3165 </button>
3166
3167 <button style="button_quarter_width">
3168 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003169 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003170 <action function="set">tw_time_zone_guioffset=15</action>
3171 </button>
3172
3173 <button style="button_quarter_width">
3174 <placement x="%btn4_col3_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003175 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003176 <action function="set">tw_time_zone_guioffset=30</action>
3177 </button>
3178
3179 <button style="button_quarter_width">
3180 <placement x="%btn4_col4_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 <action function="set">tw_time_zone_guioffset=45</action>
3183 </button>
3184
3185 <checkbox>
3186 <placement x="%col1_x_right%" y="%row7_y%"/>
3187 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003188 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003189 <data variable="tw_time_zone_guidst"/>
3190 <image checked="checkbox_true" unchecked="checkbox_false"/>
3191 </checkbox>
3192
3193 <text color="%text_color%">
3194 <font resource="font_m"/>
3195 <placement x="%col1_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003196 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003197 </text>
3198
3199 <button>
3200 <highlight color="%highlight_color%"/>
3201 <placement x="%col2_x_right%" y="%row15a_y%"/>
3202 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003203 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003204 <image resource="main_button_half_width"/>
3205 <action function="setguitimezone"/>
3206 </button>
3207
3208 <action>
3209 <touch key="home"/>
3210 <action function="page">main</action>
3211 </action>
3212
3213 <action>
3214 <touch key="back"/>
3215 <action function="page">main</action>
3216 </action>
3217 </page>
3218
3219 <page name="settings_screen">
3220 <template name="page"/>
3221
3222 <text style="text_l">
3223 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003224 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003225 </text>
3226
3227 <text style="text_m">
3228 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003229 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003230 </text>
3231
3232 <template name="tabs_settings"/>
3233
3234 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003235 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003236 </fill>
3237
3238 <button>
3239 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3240 <font resource="font_m" color="%text_color%"/>
3241 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3242 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003243 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003244 <image resource="checkbox_false"/>
3245 <action function="set">tw_screen_timeout_secs=60</action>
3246 </button>
3247
3248 <button>
3249 <placement x="%col1_x_left%" y="%row3a_y%" textplacement="6"/>
3250 <font resource="font_m" color="%text_color%"/>
3251 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3252 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003253 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003254 <image resource="checkbox_true"/>
3255 <action function="set">tw_screen_timeout_secs=0</action>
3256 </button>
3257
3258 <slidervalue>
3259 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3260 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3261 <placement x="col1_x_left" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003262 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003263 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3264 </slidervalue>
3265
3266 <slidervalue>
3267 <condition var1="tw_has_brightnesss_file" var2="1"/>
3268 <placement x="col1_x_left" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003269 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003270 <data variable="tw_brightness_pct" min="10" max="100"/>
3271 <actions>
3272 <action function="set">tw_brightness=%tw_brightness_max%</action>
3273 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3274 <action function="compute">tw_brightness/100</action>
3275 <action function="setbrightness">%tw_brightness%</action>
3276 </actions>
3277 </slidervalue>
3278
3279 <action>
3280 <touch key="home"/>
3281 <action function="page">main</action>
3282 </action>
3283
3284 <action>
3285 <touch key="back"/>
3286 <action function="page">main</action>
3287 </action>
3288 </page>
3289
3290 <page name="settings_vibration">
3291 <template name="page"/>
3292
3293 <text style="text_l">
3294 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003295 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003296 </text>
3297
3298 <text style="text_m">
3299 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003300 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003301 </text>
3302
3303 <template name="tabs_settings"/>
3304
3305 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003306 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003307 </fill>
3308
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003309 <text style="text_m">
3310 <condition var1="tw_disable_haptics" var2="1"/>
3311 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
3312 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3313 </text>
3314
z31s1g28f0a922015-11-07 18:50:22 +01003315 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003316 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003317 <placement x="col1_x_left" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003318 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003319 <data variable="tw_button_vibrate" min="0" max="300"/>
3320 </slidervalue>
3321
3322 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003323 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003324 <placement x="col1_x_left" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003325 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003326 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3327 </slidervalue>
3328
3329 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003330 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003331 <placement x="col1_x_left" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003332 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003333 <data variable="tw_action_vibrate" min="0" max="500"/>
3334 </slidervalue>
3335
3336 <action>
3337 <touch key="home"/>
3338 <action function="page">main</action>
3339 </action>
3340
3341 <action>
3342 <touch key="back"/>
3343 <action function="page">main</action>
3344 </action>
3345 </page>
3346
Ethan Yonker74db1572015-10-28 12:44:49 -05003347 <page name="settings_language">
3348 <template name="page"/>
3349
3350 <text style="text_l">
3351 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3352 <text>{@settings_hdr=Settings}</text>
3353 </text>
3354
3355 <text style="text_m">
3356 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3357 <text>{@language_hdr=Language - %tw_language_display%}</text>
3358 </text>
3359
3360 <template name="tabs_settings"/>
3361
3362 <fill color="%text_color%">
3363 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3364 </fill>
3365
3366 <listbox>
z31s1g56189522016-01-13 19:12:40 +01003367 <placement x="%col1_x_left%" y="%row3_y%" w="%content_half_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003368 <text>{@select_language=Select Language:}</text>
3369 <icon selected="radio_true" unselected="radio_false" />
3370 <data name="tw_language" />
3371 </listbox>
3372
z31s1g56189522016-01-13 19:12:40 +01003373 <button>
3374 <highlight color="%highlight_color%"/>
3375 <placement x="%col2_x_right%" y="%row15a_y%"/>
3376 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003377 <text>{@set_language_btn=Set Language}</text>
z31s1g56189522016-01-13 19:12:40 +01003378 <image resource="main_button_half_width"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003379 <action function="setlanguage"></action>
3380 </button>
3381
3382 <action>
3383 <touch key="home" />
3384 <action function="page">main</action>
3385 </action>
3386
3387 <action>
3388 <touch key="back" />
3389 <action function="page">settings</action>
3390 </action>
3391 </page>
3392
Matt Mower32676622017-01-18 18:56:13 -06003393 <page name="copylog">
3394 <template name="page"/>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003395
Matt Mower32676622017-01-18 18:56:13 -06003396 <text style="text_l">
3397 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3398 <text>{@copying_log=Copy Logs to SD Card}</text>
3399 </text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003400
Matt Mower32676622017-01-18 18:56:13 -06003401 <checkbox>
3402 <placement x="%indent%" y="%row4_y%"/>
3403 <text>{@include_kernel_log=Include Kernel Log}</text>
3404 <data variable="tw_include_kernel_log" value="1"/>
3405 </checkbox>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003406
Matt Mower32676622017-01-18 18:56:13 -06003407 <slider>
3408 <text>{@copying_log=Copy Logs to SD Card}</text>
3409 <actions>
3410 <action function="set">tw_back=advanced</action>
3411 <action function="set">tw_action=copylog</action>
3412 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3413 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
3414 <action function="page">action_page</action>
3415 </actions>
3416 </slider>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003417
Matt Mower32676622017-01-18 18:56:13 -06003418 <action>
3419 <touch key="home"/>
3420 <action function="page">main</action>
3421 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003422
Matt Mower32676622017-01-18 18:56:13 -06003423 <action>
3424 <touch key="back"/>
3425 <actions>
3426 <action function="page">advanced</action>
3427 </actions>
3428 </action>
3429 </page>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003430
z31s1g28f0a922015-11-07 18:50:22 +01003431 <page name="advanced">
3432 <template name="page"/>
3433
3434 <text style="text_l">
3435 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003436 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003437 </text>
3438
3439 <button style="main_button">
3440 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003441 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003442 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003443 </button>
3444
3445 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003446 <placement x="%col1_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003447 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003448 <action function="page">filemanagerlist</action>
3449 </button>
3450
3451 <button style="main_button">
3452 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003453 <text>{@terminal_btn=Terminal}</text>
z31s1g56189522016-01-13 19:12:40 +01003454 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003455 </button>
3456
3457 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003458 <placement x="%col1_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003459 <text>{@adb_sideload_btn=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003460 <action function="page">sideload</action>
3461 </button>
3462
Ethan Yonker64e0a652018-07-25 09:52:17 -05003463 <listbox style="advanced_listbox">
3464 <placement x="%center_x%" y="%row2_y%" w="%content_half_width%" h="%fileselector_install_height%"/>
Noah Jacobson5a79f672019-04-28 00:10:07 -04003465 <listitem name="{@decrypt_users=Decrypt Users}">
3466 <conditions>
3467 <condition var1="tw_is_fbe" var2="1"/>
3468 <condition var1="tw_all_users_decrypted" var2="0"/>
3469 </conditions>
3470 <actions>
3471 <action function="set">tw_crypto_user_id=</action>
3472 <action function="page">decrypt_users</action>
3473 </actions>
3474 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003475 <listitem name="{@reload_theme_btn=Reload Theme}">
3476 <action function="reload"/>
3477 </listitem>
3478 <listitem name="{@part_sd_btn=Partition SD Card}">
3479 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3480 <actions>
3481 <action function="set">partitionlisterror=0</action>
3482 <action function="page">partsdcardsel</action>
3483 </actions>
3484 </listitem>
3485 <listitem name="{@fix_context_btn=Fix Contexts}">
3486 <condition var1="tw_has_data_media" var2="1"/>
3487 <action function="page">fixcontexts</action>
3488 </listitem>
3489 <listitem name="{@dumlock_btn=HTC Dumlock}">
3490 <condition var1="tw_show_dumlock" var2="1"/>
3491 <action function="page">htcdumlock</action>
3492 </listitem>
3493 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3494 <condition var1="tw_has_injecttwrp" var2="1"/>
3495 <actions>
3496 <action function="set">tw_back=advanced</action>
3497 <action function="set">tw_action=reinjecttwrp</action>
3498 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3499 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3500 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3501 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3502 <action function="page">confirm_action</action>
3503 </actions>
3504 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003505 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3506 <conditions>
3507 <condition var1="tw_has_boot_slots" var2="1"/>
3508 <condition var1="tw_has_repack_tools" var2="1"/>
3509 </conditions>
3510 <actions>
3511 <action function="set">tw_repack_kernel=0</action>
3512 <action function="page">repackselect</action>
3513 </actions>
3514 </listitem>
3515 <listitem name="{@install_kernel=Install Kernel}">
3516 <conditions>
3517 <condition var1="tw_has_boot_slots" var2="1"/>
3518 <condition var1="tw_has_repack_tools" var2="1"/>
3519 </conditions>
3520 <actions>
3521 <action function="set">tw_repack_kernel=1</action>
3522 <action function="page">repackselect</action>
3523 </actions>
3524 </listitem>
3525 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3526 <conditions>
3527 <condition var1="tw_has_boot_slots" var2="1"/>
3528 <condition var1="tw_has_repack_tools" var2="1"/>
3529 </conditions>
3530 <actions>
3531 <action function="set">tw_back=advanced</action>
3532 <action function="set">tw_action=fixabrecoverybootloop</action>
3533 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3534 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3535 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3536 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3537 <action function="page">confirm_action</action>
3538 </actions>
3539 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003540 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3541 <condition var1="tw_app_installed_in_system" var2="1"/>
3542 <actions>
3543 <action function="set">tw_back=advanced</action>
3544 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3545 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3546 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3547 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3548 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3549 <action function="page">confirm_action</action>
3550 </actions>
3551 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003552 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003553
3554 <action>
3555 <touch key="home"/>
3556 <action function="page">main</action>
3557 </action>
3558
3559 <action>
3560 <touch key="back"/>
3561 <action function="page">main</action>
3562 </action>
3563 </page>
3564
Ethan Yonker483e9f42016-01-11 22:21:18 -06003565 <page name="partsdcardsel">
3566 <template name="page"/>
3567
3568 <text style="text_l">
3569 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3570 <text>{@advanced_hdr=Advanced}</text>
3571 </text>
3572
3573 <text style="text_m">
3574 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3575 <text>{@part_sd_hdr=Partition SD Card}</text>
3576 </text>
3577
z31s1g782e1c92016-01-30 16:50:09 +01003578 <partitionlist>
3579 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003580 <text>{@sel_storage_list=Select Storage}</text>
3581 <data name="tw_storage_path"/>
3582 <listtype name="storage"/>
3583 </partitionlist>
3584
z31s1g782e1c92016-01-30 16:50:09 +01003585 <text style="text_m_fail">
3586 <condition var1="partitionlisterror" var2="1"/>
3587 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3588 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3589 </text>
3590
3591 <button style="main_button_half_width">
3592 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003593 <text>{@ok_btn=OK}</text>
3594 <actions>
3595 <action function="getpartitiondetails">tw_storage_path</action>
3596 <action function="page">partsdcardcheck</action>
3597 </actions>
3598 </button>
3599
Ethan Yonker483e9f42016-01-11 22:21:18 -06003600 <action>
3601 <touch key="home"/>
3602 <action function="page">main</action>
3603 </action>
3604
3605 <action>
3606 <touch key="back"/>
3607 <action function="page">advanced</action>
3608 </action>
3609 </page>
3610
3611 <page name="partsdcardcheck">
3612 <action>
3613 <condition var1="tw_partition_removable" op="=" var2="1"/>
3614 <actions>
3615 <action function="set">partitionlisterror=0</action>
3616 <action function="page">partsdcard</action>
3617 </actions>
3618 </action>
3619
3620 <action>
3621 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3622 <actions>
3623 <action function="set">partitionlisterror=1</action>
3624 <action function="page">partsdcardsel</action>
3625 </actions>
3626 </action>
3627 </page>
3628
z31s1g28f0a922015-11-07 18:50:22 +01003629 <page name="partsdcard">
3630 <template name="page"/>
3631
3632 <text style="text_l">
3633 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003634 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003635 </text>
3636
3637 <text style="text_m">
3638 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003639 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003640 </text>
3641
3642 <text style="text_m_fail">
3643 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003644 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003645 </text>
3646
3647 <text style="text_m_fail">
3648 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003649 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003650 </text>
3651
3652 <text style="text_m_accent">
3653 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003654 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003655 </text>
3656
3657 <text style="text_m">
3658 <placement x="%center_x%" y="%row6_y%" placement="5"/>
3659 <text>%tw_sdext_size%</text>
3660 </text>
3661
3662 <button style="button_quarter_width">
3663 <placement x="%btn4_col3_x_left%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003664 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003665 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003666 </button>
3667
3668 <button style="button_quarter_width">
3669 <placement x="%btn4_col2_x_right%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003670 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003671 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003672 </button>
3673
3674 <text style="text_m_accent">
3675 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003676 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003677 </text>
3678
3679 <text style="text_m">
3680 <placement x="%center_x%" y="%row10_y%" placement="5"/>
3681 <text>%tw_swap_size%</text>
3682 </text>
3683
3684 <button style="button_quarter_width">
3685 <placement x="%btn4_col3_x_left%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003686 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003687 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003688 </button>
3689
3690 <button style="button_quarter_width">
3691 <placement x="%btn4_col2_x_right%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003692 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003693 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003694 </button>
3695
3696 <text style="text_m_accent">
3697 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003698 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003699 </text>
3700
3701 <text style="text_m">
3702 <placement x="%center_x%" y="%row14_y%" placement="5"/>
3703 <text>%tw_sdpart_file_system%</text>
3704 </text>
3705
3706 <button style="button_quarter_width">
3707 <placement x="%btn4_col3_x_left%" y="%row13_y%"/>
3708 <text>EXT3</text>
3709 <action function="set">tw_sdpart_file_system=ext3</action>
3710 </button>
3711
3712 <button style="button_quarter_width">
3713 <placement x="%btn4_col2_x_right%" y="%row13_y%"/>
3714 <text>EXT4</text>
3715 <action function="set">tw_sdpart_file_system=ext4</action>
3716 </button>
3717
3718 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003719 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003720 <action function="page">partsdcardaction</action>
3721 <actions>
3722 <action function="set">tw_back=partsdcard</action>
3723 <action function="set">tw_action=partitionsd</action>
3724 <action function="set">tw_has_action2=1</action>
3725 <action function="set">tw_action2=set</action>
3726 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003727 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3728 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3729 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003730 <action function="page">action_page</action>
3731 </actions>
3732 </slider>
3733
3734 <action>
3735 <touch key="home"/>
3736 <action function="page">main</action>
3737 </action>
3738
3739 <action>
3740 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003741 <action function="page">partsdcardsel</action>
z31s1g28f0a922015-11-07 18:50:22 +01003742 </action>
3743 </page>
3744
3745 <page name="htcdumlock">
3746 <template name="page"/>
3747
3748 <text style="text_l">
3749 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003750 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003751 </text>
3752
3753 <text style="text_m">
3754 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 </text>
3757
3758 <button style="main_button_m">
3759 <placement x="%col2_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003760 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003761 <actions>
3762 <action function="set">tw_back=htcdumlock</action>
3763 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003764 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3765 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3766 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3767 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003768 <action function="page">confirm_action</action>
3769 </actions>
3770 </button>
3771
3772 <button style="main_button_m">
3773 <placement x="%col2_x_left%" y="%row6a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003774 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003775 <actions>
3776 <action function="set">tw_back=htcdumlock</action>
3777 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003778 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3779 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3780 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3781 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003782 <action function="page">confirm_action</action>
3783 </actions>
3784 </button>
3785
3786 <button style="main_button_m">
3787 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003788 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003789 <actions>
3790 <action function="set">tw_back=htcdumlock</action>
3791 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003792 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3793 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3794 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3795 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003796 <action function="page">confirm_action</action>
3797 </actions>
3798 </button>
3799
3800 <action>
3801 <touch key="home"/>
3802 <action function="page">main</action>
3803 </action>
3804
3805 <action>
3806 <touch key="back"/>
3807 <action function="page">advanced</action>
3808 </action>
3809 </page>
3810
Ethan Yonker53796e72019-01-11 22:49:52 -06003811 <page name="repackselect">
3812 <template name="page"/>
3813
3814 <text style="text_l">
3815 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3816 <text>{@repack_image_hdr=Select Image}</text>
3817 </text>
3818
3819 <text style="text_m">
3820 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3821 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3822 </text>
3823
3824 <template name="sort_options"/>
3825
3826 <fileselector>
3827 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3828 <text>%tw_zip_location%</text>
3829 <filter extn=".img" folders="1" files="1"/>
3830 <path name="tw_zip_location" default="/sdcard"/>
3831 <data name="tw_filename"/>
3832 <selection name="tw_file"/>
3833 </fileselector>
3834
3835 <button style="main_button_half_width_low">
3836 <placement x="%col_button_right%" y="%row16a_y%"/>
3837 <text>{@select_storage_btn=Select Storage}</text>
3838 <actions>
3839 <action function="set">tw_back=install</action>
3840 <action function="overlay">select_storage</action>
3841 </actions>
3842 </button>
3843
3844 <action>
3845 <conditions>
3846 <condition var1="tw_filename" op="modified"/>
3847 </conditions>
3848 <action function="page">repackconfirm</action>
3849 </action>
3850
3851 <action>
3852 <touch key="back"/>
3853 <action function="page">advanced</action>
3854 </action>
3855
3856 <action>
3857 <touch key="home"/>
3858 <action function="page">main</action>
3859 </action>
3860 </page>
3861
3862 <page name="repackconfirm">
3863 <template name="page"/>
3864
3865 <text style="text_l">
3866 <condition var1="tw_repack_kernel" var2="1"/>
3867 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3868 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3869 </text>
3870
3871 <text style="text_l">
3872 <condition var1="tw_repack_kernel" var2="0"/>
3873 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3874 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3875 </text>
3876
3877 <text style="text_m">
3878 <condition var1="tw_repack_kernel" var2="1"/>
3879 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3880 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3881 </text>
3882
3883 <text style="text_m">
3884 <condition var1="tw_repack_kernel" var2="0"/>
3885 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3886 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3887 </text>
3888
3889 <text style="text_m_accent">
3890 <placement x="%indent%" y="%row2_y%"/>
3891 <text>{@folder=Folder:}</text>
3892 </text>
3893
3894 <text style="text_m">
3895 <placement x="%indent%" y="%row3_y%"/>
3896 <text>%tw_zip_location%</text>
3897 </text>
3898
3899 <text style="text_m_accent">
3900 <placement x="%indent%" y="%row4_y%"/>
3901 <text>{@file=File:}</text>
3902 </text>
3903
3904 <text style="text_m">
3905 <placement x="%indent%" y="%row5_y%"/>
3906 <text>%tw_file%</text>
3907 </text>
3908
3909 <checkbox>
3910 <placement x="%indent%" y="%row7_y%"/>
3911 <text>{@repack_backup_first=Back up existing image first}</text>
3912 <data variable="tw_repack_backup_first"/>
3913 </checkbox>
3914
3915 <button style="main_button_half_width">
3916 <placement x="%col1_x_left%" y="%row15a_y%"/>
3917 <text>{@install_cancel=Do not Install}</text>
3918 <action function="page">repackselect</action>
3919 </button>
3920
3921 <slider style="slider_centered">
3922 <text>{@swipe_to_install=Swipe to Install}</text>
3923 <actions>
3924 <action function="set">tw_back=advanced</action>
3925 <action function="set">tw_action=repackimage</action>
3926 <action function="set">tw_action_param=/boot</action>
3927 <action function="set">tw_action_text1={@installing=Installing...}</action>
3928 <action function="set">tw_action_text2=</action>
3929 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3930 <action function="page">action_page</action>
3931 </actions>
3932 </slider>
3933
3934 <action>
3935 <touch key="back"/>
3936 <action function="page">repackselect</action>
3937 </action>
3938
3939 <action>
3940 <touch key="home"/>
3941 <action function="page">main</action>
3942 </action>
3943 </page>
3944
z31s1g28f0a922015-11-07 18:50:22 +01003945 <page name="lock">
3946 <background color="%semi_transparent%"/>
3947
3948 <image>
3949 <image resource="unlock_icon"/>
3950 <placement x="%center_x%" y="%row8_y%" placement="4"/>
3951 </image>
3952
3953 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05003954 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003955 <action function="overlay"/>
3956 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06003957
3958 <action>
3959 <touch key="power"/>
3960 <action function="togglebacklight"/>
3961 </action>
z31s1g28f0a922015-11-07 18:50:22 +01003962 </page>
3963
3964 <page name="filemanagerlist">
3965 <template name="page"/>
3966
3967 <text style="text_l">
3968 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003969 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003970 </text>
3971
3972 <text style="text_m">
3973 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003974 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003975 </text>
3976
3977 <template name="sort_options"/>
3978
3979 <fileselector>
3980 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
3981 <text>%tw_file_location1%</text>
3982 <filter folders="1" files="1"/>
3983 <path name="tw_file_location1" default="/"/>
3984 <data name="tw_filename1"/>
3985 <selection name="tw_selection1"/>
3986 </fileselector>
3987
3988 <button style="main_button_half_width_low">
3989 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003990 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003991 <actions>
3992 <action function="set">tw_filename1=tw_file_location1</action>
3993 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003994 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003995 <action function="page">filemanageroptions</action>
3996 </actions>
3997 </button>
3998
3999 <action>
4000 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004001 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004002 <action function="set">tw_fm_isfolder=0</action>
4003 </actions>
4004 </action>
4005
4006 <action>
4007 <touch key="home"/>
4008 <action function="page">main</action>
4009 </action>
4010
4011 <action>
4012 <touch key="back"/>
4013 <action function="page">advanced</action>
4014 </action>
4015
4016 <action>
4017 <condition var1="tw_filename1" op="modified"/>
4018 <action function="page">filemanageroptions</action>
4019 </action>
4020 </page>
4021
4022 <page name="filemanageroptions">
4023 <template name="page"/>
4024
4025 <text style="text_l">
4026 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004027 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004028 </text>
4029
4030 <text style="text_m">
4031 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004032 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004033 </text>
4034
4035 <text style="text_m_accent">
4036 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004037 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004038 </text>
4039
4040 <text style="text_m">
4041 <placement x="%col1_x_left%" y="%row3_y%"/>
4042 <text>%tw_filename1%</text>
4043 </text>
4044
4045 <button style="main_button_half_width">
4046 <condition var1="tw_fm_isfolder" var2="0"/>
4047 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004048 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004049 <actions>
4050 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004051 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004052 <action function="page">choosedestinationfolder</action>
4053 </actions>
4054 </button>
4055
4056 <button style="main_button_half_width">
4057 <condition var1="tw_fm_isfolder" var2="1"/>
4058 <placement x="%col1_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004059 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004060 <actions>
4061 <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 -05004062 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004063 <action function="page">choosedestinationfolder</action>
4064 </actions>
4065 </button>
4066
4067 <button style="main_button_half_width">
4068 <placement x="%col2_x_left%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004069 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004070 <actions>
4071 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004072 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004073 <action function="page">choosedestinationfolder</action>
4074 </actions>
4075 </button>
4076
4077 <button style="main_button_half_width">
4078 <placement x="%col2_x_left%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004079 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004080 <actions>
4081 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004082 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004083 <action function="set">tw_fm_text2=</action>
4084 <action function="set">tw_fm_text3=</action>
4085 <action function="set">tw_include_text3=0</action>
4086 <action function="set">tw_back=filemanageroptions</action>
4087 <action function="page">filemanagerconfirm</action>
4088 </actions>
4089 </button>
4090
4091 <button style="main_button_half_width">
4092 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004093 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004094 <actions>
4095 <action function="set">tw_filemanager_rename=0000</action>
4096 <action function="set">tw_fm_text2=</action>
4097 <action function="set">tw_fm_text3=</action>
4098 <action function="set">tw_include_text3=0</action>
4099 <action function="set">tw_back=filemanageroptions</action>
4100 <action function="page">filemanagerchmod</action>
4101 </actions>
4102 </button>
4103
4104 <button style="main_button_half_width">
4105 <placement x="%col2_x_right%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004106 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004107 <actions>
4108 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004109 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004110 <action function="set">tw_fm_text2=</action>
4111 <action function="set">tw_fm_text3=</action>
4112 <action function="set">tw_include_text3=0</action>
4113 <action function="set">tw_back=filemanageroptions</action>
4114 <action function="page">filemanagerconfirm</action>
4115 </actions>
4116 </button>
4117
4118 <button style="main_button_half_width">
4119 <condition var1="tw_fm_isfolder" var2="0"/>
4120 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004121 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004122 <actions>
4123 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004124 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004125 <action function="set">tw_filemanager_command=mv</action>
4126 <action function="page">filemanagerrenamefile</action>
4127 </actions>
4128 </button>
4129
4130 <button style="main_button_half_width">
4131 <condition var1="tw_fm_isfolder" var2="1"/>
4132 <placement x="%center_x%" y="%row11_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004133 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004134 <actions>
4135 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004136 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004137 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4138 <action function="page">filemanagerrenamefolder</action>
4139 </actions>
4140 </button>
4141
4142 <action>
4143 <touch key="home"/>
4144 <action function="page">main</action>
4145 </action>
4146
4147 <action>
4148 <touch key="back"/>
4149 <action function="page">filemanagerlist</action>
4150 </action>
4151 </page>
4152
4153 <page name="choosedestinationfolder">
4154 <template name="page"/>
4155
4156 <text style="text_l">
4157 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004158 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004159 </text>
4160
4161 <text style="text_m">
4162 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004163 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004164 </text>
4165
4166 <template name="sort_options"/>
4167
4168 <fileselector>
4169 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_quarter_width%" h="%fileselector_filemanager_height%"/>
4170 <text>%tw_file_location2%</text>
4171 <filter folders="1" files="0"/>
4172 <path name="tw_file_location2" default="/"/>
4173 <data name="tw_filename2"/>
4174 <selection name="tw_selection2"/>
4175 </fileselector>
4176
4177 <button style="main_button_half_width_low">
4178 <placement x="%col_button_right%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004179 <text>{@fm_sel_curr_folder=Select Current Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004180 <actions>
4181 <action function="set">tw_fm_text2=to</action>
4182 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4183 <action function="set">tw_include_text3=1</action>
4184 <action function="set">tw_back=filemanageroptions</action>
4185 <action function="page">filemanagerconfirm</action>
4186 </actions>
4187 </button>
4188
4189 <action>
4190 <touch key="home"/>
4191 <action function="page">main</action>
4192 </action>
4193
4194 <action>
4195 <touch key="back"/>
4196 <action function="page">filemanageroptions</action>
4197 </action>
4198 </page>
4199
4200 <page name="filemanagerrenamefile">
4201 <template name="page"/>
4202
4203 <text style="text_l">
4204 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004205 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004206 </text>
4207
4208 <text style="text_m">
4209 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004210 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004211 </text>
4212
4213 <text style="text_m_accent">
4214 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004215 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004216 </text>
4217
4218 <input>
4219 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4220 <text>%tw_filemanager_rename%</text>
4221 <data name="tw_filemanager_rename"/>
4222 <restrict minlen="1" maxlen="128"/>
4223 <actions>
4224 <action function="set">tw_fm_text2=to</action>
4225 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4226 <action function="set">tw_include_text3=1</action>
4227 <action function="set">tw_back=filemanageroptions</action>
4228 <action function="page">filemanagerconfirm</action>
4229 </actions>
4230 </input>
4231
4232 <fill color="%accent_color%">
4233 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4234 </fill>
4235
4236 <button style="main_button_half_width_low">
4237 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004238 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004239 <action function="page">filemanageroptions</action>
4240 </button>
4241
4242 <template name="keyboardtemplate"/>
4243
4244 <action>
4245 <touch key="home"/>
4246 <action function="page">main</action>
4247 </action>
4248
4249 <action>
4250 <touch key="back"/>
4251 <action function="page">filemanageroptions</action>
4252 </action>
4253 </page>
4254
4255 <page name="filemanagerrenamefolder">
4256 <template name="page"/>
4257
4258 <text style="text_l">
4259 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004260 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004261 </text>
4262
4263 <text style="text_m">
4264 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004265 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004266 </text>
4267
4268 <text style="text_m_accent">
4269 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004270 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004271 </text>
4272
4273 <input>
4274 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4275 <text>%tw_filemanager_rename%</text>
4276 <data name="tw_filemanager_rename"/>
4277 <restrict minlen="1" maxlen="128"/>
4278 <actions>
4279 <action function="set">tw_fm_text2=to</action>
4280 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4281 <action function="set">tw_include_text3=1</action>
4282 <action function="set">tw_back=filemanageroptions</action>
4283 <action function="page">filemanagerconfirm</action>
4284 </actions>
4285 </input>
4286
4287 <fill color="%accent_color%">
4288 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4289 </fill>
4290
4291 <button style="main_button_half_width_low">
4292 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004293 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004294 <action function="page">filemanageroptions</action>
4295 </button>
4296
4297 <template name="keyboardtemplate"/>
4298
4299 <action>
4300 <touch key="home"/>
4301 <action function="page">main</action>
4302 </action>
4303
4304 <action>
4305 <touch key="back"/>
4306 <action function="page">filemanageroptions</action>
4307 </action>
4308 </page>
4309
4310 <page name="filemanagerchmod">
4311 <template name="page"/>
4312
4313 <text style="text_l">
4314 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004315 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004316 </text>
4317
4318 <text style="text_m">
4319 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004320 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004321 </text>
4322
4323 <text style="text_m_accent">
4324 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004325 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004326 </text>
4327
4328 <input>
4329 <placement x="%col1_x_left%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4330 <text>%tw_filemanager_rename%</text>
4331 <data name="tw_filemanager_rename"/>
4332 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4333 <actions>
4334 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4335 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4336 <action function="set">tw_back=filemanageroptions</action>
4337 <action function="page">filemanagerconfirm</action>
4338 </actions>
4339 </input>
4340
4341 <fill color="%accent_color%">
4342 <placement x="%col1_x_left%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4343 </fill>
4344
4345 <button style="main_button_half_width_low">
4346 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004347 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004348 <action function="page">filemanageroptions</action>
4349 </button>
4350
4351 <template name="keyboardtemplate"/>
4352
4353 <action>
4354 <touch key="home"/>
4355 <action function="page">main</action>
4356 </action>
4357
4358 <action>
4359 <touch key="back"/>
4360 <action function="page">filemanageroptions</action>
4361 </action>
4362 </page>
4363
4364 <page name="filemanagerconfirm">
4365 <template name="page"/>
4366
4367 <text style="text_l">
4368 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004369 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004370 </text>
4371
4372 <text style="text_m">
4373 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004374 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004375 </text>
4376
4377 <text style="text_m_accent">
4378 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4379 <text>%tw_fm_text1%</text>
4380 </text>
4381
4382 <text style="text_m">
4383 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4384 <text>%tw_filename1%</text>
4385 </text>
4386
4387 <text style="text_m_accent">
4388 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4389 <text>%tw_fm_text2%</text>
4390 </text>
4391
4392 <text style="text_m">
4393 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4394 <text>%tw_fm_text3%</text>
4395 </text>
4396
4397 <text style="text_m">
4398 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004399 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004400 </text>
4401
4402 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004403 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004404 <action function="page">filemanageraction</action>
4405 </slider>
4406
4407 <action>
4408 <touch key="back"/>
4409 <action function="page">%tw_back%</action>
4410 </action>
4411
4412 <action>
4413 <touch key="home"/>
4414 <action function="page">main</action>
4415 </action>
4416 </page>
4417
4418 <page name="filemanageraction">
4419 <template name="page"/>
4420
4421 <text style="text_l">
4422 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004423 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004424 </text>
4425
4426 <text style="text_m">
4427 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4428 <text>%tw_fm_text1%</text>
4429 </text>
4430
4431 <template name="console"/>
4432
4433 <template name="progress_bar"/>
4434
4435 <action>
4436 <conditions>
4437 <condition var1="tw_operation_state" var2="1"/>
4438 <condition var1="tw_operation_status" var2="0"/>
4439 </conditions>
4440 <actions>
4441 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004442 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004443 <action function="page">action_complete</action>
4444 </actions>
4445 </action>
4446
4447 <action>
4448 <conditions>
4449 <condition var1="tw_operation_state" var2="1"/>
4450 <condition var1="tw_operation_status" op="!=" var2="0"/>
4451 </conditions>
4452 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004453 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004454 <action function="page">action_complete</action>
4455 </actions>
4456 </action>
4457
4458 <action>
4459 <condition var1="tw_include_text3" var2="0"/>
4460 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4461 </action>
4462
4463 <action>
4464 <condition var1="tw_include_text3" var2="1"/>
4465 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4466 </action>
4467 </page>
4468
4469 <page name="decrypt">
4470 <template name="page"/>
4471
4472 <action>
4473 <condition var1="tw_crypto_pwtype" var2="2"/>
4474 <action function="page">decrypt_pattern</action>
4475 </action>
4476
4477 <text style="text_l">
4478 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004479 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004480 </text>
4481
4482 <text style="text_m">
4483 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004484 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004485 </text>
4486
4487 <text style="text_m_accent">
Noah Jacobson5a79f672019-04-28 00:10:07 -04004488 <condition var1="tw_is_fbe" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01004489 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004490 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004491 </text>
4492
Noah Jacobson5a79f672019-04-28 00:10:07 -04004493 <text style="text_m_accent">
4494 <condition var1="tw_is_fbe" var2="1"/>
4495 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4496 <text>{@decrypt_data_enter_pass_fbe=Enter Password for User [%tw_crypto_user_id%]}</text>
4497 </text>
4498
z31s1g28f0a922015-11-07 18:50:22 +01004499 <input>
4500 <placement x="%col1_x_left%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4501 <text>%tw_crypto_display%</text>
4502 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4503 <restrict minlen="1" maxlen="254"/>
4504 <action function="page">trydecrypt</action>
4505 </input>
4506
4507 <fill color="%accent_color%">
4508 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4509 </fill>
4510
4511 <fill color="%text_fail_color%">
4512 <condition var1="tw_password_fail" var2="1"/>
4513 <placement x="%col1_x_left%" y="row5_y" w="%content_width%" h="input_line_width" placement="1"/>
4514 </fill>
4515
4516 <text style="text_m_fail">
4517 <condition var1="tw_password_fail" var2="1"/>
4518 <placement x="%col1_x_left%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004519 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004520 </text>
4521
4522 <button style="main_button_half_width_low">
4523 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004524 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004525 <actions>
4526 <action function="set">tw_page_done=1</action>
4527 <action function="page">main</action>
4528 </actions>
4529 </button>
4530
z31s1g608d7ff2016-01-18 19:47:25 +01004531 <button style="main_button_half_width_low">
4532 <placement x="%indent_right%" y="%row6_y%" placement="1"/>
4533 <text>{@sel_lang_btn=Select Language}</text>
4534 <action function="overlay">select_language</action>
4535 </button>
4536
z31s1g28f0a922015-11-07 18:50:22 +01004537 <template name="keyboardtemplate"/>
4538 </page>
4539
4540 <page name="decrypt_pattern">
4541 <template name="page"/>
4542
4543 <text style="text_l">
4544 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004545 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004546 </text>
4547
4548 <text style="text_m">
4549 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004550 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004551 </text>
4552
4553 <text style="text_m_accent">
Aleksa Saraib25a1832015-12-31 17:36:00 +01004554 <placement x="%col2_x_left%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004555 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004556 </text>
4557
Aleksa Saraib25a1832015-12-31 17:36:00 +01004558 <text style="text_m_fail">
4559 <condition var1="tw_password_fail" var2="1"/>
4560 <placement x="%col2_x_left%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004561 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004562 </text>
4563
z31s1g28f0a922015-11-07 18:50:22 +01004564 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004565 <placement x="%pattern_x%" y="%row4a_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004566 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4567 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4568 <data name="tw_crypto_password"/>
4569 <action function="page">trydecrypt</action>
4570 </patternpassword>
4571
Aleksa Saraib25a1832015-12-31 17:36:00 +01004572 <button style="main_button_half_width_low">
4573 <placement x="%col_button_right%" y="%row1a_y%"/>
4574 <text>3x3</text>
4575 <action function="set">tw_gui_pattern_grid_size=3</action>
4576 </button>
4577
4578 <button style="main_button_half_width_low">
4579 <placement x="%col_button_right%" y="%row4a_y%"/>
4580 <text>4x4</text>
4581 <action function="set">tw_gui_pattern_grid_size=4</action>
4582 </button>
4583
4584 <button style="main_button_half_width_low">
4585 <placement x="%col_button_right%" y="%row7a_y%"/>
4586 <text>5x5</text>
4587 <action function="set">tw_gui_pattern_grid_size=5</action>
4588 </button>
4589
4590 <button style="main_button_half_width_low">
4591 <placement x="%col_button_right%" y="%row10a_y%"/>
4592 <text>6x6</text>
4593 <action function="set">tw_gui_pattern_grid_size=6</action>
4594 </button>
4595
z31s1g28f0a922015-11-07 18:50:22 +01004596 <button style="main_button_half_width">
z31s1g608d7ff2016-01-18 19:47:25 +01004597 <placement x="%col1_x_right%" y="%row15a_y%"/>
4598 <text>{@sel_lang_btn=Select Language}</text>
4599 <action function="overlay">select_language</action>
4600 </button>
4601
4602 <button style="main_button_half_width">
z31s1g28f0a922015-11-07 18:50:22 +01004603 <placement x="%col2_x_right%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004604 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004605 <actions>
4606 <action function="set">tw_page_done=1</action>
4607 <action function="page">main</action>
4608 </actions>
4609 </button>
4610 </page>
4611
4612 <page name="trydecrypt">
4613 <template name="page"/>
4614
4615 <text style="text_l">
4616 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004617 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004618 </text>
4619
4620 <text style="text_m">
4621 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004622 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004623 </text>
4624
4625 <template name="console"/>
4626
4627 <template name="progress_bar"/>
4628
4629 <action>
4630 <action function="decrypt"/>
4631 </action>
4632
4633 <action>
4634 <conditions>
4635 <condition var1="tw_operation_state" var2="1"/>
4636 <condition var1="tw_operation_status" op="!=" var2="0"/>
4637 </conditions>
4638 <actions>
4639 <action function="set">tw_password_fail=1</action>
4640 <action function="page">decrypt</action>
4641 </actions>
4642 </action>
4643
4644 <action>
4645 <conditions>
4646 <condition var1="tw_operation_state" var2="1"/>
4647 <condition var1="tw_operation_status" op="=" var2="0"/>
4648 </conditions>
4649 <actions>
4650 <action function="set">tw_page_done=1</action>
4651 <action function="page">main</action>
4652 </actions>
4653 </action>
4654 </page>
4655
z31s1g28f0a922015-11-07 18:50:22 +01004656 <page name="terminalcommand">
4657 <template name="page"/>
4658
4659 <fill color="%background_color%">
4660 <placement x="0" y="%status_height%" w="%screen_width%" h="%header_height%"/>
4661 </fill>
4662
z31s1g56189522016-01-13 19:12:40 +01004663 <terminal>
4664 <condition var1="tw_hide_kb" var2="0"/>
4665 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_s_height%"/>
4666 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004667
z31s1g56189522016-01-13 19:12:40 +01004668 <terminal>
4669 <condition var1="tw_hide_kb" var2="1"/>
4670 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%terminal_l_height%"/>
4671 </terminal>
z31s1g28f0a922015-11-07 18:50:22 +01004672
z31s1g56189522016-01-13 19:12:40 +01004673 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004674
z31s1g56189522016-01-13 19:12:40 +01004675 <object type="fill" color="#000000">
4676 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
4677 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004678
z31s1g608d7ff2016-01-18 19:47:25 +01004679 <button>
z31s1g56189522016-01-13 19:12:40 +01004680 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4681 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4682 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4683 <image resource="back" />
4684 <condition var1="tw_busy" var2="0" />
4685 <actions>
4686 <action function="set">tw_hide_kb=0</action>
4687 <action function="page">advanced</action>
4688 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004689 </button>
z31s1g56189522016-01-13 19:12:40 +01004690
z31s1g608d7ff2016-01-18 19:47:25 +01004691 <button>
z31s1g56189522016-01-13 19:12:40 +01004692 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4693 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4694 <condition var1="tw_hide_kb" op="=" var2="0" />
4695 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4696 <image resource="kb_hide" />
4697 <condition var1="tw_busy" var2="0" />
4698 <actions>
4699 <action function="set">tw_hide_kb=1</action>
4700 <action function="page">terminalcommand</action>
4701 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004702 </button>
z31s1g56189522016-01-13 19:12:40 +01004703
z31s1g608d7ff2016-01-18 19:47:25 +01004704 <button>
z31s1g56189522016-01-13 19:12:40 +01004705 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4706 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4707 <condition var1="tw_hide_kb" op="=" var2="1" />
4708 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4709 <image resource="kb_show" />
4710 <condition var1="tw_busy" var2="0" />
4711 <actions>
4712 <action function="set">tw_hide_kb=0</action>
4713 <action function="page">terminalcommand</action>
4714 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004715 </button>
z31s1g56189522016-01-13 19:12:40 +01004716
z31s1g608d7ff2016-01-18 19:47:25 +01004717 <button>
z31s1g56189522016-01-13 19:12:40 +01004718 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4719 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4720 <image resource="home" />
4721 <condition var1="tw_busy" var2="0" />
4722 <actions>
4723 <action function="set">tw_hide_kb=0</action>
4724 <action function="key">home</action>
4725 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004726 </button>
z31s1g56189522016-01-13 19:12:40 +01004727
z31s1g608d7ff2016-01-18 19:47:25 +01004728 <button>
z31s1g56189522016-01-13 19:12:40 +01004729 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4730 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4731 <condition var1="tw_hide_kb" op="=" var2="0" />
4732 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4733 <image resource="kb_hide" />
4734 <condition var1="tw_busy" var2="0" />
4735 <actions>
4736 <action function="set">tw_hide_kb=1</action>
4737 <action function="page">terminalcommand</action>
4738 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004739 </button>
z31s1g56189522016-01-13 19:12:40 +01004740
z31s1g608d7ff2016-01-18 19:47:25 +01004741 <button>
z31s1g56189522016-01-13 19:12:40 +01004742 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4743 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4744 <condition var1="tw_hide_kb" op="=" var2="1" />
4745 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4746 <image resource="kb_show" />
4747 <condition var1="tw_busy" var2="0" />
4748 <actions>
4749 <action function="set">tw_hide_kb=0</action>
4750 <action function="page">terminalcommand</action>
4751 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004752 </button>
z31s1g56189522016-01-13 19:12:40 +01004753
z31s1g608d7ff2016-01-18 19:47:25 +01004754 <button>
z31s1g56189522016-01-13 19:12:40 +01004755 <condition var1="tw_navbar_button_position" op="=" var2="0" />
4756 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4757 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4758 <image resource="back" />
4759 <condition var1="tw_busy" var2="0" />
4760 <actions>
4761 <action function="set">tw_hide_kb=0</action>
4762 <action function="page">advanced</action>
4763 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004764 </button>
z31s1g56189522016-01-13 19:12:40 +01004765
z31s1g608d7ff2016-01-18 19:47:25 +01004766 <button>
z31s1g56189522016-01-13 19:12:40 +01004767 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4768 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4769 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4770 <image resource="back" />
4771 <condition var1="tw_busy" var2="0" />
4772 <actions>
4773 <action function="set">tw_hide_kb=0</action>
4774 <action function="page">advanced</action>
4775 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004776 </button>
z31s1g56189522016-01-13 19:12:40 +01004777
z31s1g608d7ff2016-01-18 19:47:25 +01004778 <button>
z31s1g56189522016-01-13 19:12:40 +01004779 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4780 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4781 <condition var1="tw_hide_kb" op="=" var2="0" />
4782 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4783 <image resource="kb_hide" />
4784 <condition var1="tw_busy" var2="0" />
4785 <actions>
4786 <action function="set">tw_hide_kb=1</action>
4787 <action function="page">terminalcommand</action>
4788 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004789 </button>
z31s1g56189522016-01-13 19:12:40 +01004790
z31s1g608d7ff2016-01-18 19:47:25 +01004791 <button>
z31s1g56189522016-01-13 19:12:40 +01004792 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4793 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4794 <condition var1="tw_hide_kb" op="=" var2="1" />
4795 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
4796 <image resource="kb_show" />
4797 <condition var1="tw_busy" var2="0" />
4798 <actions>
4799 <action function="set">tw_hide_kb=0</action>
4800 <action function="page">terminalcommand</action>
4801 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004802 </button>
z31s1g56189522016-01-13 19:12:40 +01004803
z31s1g608d7ff2016-01-18 19:47:25 +01004804 <button>
z31s1g56189522016-01-13 19:12:40 +01004805 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4806 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
4807 <image resource="home" />
4808 <condition var1="tw_busy" var2="0" />
4809 <actions>
4810 <action function="set">tw_hide_kb=0</action>
4811 <action function="key">home</action>
4812 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004813 </button>
z31s1g56189522016-01-13 19:12:40 +01004814
z31s1g608d7ff2016-01-18 19:47:25 +01004815 <button>
z31s1g56189522016-01-13 19:12:40 +01004816 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4817 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4818 <condition var1="tw_hide_kb" op="=" var2="0" />
4819 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4820 <image resource="kb_hide" />
4821 <condition var1="tw_busy" var2="0" />
4822 <actions>
4823 <action function="set">tw_hide_kb=1</action>
4824 <action function="page">terminalcommand</action>
4825 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004826 </button>
z31s1g56189522016-01-13 19:12:40 +01004827
z31s1g608d7ff2016-01-18 19:47:25 +01004828 <button>
z31s1g56189522016-01-13 19:12:40 +01004829 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4830 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4831 <condition var1="tw_hide_kb" op="=" var2="1" />
4832 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4833 <image resource="kb_show" />
4834 <condition var1="tw_busy" var2="0" />
4835 <actions>
4836 <action function="set">tw_hide_kb=0</action>
4837 <action function="page">terminalcommand</action>
4838 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004839 </button>
z31s1g56189522016-01-13 19:12:40 +01004840
z31s1g608d7ff2016-01-18 19:47:25 +01004841 <button>
z31s1g56189522016-01-13 19:12:40 +01004842 <condition var1="tw_navbar_button_position" op="=" var2="1" />
4843 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4844 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
4845 <image resource="back" />
4846 <condition var1="tw_busy" var2="0" />
4847 <actions>
4848 <action function="set">tw_hide_kb=0</action>
4849 <action function="page">advanced</action>
4850 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004851 </button>
z31s1g56189522016-01-13 19:12:40 +01004852
z31s1g608d7ff2016-01-18 19:47:25 +01004853 <button>
z31s1g56189522016-01-13 19:12:40 +01004854 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4855 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4856 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4857 <image resource="back" />
4858 <condition var1="tw_busy" var2="0" />
4859 <actions>
4860 <action function="set">tw_hide_kb=0</action>
4861 <action function="page">advanced</action>
4862 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004863 </button>
z31s1g56189522016-01-13 19:12:40 +01004864
z31s1g608d7ff2016-01-18 19:47:25 +01004865 <button>
z31s1g56189522016-01-13 19:12:40 +01004866 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4867 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4868 <condition var1="tw_hide_kb" op="=" var2="0" />
4869 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4870 <image resource="kb_hide" />
4871 <condition var1="tw_busy" var2="0" />
4872 <actions>
4873 <action function="set">tw_hide_kb=1</action>
4874 <action function="page">terminalcommand</action>
4875 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004876 </button>
z31s1g56189522016-01-13 19:12:40 +01004877
z31s1g608d7ff2016-01-18 19:47:25 +01004878 <button>
z31s1g56189522016-01-13 19:12:40 +01004879 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4880 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4881 <condition var1="tw_hide_kb" op="=" var2="1" />
4882 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
4883 <image resource="kb_show" />
4884 <condition var1="tw_busy" var2="0" />
4885 <actions>
4886 <action function="set">tw_hide_kb=0</action>
4887 <action function="page">terminalcommand</action>
4888 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004889 </button>
z31s1g56189522016-01-13 19:12:40 +01004890
z31s1g608d7ff2016-01-18 19:47:25 +01004891 <button>
z31s1g56189522016-01-13 19:12:40 +01004892 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4893 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
4894 <image resource="home" />
4895 <condition var1="tw_busy" var2="0" />
4896 <actions>
4897 <action function="set">tw_hide_kb=0</action>
4898 <action function="key">home</action>
4899 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004900 </button>
z31s1g56189522016-01-13 19:12:40 +01004901
z31s1g608d7ff2016-01-18 19:47:25 +01004902 <button>
z31s1g56189522016-01-13 19:12:40 +01004903 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4904 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4905 <condition var1="tw_hide_kb" op="=" var2="0" />
4906 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4907 <image resource="kb_hide" />
4908 <condition var1="tw_busy" var2="0" />
4909 <actions>
4910 <action function="set">tw_hide_kb=1</action>
4911 <action function="page">terminalcommand</action>
4912 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004913 </button>
z31s1g56189522016-01-13 19:12:40 +01004914
z31s1g608d7ff2016-01-18 19:47:25 +01004915 <button>
z31s1g56189522016-01-13 19:12:40 +01004916 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4917 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4918 <condition var1="tw_hide_kb" op="=" var2="1" />
4919 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4920 <image resource="kb_show" />
4921 <condition var1="tw_busy" var2="0" />
4922 <actions>
4923 <action function="set">tw_hide_kb=0</action>
4924 <action function="page">terminalcommand</action>
4925 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004926 </button>
z31s1g56189522016-01-13 19:12:40 +01004927
z31s1g608d7ff2016-01-18 19:47:25 +01004928 <button>
z31s1g56189522016-01-13 19:12:40 +01004929 <condition var1="tw_navbar_button_position" op="=" var2="2" />
4930 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4931 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
4932 <image resource="back" />
4933 <condition var1="tw_busy" var2="0" />
4934 <actions>
4935 <action function="set">tw_hide_kb=0</action>
4936 <action function="page">advanced</action>
4937 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004938 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004939
4940 <action>
4941 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004942 <actions>
4943 <action function="page">main</action>
4944 <action function="set">tw_hide_kb=0</action>
4945 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004946 </action>
4947
4948 <action>
4949 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004950 <actions>
4951 <action function="page">advanced</action>
4952 <action function="set">tw_hide_kb=0</action>
4953 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004954 </action>
z31s1g56189522016-01-13 19:12:40 +01004955
4956 <object type="action">
4957 <touch key="power+voldown" />
4958 <action function="screenshot" />
4959 </object>
z31s1g28f0a922015-11-07 18:50:22 +01004960 </page>
4961
4962 <page name="sideload">
4963 <template name="page"/>
4964
4965 <text style="text_l">
4966 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004967 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004968 </text>
4969
4970 <text style="text_m">
4971 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004972 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004973 </text>
4974
4975 <checkbox>
4976 <placement x="%col1_x_left%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004977 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004978 <data variable="tw_wipe_dalvik"/>
4979 </checkbox>
4980
4981 <checkbox>
4982 <placement x="%col1_x_left%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004983 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004984 <data variable="tw_wipe_cache"/>
4985 </checkbox>
4986
4987 <slider style="slider_centered">
Ethan Yonker74db1572015-10-28 12:44:49 -05004988 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004989 <actions>
4990 <action function="set">tw_back=advanced</action>
4991 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004992 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4993 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4994 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004995 <action function="set">tw_has_cancel=1</action>
4996 <action function="set">tw_show_reboot=1</action>
4997 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4998 <action function="page">action_page</action>
4999 </actions>
5000 </slider>
5001
5002 <action>
5003 <touch key="home"/>
5004 <action function="page">main</action>
5005 </action>
5006
5007 <action>
5008 <touch key="back"/>
5009 <action function="page">advanced</action>
5010 </action>
5011 </page>
5012
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005013 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01005014 <template name="page"/>
5015
5016 <text style="text_l">
5017 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005018 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005019 </text>
5020
5021 <text style="text_m">
5022 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005023 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005024 </text>
5025
5026 <text style="text_m_accent">
5027 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005028 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005029 </text>
5030
z31s1g28f0a922015-11-07 18:50:22 +01005031 <text style="text_m_fail">
5032 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005033 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005034 </text>
5035
5036 <text style="text_m_fail">
5037 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005038 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005039 </text>
5040
5041 <slider style="slider_centered">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005042 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005043 <actions>
5044 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06005045 <action function="set">tw_action=fixcontexts</action>
5046 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
5047 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05005048 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01005049 <action function="set">tw_show_reboot=1</action>
5050 <action function="page">action_page</action>
5051 </actions>
5052 </slider>
5053
5054 <action>
5055 <touch key="home"/>
5056 <action function="page">main</action>
5057 </action>
5058
5059 <action>
5060 <touch key="back"/>
5061 <action function="page">advanced</action>
5062 </action>
5063 </page>
5064
z31s1g28f0a922015-11-07 18:50:22 +01005065 <page name="slideout">
5066 <fill color="%background_color%">
5067 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
5068 </fill>
5069
5070 <console>
5071 <placement x="%col1_x_left%" y="%slideout_y%" w="%content_width%" h="%slideout_height%"/>
5072 </console>
5073
5074 <button>
5075 <fill color="%transparent%"/>
5076 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
5077 <action function="overlay"/>
5078 </button>
5079
5080 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06005081 <touch key="power"/>
5082 <action function="togglebacklight"/>
5083 </action>
5084
5085 <action>
z31s1g28f0a922015-11-07 18:50:22 +01005086 <touch key="power+voldown"/>
5087 <action function="screenshot"/>
5088 </action>
5089 </page>
5090
5091 <page name="select_storage">
5092 <fill color="%semi_transparent%">
5093 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5094 </fill>
5095
5096 <fill color="%background_color%">
5097 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5098 </fill>
5099
5100 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05005101 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005102 <data name="tw_storage_path"/>
5103 <listtype name="storage"/>
5104 </partitionlist>
5105
5106 <button style="button_third_width">
5107 <placement x="%dialog_button_x%" y="%row13_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05005108 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01005109 <actions>
5110 <action function="set">tw_clear_destination=%tw_back%</action>
5111 <action function="overlay"/>
5112 <action function="page">clear_vars</action>
5113 </actions>
5114 </button>
5115
5116 <fill color="#000000">
5117 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5118 </fill>
5119
5120 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005121 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5122 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5123 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5124 <image resource="back" />
5125 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005126 <actions>
5127 <action function="overlay"/>
5128 <action function="key">%tw_back%</action>
5129 </actions>
5130 </button>
5131
5132 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005133 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5134 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5135 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5136 <image resource="console" />
5137 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005138 <action function="overlay">slideout</action>
5139 </button>
5140
5141 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005142 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5143 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5144 <image resource="home" />
5145 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005146 <actions>
5147 <action function="overlay"/>
5148 <action function="key">home</action>
5149 </actions>
5150 </button>
5151
5152 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005153 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5154 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5155 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5156 <image resource="console" />
5157 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005158 <action function="overlay">slideout</action>
5159 </button>
5160
5161 <button>
z31s1g608d7ff2016-01-18 19:47:25 +01005162 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5163 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5164 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5165 <image resource="back" />
5166 <condition var1="tw_busy" var2="0" />
5167 <actions>
5168 <action function="overlay"/>
5169 <action function="key">%tw_back%</action>
5170 </actions>
5171 </button>
5172
5173 <button>
5174 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5175 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5176 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5177 <image resource="back" />
5178 <condition var1="tw_busy" var2="0" />
5179 <actions>
5180 <action function="overlay"/>
5181 <action function="key">%tw_back%</action>
5182 </actions>
5183 </button>
5184
5185 <button>
5186 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5187 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5188 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5189 <image resource="console" />
5190 <condition var1="tw_busy" var2="0" />
5191 <action function="overlay">slideout</action>
5192 </button>
5193
5194 <button>
5195 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5196 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5197 <image resource="home" />
5198 <condition var1="tw_busy" var2="0" />
5199 <actions>
5200 <action function="overlay"/>
5201 <action function="key">home</action>
5202 </actions>
5203 </button>
5204
5205 <button>
5206 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5207 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5208 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5209 <image resource="console" />
5210 <condition var1="tw_busy" var2="0" />
5211 <action function="overlay">slideout</action>
5212 </button>
5213
5214 <button>
5215 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5216 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5217 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5218 <image resource="back" />
5219 <condition var1="tw_busy" var2="0" />
5220 <actions>
5221 <action function="overlay"/>
5222 <action function="key">%tw_back%</action>
5223 </actions>
5224 </button>
5225
5226 <button>
5227 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5228 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5229 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5230 <image resource="back" />
5231 <condition var1="tw_busy" var2="0" />
5232 <actions>
5233 <action function="overlay"/>
5234 <action function="key">%tw_back%</action>
5235 </actions>
5236 </button>
5237
5238 <button>
5239 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5240 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5241 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5242 <image resource="console" />
5243 <condition var1="tw_busy" var2="0" />
5244 <action function="overlay">slideout</action>
5245 </button>
5246
5247 <button>
5248 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5249 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5250 <image resource="home" />
5251 <condition var1="tw_busy" var2="0" />
5252 <actions>
5253 <action function="overlay"/>
5254 <action function="key">home</action>
5255 </actions>
5256 </button>
5257
5258 <button>
5259 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5260 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5261 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5262 <image resource="console" />
5263 <condition var1="tw_busy" var2="0" />
5264 <action function="overlay">slideout</action>
5265 </button>
5266
5267 <button>
5268 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5269 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5270 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5271 <image resource="back" />
5272 <condition var1="tw_busy" var2="0" />
5273 <actions>
5274 <action function="overlay"/>
5275 <action function="key">%tw_back%</action>
5276 </actions>
5277 </button>
5278
5279 <action>
5280 <touch key="power+voldown"/>
5281 <action function="screenshot"/>
5282 </action>
5283 </page>
5284
5285 <page name="select_language">
5286 <fill color="%semi_transparent%">
5287 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5288 </fill>
5289
5290 <fill color="%background_color%">
5291 <placement x="%col2_x_left%" y="row4_y" w="%dialog_width%" h="%dialog_height%"/>
5292 </fill>
5293
5294 <listbox>
5295 <placement x="%dialog_content_x%" y="%row4_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5296 <text>{@select_language=Select Language:}</text>
5297 <icon selected="radio_true" unselected="radio_false" />
5298 <data name="tw_language" />
5299 </listbox>
5300
5301 <button style="button_third_width">
5302 <placement x="%dialog_button_x%" y="%row13_y%"/>
5303 <text>{@ok_btn=OK}</text>
5304 <actions>
5305 <action function="overlay"/>
5306 <action function="setlanguage"></action>
5307 </actions>
5308 </button>
5309
5310 <fill color="#000000">
5311 <placement x="0" y="navbar_y" w="%screen_width%" h="%navbar_height"/>
5312 </fill>
5313
5314 <button>
5315 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5316 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5317 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5318 <image resource="back" />
5319 <condition var1="tw_busy" var2="0" />
5320 <actions>
5321 <action function="overlay"/>
5322 <action function="key">%tw_back%</action>
5323 </actions>
5324 </button>
5325
5326 <button>
5327 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5328 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5329 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
5330 <image resource="console" />
5331 <condition var1="tw_busy" var2="0" />
5332 <action function="overlay">slideout</action>
5333 </button>
5334
5335 <button>
5336 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5337 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
5338 <image resource="home" />
5339 <condition var1="tw_busy" var2="0" />
5340 <actions>
5341 <action function="overlay"/>
5342 <action function="key">home</action>
5343 </actions>
5344 </button>
5345
5346 <button>
5347 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5348 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5349 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5350 <image resource="console" />
5351 <condition var1="tw_busy" var2="0" />
5352 <action function="overlay">slideout</action>
5353 </button>
5354
5355 <button>
5356 <condition var1="tw_navbar_button_position" op="=" var2="0" />
5357 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5358 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
5359 <image resource="back" />
5360 <condition var1="tw_busy" var2="0" />
5361 <actions>
5362 <action function="overlay"/>
5363 <action function="key">%tw_back%</action>
5364 </actions>
5365 </button>
5366
5367 <button>
5368 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5369 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5370 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5371 <image resource="back" />
5372 <condition var1="tw_busy" var2="0" />
5373 <actions>
5374 <action function="overlay"/>
5375 <action function="key">%tw_back%</action>
5376 </actions>
5377 </button>
5378
5379 <button>
5380 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5381 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5382 <placement x="%back_button_x_1%" y="%navbar_btn_y%" placement="4" />
5383 <image resource="console" />
5384 <condition var1="tw_busy" var2="0" />
5385 <action function="overlay">slideout</action>
5386 </button>
5387
5388 <button>
5389 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5390 <placement x="%home_button_x_1%" y="%navbar_btn_y%" placement="4" />
5391 <image resource="home" />
5392 <condition var1="tw_busy" var2="0" />
5393 <actions>
5394 <action function="overlay"/>
5395 <action function="key">home</action>
5396 </actions>
5397 </button>
5398
5399 <button>
5400 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5401 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5402 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5403 <image resource="console" />
5404 <condition var1="tw_busy" var2="0" />
5405 <action function="overlay">slideout</action>
5406 </button>
5407
5408 <button>
5409 <condition var1="tw_navbar_button_position" op="=" var2="1" />
5410 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5411 <placement x="%console_button_x_1%" y="%navbar_btn_y%" placement="4" />
5412 <image resource="back" />
5413 <condition var1="tw_busy" var2="0" />
5414 <actions>
5415 <action function="overlay"/>
5416 <action function="key">%tw_back%</action>
5417 </actions>
5418 </button>
5419
5420 <button>
5421 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5422 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5423 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5424 <image resource="back" />
5425 <condition var1="tw_busy" var2="0" />
5426 <actions>
5427 <action function="overlay"/>
5428 <action function="key">%tw_back%</action>
5429 </actions>
5430 </button>
5431
5432 <button>
5433 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5434 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5435 <placement x="%back_button_x_2%" y="%navbar_btn_y%" placement="4" />
5436 <image resource="console" />
5437 <condition var1="tw_busy" var2="0" />
5438 <action function="overlay">slideout</action>
5439 </button>
5440
5441 <button>
5442 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5443 <placement x="%home_button_x_2%" y="%navbar_btn_y%" placement="4" />
5444 <image resource="home" />
5445 <condition var1="tw_busy" var2="0" />
5446 <actions>
5447 <action function="overlay"/>
5448 <action function="key">home</action>
5449 </actions>
5450 </button>
5451
5452 <button>
5453 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5454 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
5455 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5456 <image resource="console" />
5457 <condition var1="tw_busy" var2="0" />
5458 <action function="overlay">slideout</action>
5459 </button>
5460
5461 <button>
5462 <condition var1="tw_navbar_button_position" op="=" var2="2" />
5463 <condition var1="tw_samsung_navbar" op="=" var2="1" />
5464 <placement x="%console_button_x_2%" y="%navbar_btn_y%" placement="4" />
5465 <image resource="back" />
5466 <condition var1="tw_busy" var2="0" />
z31s1g28f0a922015-11-07 18:50:22 +01005467 <actions>
5468 <action function="overlay"/>
5469 <action function="key">%tw_back%</action>
5470 </actions>
5471 </button>
5472
5473 <action>
5474 <touch key="power+voldown"/>
5475 <action function="screenshot"/>
5476 </action>
5477 </page>
Noah Jacobson5a79f672019-04-28 00:10:07 -04005478
5479 <page name="decrypt_users">
5480 <template name="page"/>
5481
5482 <text style="text_l">
5483 <placement x="%col1_x_header%" y="%row3_header_y%"/>
5484 <text>{@decrypt_users=Decrypt Users}</text>
5485 </text>
5486
5487 <text style="text_m_accent">
5488 <placement x="%center_x%" y="%row2_y%" placement="5"/>
5489 <text>{@decrypt_users_selection=Select a user ID to decrypt}</text>
5490 </text>
5491
5492 <listbox>
5493 <placement x="%col1_x_left%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
5494 <text>{@select_user=Select User}</text>
5495 <icon selected="radio_true" unselected="radio_false" />
5496 <data name="tw_crypto_user_id" />
5497 </listbox>
5498
5499 <button style="main_button_half_width">
5500 <placement x="%col2_x_right%" y="%row15a_y%"/>
5501 <text>{@decrypt_users=Decrypt Users}</text>
5502 <action function="set">tw_crypto_password=</action>
5503 <action function="set">tw_password_fail=0</action>
5504 <action function="page">decrypt</action>
5505 </button>
5506
5507 <action>
5508 <touch key="home"/>
5509 <action function="page">main</action>
5510 </action>
5511
5512 <action>
5513 <touch key="back"/>
5514 <action function="page">advanced</action>
5515 </action>
5516 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005517 </pages>
5518</recovery>