blob: e014cc53ae6cd0eb1d6ffbb9f0203ef8aa2cc6fc [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="main_button">
36 <highlight color="%highlight_color%"/>
37 <font resource="font_l" color="%text_button_color%"/>
38 <image resource="main_button"/>
39 </style>
40
41 <style name="main_button_half_height">
42 <highlight color="%highlight_color%"/>
43 <font resource="font_m" color="%text_button_color%"/>
44 <image resource="main_button_half_height"/>
45 </style>
46
47 <style name="main_button_half_height_full_width">
48 <highlight color="%highlight_color%"/>
49 <font resource="font_m" color="%text_button_color%"/>
50 <image resource="main_button_half_height_full_width"/>
51 </style>
52
53 <style name="button_third_width">
54 <highlight color="%highlight_color%"/>
55 <font resource="font_m" color="%text_button_color%"/>
56 <image resource="tab_3"/>
57 </style>
58
59 <style name="button_quarter_width">
60 <highlight color="%highlight_color%"/>
61 <font resource="font_m" color="%text_button_color%"/>
62 <image resource="tab_4"/>
63 </style>
64
65 <style name="fab">
66 <highlight color="%highlight_color%"/>
67 <placement x="%indent_right%" y="%row21a_y%" placement="1"/>
68 <font resource="font_m" color="%button_text_color%"/>
69 </style>
70
71 <style name="tab">
72 <highlight color="%highlight_color%"/>
z31s1g56a7a992016-01-23 17:06:40 +010073 <fill color="%transparent%"/>
z31s1g28f0a922015-11-07 18:50:22 +010074 <font resource="font_s" color="%text_button_color%"/>
75 </style>
76
77 <style name="console">
78 <fastscroll rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
79 <color foreground="%text_color%" background="%background_color%" scroll="%background_color%"/>
80 <font resource="fixed"/>
81 </style>
82
z31s1g56189522016-01-13 19:12:40 +010083 <style name="terminal">
84 <fastscroll linecolor="%transparent%" rectcolor="%accent_color%" w="%fastscroll_w%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
85 <background color="%background_color%"/>
86 <font resource="fixed" spacing="3" color="%text_color%"/>
87 </style>
88
z31s1g28f0a922015-11-07 18:50:22 +010089 <style name="fileselector">
90 <highlight color="%fileselector_highlight_color%"/>
91 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
92 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
93 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
94 <sort name="tw_gui_sort_order"/>
95 <icon folder="folder" file="file"/>
96 <background color="%background_color%"/>
97 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
98 </style>
99
100 <style name="listbox">
101 <highlight color="%fileselector_highlight_color%"/>
102 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
103 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
104 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
105 <icon selected="radio_true" unselected="radio_false"/>
106 <background color="%background_color%"/>
107 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
108 </style>
109
110 <style name="scrolllist">
111 <background color="%background_color%"/>
112 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%"/>
nkk711a230e42017-08-07 00:28:19 +0300113 <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 +0100114 </style>
115
116 <style name="partitionlist">
117 <highlight color="%fileselector_highlight_color%"/>
118 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
119 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
120 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
121 <icon selected="checkbox_true" unselected="checkbox_false"/>
122 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
123 <background color="%background_color%"/>
124 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
125 </style>
126
127 <style name="partitionlist_storage">
128 <highlight color="%fileselector_highlight_color%"/>
129 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
130 <header background="%background_color%" textcolor="%accent_color%" separatorcolor="%accent_color%" separatorheight="%fileselector_separatorheight%"/>
131 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
132 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
133 <icon selected="radio_true" unselected="radio_false"/>
134 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
135 <background color="%background_color%"/>
136 <font resource="font_m" spacing="%partitionlist_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%"/>
137 </style>
138
Ethan Yonker64e0a652018-07-25 09:52:17 -0500139 <style name="advanced_listbox">
140 <highlight color="%fileselector_highlight_color%"/>
141 <fastscroll linecolor="%fileselector_linecolor%" rectcolor="%accent_color%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%"/>
142 <separator color="%fileselector_linecolor%" height="%fileselector_separatorheight%"/>
143 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
144 <icon selected="handle" unselected="handle"/>
145 <background color="%background_color%"/>
146 <font resource="font_m" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%accent_color%"/>
147 </style>
148
z31s1g28f0a922015-11-07 18:50:22 +0100149 <style name="slider">
150 <placement x="%center_x%" y="%row23_y%"/>
151 <font resource="font_s" color="%text_color%"/>
152 <resource base="slider" used="slider_used" touch="slider_touch"/>
153 </style>
154
155 <style name="slidervalue">
156 <resource handle="handle"/>
157 <font resource="font_m" color="%text_color%"/>
158 <colors line="%fileselector_linecolor%"/>
159 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%"/>
160 </style>
Aleksa Saraib25a1832015-12-31 17:36:00 +0100161
162 <style name="patternpassword">
163 <size name="tw_gui_pattern_grid_size" default="3"/>
164 </style>
z31s1g28f0a922015-11-07 18:50:22 +0100165 </styles>
166
167 <pages>
168 <page name="main">
169 <action>
170 <actions>
171 <action function="set">tw_clear_destination=main2</action>
172 <action function="page">clear_vars</action>
173 </actions>
174 </action>
175 </page>
176
177 <page name="main2">
178 <template name="page"/>
179
180 <text style="text_l">
181 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500182 <text>{@twrp_header=Team Win Recovery Project}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100183 </text>
184
185 <text style="text_m">
186 <condition var1="tw_no_cpu_temp" var2="0"/>
187 <placement x="%col1_x_header%" y="%row4_header_y%"/>
188 <text>%tw_version%</text>
189 </text>
190
191 <button style="main_button">
192 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500193 <text>{@install_btn=Install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100194 <actions>
195 <action function="queueclear"/>
196 <action function="set">tw_selectimage=0</action>
197 <action function="page">install</action>
198 </actions>
199 </button>
200
201 <button style="main_button">
202 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500203 <text>{@wipe_btn=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100204 <action function="page">wipe</action>
205 </button>
206
207 <button style="main_button">
208 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500209 <text>{@backup_btn=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100210 <action function="page">backup</action>
211 </button>
212
213 <button style="main_button">
214 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500215 <text>{@restore_btn=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100216 <action function="page">restore</action>
217 </button>
218
219 <button style="main_button">
220 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500221 <text>{@mount_btn=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100222 <action function="page">mount</action>
223 </button>
224
225 <button style="main_button">
226 <placement x="%center_x%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500227 <text>{@settings_btn=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100228 <action function="page">settings</action>
229 </button>
230
231 <button style="main_button">
232 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500233 <text>{@advanced_btn=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100234 <action function="page">advanced</action>
235 </button>
236
237 <button style="main_button">
238 <placement x="%center_x%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500239 <text>{@reboot_btn=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100240 <action function="page">reboot</action>
241 </button>
242 </page>
243
244 <page name="install">
245 <template name="page"/>
246
247 <text style="text_l">
248 <condition var1="tw_selectimage" var2="0"/>
249 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500250 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100251 </text>
252
253 <text style="text_l">
254 <condition var1="tw_selectimage" var2="1"/>
255 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500256 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100257 </text>
258
259 <text style="text_m">
260 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500261 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100262 </text>
263
264 <template name="sort_options"/>
265
266 <fileselector>
267 <condition var1="tw_selectimage" var2="0"/>
268 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
269 <text>%tw_zip_location%</text>
270 <filter extn=".zip" folders="1" files="1"/>
271 <path name="tw_zip_location" default="/sdcard"/>
272 <data name="tw_filename"/>
273 <selection name="tw_file"/>
274 </fileselector>
275
276 <fileselector>
277 <condition var1="tw_selectimage" var2="1"/>
278 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
279 <text>%tw_zip_location%</text>
280 <filter extn=".img" folders="1" files="1"/>
281 <path name="tw_zip_location" default="/sdcard"/>
282 <data name="tw_filename"/>
283 <selection name="tw_file"/>
284 </fileselector>
285
286 <button style="main_button_half_height">
287 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500288 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100289 <actions>
290 <action function="set">tw_back=install</action>
291 <action function="overlay">select_storage</action>
292 </actions>
293 </button>
294
295 <button style="main_button_half_height">
296 <condition var1="tw_selectimage" var2="0"/>
297 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500298 <text>{@install_image_btn=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100299 <actions>
300 <action function="set">tw_selectimage=1</action>
301 <action function="page">install</action>
302 </actions>
303 </button>
304
305 <button style="main_button_half_height">
306 <condition var1="tw_selectimage" var2="1"/>
307 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500308 <text>{@install_zip_btn=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100309 <actions>
310 <action function="set">tw_selectimage=0</action>
311 <action function="page">install</action>
312 </actions>
313 </button>
314
315 <action>
316 <conditions>
317 <condition var1="tw_selectimage" var2="0"/>
318 <condition var1="tw_filename" op="modified"/>
319 </conditions>
320 <actions>
321 <action function="queuezip"/>
322 <action function="page">flash_confirm</action>
323 </actions>
324 </action>
325
326 <action>
327 <conditions>
328 <condition var1="tw_selectimage" var2="1"/>
329 <condition var1="tw_filename" op="modified"/>
330 </conditions>
331 <action function="page">flashimage_confirm</action>
332 </action>
333
334 <action>
335 <touch key="back"/>
336 <action function="page">main</action>
337 </action>
338
339 <action>
340 <touch key="home"/>
341 <action function="page">main</action>
342 </action>
343 </page>
344
345 <page name="flash_confirm">
346 <template name="page"/>
347
348 <text style="text_l">
349 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500350 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100351 </text>
352
353 <text style="text_m">
354 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500355 <text>{@zip_queue_count=%tw_zip_queue_count% of max of 10 Files queued}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100356 </text>
357
358 <text style="text_m_accent">
359 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500360 <text>{@zip_warn1=This operation may install incompatible}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100361 </text>
362
363 <text style="text_m_accent">
364 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500365 <text>{@zip_warn2=software and render your device unusable.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100366 </text>
367
368 <text style="text_m">
369 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500370 <text>{@zip_back_cancel=Press back to cancel adding this zip.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100371 </text>
372
373 <text style="text_m_accent">
374 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500375 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100376 </text>
377
378 <text style="text_m">
379 <placement x="%indent%" y="%row8_y%"/>
380 <text>%tw_zip_location%</text>
381 </text>
382
383 <text style="text_m_accent">
384 <placement x="%indent%" y="%row9a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500385 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100386 </text>
387
388 <text style="text_m">
389 <placement x="%indent%" y="%row10a_y%"/>
390 <text>%tw_file%</text>
391 </text>
392
393 <checkbox>
394 <placement x="%indent%" y="%row12_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500395 <text>{@zip_sig_chk=Zip signature verification}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100396 <data variable="tw_signed_zip_verify"/>
397 </checkbox>
398
399 <checkbox>
Matt Mowera8a89d12016-12-30 18:10:37 -0600400 <placement x="%indent%" y="%row13a_y%"/>
bigbiffa869fc72016-03-01 19:40:36 -0500401 <text>{@install_reboot_chk=Reboot after installation is complete}</text>
Matt Mowera8a89d12016-12-30 18:10:37 -0600402 <data variable="tw_install_reboot"/>
bigbiffa869fc72016-03-01 19:40:36 -0500403 </checkbox>
404
405 <checkbox>
Ethan Yonker75aa6152017-09-08 12:17:03 -0500406 <condition var1="tw_has_injecttwrp" var2="1"/>
nkk71b4c35912017-10-11 23:39:10 +0300407 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500408 <text>{@inject_twrp_chk=Inject TWRP after install}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100409 <data variable="tw_inject_after_zip"/>
410 </checkbox>
411
412 <button style="main_button_half_height">
413 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500414 <text>{@zip_add_btn=Add more Zips}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100415 <action function="page">install</action>
416 </button>
417
418 <button style="main_button_half_height">
419 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500420 <text>{@zip_clear_btn=Clear Zip Queue}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100421 <actions>
422 <action function="queueclear"/>
423 <action function="page">install</action>
424 </actions>
425 </button>
426
427 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500428 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100429 <action function="flash">flash_zip</action>
430 </slider>
431
432 <action>
433 <touch key="back"/>
434 <actions>
435 <action function="cancelzip"/>
436 <action function="page">install</action>
437 </actions>
438 </action>
439
440 <action>
441 <touch key="home"/>
442 <action function="page">main</action>
443 </action>
444 </page>
445
446 <page name="flash_zip">
447 <template name="page"/>
448
449 <text style="text_l">
450 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500451 <text>{@install_zip_count_hdr=Install Zip %tw_zip_index% of %tw_zip_queue_count%}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100452 </text>
453
454 <text style="text_m">
455 <placement x="%col1_x_header%" y="%row4_header_y%"/>
456 <text>%tw_file%</text>
457 </text>
458
459 <template name="console"/>
460
461 <template name="progress_bar"/>
462
463 <action>
464 <condition var1="tw_operation_state" var2="1"/>
465 <action function="page">flash_done</action>
466 </action>
467 </page>
468
469 <page name="flash_done">
470 <template name="page"/>
471
472 <text style="text_l">
473 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500474 <text>{@install_zip_hdr=Install Zip}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100475 </text>
476
477 <text style="text_m_fail">
478 <condition var1="tw_operation_status" op="!=" var2="0"/>
479 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500480 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100481 </text>
482
483 <text style="text_m">
484 <condition var1="tw_operation_status" var2="0"/>
485 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500486 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100487 </text>
488
489 <template name="console"/>
490
491 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500492 <condition var1="tw_ab_device" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +0100493 <placement x="%indent%" y="%row21a_y%"/>
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500494 <text>{@wipe_cache_dalvik_btn=Wipe Cache/Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100495 <actions>
496 <action function="set">tw_back=flash_done</action>
497 <action function="set">tw_action=wipe</action>
498 <action function="set">tw_action_param=/cache</action>
499 <action function="set">tw_has_action2=1</action>
500 <action function="set">tw_action2=wipe</action>
501 <action function="set">tw_action2_param=dalvik</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500502 <action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
503 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
504 <action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
505 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100506 <action function="page">confirm_action</action>
507 </actions>
508 </button>
509
510 <button style="main_button_half_height">
bigbiff bigbiff19874f12019-01-08 20:06:57 -0500511 <condition var1="tw_ab_device" var2="1"/>
512 <placement x="%indent%" y="%row21a_y%"/>
513 <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
514 <actions>
515 <action function="set">tw_back=flash_done</action>
516 <action function="set">tw_action=wipe</action>
517 <action function="set">tw_action_param=dalvik</action>
518 <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
519 <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
520 <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
521 <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
522 <action function="page">confirm_action</action>
523 </actions>
524 </button>
525
526 <button style="main_button_half_height">
z31s1g28f0a922015-11-07 18:50:22 +0100527 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500528 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100529 <actions>
530 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500531 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100532 </actions>
533 </button>
534
535 <action>
536 <touch key="back"/>
537 <actions>
538 <action function="set">tw_clear_destination=install</action>
539 <action function="page">clear_vars</action>
540 </actions>
541 </action>
542
543 <action>
544 <touch key="home"/>
545 <actions>
546 <action function="set">tw_clear_destination=main2</action>
547 <action function="page">clear_vars</action>
548 </actions>
549 </action>
Matt Mower9a2a2052016-05-31 21:31:22 -0500550
551 <action>
552 <conditions>
553 <condition var1="tw_install_reboot" var2="1"/>
554 <condition var1="tw_operation_status" var2="0"/>
555 <condition var1="tw_reboot_system" var2="1"/>
556 </conditions>
557 <actions>
558 <action function="set">tw_sleep=%tw_sleep_total%</action>
559 <action function="page">flash_sleep_and_reboot</action>
560 </actions>
561 </action>
562 </page>
563
564 <page name="flash_sleep_and_reboot">
565 <template name="page"/>
566
567 <text style="text_l">
568 <placement x="%col1_x_header%" y="%row3_header_y%"/>
569 <text>{@install_zip_hdr=Install Zip}</text>
570 </text>
571
572 <text style="text_m">
573 <placement x="%col1_x_header%" y="%row4_header_y%"/>
574 <text>{@install_reboot=Rebooting in %tw_sleep% second(s)}</text>
575 </text>
576
577 <template name="console"/>
578
579 <template name="progress_bar"/>
580
581 <button style="main_button_half_height">
582 <condition var1="tw_sleep" op="&gt;" var2="0"/>
583 <placement x="%center_x%" y="%row21a_y%"/>
584 <text>{@cancel_btn=Cancel}</text>
585 <actions>
586 <action function="set">tw_install_reboot=0</action>
587 <action function="page">flash_done</action>
588 </actions>
589 </button>
590
591 <action>
592 <conditions>
593 <condition var1="tw_sleep" var2="tw_sleep_total"/>
594 <condition var1="tw_install_reboot" var2="1"/>
595 </conditions>
596 <action function="sleepcounter">%tw_sleep_total%</action>
597 </action>
598
599 <action>
600 <conditions>
601 <condition var1="tw_sleep" var2="0"/>
602 <condition var1="tw_install_reboot" var2="1"/>
603 </conditions>
604 <actions>
605 <action function="sleep">50000</action>
606 <action function="set">tw_back=main2</action>
607 <action function="page">reboot_system_routine</action>
608 </actions>
609 </action>
z31s1g28f0a922015-11-07 18:50:22 +0100610 </page>
611
612 <page name="flashimage_confirm">
613 <template name="page"/>
614
615 <text style="text_l">
616 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500617 <text>{@install_image_hdr=Install Image}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100618 </text>
619
620 <text style="text_m">
621 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500622 <text>{@install_sel_target=Select Target Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100623 </text>
624
625 <text style="text_m_accent">
626 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500627 <text>{@folder=Folder:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100628 </text>
629
630 <text style="text_m">
631 <placement x="%indent%" y="%row3_y%"/>
632 <text>%tw_zip_location%</text>
633 </text>
634
635 <text style="text_m_accent">
636 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500637 <text>{@file=File:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100638 </text>
639
640 <text style="text_m">
641 <placement x="%indent%" y="%row5a_y%"/>
642 <text>%tw_file%</text>
643 </text>
644
645 <partitionlist>
646 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%partitionlist_flashimage_height%"/>
647 <icon selected="radio_true" unselected="radio_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500648 <text>{@flash_image_select=Select Partition to Flash Image:}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100649 <data name="tw_flash_partition"/>
650 <listtype name="flashimg"/>
651 </partitionlist>
652
653 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -0500654 <text>{@swipe_flash=Swipe to confirm Flash}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100655 <actions>
656 <action function="set">tw_back=flashimage_confirm</action>
657 <action function="set">tw_action=flashimage</action>
658 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500659 <action function="set">tw_action_text1={@flashing_image=Flashing Image...}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100660 <action function="set">tw_action_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -0500661 <action function="set">tw_complete_text1={@image_flashed=Image Flashed}</action>
z31s1g28f0a922015-11-07 18:50:22 +0100662 <action function="page">action_page</action>
663 </actions>
664 <action function="flashimage"/>
665 </slider>
666
667 <action>
668 <touch key="back"/>
669 <actions>
670 <action function="set">tw_clear_destination=install</action>
671 <action function="page">clear_vars</action>
672 </actions>
673 </action>
674
675 <action>
676 <touch key="home"/>
677 <actions>
678 <action function="set">tw_clear_destination=main2</action>
679 <action function="page">clear_vars</action>
680 </actions>
681 </action>
682 </page>
683
684 <page name="clear_vars">
685 <action>
686 <action function="set">tw_operation_state=0</action>
687 <action function="set">tw_text1=</action>
688 <action function="set">tw_text2=</action>
689 <action function="set">tw_text3=</action>
690 <action function="set">tw_text4=</action>
691 <action function="set">tw_action_text1=</action>
692 <action function="set">tw_action_text2=</action>
693 <action function="set">tw_action_param=</action>
694 <action function="set">tw_has_action2=0</action>
695 <action function="set">tw_action2=</action>
696 <action function="set">tw_action2_param=</action>
697 <action function="set">tw_has_cancel=0</action>
698 <action function="set">tw_cancel_action=</action>
699 <action function="set">tw_cancel_param=</action>
700 <action function="set">tw_show_exclamation=0</action>
701 <action function="set">tw_show_reboot=0</action>
702 <action function="page">%tw_clear_destination%</action>
703 </action>
704 </page>
705
Matt Mower908dd252016-05-25 02:26:50 -0500706 <page name="reboot_system_routine">
707 <action>
708 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -0500709 <action function="set">tw_action_param=system</action>
Matt Mower908dd252016-05-25 02:26:50 -0500710 <action function="set">tw_has_action2=0</action>
711 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
712 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
713 <action function="set">tw_text3=</action>
714 <action function="set">tw_text4=</action>
715 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
716 <action function="set">tw_action_text2=</action>
717 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
718 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
719 <action function="page">rebootcheck</action>
720 </action>
721 </page>
722
z31s1g28f0a922015-11-07 18:50:22 +0100723 <page name="confirm_action">
724 <template name="page"/>
725
726 <text style="text_l">
727 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500728 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100729 </text>
730
731 <text style="text_m">
732 <placement x="%col1_x_header%" y="%row4_header_y%"/>
733 <text/>
734 </text>
735
736 <text style="text_m_accent">
737 <placement x="%center_x%" y="%row2_y%" placement="5"/>
738 <text>%tw_text1%</text>
739 </text>
740
741 <text style="text_m_accent">
742 <placement x="%center_x%" y="%row3_y%" placement="5"/>
743 <text>%tw_text2%</text>
744 </text>
745
746 <text style="text_m">
747 <placement x="%center_x%" y="%row4_y%" placement="5"/>
748 <text>%tw_text3%</text>
749 </text>
750
751 <text style="text_m">
752 <placement x="%center_x%" y="%row5_y%" placement="5"/>
753 <text>%tw_text4%</text>
754 </text>
755
756 <text style="text_m">
757 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500758 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100759 </text>
760
761 <slider>
762 <text>%tw_slider_text%</text>
763 <action function="page">action_page</action>
764 </slider>
765
766 <action>
767 <touch key="back"/>
768 <actions>
769 <action function="set">tw_clear_destination=%tw_back%</action>
770 <action function="page">clear_vars</action>
771 </actions>
772 </action>
773
774 <action>
775 <touch key="home"/>
776 <action function="page">main</action>
777 </action>
778 </page>
779
780 <page name="action_page">
781 <template name="page"/>
782
783 <text style="text_l">
784 <placement x="%col1_x_header%" y="%row3_header_y%"/>
785 <text>%tw_action_text1%</text>
786 </text>
787
788 <text style="text_m">
789 <placement x="%col1_x_header%" y="%row4_header_y%"/>
790 <text>%tw_action_text2%</text>
791 </text>
792
793 <template name="console"/>
794
795 <template name="progress_bar"/>
796
797 <button style="main_button_half_height">
798 <condition var1="tw_has_cancel" var2="1"/>
799 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500800 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100801 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
802 </button>
803
804 <action>
805 <condition var1="tw_operation_state" var2="1"/>
806 <actions>
807 <action function="page">action_complete</action>
808 </actions>
809 </action>
810
811 <action>
812 <condition var1="tw_has_action2" var2="0"/>
813 <actions>
814 <action function="%tw_action%">%tw_action_param%</action>
815 </actions>
816 </action>
817
818 <action>
819 <condition var1="tw_has_action2" var2="1"/>
820 <actions>
821 <action function="%tw_action%">%tw_action_param%</action>
822 <action function="%tw_action2%">%tw_action2_param%</action>
823 </actions>
824 </action>
825 </page>
826
827 <page name="singleaction_page">
828 <template name="page"/>
829
830 <text style="text_l">
831 <placement x="%col1_x_header%" y="%row3_header_y%"/>
832 <text>%tw_action_text1%</text>
833 </text>
834
835 <text style="text_m">
836 <placement x="%col1_x_header%" y="%row4_header_y%"/>
837 <text>%tw_action_text2%</text>
838 </text>
839
840 <template name="console"/>
841
842 <template name="progress_bar"/>
843
844 <action>
845 <condition var1="tw_operation_state" var2="1"/>
846 <actions>
847 <action function="set">tw_page_done=1</action>
848 </actions>
849 </action>
850
851 <action>
852 <condition var1="tw_has_action2" var2="0"/>
853 <actions>
854 <action function="%tw_action%">%tw_action_param%</action>
855 </actions>
856 </action>
857
858 <action>
859 <condition var1="tw_has_action2" var2="1"/>
860 <actions>
861 <action function="%tw_action%">%tw_action_param%</action>
862 <action function="%tw_action2%">%tw_action2_param%</action>
863 </actions>
864 </action>
865 </page>
866
867 <page name="action_complete">
868 <template name="page"/>
869
870 <text style="text_l">
871 <placement x="%col1_x_header%" y="%row3_header_y%"/>
872 <text>%tw_complete_text1%</text>
873 </text>
874
875 <text style="text_m_fail">
876 <condition var1="tw_operation_status" op="!=" var2="0"/>
877 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500878 <text>{@failed=Failed}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100879 </text>
880
881 <text style="text_m">
882 <condition var1="tw_operation_status" var2="0"/>
883 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500884 <text>{@successful=Successful}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100885 </text>
886
887 <template name="console"/>
888
889 <button style="main_button_half_height">
890 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500891 <text>{@back_btn=Back}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100892 <actions>
893 <action function="set">tw_clear_destination=%tw_back%</action>
894 <action function="page">clear_vars</action>
895 </actions>
896 </button>
897
898 <button style="main_button_half_height">
899 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500900 <text>{@reboot_system_btn=Reboot System}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100901 <actions>
902 <action function="set">tw_back=main2</action>
Matt Mower908dd252016-05-25 02:26:50 -0500903 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +0100904 </actions>
905 </button>
906
907 <action>
908 <touch key="home"/>
909 <actions>
910 <action function="set">tw_clear_destination=main2</action>
911 <action function="page">clear_vars</action>
912 </actions>
913 </action>
914
915 <action>
916 <touch key="back"/>
917 <actions>
918 <action function="set">tw_clear_destination=%tw_back%</action>
919 <action function="page">clear_vars</action>
920 </actions>
921 </action>
922 </page>
923
924 <page name="filecheck">
925 <action>
926 <action function="fileexists">%tw_filecheck%</action>
927 </action>
928
929 <action>
930 <conditions>
931 <condition var1="tw_operation_state" var2="1"/>
932 <condition var1="tw_operation_status" var2="0"/>
933 </conditions>
934 <actions>
935 <action function="set">tw_fileexists=1</action>
936 <action function="page">%tw_existpage%</action>
937 </actions>
938 </action>
939
940 <action>
941 <conditions>
942 <condition var1="tw_operation_state" var2="1"/>
943 <condition var1="tw_operation_status" var2="1"/>
944 </conditions>
945 <actions>
946 <action function="set">tw_fileexists=0</action>
947 <action function="page">%tw_notexistpage%</action>
948 </actions>
949 </action>
950 </page>
951
952 <page name="rebootcheck">
953 <action>
954 <condition var1="tw_backup_system_size" op="&gt;=" var2="%tw_min_system%"/>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600955 <action function="page">appcheck</action>
z31s1g28f0a922015-11-07 18:50:22 +0100956 </action>
957
958 <action>
959 <condition var1="tw_backup_system_size" op="&lt;" var2="%tw_min_system%"/>
960 <action function="page">confirm_action</action>
961 </action>
962 </page>
963
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -0600964 <page name="appcheck">
965 <action>
966 <condition var1="tw_app_prompt" var2="1"/>
967 <action function="checkforapp"></action>
968 </action>
969
970 <action>
971 <condition var1="tw_app_prompt" op="!=" var2="1"/>
972 <action function="reboot">%tw_reboot_param%</action>
973 </action>
974
975 <action>
976 <condition var1="tw_app_install_status" var2="1"/>
977 <action function="page">rebootapp</action>
978 </action>
979
980 <action>
981 <condition var1="tw_app_install_status" var2="2"/>
982 <action function="reboot">%tw_reboot_param%</action>
983 </action>
984 </page>
985
z31s1g28f0a922015-11-07 18:50:22 +0100986 <page name="wipe">
987 <template name="page"/>
988
989 <text style="text_l">
990 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500991 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100992 </text>
993
994 <text style="text_m">
995 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -0500996 <text>{@factory_reset_hdr=Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +0100997 </text>
998
999 <text style="text_m_accent">
1000 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001001 <text>{@factory_reset1=Wipes Data, Cache, and Dalvik}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001002 </text>
1003
1004 <text style="text_m_accent">
1005 <condition var1="tw_has_data_media" var2="1"/>
1006 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001007 <text>{@factory_reset2=(not including internal storage)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001008 </text>
1009
1010 <text style="text_m_accent">
1011 <conditions>
1012 <condition var1="tw_has_android_secure" var2="1"/>
1013 <condition var1="fileexists" var2="/and-sec"/>
1014 </conditions>
1015 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001016 <text>{@android_secure=Android Secure}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001017 </text>
1018
1019 <text style="text_m_accent">
1020 <condition var1="tw_has_sdext_partition" var2="1"/>
1021 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001022 <text>{@sdext=SD-EXT}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001023 </text>
1024
1025 <text style="text_m">
1026 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001027 <text>{@factory_reset3=Most of the time this is}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001028 </text>
1029
1030 <text style="text_m">
1031 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001032 <text>{@factory_reset4=the only wipe that you need.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001033 </text>
1034
1035 <text style="text_m">
1036 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001037 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001038 </text>
1039
1040 <button style="main_button_half_height">
1041 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001042 <text>{@advanced_wipe_btn=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001043 <actions>
1044 <action function="set">partitionlisterror=0</action>
1045 <action function="page">advancedwipe</action>
1046 </actions>
1047 </button>
1048
1049 <button style="main_button_half_height">
1050 <condition var1="tw_has_data_media" var2="1"/>
1051 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001052 <text>{@format_data_btn=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001053 <action function="page">formatdata</action>
1054 </button>
1055
1056 <button style="main_button_half_height">
1057 <conditions>
1058 <condition var1="tw_is_encrypted" var2="1"/>
1059 <condition var1="tw_has_data_media" var2="0"/>
1060 </conditions>
1061 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001062 <text>{@wipe_enc_btn=Wipe Encryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001063 <actions>
1064 <action function="set">tw_back=wipe</action>
1065 <action function="set">tw_action=wipe</action>
1066 <action function="set">tw_action_param=DATAMEDIA</action>
1067 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001068 <action function="set">tw_text1={@wipe_enc_confirm=Wipe Encryption from Data?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001069 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001070 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1071 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
1072 <action function="set">tw_slider_text={@swipe_format_data=Swipe to Format Data}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001073 <action function="page">confirm_action</action>
1074 </actions>
1075 </button>
1076
1077 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001078 <text>{@swipe_factory_reset=Swipe to Factory Reset}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001079 <actions>
1080 <action function="set">tw_back=wipe</action>
1081 <action function="set">tw_action=wipe</action>
1082 <action function="set">tw_action_param=data</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001083 <action function="set">tw_action_text1={@factory_resetting=Factory Reset...}</action>
1084 <action function="set">tw_complete_text1={@factory_reset_complete=Factory Reset Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001085 <action function="page">action_page</action>
1086 </actions>
1087 </slider>
1088
1089 <action>
1090 <touch key="back"/>
1091 <action function="page">main</action>
1092 </action>
1093
1094 <action>
1095 <touch key="home"/>
1096 <action function="page">main</action>
1097 </action>
1098 </page>
1099
1100 <page name="advancedwipe">
1101 <template name="page"/>
1102
1103 <action>
1104 <action function="set">tw_wipe_list=</action>
1105 </action>
1106
1107 <text style="text_l">
1108 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001109 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001110 </text>
1111
1112 <text style="text_m">
1113 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001114 <text>{@advanced_wipe_hdr=Advanced Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001115 </text>
1116
1117 <partitionlist>
1118 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_wipe_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001119 <text>{@sel_part_wipe=Select Partitions to Wipe:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001120 <data name="tw_wipe_list"/>
1121 <listtype name="wipe"/>
1122 </partitionlist>
1123
1124 <text style="text_m_fail">
1125 <condition var1="partitionlisterror" var2="1"/>
1126 <placement x="%center_x%" y="%row17_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001127 <text>{@invalid_part_sel=Invalid partition selection}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001128 </text>
1129
1130 <button style="main_button_half_height_full_width">
1131 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001132 <text>{@repair_change_btn=Repair or Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001133 <actions>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001134 <action function="checkpartitionlist">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001135 <action function="page">checkpartitionlist</action>
1136 </actions>
1137 </button>
1138
1139 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001140 <text>{@swipe_wipe=Swipe to Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001141 <actions>
1142 <action function="set">tw_back=advancedwipe</action>
1143 <action function="set">tw_action=wipe</action>
1144 <action function="set">tw_action_param=LIST</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001145 <action function="set">tw_text1={@wipe_sel_confirm=Wipe Selected Partition(s)?}</action>
1146 <action function="set">tw_action_text1={@wiping_part=Wiping Partition(s)...}</action>
1147 <action function="set">tw_complete_text1={@wipe_complete=Wipe Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001148 <action function="page">action_page</action>
1149 </actions>
1150 </slider>
1151
1152 <action>
1153 <touch key="home"/>
1154 <action function="page">main</action>
1155 </action>
1156
1157 <action>
1158 <touch key="back"/>
1159 <action function="page">wipe</action>
1160 </action>
1161 </page>
1162
1163 <page name="formatdata">
1164 <template name="page"/>
1165
1166 <text style="text_l">
1167 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001168 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001169 </text>
1170
1171 <text style="text_m">
1172 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001173 <text>{@format_data_hdr=Format Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001174 </text>
1175
1176 <text style="text_m_fail">
1177 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001178 <text>{@format_data_ptr1=Format Data will wipe all of your apps,}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001179 </text>
1180
1181 <text style="text_m_fail">
1182 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001183 <text>{@format_data_ptr2=backups, pictures, videos, media, and}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001184 </text>
1185
1186 <text style="text_m_fail">
1187 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001188 <text>{@format_data_ptr3=removes encryption on internal storage.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001189 </text>
1190
Ethan Yonker66a19492015-12-10 10:19:45 -06001191 <text style="text_m_fail">
1192 <condition var1="tw_has_adopted_storage" var2="1"/>
1193 <placement x="%center_x%" y="%row5_y%" placement="5"/>
1194 <text>{@format_data_adopted=Including Adopted Storage}</text>
1195 </text>
1196
z31s1g28f0a922015-11-07 18:50:22 +01001197 <text style="text_m">
1198 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001199 <text>{@format_data_undo=This cannot be undone.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001200 </text>
1201
1202 <text style="text_m">
1203 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001204 <text>{@yes_continue=Type yes to continue. Press back to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001205 </text>
1206
1207 <input>
1208 <placement x="%indent%" y="%row10_y%" w="%content_width%" h="%input_height%"/>
1209 <text>%tw_confirm_formatdata%</text>
1210 <data name="tw_confirm_formatdata"/>
1211 <restrict minlen="3" maxlen="3" allow="yes"/>
1212 <action function="page">formatdata_confirm</action>
1213 </input>
1214
1215 <fill color="%accent_color%">
1216 <placement x="%indent%" y="row11_y" w="%content_width%" h="input_line_width"/>
1217 </fill>
1218
1219 <template name="keyboardtemplate"/>
1220
1221 <action>
1222 <touch key="home"/>
1223 <action function="page">main</action>
1224 </action>
1225
1226 <action>
1227 <touch key="back"/>
1228 <action function="page">wipe</action>
1229 </action>
1230 </page>
1231
1232 <page name="formatdata_confirm">
1233 <action>
1234 <condition var1="tw_confirm_formatdata" op="=" var2="yes"/>
1235 <actions>
1236 <action function="set">tw_back=formatdata</action>
1237 <action function="set">tw_action=wipe</action>
1238 <action function="set">tw_action_param=DATAMEDIA</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001239 <action function="set">tw_action_text1={@formatting_data=Formatting Data...}</action>
1240 <action function="set">tw_complete_text1={@format_data_complete=Data Format Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001241 <action function="page">action_page</action>
1242 </actions>
1243 </action>
1244
1245 <action>
1246 <condition var1="tw_confirm_formatdata" op="!=" var2="yes"/>
1247 <action function="page">formatdata</action>
1248 </action>
1249 </page>
1250
1251 <page name="checkpartitionlist">
1252 <action>
1253 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1254 <actions>
1255 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001256 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001257 <action function="page">partitionoptions</action>
1258 </actions>
1259 </action>
1260
1261 <action>
1262 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1263 <actions>
1264 <action function="set">partitionlisterror=1</action>
z31s1g28f0a922015-11-07 18:50:22 +01001265 <action function="page">advancedwipe</action>
1266 </actions>
1267 </action>
1268 </page>
1269
1270 <page name="partitionoptions">
1271 <template name="page"/>
1272
1273 <text style="text_l">
1274 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001275 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001276 </text>
1277
1278 <text style="text_m">
1279 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001280 <text>{@part_opt_hdr=Partition Options for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001281 </text>
1282
1283 <text style="text_m_accent">
1284 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001285 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001286 </text>
1287
1288 <text style="text_m_accent">
1289 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001290 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001291 </text>
1292
1293 <text style="text_m">
1294 <condition var1="tw_partition_is_present" var2="1"/>
1295 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001296 <text>{@part_present_yes=Present: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001297 </text>
1298
1299 <text style="text_m">
1300 <condition var1="tw_partition_is_present" var2="0"/>
1301 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001302 <text>{@part_present_no=Present: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001303 </text>
1304
1305 <text style="text_m">
1306 <condition var1="tw_partition_removable" var2="1"/>
1307 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001308 <text>{@part_removable_yes=Removable: Yes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001309 </text>
1310
1311 <text style="text_m">
1312 <condition var1="tw_partition_removable" var2="0"/>
1313 <placement x="%center_x%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001314 <text>{@part_removable_no=Removable: No}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001315 </text>
1316
1317 <text style="text_m">
1318 <placement x="%indent%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001319 <text>{@part_size=Size: %tw_partition_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001320 </text>
1321
1322 <text style="text_m">
1323 <placement x="%center_x%" y="%row7_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001324 <text>{@part_used=Used: %tw_partition_used%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001325 </text>
1326
1327 <text style="text_m">
1328 <placement x="%indent%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001329 <text>{@part_free=Free: %tw_partition_free%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001330 </text>
1331
1332 <text style="text_m">
1333 <placement x="%center_x%" y="%row9_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001334 <text>{@part_backup_size=Backup Size: %tw_partition_backup_size%MB}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001335 </text>
1336
1337 <button style="main_button_half_height">
1338 <condition var1="tw_partition_can_resize" op="=" var2="1"/>
1339 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001340 <text>{@resize_btn=Resize File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001341 <actions>
1342 <action function="set">tw_back=partitionoptions</action>
1343 <action function="set">tw_action=resize</action>
1344 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1345 <action function="set">tw_has_action2=1</action>
1346 <action function="set">tw_action2=getpartitiondetails</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001347 <action function="set">tw_action2_param=tw_wipe_list</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001348 <action function="set">tw_text1={@resize_confirm=Resize %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001349 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001350 <action function="set">tw_action_text1={@resizing=Resizing...}</action>
1351 <action function="set">tw_complete_text1={@resize_complete=Resize Complete}</action>
1352 <action function="set">tw_slider_text={@swipe_resize=Swipe to Resize}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001353 <action function="page">confirm_action</action>
1354 </actions>
1355 </button>
1356
1357 <button style="main_button_half_height">
1358 <condition var1="tw_partition_can_repair" op="=" var2="1"/>
1359 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001360 <text>{@repair_btn=Repair File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001361 <actions>
1362 <action function="set">tw_back=partitionoptions</action>
1363 <action function="set">tw_action=repair</action>
1364 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1365 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001366 <action function="set">tw_text1={@repair_confirm=Repair %tw_partition_name%?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001367 <action function="set">tw_text2=</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001368 <action function="set">tw_action_text1={@repairing=Repairing...}</action>
1369 <action function="set">tw_complete_text1={@repair_complete=Repair Complete}</action>
1370 <action function="set">tw_slider_text={@swipe_repair=Swipe to Repair}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001371 <action function="page">confirm_action</action>
1372 </actions>
1373 </button>
1374
1375 <button style="main_button_half_height">
1376 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001377 <text>{@change_fs_btn=Change File System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001378 <action function="page">selectfilesystem</action>
1379 </button>
1380
1381 <action>
1382 <touch key="home"/>
1383 <action function="page">main</action>
1384 </action>
1385
1386 <action>
1387 <touch key="back"/>
1388 <action function="page">advancedwipe</action>
1389 </action>
1390 </page>
1391
1392 <page name="refreshfilesystem">
1393 <action>
1394 <condition var1="tw_check_partition_list" op="=" var2="1"/>
1395 <actions>
1396 <action function="set">partitionlisterror=0</action>
Ethan Yonker483e9f42016-01-11 22:21:18 -06001397 <action function="getpartitiondetails">tw_wipe_list</action>
z31s1g28f0a922015-11-07 18:50:22 +01001398 <action function="page">selectfilesystem</action>
1399 </actions>
1400 </action>
1401
1402 <action>
1403 <condition var1="tw_check_partition_list" op="!=" var2="1"/>
1404 <actions>
1405 <action function="set">partitionlisterror=1</action>
1406 <action function="set">tw_wipe_list=</action>
1407 <action function="page">advancedwipe</action>
1408 </actions>
1409 </action>
1410 </page>
1411
1412 <page name="selectfilesystem">
1413 <template name="page"/>
1414
1415 <text style="text_l">
1416 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001417 <text>{@wipe_hdr=Wipe}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001418 </text>
1419
1420 <text style="text_m">
1421 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001422 <text>{@change_fs_for_hdr=Change File System for: %tw_partition_name%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001423 </text>
1424
1425 <text style="text_m_accent">
1426 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001427 <text>{@part_mount_point=Mount Point: %tw_partition_mount_point%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001428 </text>
1429
1430 <text style="text_m_accent">
1431 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001432 <text>{@part_curr_fs=File system: %tw_partition_file_system%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001433 </text>
1434
1435 <text style="text_m_fail">
1436 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001437 <text>{@change_fs_warn1=Some ROMs or kernels may not support some}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001438 </text>
1439
1440 <text style="text_m_fail">
1441 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001442 <text>{@change_fs_warn2=file systems. Proceed with caution!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001443 </text>
1444
1445 <button style="main_button_half_height">
1446 <condition var1="tw_partition_ext" op="=" var2="1"/>
1447 <placement x="%indent%" y="%row15a_y%"/>
1448 <text>EXT2</text>
1449 <actions>
1450 <action function="set">tw_back=refreshfilesystem</action>
1451 <action function="set">tw_action=changefilesystem</action>
1452 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1453 <action function="set">tw_action_new_file_system=ext2</action>
1454 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001455 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1456 <action function="set">tw_text2=EXT2</action>
1457 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1458 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1459 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001460 <action function="page">confirm_action</action>
1461 </actions>
1462 </button>
1463
1464 <button style="main_button_half_height">
1465 <condition var1="tw_partition_ext" op="=" var2="1"/>
1466 <placement x="%indent%" y="%row18a_y%"/>
1467 <text>EXT3</text>
1468 <actions>
1469 <action function="set">tw_back=refreshfilesystem</action>
1470 <action function="set">tw_action=changefilesystem</action>
1471 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1472 <action function="set">tw_action_new_file_system=ext3</action>
1473 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001474 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1475 <action function="set">tw_text2=EXT3</action>
1476 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1477 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1478 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001479 <action function="page">confirm_action</action>
1480 </actions>
1481 </button>
1482
1483 <button style="main_button_half_height">
1484 <condition var1="tw_partition_ext" op="=" var2="1"/>
1485 <placement x="%indent%" y="%row21a_y%"/>
1486 <text>EXT4</text>
1487 <actions>
1488 <action function="set">tw_back=refreshfilesystem</action>
1489 <action function="set">tw_action=changefilesystem</action>
1490 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1491 <action function="set">tw_action_new_file_system=ext4</action>
1492 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001493 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1494 <action function="set">tw_text2=EXT4</action>
1495 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1496 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1497 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001498 <action function="page">confirm_action</action>
1499 </actions>
1500 </button>
1501
1502 <button style="main_button_half_height">
1503 <condition var1="tw_partition_vfat" op="=" var2="1"/>
1504 <placement x="%center_x%" y="%row15a_y%"/>
1505 <text>FAT</text>
1506 <actions>
1507 <action function="set">tw_back=refreshfilesystem</action>
1508 <action function="set">tw_action=changefilesystem</action>
1509 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1510 <action function="set">tw_action_new_file_system=vfat</action>
1511 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001512 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1513 <action function="set">tw_text2=FAT</action>
1514 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1515 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1516 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001517 <action function="page">confirm_action</action>
1518 </actions>
1519 </button>
1520
1521 <button style="main_button_half_height">
1522 <condition var1="tw_partition_exfat" op="=" var2="1"/>
1523 <placement x="%center_x%" y="%row18a_y%"/>
1524 <text>exFAT</text>
1525 <actions>
1526 <action function="set">tw_back=refreshfilesystem</action>
1527 <action function="set">tw_action=changefilesystem</action>
1528 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1529 <action function="set">tw_action_new_file_system=exfat</action>
1530 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001531 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1532 <action function="set">tw_text2=exFAT</action>
1533 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1534 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1535 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001536 <action function="page">confirm_action</action>
1537 </actions>
1538 </button>
1539
1540 <button style="main_button_half_height">
1541 <condition var1="tw_partition_f2fs" op="=" var2="1"/>
1542 <placement x="%center_x%" y="%row21a_y%"/>
1543 <text>F2FS</text>
1544 <actions>
1545 <action function="set">tw_back=refreshfilesystem</action>
1546 <action function="set">tw_action=changefilesystem</action>
1547 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1548 <action function="set">tw_action_new_file_system=f2fs</action>
1549 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001550 <action function="set">tw_text1={@change_fs_confirm=Change %tw_partition_name%?}</action>
1551 <action function="set">tw_text2=F2FS</action>
1552 <action function="set">tw_action_text1={@formatting=Formatting...}</action>
1553 <action function="set">tw_complete_text1={@format_complete=Format Complete}</action>
1554 <action function="set">tw_slider_text={@swipe_change_fs=Swipe to Change}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001555 <action function="page">confirm_action</action>
1556 </actions>
1557 </button>
1558
1559 <action>
1560 <touch key="home"/>
1561 <action function="page">main</action>
1562 </action>
1563
1564 <action>
1565 <touch key="back"/>
1566 <action function="page">partitionoptions</action>
1567 </action>
1568 </page>
1569
1570 <page name="backup">
1571 <template name="page"/>
1572
1573 <text style="text_l">
1574 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001575 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001576 </text>
1577
1578 <text style="text_m">
1579 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001580 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001581 </text>
1582
1583 <template name="tabs_backup"/>
1584
1585 <fill color="%text_color%">
1586 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1587 </fill>
1588
1589 <button style="tab">
1590 <conditions>
1591 <condition var1="tw_include_encrypted_backup" var2="1"/>
1592 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001593 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001594 </conditions>
1595 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001596 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001597 <font resource="font_s" color="%text_color%"/>
1598 <actions>
1599 <action function="set">tw_password_not_match=0</action>
1600 <action function="page">backupencryption</action>
1601 </actions>
1602 </button>
1603
1604 <button style="tab">
1605 <conditions>
1606 <condition var1="tw_include_encrypted_backup" var2="1"/>
1607 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001608 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001609 </conditions>
1610 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001611 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001612 <font resource="font_s" color="%text_success_color%"/>
1613 <actions>
1614 <action function="set">tw_password_not_match=0</action>
1615 <action function="page">backupencryption</action>
1616 </actions>
1617 </button>
1618
1619 <text style="text_m_accent">
1620 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001621 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001622 </text>
1623
1624 <text style="text_m">
1625 <placement x="%indent%" y="%row4a_y%"/>
1626 <text>%tw_backup_name%</text>
1627 </text>
1628
1629 <fill color="%fileselector_linecolor%">
1630 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width"/>
1631 </fill>
1632
1633 <button>
bigbiffce8f83c2015-12-12 18:30:21 -05001634 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001635 <placement x="indent" y="%row3a_y%" w="%content_width%" h="%navbar_height%"/>
1636 <fill color="%transparent%"/>
1637 <actions>
1638 <action function="set">tw_fileexists=0</action>
1639 <action function="page">backupname1</action>
1640 </actions>
1641 </button>
1642
1643 <partitionlist>
1644 <placement x="%indent%" y="%row6_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001645 <text>{@sel_part_backup=Select Partitions to Backup:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001646 <data name="tw_backup_list"/>
1647 <listtype name="backup"/>
1648 </partitionlist>
1649
1650 <button style="main_button_half_height">
bigbiffce8f83c2015-12-12 18:30:21 -05001651 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001652 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001653 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001654 <actions>
1655 <action function="set">tw_back=backup</action>
1656 <action function="overlay">select_storage</action>
1657 </actions>
1658 </button>
1659
1660 <button style="main_button_half_height">
1661 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001662 <text>{@refresh_sizes_btn=Refresh Sizes}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001663 <actions>
1664 <action function="refreshsizes"/>
1665 <action function="page">backup</action>
1666 </actions>
1667 </button>
1668
1669 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05001670 <text>{@swipe_backup=Swipe to Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001671 <action function="page">backup_run</action>
1672 </slider>
1673
1674 <action>
1675 <touch key="home"/>
1676 <action function="page">main</action>
1677 </action>
1678
1679 <action>
1680 <touch key="back"/>
1681 <action function="page">main</action>
1682 </action>
1683 </page>
1684
1685 <page name="backup_options">
1686 <template name="page"/>
1687
1688 <text style="text_l">
1689 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001690 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001691 </text>
1692
1693 <text style="text_m">
1694 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001695 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001696 </text>
1697
1698 <template name="tabs_backup"/>
1699
1700 <fill color="%text_color%">
1701 <placement x="%tab3_col2_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1702 </fill>
1703
1704 <button style="tab">
1705 <conditions>
1706 <condition var1="tw_include_encrypted_backup" var2="1"/>
1707 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001708 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001709 </conditions>
1710 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001711 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001712 <font resource="font_s" color="%text_color%"/>
1713 <actions>
1714 <action function="set">tw_password_not_match=0</action>
1715 <action function="page">backupencryption</action>
1716 </actions>
1717 </button>
1718
1719 <button style="tab">
1720 <conditions>
1721 <condition var1="tw_include_encrypted_backup" var2="1"/>
1722 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001723 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001724 </conditions>
1725 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001726 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001727 <font resource="font_s" color="%text_success_color%"/>
1728 <actions>
1729 <action function="set">tw_password_not_match=0</action>
1730 <action function="page">backupencryption</action>
1731 </actions>
1732 </button>
1733
1734 <checkbox>
1735 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001736 <text>{@enable_backup_comp_chk=Enable compression}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001737 <data variable="tw_use_compression"/>
1738 </checkbox>
1739
1740 <checkbox>
1741 <placement x="%indent%" y="%row5_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04001742 <text>{@skip_digest_backup_chk=Skip Digest generation during backup}</text>
1743 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01001744 </checkbox>
1745
1746 <checkbox>
1747 <placement x="%indent%" y="%row6a_y%"/>
Matt Mowerbfccfb82016-04-25 23:22:31 -05001748 <text>{@disable_backup_space_chk=Disable free space check before backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001749 <data variable="tw_disable_free_space"/>
1750 </checkbox>
1751
Ethan Yonker1b190162016-12-05 15:25:19 -06001752 <text style="text_m">
1753 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01001754 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06001755 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
1756 </text>
1757
1758 <button style="main_button">
1759 <condition var1="tw_has_boot_slots" var2="1"/>
1760 <placement x="%indent%" y="%row19_y%"/>
1761 <text>{@boot_slot_a=Slot A}</text>
1762 <actions>
1763 <action function="set">tw_back=backup_options</action>
1764 <action function="set">tw_action=setbootslot</action>
1765 <action function="set">tw_action_param=A</action>
1766 <action function="set">tw_has_action2=0</action>
1767 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1768 <action function="set">tw_action_text2=</action>
1769 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1770 <action function="page">action_page</action>
1771 </actions>
1772 </button>
1773
1774 <button style="main_button">
1775 <condition var1="tw_has_boot_slots" var2="1"/>
1776 <placement x="%center_x%" y="%row19_y%"/>
1777 <text>{@boot_slot_b=Slot B}</text>
1778 <actions>
1779 <action function="set">tw_back=backup_options</action>
1780 <action function="set">tw_action=setbootslot</action>
1781 <action function="set">tw_action_param=B</action>
1782 <action function="set">tw_has_action2=0</action>
1783 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
1784 <action function="set">tw_action_text2=</action>
1785 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
1786 <action function="page">action_page</action>
1787 </actions>
1788 </button>
1789
z31s1g28f0a922015-11-07 18:50:22 +01001790 <action>
1791 <touch key="home"/>
1792 <action function="page">main</action>
1793 </action>
1794
1795 <action>
1796 <touch key="back"/>
1797 <action function="page">backup</action>
1798 </action>
1799 </page>
1800
1801 <page name="backupname1">
1802 <action>
Ethan Yonker74db1572015-10-28 12:44:49 -05001803 <condition var1="tw_backup_name" op="=" var2="{@auto_generate=(Auto Generate)}"/>
z31s1g28f0a922015-11-07 18:50:22 +01001804 <action function="generatebackupname"/>
1805 </action>
1806
1807 <action>
1808 <action function="page">backupname2</action>
1809 </action>
1810 </page>
1811
1812 <page name="backupname2">
1813 <template name="page"/>
1814
1815 <text style="text_l">
1816 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001817 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001818 </text>
1819
1820 <text style="text_m">
1821 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001822 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001823 </text>
1824
1825 <template name="tabs_backup"/>
1826
1827 <fill color="%text_color%">
1828 <placement x="0" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1829 </fill>
1830
1831 <button style="tab">
1832 <conditions>
1833 <condition var1="tw_include_encrypted_backup" var2="1"/>
1834 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001835 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001836 </conditions>
1837 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001838 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001839 <font resource="font_s" color="%text_color%"/>
1840 <actions>
1841 <action function="set">tw_password_not_match=0</action>
1842 <action function="page">backupencryption</action>
1843 </actions>
1844 </button>
1845
1846 <button style="tab">
1847 <conditions>
1848 <condition var1="tw_include_encrypted_backup" var2="1"/>
1849 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001850 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001851 </conditions>
1852 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001853 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001854 <font resource="font_s" color="%text_success_color%"/>
1855 <actions>
1856 <action function="set">tw_password_not_match=0</action>
1857 <action function="page">backupencryption</action>
1858 </actions>
1859 </button>
1860
1861 <text style="text_m_accent">
1862 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001863 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001864 </text>
1865
1866 <input>
1867 <placement x="%indent%" y="%row4_input_y%" w="%content_width%" h="%input_height%"/>
1868 <text>%tw_backup_name%</text>
1869 <data name="tw_backup_name"/>
1870 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
1871 <actions>
1872 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1873 <action function="set">tw_existpage=backupname2</action>
1874 <action function="set">tw_notexistpage=backup</action>
1875 <action function="page">filecheck</action>
1876 </actions>
1877 </input>
1878
1879 <fill color="%accent_color%">
1880 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1881 </fill>
1882
1883 <fill color="%text_fail_color%">
1884 <condition var1="tw_fileexists" var2="1"/>
1885 <placement x="%indent%" y="row5a_y" w="%content_width%" h="input_line_width" placement="1"/>
1886 </fill>
1887
1888 <text style="text_m_fail">
1889 <condition var1="tw_fileexists" var2="1"/>
1890 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001891 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001892 </text>
1893
1894 <button style="main_button_half_height">
1895 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001896 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001897 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001898 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001899 <action function="page">backup</action>
1900 </actions>
1901 </button>
1902
1903 <button style="main_button_half_height">
1904 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001905 <text>{@append_date_btn=Append Date}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001906 <action function="appenddatetobackupname"/>
1907 </button>
1908
1909 <template name="keyboardtemplate"/>
1910
1911 <action>
1912 <touch key="home"/>
1913 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001914 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001915 <action function="page">main</action>
1916 </actions>
1917 </action>
1918
1919 <action>
1920 <touch key="back"/>
1921 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05001922 <action function="set">tw_backup_name={@auto_generate=(Auto Generate)}</action>
z31s1g28f0a922015-11-07 18:50:22 +01001923 <action function="page">backup</action>
1924 </actions>
1925 </action>
1926 </page>
1927
1928 <page name="backupencryption">
1929 <template name="page"/>
1930
1931 <text style="text_l">
1932 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001933 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001934 </text>
1935
1936 <text style="text_m">
1937 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001938 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001939 </text>
1940
1941 <template name="tabs_backup"/>
1942
1943 <button style="tab">
1944 <conditions>
1945 <condition var1="tw_include_encrypted_backup" var2="1"/>
1946 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001947 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001948 </conditions>
1949 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001950 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001951 <font resource="font_s" color="%text_color%"/>
1952 <actions>
1953 <action function="set">tw_password_not_match=0</action>
1954 <action function="page">backupencryption</action>
1955 </actions>
1956 </button>
1957
1958 <button style="tab">
1959 <conditions>
1960 <condition var1="tw_include_encrypted_backup" var2="1"/>
1961 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05001962 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01001963 </conditions>
1964 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001965 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001966 <font resource="font_s" color="%text_success_color%"/>
1967 <actions>
1968 <action function="set">tw_password_not_match=0</action>
1969 <action function="page">backupencryption</action>
1970 </actions>
1971 </button>
1972
1973 <fill color="%text_color%">
1974 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
1975 </fill>
1976
1977 <text style="text_m_accent">
1978 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001979 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001980 </text>
1981
1982 <text style="text_m">
1983 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05001984 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01001985 </text>
1986
1987 <input>
1988 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
1989 <text>%tw_backup_encrypt_display%</text>
1990 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display"/>
1991 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
1992 <action function="page">backupencryption2</action>
1993 </input>
1994
1995 <fill color="%accent_color%">
1996 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
1997 </fill>
1998
1999 <fill color="%text_fail_color%">
2000 <condition var1="tw_password_not_match" var2="1"/>
2001 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2002 </fill>
2003
2004 <text style="text_m_fail">
2005 <condition var1="tw_password_not_match" var2="1"/>
2006 <placement x="%indent%" y="%row8a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002007 <text>{@pass_not_match=Passwords do not match!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002008 </text>
2009
2010 <button style="main_button_half_height">
2011 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002012 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002013 <actions>
2014 <action function="set">tw_encrypt_backup=0</action>
2015 <action function="set">tw_backup_password=</action>
2016 <action function="set">tw_backup_password2=</action>
2017 <action function="set">tw_backup_encrypt_display=</action>
2018 <action function="set">tw_backup_encrypt_display2=</action>
2019 <action function="page">backup</action>
2020 </actions>
2021 </button>
2022
2023 <template name="keyboardtemplate"/>
2024
2025 <action>
2026 <touch key="home"/>
2027 <action function="page">main</action>
2028 </action>
2029
2030 <action>
2031 <touch key="back"/>
2032 <action function="page">backup</action>
2033 </action>
2034 </page>
2035
2036 <page name="backupencryption2">
2037 <template name="page"/>
2038
2039 <text style="text_l">
2040 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002041 <text>{@backup_hdr=Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002042 </text>
2043
2044 <text style="text_m">
2045 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002046 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002047 </text>
2048
2049 <template name="tabs_backup"/>
2050
2051 <button style="tab">
2052 <conditions>
2053 <condition var1="tw_include_encrypted_backup" var2="1"/>
2054 <condition var1="tw_encrypt_backup" var2="0"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002055 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002056 </conditions>
2057 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002058 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002059 <font resource="font_s" color="%text_color%"/>
2060 <actions>
2061 <action function="set">tw_password_not_match=0</action>
2062 <action function="page">backupencryption</action>
2063 </actions>
2064 </button>
2065
2066 <button style="tab">
2067 <conditions>
2068 <condition var1="tw_include_encrypted_backup" var2="1"/>
2069 <condition var1="tw_encrypt_backup" var2="1"/>
bigbiffce8f83c2015-12-12 18:30:21 -05002070 <condition var1="tw_enable_adb_backup" op="!=" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01002071 </conditions>
2072 <placement x="%tab3_col3_x%" y="%row1_y%" w="%tab3_width%" h="%tab_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002073 <text>{@encryption_tab=ENCRYPTION}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002074 <font resource="font_s" color="%text_success_color%"/>
2075 <actions>
2076 <action function="set">tw_password_not_match=0</action>
2077 <action function="page">backupencryption</action>
2078 </actions>
2079 </button>
2080
2081 <fill color="%text_color%">
2082 <placement x="%tab3_col3_x%" y="%row_tab_y%" w="%tab3_width%" h="%tab_indicator_height%"/>
2083 </fill>
2084
2085 <text style="text_m_accent">
2086 <placement x="%center_x%" y="%row3a_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002087 <text>{@encrypt_backup=Encrypt your Backup?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002088 </text>
2089
2090 <text style="text_m">
2091 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002092 <text>{@enter_pass2=Enter Password again:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002093 </text>
2094
2095 <input>
2096 <placement x="%indent%" y="%row7_y%" w="%content_width%" h="%input_height%"/>
2097 <text>%tw_backup_encrypt_display2%</text>
2098 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2"/>
2099 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2100 <action function="page">checkbackuppassword</action>
2101 </input>
2102
2103 <fill color="%accent_color%">
2104 <placement x="%indent%" y="row8_y" w="%content_width%" h="input_line_width" placement="1"/>
2105 </fill>
2106
2107 <button style="main_button_half_height">
2108 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002109 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002110 <actions>
2111 <action function="set">tw_encrypt_backup=0</action>
2112 <action function="set">tw_backup_password=</action>
2113 <action function="set">tw_backup_password2=</action>
2114 <action function="set">tw_backup_encrypt_display=</action>
2115 <action function="set">tw_backup_encrypt_display2=</action>
2116 <action function="page">backup</action>
2117 </actions>
2118 </button>
2119
2120 <template name="keyboardtemplate"/>
2121
2122 <action>
2123 <touch key="home"/>
2124 <action function="page">main</action>
2125 </action>
2126
2127 <action>
2128 <touch key="back"/>
2129 <action function="page">backup</action>
2130 </action>
2131 </page>
2132
2133 <page name="checkbackuppassword">
2134 <action>
2135 <condition var1="tw_backup_password2" var2="tw_backup_password"/>
2136 <actions>
2137 <action function="set">tw_encrypt_backup=1</action>
2138 <action function="page">backup</action>
2139 </actions>
2140 </action>
2141
2142 <action>
2143 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password"/>
2144 <actions>
2145 <action function="set">tw_encrypt_backup=0</action>
2146 <action function="set">tw_password_not_match=1</action>
2147 <action function="set">tw_backup_password=</action>
2148 <action function="set">tw_backup_password2=</action>
2149 <action function="set">tw_backup_encrypt_display=</action>
2150 <action function="set">tw_backup_encrypt_display2=</action>
2151 <action function="page">backupencryption</action>
2152 </actions>
2153 </action>
2154 </page>
2155
2156 <page name="backup_run">
2157 <template name="page"/>
2158
2159 <text style="text_l">
2160 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2161 <text>%tw_operation%</text>
2162 </text>
2163
2164 <text style="text_m">
2165 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2166 <text>%tw_partition% Partition</text>
2167 </text>
2168
2169 <template name="console"/>
2170
2171 <template name="progress_bar"/>
2172
2173 <text style="text_m_accent">
2174 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002175 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002176 </text>
2177
2178 <text style="text_m">
2179 <placement x="%indent%" y="%row20_y%"/>
2180 <text>%tw_file_progress%</text>
2181 </text>
2182
2183 <text style="text_m">
2184 <placement x="%indent%" y="%row21_y%"/>
2185 <text>%tw_size_progress%</text>
2186 </text>
2187
2188 <button style="main_button_half_height">
2189 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002190 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002191 <action function="cancelbackup"/>
2192 </button>
2193
2194 <action>
2195 <action function="nandroid">backup</action>
2196 </action>
2197
2198 <action>
2199 <condition var1="tw_operation_state" var2="1"/>
2200 <condition var1="tw_cancel_backup" var2="0"/>
2201 <actions>
2202 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002203 <action function="set">tw_complete_text1={@backup_complete=Backup Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002204 <action function="set">tw_show_reboot=1</action>
2205 <action function="page">action_complete</action>
2206 </actions>
2207 </action>
2208
2209 <action>
2210 <condition var1="tw_operation_state" var2="1"/>
2211 <condition var1="tw_cancel_backup" var2="1"/>
2212 <actions>
2213 <action function="set">tw_back=backup</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002214 <action function="set">tw_complete_text1={@backup_cancel=Backup Cancelled}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002215 <action function="set">tw_show_reboot=1</action>
2216 <action function="page">action_complete</action>
2217 </actions>
2218 </action>
2219 </page>
2220
2221 <page name="restore">
2222 <template name="page"/>
2223
2224 <text style="text_l">
2225 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002226 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002227 </text>
2228
2229 <text style="text_m">
2230 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002231 <text>{@restore_sel_store_hdr=Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002232 </text>
2233
2234 <template name="sort_options"/>
2235
2236 <fileselector>
2237 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002238 <text>{@restore_sel_pack_fs=Select Package to Restore:}</text>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002239 <filter folders="1" files="1" nav="0" extn=".ab"/>
z31s1g28f0a922015-11-07 18:50:22 +01002240 <path name="tw_backups_folder"/>
2241 <data name="tw_restore" default=""/>
2242 <selection name="tw_restore_name"/>
2243 </fileselector>
2244
2245 <button style="main_button_half_height">
2246 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002247 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002248 <actions>
2249 <action function="set">tw_back=restore</action>
2250 <action function="overlay">select_storage</action>
2251 </actions>
2252 </button>
2253
2254 <action>
2255 <condition var1="tw_restore" op="modified"/>
2256 <actions>
2257 <action function="readBackup"/>
2258 <action function="page">restore_read</action>
2259 </actions>
2260 </action>
2261
2262 <action>
2263 <touch key="home"/>
2264 <action function="page">main</action>
2265 </action>
2266
2267 <action>
2268 <touch key="back"/>
2269 <action function="page">main</action>
2270 </action>
2271 </page>
2272
2273 <page name="restore_read">
2274 <action>
2275 <condition var1="tw_restore_encrypted" var2="1"/>
2276 <actions>
2277 <action function="set">tw_password_fail=0</action>
2278 <action function="page">restore_decrypt</action>
2279 </actions>
2280 </action>
2281
2282 <action>
2283 <condition var1="tw_restore_encrypted" var2="0"/>
2284 <actions>
2285 <action function="page">restore_select</action>
2286 </actions>
2287 </action>
2288 </page>
2289
2290 <page name="restore_decrypt">
2291 <template name="page"/>
2292
2293 <text style="text_l">
2294 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002295 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002296 </text>
2297
2298 <text style="text_m">
2299 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002300 <text>{@restore_enc_backup_hdr=Encrypted Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002301 </text>
2302
2303 <text style="text_m_accent">
2304 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002305 <text>{@enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002306 </text>
2307
2308 <input>
2309 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
2310 <text>%tw_restore_display%</text>
2311 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display"/>
2312 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_"/>
2313 <action function="page">try_restore_decrypt</action>
2314 </input>
2315
2316 <fill color="%accent_color%">
2317 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2318 </fill>
2319
2320 <fill color="%text_fail_color%">
2321 <condition var1="tw_password_fail" var2="1"/>
2322 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
2323 </fill>
2324
2325 <text style="text_m_fail">
2326 <condition var1="tw_password_fail" var2="1"/>
2327 <placement x="%indent%" y="%row5_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002328 <text>{@restore_dec_fail=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002329 </text>
2330
2331 <button style="main_button_half_height">
2332 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002333 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002334 <actions>
2335 <action function="set">tw_page_done=1</action>
2336 <action function="page">restore</action>
2337 </actions>
2338 </button>
2339
2340 <button style="main_button_half_height">
2341 <placement x="%center_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002342 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002343 <actions>
2344 <action function="set">tw_back=restore</action>
2345 <action function="set">tw_action=cmd</action>
2346 <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 -05002347 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
2348 <action function="set">tw_text2=%tw_restore_name%</action>
2349 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2350 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2351 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2352 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002353 <action function="page">confirm_action</action>
2354 </actions>
2355 </button>
2356
2357 <template name="keyboardtemplate"/>
2358
2359 <action>
2360 <touch key="home"/>
2361 <action function="page">main</action>
2362 </action>
2363
2364 <action>
2365 <touch key="back"/>
2366 <action function="page">restore</action>
2367 </action>
2368 </page>
2369
2370 <page name="try_restore_decrypt">
2371 <template name="page"/>
2372
2373 <text style="text_l">
2374 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002375 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002376 </text>
2377
2378 <text style="text_m">
2379 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002380 <text>{@restore_try_decrypt=Encrypted Backup - Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002381 </text>
2382
2383 <template name="console"/>
2384
2385 <template name="progress_bar"/>
2386
2387 <action>
2388 <action function="decrypt_backup"/>
2389 </action>
2390
2391 <action>
2392 <conditions>
2393 <condition var1="tw_operation_state" var2="1"/>
2394 <condition var1="tw_operation_status" op="!=" var2="0"/>
2395 </conditions>
2396 <actions>
2397 <action function="set">tw_password_fail=1</action>
2398 <action function="page">restore_decrypt</action>
2399 </actions>
2400 </action>
2401
2402 <action>
2403 <conditions>
2404 <condition var1="tw_operation_state" var2="1"/>
2405 <condition var1="tw_operation_status" op="=" var2="0"/>
2406 </conditions>
2407 <actions>
2408 <action function="set">tw_page_done=1</action>
2409 <action function="page">restore_select</action>
2410 </actions>
2411 </action>
2412 </page>
2413
2414 <page name="restore_select">
2415 <template name="page"/>
2416
2417 <text style="text_l">
2418 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002419 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002420 </text>
2421
2422 <text style="text_m">
2423 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002424 <text>{@restore_backup_date=Backup made on %tw_restore_file_date%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002425 </text>
2426
2427 <text style="text_m_accent">
2428 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002429 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002430 </text>
2431
2432 <text style="text_m">
2433 <placement x="%indent%" y="%row3_y%"/>
2434 <text>%tw_restore_name%</text>
2435 </text>
2436
2437 <fill color="%fileselector_linecolor%">
2438 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width"/>
2439 </fill>
2440
2441 <button>
2442 <placement x="indent" y="%row2_y%" w="%content_width%" h="%navbar_height%"/>
2443 <fill color="%transparent%"/>
2444 <actions>
2445 <action function="set">tw_backup_rename=%tw_restore_name%</action>
2446 <action function="set">tw_fileexists=0</action>
2447 <action function="page">renamebackup</action>
2448 </actions>
2449 </button>
2450
2451 <partitionlist>
2452 <placement x="%indent%" y="%row4a_y%" w="%content_width%" h="%partitionlist_backup_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002453 <text>{@restore_sel_part=Select Partitions to Restore:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002454 <data name="tw_restore_list" selectedlist="tw_restore_selected"/>
2455 <listtype name="restore"/>
2456 </partitionlist>
2457
2458 <checkbox>
bigbiff bigbiff19fb79c2016-09-05 21:04:51 -04002459 <condition var1="tw_enable_adb_backup" op="=" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01002460 <placement x="%indent%" y="%row17_y%"/>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04002461 <text>{@restore_enable_digest_chk=Enable Digest Verification of Backup Files}</text>
2462 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01002463 </checkbox>
2464
2465 <button style="main_button_half_height">
2466 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002467 <text>{@del_backup_btn=Delete Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002468 <actions>
2469 <action function="set">tw_back=restore</action>
2470 <action function="set">tw_action=cmd</action>
2471 <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 -05002472 <action function="set">tw_text1={@del_backup_confirm=Delete Backup?}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002473 <action function="set">tw_text2=%tw_restore_name%</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002474 <action function="set">tw_text4={@del_backup_confirm2=This cannot be undone!}</action>
2475 <action function="set">tw_action_text1={@deleting_backup=Deleting Backup...}</action>
2476 <action function="set">tw_complete_text1={@backup_deleted=Backup Delete Complete}</action>
2477 <action function="set">tw_slider_text={@swipe_delete=Swipe to Delete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002478 <action function="page">confirm_action</action>
2479 </actions>
2480 </button>
2481
2482 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05002483 <text>{@swipe_restore=Swipe to Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002484 <action function="page">restore_run</action>
2485 </slider>
2486
2487 <action>
2488 <touch key="home"/>
2489 <action function="page">main</action>
2490 </action>
2491
2492 <action>
2493 <touch key="back"/>
2494 <action function="page">restore</action>
2495 </action>
2496 </page>
2497
2498 <page name="renamebackup">
2499 <template name="page"/>
2500
2501 <text style="text_l">
2502 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002503 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002504 </text>
2505
2506 <text style="text_m">
2507 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002508 <text>{@rename_backup_hdr=Rename Backup}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002509 </text>
2510
2511 <text style="text_m_accent">
2512 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002513 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002514 </text>
2515
2516 <input>
2517 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
2518 <text>%tw_backup_rename%</text>
2519 <data name="tw_backup_rename"/>
2520 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]"/>
2521 <actions>
2522 <action function="set">tw_back=restore</action>
2523 <action function="set">tw_action=cmd</action>
2524 <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 -05002525 <action function="set">tw_text1={@rename_backup_confirm=Rename Backup?}</action>
2526 <action function="set">tw_text2={@rename_backup_confirm2=This cannot be undone!}</action>
2527 <action function="set">tw_action_text1={@renaming_backup=Renaming Backup...}</action>
2528 <action function="set">tw_complete_text1={@rename_backup_complete=Backup Rename Complete}</action>
2529 <action function="set">tw_slider_text={@swipe_to_rename=Swipe to Rename}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002530 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2531 <action function="set">tw_existpage=renamebackup</action>
2532 <action function="set">tw_notexistpage=confirm_action</action>
2533 <action function="page">filecheck</action>
2534 </actions>
2535 </input>
2536
2537 <fill color="%accent_color%">
2538 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2539 </fill>
2540
2541 <fill color="%text_fail_color%">
2542 <condition var1="tw_fileexists" var2="1"/>
2543 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
2544 </fill>
2545
2546 <text style="text_m_fail">
2547 <condition var1="tw_fileexists" var2="1"/>
2548 <placement x="%indent%" y="%row4a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002549 <text>{@backup_name_exists=A backup with that name already exists!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002550 </text>
2551
2552 <button style="main_button_half_height">
2553 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002554 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002555 <action function="page">restore_select</action>
2556 </button>
2557
2558 <template name="keyboardtemplate"/>
2559
2560 <action>
2561 <touch key="home"/>
2562 <action function="page">main</action>
2563 </action>
2564
2565 <action>
2566 <touch key="back"/>
2567 <action function="page">restore_select</action>
2568 </action>
2569 </page>
2570
2571 <page name="restore_run">
2572 <template name="page"/>
2573
2574 <text style="text_l">
2575 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002576 <text>{@restore_hdr=Restore}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002577 </text>
2578
2579 <text style="text_m">
2580 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2581 <text>%tw_operation% %tw_partition%</text>
2582 </text>
2583
2584 <template name="console"/>
2585
2586 <template name="progress_bar"/>
2587
2588 <text style="text_m_accent">
2589 <placement x="%indent%" y="%row19_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002590 <text>{@progress=Progress:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002591 </text>
2592
2593 <text style="text_m">
2594 <placement x="%indent%" y="%row20_y%"/>
2595 <text>%tw_size_progress%</text>
2596 </text>
2597
2598 <action>
2599 <condition var1="tw_operation_state" var2="1"/>
2600 <actions>
2601 <action function="set">tw_back=restore_select</action>
Matt Mower3c366972015-12-25 19:28:31 -06002602 <action function="set">tw_complete_text1={@restore_complete=Restore Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002603 <action function="set">tw_show_reboot=1</action>
2604 <action function="page">action_complete</action>
2605 </actions>
2606 </action>
2607
2608 <action>
2609 <action function="nandroid">restore</action>
2610 </action>
2611 </page>
2612
2613 <page name="mount">
2614 <template name="page"/>
2615
2616 <text style="text_l">
2617 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002618 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002619 </text>
2620
2621 <text style="text_m">
2622 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002623 <text>{@storage_hdr=Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002624 </text>
2625
2626 <partitionlist>
2627 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_mount_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002628 <text>{@mount_sel_part=Select Partitions to Mount:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002629 <listtype name="mount"/>
2630 </partitionlist>
2631
2632 <button style="checkbox">
2633 <condition var1="tw_mount_system_ro" op="=" var2="0"/>
2634 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002635 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002636 <image resource="checkbox_false"/>
2637 <action function="mountsystemtoggle">1</action>
2638 </button>
2639
2640 <button style="checkbox">
2641 <condition var1="tw_mount_system_ro" op="!=" var2="0"/>
2642 <placement x="%indent%" y="%row15a_y%" textplacement="6"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002643 <text>{@mount_sys_ro_chk=Mount system partition read-only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002644 <image resource="checkbox_true"/>
2645 <actions>
2646 <action function="set">tw_lifetime_writes=2</action>
2647 <action function="page">system_readonly_check</action>
2648 </actions>
2649 </button>
2650
2651 <button style="main_button_half_height">
2652 <condition var1="tw_has_usb_storage" var2="1"/>
2653 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002654 <text>{@mount_usb_storage_btn=Mount USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002655 <action function="page">usb_mount</action>
2656 </button>
2657
2658 <button style="main_button_half_height">
2659 <conditions>
2660 <condition var1="tw_is_encrypted" var2="1"/>
2661 <condition var1="tw_is_decrypted" var2="0"/>
2662 </conditions>
2663 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002664 <text>{@decrypt_data_btn=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002665 <action function="page">decrypt</action>
2666 </button>
2667
2668 <button style="main_button_half_height">
2669 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002670 <text>{@select_storage_btn=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002671 <actions>
2672 <action function="set">tw_back=mount</action>
2673 <action function="overlay">select_storage</action>
2674 </actions>
2675 </button>
2676
2677 <button style="main_button_half_height">
2678 <conditions>
2679 <condition var1="tw_has_mtp" var2="1"/>
2680 <condition var1="tw_mtp_enabled" var2="0"/>
2681 </conditions>
2682 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002683 <text>{@enable_mtp_btn=Enable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002684 <action function="startmtp"/>
2685 </button>
2686
2687 <button style="main_button_half_height">
2688 <conditions>
2689 <condition var1="tw_has_mtp" var2="1"/>
2690 <condition var1="tw_mtp_enabled" var2="1"/>
2691 </conditions>
2692 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002693 <text>{@disable_mtp_btn=Disable MTP}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002694 <action function="stopmtp"/>
2695 </button>
2696
2697 <action>
2698 <touch key="home"/>
2699 <action function="page">main</action>
2700 </action>
2701
2702 <action>
2703 <touch key="back"/>
2704 <action function="page">main</action>
2705 </action>
2706 </page>
2707
2708 <page name="usb_mount">
2709 <template name="page"/>
2710
2711 <text style="text_l">
2712 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002713 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002714 </text>
2715
2716 <text style="text_m">
2717 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002718 <text>{@usb_storage_hdr=USB Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002719 </text>
2720
2721 <text style="text_m_accent">
2722 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002723 <text>{@usb_stor_mnt1=USB Storage Mounted}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002724 </text>
2725
2726 <text style="text_m">
2727 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002728 <text>{@usb_stor_mnt2=Be sure to safely remove your device}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002729 </text>
2730
2731 <text style="text_m">
2732 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002733 <text>{@usb_stor_mnt3=from your computer before unmounting!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002734 </text>
2735
2736 <button style="main_button_half_height">
2737 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002738 <text>{@unmount_btn=Unmount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002739 <action function="page">usb_umount</action>
2740 </button>
2741
2742 <action>
2743 <action function="mount">usb</action>
2744 <action function="set">tw_busy=1</action>
2745 </action>
2746 </page>
2747
2748 <page name="usb_umount">
2749 <action>
2750 <action function="unmount">usb</action>
2751 </action>
2752
2753 <action>
2754 <action function="page">mount</action>
2755 <action function="set">tw_busy=0</action>
2756 </action>
2757 </page>
2758
2759 <page name="system_readonly_check">
2760 <action>
2761 <action function="checkpartitionlifetimewrites">/system</action>
2762 </action>
2763
2764 <action>
2765 <condition var1="tw_lifetime_writes" var2="1"/>
2766 <actions>
2767 <action function="mountsystemtoggle">0</action>
2768 <action function="page">mount</action>
2769 </actions>
2770 </action>
2771
2772 <action>
2773 <condition var1="tw_lifetime_writes" var2="0"/>
2774 <actions>
2775 <action function="set">tw_back=mount</action>
2776 <action function="page">system_readonly</action>
2777 </actions>
2778 </action>
2779 </page>
2780
2781 <page name="reboot">
2782 <template name="page"/>
2783
2784 <text style="text_l">
2785 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Matt Mower3c366972015-12-25 19:28:31 -06002786 <text>{@reboot_hdr=Reboot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002787 </text>
2788
2789 <button style="main_button">
2790 <condition var1="tw_reboot_system" var2="1"/>
2791 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002792 <text>{@rb_system_btn=System}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002793 <actions>
2794 <action function="set">tw_back=reboot</action>
Matt Mower908dd252016-05-25 02:26:50 -05002795 <action function="page">reboot_system_routine</action>
z31s1g28f0a922015-11-07 18:50:22 +01002796 </actions>
2797 </button>
2798
2799 <button style="main_button">
2800 <condition var1="tw_reboot_poweroff" var2="1"/>
2801 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002802 <text>{@rb_poweroff_btn=Power Off}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002803 <actions>
2804 <action function="set">tw_back=reboot</action>
2805 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002806 <action function="set">tw_action_param=poweroff</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002807 <action function="set">tw_reboot_param=poweroff</action>
z31s1g28f0a922015-11-07 18:50:22 +01002808 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002809 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2810 <action function="set">tw_text2={@no_ospo=sure you wish to power off?}</action>
2811 <action function="set">tw_action_text1={@turning_off=Turning Off...}</action>
2812 <action function="set">tw_complete_text1={@turning_off=Turning Off...}</action>
2813 <action function="set">tw_slider_text={@swipe_power_off=Swipe to Power Off}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002814 <action function="page">rebootcheck</action>
2815 </actions>
2816 </button>
2817
2818 <button style="main_button">
2819 <condition var1="tw_reboot_recovery" var2="1"/>
2820 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002821 <text>{@rb_recovery_btn=Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002822 <actions>
2823 <action function="set">tw_back=reboot</action>
2824 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002825 <action function="set">tw_action_param=recovery</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002826 <action function="set">tw_reboot_param=recovery</action>
z31s1g28f0a922015-11-07 18:50:22 +01002827 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002828 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2829 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2830 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2831 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2832 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002833 <action function="page">rebootcheck</action>
2834 </actions>
2835 </button>
2836
2837 <button style="main_button">
2838 <condition var1="tw_reboot_bootloader" var2="1"/>
2839 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002840 <text>{@rb_bootloader_btn=Bootloader}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002841 <actions>
2842 <action function="set">tw_back=reboot</action>
2843 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002844 <action function="set">tw_action_param=bootloader</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002845 <action function="set">tw_reboot_param=bootloader</action>
z31s1g28f0a922015-11-07 18:50:22 +01002846 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002847 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2848 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2849 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2850 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2851 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002852 <action function="page">rebootcheck</action>
2853 </actions>
2854 </button>
2855
2856 <button style="main_button">
2857 <condition var1="tw_download_mode" var2="1"/>
2858 <placement x="%indent%" y="%row13a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05002859 <text>{@rb_download_btn=Download}</text>
z31s1g28f0a922015-11-07 18:50:22 +01002860 <actions>
2861 <action function="set">tw_back=reboot</action>
2862 <action function="set">tw_action=reboot</action>
Ethan Yonker0afc1fd2017-03-22 15:27:47 -05002863 <action function="set">tw_action_param=download</action>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002864 <action function="set">tw_reboot_param=download</action>
z31s1g28f0a922015-11-07 18:50:22 +01002865 <action function="set">tw_has_action2=0</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05002866 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2867 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2868 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2869 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2870 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
z31s1g28f0a922015-11-07 18:50:22 +01002871 <action function="page">rebootcheck</action>
2872 </actions>
2873 </button>
2874
mauronofrioe9a49ef2018-10-03 13:38:16 +02002875 <button style="main_button">
2876 <condition var1="tw_edl_mode" var2="1"/>
2877 <placement x="%center_x%" y="%row13a_y%"/>
2878 <text>{@rb_edl_btn=Edl}</text>
2879 <actions>
2880 <action function="set">tw_back=reboot</action>
2881 <action function="set">tw_action=reboot</action>
2882 <action function="set">tw_action_param=edl</action>
2883 <action function="set">tw_reboot_param=edl</action>
2884 <action function="set">tw_has_action2=0</action>
2885 <action function="set">tw_text1={@no_os1=No OS Installed! Are you}</action>
2886 <action function="set">tw_text2={@no_osrb=sure you wish to reboot?}</action>
2887 <action function="set">tw_action_text1={@rebooting=Rebooting...}</action>
2888 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2889 <action function="set">tw_slider_text={@swipe_reboot=Swipe to Reboot}</action>
2890 <action function="page">rebootcheck</action>
2891 </actions>
2892 </button>
2893
Ethan Yonker1b190162016-12-05 15:25:19 -06002894 <text style="text_m">
2895 <condition var1="tw_has_boot_slots" var2="1"/>
Mauronofrio Matarrese1ecb6df2019-04-04 23:18:43 +01002896 <placement x="%center_x%" y="%row18_y%" placement="5"/>
Ethan Yonker1b190162016-12-05 15:25:19 -06002897 <text>{@current_boot_slot=Current Slot: %tw_active_slot%}</text>
2898 </text>
2899
2900 <button style="main_button">
2901 <condition var1="tw_has_boot_slots" var2="1"/>
2902 <placement x="%indent%" y="%row19_y%"/>
2903 <text>{@boot_slot_a=Slot A}</text>
2904 <actions>
2905 <action function="set">tw_back=reboot</action>
2906 <action function="set">tw_action=setbootslot</action>
2907 <action function="set">tw_action_param=A</action>
2908 <action function="set">tw_has_action2=0</action>
2909 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2910 <action function="set">tw_action_text2=</action>
2911 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2912 <action function="page">action_page</action>
2913 </actions>
2914 </button>
2915
2916 <button style="main_button">
2917 <condition var1="tw_has_boot_slots" var2="1"/>
2918 <placement x="%center_x%" y="%row19_y%"/>
2919 <text>{@boot_slot_b=Slot B}</text>
2920 <actions>
2921 <action function="set">tw_back=reboot</action>
2922 <action function="set">tw_action=setbootslot</action>
2923 <action function="set">tw_action_param=B</action>
2924 <action function="set">tw_has_action2=0</action>
2925 <action function="set">tw_action_text1={@changing_boot_slot=Changing Boot Slot}</action>
2926 <action function="set">tw_action_text2=</action>
2927 <action function="set">tw_complete_text1={@changing_boot_slot_complete=Change Boot Slot Complete}</action>
2928 <action function="page">action_page</action>
2929 </actions>
2930 </button>
2931
z31s1g28f0a922015-11-07 18:50:22 +01002932 <action>
2933 <touch key="home"/>
2934 <action function="page">main</action>
2935 </action>
2936
2937 <action>
2938 <touch key="back"/>
2939 <action function="page">main</action>
2940 </action>
2941 </page>
2942
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002943 <page name="rebootapp">
2944 <template name="page"/>
2945
2946 <text style="text_l">
2947 <placement x="%col1_x_header%" y="%row3_header_y%"/>
2948 <text>{@reboot_hdr=Reboot}</text>
2949 </text>
2950
2951 <text style="text_m">
2952 <placement x="%col1_x_header%" y="%row4_header_y%"/>
2953 <text>{@reboot_install_app_hdr=Install TWRP App?}</text>
2954 </text>
2955
2956 <text style="text_m_accent">
2957 <placement x="%center_x%" y="%row2_y%" placement="5"/>
2958 <text>{@reboot_install_app1=Would you like to install the Official TWRP App?}</text>
2959 </text>
2960
2961 <text style="text_m_accent">
2962 <placement x="%center_x%" y="%row3_y%" placement="5"/>
2963 <text>{@reboot_install_app2=The app can check for new TWRP versions.}</text>
2964 </text>
2965
2966 <checkbox>
2967 <placement x="%indent%" y="%row5_y%"/>
2968 <text>{@reboot_install_app_prompt_install=Prompt to install TWRP app if not installed}</text>
2969 <data variable="tw_app_prompt"/>
2970 </checkbox>
2971
2972 <checkbox>
2973 <condition var1="tw_mount_system_ro" var2="0"/>
2974 <placement x="%indent%" y="%row7_y%"/>
2975 <text>{@reboot_install_app_system=Install as a System App}</text>
2976 <data variable="tw_app_install_system"/>
2977 </checkbox>
2978
2979 <button style="main_button_half_height">
2980 <placement x="%indent%" y="%row16_y%"/>
Ethan Yonkerfa67cbf2018-07-20 12:22:33 -05002981 <text>{@install_cancel=Do not Install}</text>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06002982 <action function="reboot">%tw_reboot_param%</action>
2983 </button>
2984
2985 <slider>
2986 <text>{@swipe_to_install_app=Swipe to Install TWRP App}</text>
2987 <actions>
2988 <action function="set">tw_back=reboot</action>
2989 <action function="set">tw_action=installapp</action>
2990 <action function="set">tw_action_text1={@reboot_installing_app=Installing App...}</action>
2991 <action function="set">tw_action_text2=</action>
2992 <action function="set">tw_has_action2=1</action>
2993 <action function="set">tw_action2=reboot</action>
2994 <action function="set">tw_action2_param=%tw_reboot_param%</action>
2995 <action function="set">tw_complete_text1={@rebooting=Rebooting...}</action>
2996 <action function="page">action_page</action>
2997 </actions>
2998 </slider>
2999
3000 <action>
3001 <touch key="home"/>
3002 <actions>
3003 <action function="set">tw_app_install_status=0</action>
3004 <action function="page">main</action>
3005 </actions>
3006 </action>
3007
3008 <action>
3009 <touch key="back"/>
3010 <actions>
3011 <action function="set">tw_app_install_status=0</action>
3012 <action function="page">reboot</action>
3013 </actions>
3014 </action>
3015 </page>
3016
z31s1g28f0a922015-11-07 18:50:22 +01003017 <page name="system_readonly">
3018 <template name="page"/>
3019
3020 <text style="text_l">
3021 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003022 <text>{@sys_ro_hdr=Unmodified System Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003023 </text>
3024
3025 <text style="text_m_accent">
3026 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003027 <text>{@sys_ro_keep=Keep System Read only?}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003028 </text>
3029
3030 <text style="text_m">
3031 <placement x="%center_x%" y="%row4_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003032 <text>{@sys_rop1=TWRP can leave your system partition unmodified}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003033 </text>
3034
3035 <text style="text_m">
3036 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003037 <text>{@sys_rop2=to make it easier for you to take official updates.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003038 </text>
3039
3040 <text style="text_m">
3041 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003042 <text>{@sys_rop3=TWRP will be unable to prevent the stock ROM from}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003043 </text>
3044
3045 <text style="text_m">
3046 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003047 <text>{@sys_rop4=replacing TWRP and will not offer to root your device.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003048 </text>
3049
3050 <text style="text_m_fail">
3051 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003052 <text>{@sys_rop5=Installing zips or performing adb operations may still}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003053 </text>
3054
3055 <text style="text_m_fail">
3056 <placement x="%center_x%" y="%row10_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003057 <text>{@sys_rop6=modify the system partition.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003058 </text>
3059
3060 <checkbox>
3061 <condition var1="tw_is_encrypted" var2="0"/>
3062 <placement x="%indent%" y="%row15_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003063 <text>{@sys_ro_never_show_chk=Never show this screen during boot again}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003064 <data variable="tw_never_show_system_ro_page"/>
3065 </checkbox>
3066
3067 <button style="main_button_half_height">
3068 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003069 <text>{@sys_ro_keep_ro_btn=Keep Read Only}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003070 <actions>
3071 <action function="mountsystemtoggle">1</action>
3072 <action function="set">tw_page_done=1</action>
3073 <action function="page">%tw_back%</action>
3074 </actions>
3075 </button>
3076
z31s1g608d7ff2016-01-18 19:47:25 +01003077 <button style="main_button_half_height">
3078 <placement x="%center_x%" y="%row18a_y%"/>
3079 <text>{@sel_lang_btn=Select Language}</text>
3080 <action function="overlay">select_language</action>
3081 </button>
3082
z31s1g28f0a922015-11-07 18:50:22 +01003083 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003084 <text>{@swipe_allow_mod=Swipe to Allow Modifications}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003085 <actions>
3086 <action function="mountsystemtoggle">0</action>
3087 <action function="set">tw_page_done=1</action>
3088 <action function="page">%tw_back%</action>
3089 </actions>
3090 </slider>
3091 </page>
3092
3093 <page name="settings">
3094 <template name="page"/>
3095
3096 <text style="text_l">
3097 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003098 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003099 </text>
3100
3101 <text style="text_m">
3102 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003103 <text>{@settings_gen_hdr=General Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003104 </text>
3105
3106 <template name="tabs_settings"/>
3107
3108 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003109 <placement x="0" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003110 </fill>
3111
3112 <listbox style="scrolllist">
3113 <placement x="%indent%" y="%row3a_y%" w="%content_width%" h="%listbox_settings_height%"/>
3114 <icon selected="checkbox_true" unselected="checkbox_false"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003115 <listitem name="{@zip_sig_chk=Zip signature verification}">
z31s1g28f0a922015-11-07 18:50:22 +01003116 <data variable="tw_signed_zip_verify"/>
3117 </listitem>
Matt Mower8dc25b72016-04-25 23:06:53 -05003118 <listitem name="{@install_reboot_chk=Reboot after installation is complete}">
3119 <data variable="tw_install_reboot"/>
3120 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003121 <listitem name="{@use_rmrf_chk=Use rm -rf instead of formatting}">
z31s1g28f0a922015-11-07 18:50:22 +01003122 <data variable="tw_rm_rf"/>
3123 </listitem>
Matt Mowerbfccfb82016-04-25 23:22:31 -05003124 <listitem name="{@disable_backup_space_chk=Disable free space check before backup}">
3125 <data variable="tw_disable_free_space"/>
3126 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003127 <listitem name="{@skip_digest_backup_chk=Skip Digest generation during backup}">
3128 <data variable="tw_skip_digest_generate"/>
z31s1g28f0a922015-11-07 18:50:22 +01003129 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003130 <listitem name="{@restore_enable_digest_chk=Enable Digest verification of backup files}">
3131 <data variable="tw_skip_digest_check"/>
z31s1g28f0a922015-11-07 18:50:22 +01003132 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003133 <listitem name="{@use24clock_chk=Use 24-hour clock}">
z31s1g28f0a922015-11-07 18:50:22 +01003134 <data variable="tw_military_time"/>
3135 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003136 <listitem name="{@rev_navbar_chk=Reversed navbar layout}">
z31s1g28f0a922015-11-07 18:50:22 +01003137 <data variable="tw_samsung_navbar"/>
3138 </listitem>
Ethan Yonkerb4bff5e2016-12-16 07:47:58 -06003139 <listitem name="{@reboot_install_app_prompt_install=Prompt to install TWRP app on every reboot}">
3140 <data variable="tw_app_prompt"/>
3141 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003142 <listitem name="{@simact_chk=Simulate actions for theme testing}">
z31s1g28f0a922015-11-07 18:50:22 +01003143 <data variable="tw_simulate_actions"/>
3144 </listitem>
Ethan Yonker74db1572015-10-28 12:44:49 -05003145 <listitem name="{@simfail_chk=Simulate failure for actions}">
z31s1g28f0a922015-11-07 18:50:22 +01003146 <condition var1="tw_simulate_actions" var2="1"/>
3147 <data variable="tw_simulate_fail"/>
3148 </listitem>
bigbiff bigbiff56cf5642016-08-19 17:43:45 -04003149 <listitem name="{@sha2_chk=Use SHA2 for hashing}">
3150 <condition var1="tw_no_sha2" var2="0"/>
3151 <data variable="tw_use_sha2"/>
3152 </listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003153 </listbox>
3154
3155 <button style="main_button_half_height">
3156 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003157 <text>{@restore_defaults_btn=Restore Defaults}</text>
z31s1g56a7a992016-01-23 17:06:40 +01003158 <actions>
3159 <action function="set">tw_samsung_navbar=0</action>
3160 <action function="set">tw_tab_icons=0</action>
3161 <action function="restoredefaultsettings"/>
3162 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003163 </button>
3164
3165 <action>
3166 <touch key="home"/>
3167 <action function="page">main</action>
3168 </action>
3169
3170 <action>
3171 <touch key="back"/>
3172 <action function="page">main</action>
3173 </action>
3174 </page>
3175
3176 <page name="settings_timezone">
3177 <template name="page"/>
3178
3179 <text style="text_l">
3180 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003181 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003182 </text>
3183
3184 <text style="text_m">
3185 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003186 <text>{@time_zone_hdr=Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003187 </text>
3188
3189 <template name="tabs_settings"/>
3190
3191 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003192 <placement x="%tab5_col2_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003193 </fill>
3194
3195 <listbox>
3196 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_timezone_height%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003197 <text>{@sel_tz_list=Select Time Zone:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003198 <data name="tw_time_zone_guisel"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003199 <listitem name="{@utcm11=(UTC -11) Samoa, Midway Island}">BST11;BDT</listitem>
3200 <listitem name="{@utcm10=(UTC -10) Hawaii}">HST10;HDT</listitem>
3201 <listitem name="{@utcm9=(UTC -9) Alaska}">AST9;ADT</listitem>
3202 <listitem name="{@utcm8=(UTC -8) Pacific Time}">PST8;PDT,M3.2.0,M11.1.0</listitem>
3203 <listitem name="{@utcm7=(UTC -7) Mountain Time}">MST7;MDT,M3.2.0,M11.1.0</listitem>
3204 <listitem name="{@utcm6=(UTC -6) Central Time}">CST6;CDT,M3.2.0,M11.1.0</listitem>
3205 <listitem name="{@utcm5=(UTC -5) Eastern Time}">EST5;EDT,M3.2.0,M11.1.0</listitem>
3206 <listitem name="{@utcm4=(UTC -4) Atlantic Time}">AST4;ADT</listitem>
3207 <listitem name="{@utcm3=(UTC -3) Brazil, Buenos Aires}">GRNLNDST3;GRNLNDDT</listitem>
3208 <listitem name="{@utcm2=(UTC -2) Mid-Atlantic}">FALKST2;FALKDT</listitem>
3209 <listitem name="{@utcm1=(UTC -1) Azores, Cape Verde}">AZOREST1;AZOREDT</listitem>
3210 <listitem name="{@utc0=(UTC 0) London, Dublin, Lisbon}">GMT0;BST,M3.5.0,M10.5.0</listitem>
3211 <listitem name="{@utcp1=(UTC +1) Berlin, Brussels, Paris}">CET-1;CEST,M3.5.0,M10.5.0</listitem>
3212 <listitem name="{@utcp2=(UTC +2) Athens, Istanbul, South Africa}">WET-2;WET,M3.5.0,M10.5.0</listitem>
3213 <listitem name="{@utcp3=(UTC +3) Moscow, Baghdad}">SAUST-3;SAUDT</listitem>
3214 <listitem name="{@utcp4=(UTC +4) Abu Dhabi, Tbilisi, Muscat}">WST-4;WDT</listitem>
3215 <listitem name="{@utcp5=(UTC +5) Yekaterinburg, Islamabad}">PAKST-5;PAKDT</listitem>
3216 <listitem name="{@utcp6=(UTC +6) Almaty, Dhaka, Colombo}">TASHST-6;TASHDT</listitem>
3217 <listitem name="{@utcp7=(UTC +7) Bangkok, Hanoi, Jakarta}">THAIST-7;THAIDT</listitem>
3218 <listitem name="{@utcp8=(UTC +8) Beijing, Singapore, Hong Kong}">TAIST-8;TAIDT</listitem>
3219 <listitem name="{@utcp9=(UTC +9) Tokyo, Seoul, Yakutsk}">JST-9;JSTDT</listitem>
3220 <listitem name="{@utcp10=(UTC +10) Eastern Australia, Guam}">EET-10;EETDT</listitem>
3221 <listitem name="{@utcp11=(UTC +11) Vladivostok, Solomon Islands}">MET-11;METDT</listitem>
3222 <listitem name="{@utcp12=(UTC +12) Auckland, Wellington, Fiji}">NZST-12;NZDT</listitem>
z31s1g28f0a922015-11-07 18:50:22 +01003223 </listbox>
3224
3225 <text style="text_m_accent">
3226 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003227 <text>{@sel_tz_offset=Select Offset (usually 0): %tw_time_zone_guioffset%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003228 </text>
3229
3230 <button style="button_quarter_width">
3231 <placement x="%indent%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003232 <text>{@tz_offset_none=None}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003233 <action function="set">tw_time_zone_guioffset=0</action>
3234 </button>
3235
3236 <button style="button_quarter_width">
3237 <placement x="%btn4_col2_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003238 <text>{@tz_offset_15=15}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003239 <action function="set">tw_time_zone_guioffset=15</action>
3240 </button>
3241
3242 <button style="button_quarter_width">
3243 <placement x="%btn4_col3_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003244 <text>{@tz_offset_30=30}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003245 <action function="set">tw_time_zone_guioffset=30</action>
3246 </button>
3247
3248 <button style="button_quarter_width">
3249 <placement x="%btn4_col4_x%" y="%row16a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003250 <text>{@tz_offset_45=45}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003251 <action function="set">tw_time_zone_guioffset=45</action>
3252 </button>
3253
3254 <checkbox>
3255 <placement x="%indent%" y="%row18a_y%"/>
3256 <font resource="font_m" color="%text_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003257 <text>{@use_dst_chk=Use daylight savings time (DST)}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003258 <data variable="tw_time_zone_guidst"/>
3259 <image checked="checkbox_true" unchecked="checkbox_false"/>
3260 </checkbox>
3261
3262 <text color="%text_color%">
3263 <font resource="font_m"/>
3264 <placement x="%indent%" y="%row20_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003265 <text>{@curr_tz=Current Time Zone: %tw_time_zone%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003266 </text>
3267
3268 <button>
3269 <highlight color="%highlight_color%"/>
3270 <placement x="%center_x%" y="%row21a_y%"/>
3271 <font resource="font_m" color="%text_button_color%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003272 <text>{@set_tz_btn=Set Time Zone}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003273 <image resource="main_button_half_height"/>
3274 <action function="setguitimezone"/>
3275 </button>
3276
3277 <action>
3278 <touch key="home"/>
3279 <action function="page">main</action>
3280 </action>
3281
3282 <action>
3283 <touch key="back"/>
3284 <action function="page">main</action>
3285 </action>
3286 </page>
3287
3288 <page name="settings_screen">
3289 <template name="page"/>
3290
3291 <text style="text_l">
3292 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003293 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003294 </text>
3295
3296 <text style="text_m">
3297 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003298 <text>{@settings_screen_hdr=Screen Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003299 </text>
3300
3301 <template name="tabs_settings"/>
3302
3303 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003304 <placement x="%tab5_col3_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003305 </fill>
3306
3307 <button>
3308 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3309 <font resource="font_m" color="%text_color%"/>
3310 <condition var1="tw_screen_timeout_secs" op="=" var2="0"/>
3311 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003312 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003313 <image resource="checkbox_false"/>
3314 <action function="set">tw_screen_timeout_secs=60</action>
3315 </button>
3316
3317 <button>
3318 <placement x="%indent%" y="%row3a_y%" textplacement="6"/>
3319 <font resource="font_m" color="%text_color%"/>
3320 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3321 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003322 <text>{@enable_timeout_chk=Enable screen timeout}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003323 <image resource="checkbox_true"/>
3324 <action function="set">tw_screen_timeout_secs=0</action>
3325 </button>
3326
3327 <slidervalue>
3328 <condition var1="tw_screen_timeout_secs" op="!=" var2="0"/>
3329 <condition var1="tw_no_screen_timeout" op="!=" var2="1"/>
3330 <placement x="indent" y="%row5_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003331 <text>{@screen_to_slider=Screen timeout in seconds:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003332 <data variable="tw_screen_timeout_secs" min="15" max="300"/>
3333 </slidervalue>
3334
3335 <slidervalue>
3336 <condition var1="tw_has_brightnesss_file" var2="1"/>
3337 <placement x="indent" y="%row10_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003338 <text>{@screen_bright_slider=Brightness: %tw_brightness_pct%%}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003339 <data variable="tw_brightness_pct" min="10" max="100"/>
3340 <actions>
3341 <action function="set">tw_brightness=%tw_brightness_max%</action>
3342 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3343 <action function="compute">tw_brightness/100</action>
3344 <action function="setbrightness">%tw_brightness%</action>
3345 </actions>
3346 </slidervalue>
3347
3348 <action>
3349 <touch key="home"/>
3350 <action function="page">main</action>
3351 </action>
3352
3353 <action>
3354 <touch key="back"/>
3355 <action function="page">main</action>
3356 </action>
3357 </page>
3358
3359 <page name="settings_vibration">
3360 <template name="page"/>
3361
3362 <text style="text_l">
3363 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003364 <text>{@settings_hdr=Settings}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003365 </text>
3366
3367 <text style="text_m">
3368 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003369 <text>{@vibration_hdr=Vibration}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003370 </text>
3371
3372 <template name="tabs_settings"/>
3373
3374 <fill color="%text_color%">
Ethan Yonker74db1572015-10-28 12:44:49 -05003375 <placement x="%tab5_col4_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01003376 </fill>
3377
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003378 <text style="text_m">
3379 <condition var1="tw_disable_haptics" var2="1"/>
3380 <placement x="%indent%" y="%row4_y%"/>
3381 <text>{@vibration_disabled=Vibration Disabled for Device}</text>
3382 </text>
3383
z31s1g28f0a922015-11-07 18:50:22 +01003384 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003385 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003386 <placement x="indent" y="%row4_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003387 <text>{@button_vibration=Button Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003388 <data variable="tw_button_vibrate" min="0" max="300"/>
3389 </slidervalue>
3390
3391 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003392 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003393 <placement x="indent" y="%row9_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003394 <text>{@kb_vibration=Keyboard Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003395 <data variable="tw_keyboard_vibrate" min="0" max="300"/>
3396 </slidervalue>
3397
3398 <slidervalue>
bigbiff bigbiff3ed778a2019-03-12 19:28:31 -04003399 <condition var1="tw_disable_haptics" var2="0"/>
z31s1g28f0a922015-11-07 18:50:22 +01003400 <placement x="indent" y="%row14_y%" w="%content_width%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003401 <text>{@act_vibration=Action Vibration:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003402 <data variable="tw_action_vibrate" min="0" max="500"/>
3403 </slidervalue>
3404
3405 <action>
3406 <touch key="home"/>
3407 <action function="page">main</action>
3408 </action>
3409
3410 <action>
3411 <touch key="back"/>
3412 <action function="page">main</action>
3413 </action>
3414 </page>
3415
Ethan Yonker74db1572015-10-28 12:44:49 -05003416 <page name="settings_language">
3417 <template name="page"/>
3418
3419 <text style="text_l">
3420 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3421 <text>{@settings_hdr=Settings}</text>
3422 </text>
3423
3424 <text style="text_m">
3425 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3426 <text>{@language_hdr=Language - %tw_language_display%}</text>
3427 </text>
3428
3429 <template name="tabs_settings"/>
3430
3431 <fill color="%text_color%">
3432 <placement x="%tab5_col5_x%" y="%row_tab_y%" w="%tab5_width%" h="%tab_indicator_height%"/>
3433 </fill>
3434
3435 <listbox>
3436 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%listbox_settings_height%"/>
3437 <text>{@select_language=Select Language:}</text>
3438 <icon selected="radio_true" unselected="radio_false" />
3439 <data name="tw_language" />
3440 </listbox>
3441
3442 <button style="main_button_half_height">
3443 <placement x="%center_x%" y="%row21a_y%"/>
3444 <text>{@set_language_btn=Set Language}</text>
3445 <action function="setlanguage"></action>
3446 </button>
3447
3448 <action>
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </action>
3452
3453 <action>
3454 <touch key="back" />
3455 <action function="page">settings</action>
3456 </action>
3457 </page>
3458
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003459 <page name="copylog">
3460 <template name="page"/>
3461
3462 <text style="text_l">
3463 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3464 <text>{@copying_log=Copy Logs to SD Card}</text>
3465 </text>
3466
3467 <checkbox>
3468 <placement x="%indent%" y="%row4_y%"/>
3469 <text>{@include_kernel_log=Include Kernel Log}</text>
3470 <data variable="tw_include_kernel_log" value="1"/>
3471 </checkbox>
3472
3473 <slider>
3474 <text>{@copying_log=Copy Logs to SD Card}</text>
3475 <actions>
3476 <action function="set">tw_back=advanced</action>
3477 <action function="set">tw_action=copylog</action>
Matt Mower32676622017-01-18 18:56:13 -06003478 <action function="set">tw_action_text1={@copying_log=Copy Logs to SD Card}</action>
3479 <action function="set">tw_complete_text1={@copy_log_complete=Logs Copy Completed}</action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003480 <action function="page">action_page</action>
3481 </actions>
3482 </slider>
3483
3484 <action>
3485 <touch key="home"/>
3486 <action function="page">main</action>
3487 </action>
3488
3489 <action>
3490 <touch key="back"/>
3491 <actions>
3492 <action function="page">advanced</action>
3493 </actions>
3494 </action>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003495 </page>
3496
z31s1g28f0a922015-11-07 18:50:22 +01003497 <page name="advanced">
3498 <template name="page"/>
3499
3500 <text style="text_l">
3501 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003502 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003503 </text>
3504
3505 <button style="main_button">
3506 <placement x="%indent%" y="%row2a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003507 <text>{@copy_log_btn=Copy Log}</text>
bigbiff bigbiffbad332a2016-07-29 21:18:13 -04003508 <action function="page">copylog</action>
z31s1g28f0a922015-11-07 18:50:22 +01003509 </button>
3510
3511 <button style="main_button">
Ethan Yonkerb5fab762016-01-28 14:03:33 -06003512 <condition var1="tw_has_data_media" var2="1"/>
z31s1g28f0a922015-11-07 18:50:22 +01003513 <placement x="%center_x%" y="%row2a_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003514 <text>{@adb_sideload_btn=ADB Sideload}</text>
3515 <action function="page">sideload</action>
z31s1g28f0a922015-11-07 18:50:22 +01003516 </button>
3517
3518 <button style="main_button">
z31s1g28f0a922015-11-07 18:50:22 +01003519 <placement x="%indent%" y="%row8_y%"/>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003520 <text>{@terminal_btn=Terminal}</text>
3521 <action function="page">terminalcommand</action>
z31s1g28f0a922015-11-07 18:50:22 +01003522 </button>
3523
3524 <button style="main_button">
3525 <placement x="%center_x%" y="%row8_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003526 <text>{@file_manager_btn=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003527 <action function="page">filemanagerlist</action>
3528 </button>
3529
Ethan Yonker64e0a652018-07-25 09:52:17 -05003530 <listbox style="advanced_listbox">
3531 <placement x="%indent%" y="%row13a_y%" w="%content_width%" h="%listbox_advanced_height%"/>
3532 <listitem name="{@reload_theme_btn=Reload Theme}">
3533 <action function="reload"/>
3534 </listitem>
3535 <listitem name="{@part_sd_btn=Partition SD Card}">
3536 <condition var1="tw_allow_partition_sdcard" var2="1"/>
3537 <actions>
3538 <action function="set">partitionlisterror=0</action>
3539 <action function="page">partsdcardsel</action>
3540 </actions>
3541 </listitem>
3542 <listitem name="{@fix_context_btn=Fix Contexts}">
3543 <condition var1="tw_has_data_media" var2="1"/>
3544 <action function="page">fixcontexts</action>
3545 </listitem>
3546 <listitem name="{@dumlock_btn=HTC Dumlock}">
3547 <condition var1="tw_show_dumlock" var2="1"/>
3548 <action function="page">htcdumlock</action>
3549 </listitem>
3550 <listitem name="{@inject_twrp_btn=Inject TWRP}">
3551 <condition var1="tw_has_injecttwrp" var2="1"/>
3552 <actions>
3553 <action function="set">tw_back=advanced</action>
3554 <action function="set">tw_action=reinjecttwrp</action>
3555 <action function="set">tw_text1={@inject_twrp_confirm=Re-Inject TWRP?}</action>
3556 <action function="set">tw_action_text1={@injecting_twrp=Re-Injecting TWRP...}</action>
3557 <action function="set">tw_complete_text1={@inject_twrp_complete=TWRP Injection Complete}</action>
3558 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3559 <action function="page">confirm_action</action>
3560 </actions>
3561 </listitem>
Ethan Yonker53796e72019-01-11 22:49:52 -06003562 <listitem name="{@install_twrp_ramdisk=Install Recovery Ramdisk}">
3563 <conditions>
3564 <condition var1="tw_has_boot_slots" var2="1"/>
3565 <condition var1="tw_has_repack_tools" var2="1"/>
3566 </conditions>
3567 <actions>
3568 <action function="set">tw_repack_kernel=0</action>
3569 <action function="page">repackselect</action>
3570 </actions>
3571 </listitem>
3572 <listitem name="{@install_kernel=Install Kernel}">
3573 <conditions>
3574 <condition var1="tw_has_boot_slots" var2="1"/>
3575 <condition var1="tw_has_repack_tools" var2="1"/>
3576 </conditions>
3577 <actions>
3578 <action function="set">tw_repack_kernel=1</action>
3579 <action function="page">repackselect</action>
3580 </actions>
3581 </listitem>
3582 <listitem name="{@fix_recovery_loop=Fix Recovery Bootloop}">
3583 <conditions>
3584 <condition var1="tw_has_boot_slots" var2="1"/>
3585 <condition var1="tw_has_repack_tools" var2="1"/>
3586 </conditions>
3587 <actions>
3588 <action function="set">tw_back=advanced</action>
3589 <action function="set">tw_action=fixabrecoverybootloop</action>
3590 <action function="set">tw_text1={@fix_recovery_loop_confirm=Fix Recovery Bootloop?}</action>
3591 <action function="set">tw_action_text1={@fixing_recovery_loop=Fixing Recovery Bootloop...}</action>
3592 <action function="set">tw_complete_text1={@fix_recovery_loop_complete=Fix Recovery Bootloop Complete}</action>
3593 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3594 <action function="page">confirm_action</action>
3595 </actions>
3596 </listitem>
Ethan Yonker76bbd3a2019-05-10 10:50:04 -05003597 <listitem name="{@uninstall_twrp_system_app=Uninstall TWRP App from System}">
3598 <condition var1="tw_app_installed_in_system" var2="1"/>
3599 <actions>
3600 <action function="set">tw_back=advanced</action>
3601 <action function="set">tw_action=uninstalltwrpsystemapp</action>
3602 <action function="set">tw_text1={@uninstall_twrp_system_app_confirm=Uninstall TWRP App from System?}</action>
3603 <action function="set">tw_action_text1={@uninstalling_twrp_system_app=Uninstalling TWRP App from System...}</action>
3604 <action function="set">tw_complete_text1={@uninstall_twrp_system_app_complete=Uninstall TWRP App from System Complete}</action>
3605 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
3606 <action function="page">confirm_action</action>
3607 </actions>
3608 </listitem>
Ethan Yonker64e0a652018-07-25 09:52:17 -05003609 </listbox>
z31s1g28f0a922015-11-07 18:50:22 +01003610
3611 <action>
3612 <touch key="home"/>
3613 <action function="page">main</action>
3614 </action>
3615
3616 <action>
3617 <touch key="back"/>
3618 <action function="page">main</action>
3619 </action>
3620 </page>
3621
Ethan Yonker483e9f42016-01-11 22:21:18 -06003622 <page name="partsdcardsel">
3623 <template name="page"/>
3624
3625 <text style="text_l">
3626 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3627 <text>{@advanced_hdr=Advanced}</text>
3628 </text>
3629
3630 <text style="text_m">
3631 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3632 <text>{@part_sd_hdr=Partition SD Card}</text>
3633 </text>
3634
z31s1g782e1c92016-01-30 16:50:09 +01003635 <partitionlist>
3636 <placement x="%indent%" y="%row1a_y%" w="%content_width%" h="%partitionlist_storage_height%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003637 <text>{@sel_storage_list=Select Storage}</text>
3638 <data name="tw_storage_path"/>
3639 <listtype name="storage"/>
3640 </partitionlist>
3641
3642 <text style="text_m_fail">
3643 <condition var1="partitionlisterror" var2="1"/>
z31s1g782e1c92016-01-30 16:50:09 +01003644 <placement x="%center_x%" y="%row20_y%" placement="5"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003645 <text>{@invalid_partsd_sel=You must select a removable device}</text>
3646 </text>
3647
z31s1g782e1c92016-01-30 16:50:09 +01003648 <button style="main_button_half_height">
3649 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003650 <text>{@ok_btn=OK}</text>
3651 <actions>
3652 <action function="getpartitiondetails">tw_storage_path</action>
3653 <action function="page">partsdcardcheck</action>
3654 </actions>
3655 </button>
3656
3657 <action>
3658 <touch key="home"/>
3659 <action function="page">main</action>
3660 </action>
3661
3662 <action>
3663 <touch key="back"/>
3664 <action function="page">advanced</action>
3665 </action>
3666 </page>
3667
3668 <page name="partsdcardcheck">
3669 <action>
3670 <condition var1="tw_partition_removable" op="=" var2="1"/>
3671 <actions>
3672 <action function="set">partitionlisterror=0</action>
3673 <action function="page">partsdcard</action>
3674 </actions>
3675 </action>
3676
3677 <action>
3678 <condition var1="tw_partition_removable" op="!=" var2="1"/>
3679 <actions>
3680 <action function="set">partitionlisterror=1</action>
3681 <action function="page">partsdcardsel</action>
3682 </actions>
3683 </action>
3684 </page>
3685
z31s1g28f0a922015-11-07 18:50:22 +01003686 <page name="partsdcard">
3687 <template name="page"/>
3688
3689 <text style="text_l">
3690 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003691 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003692 </text>
3693
3694 <text style="text_m">
3695 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003696 <text>{@part_sd_hdr=Partition SD Card}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003697 </text>
3698
3699 <text style="text_m_fail">
3700 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003701 <text>{@part_sd_lose=You will lose all files on your SD card!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003702 </text>
3703
3704 <text style="text_m_fail">
3705 <placement x="%center_x%" y="%row3_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003706 <text>{@part_sd_undo=This action cannot be undone!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003707 </text>
3708
3709 <text style="text_m_accent">
3710 <placement x="%center_x%" y="%row5_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003711 <text>{@part_sd_ext_sz=EXT Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003712 </text>
3713
3714 <text style="text_m">
3715 <placement x="%center_x%" y="%row6a_y%" placement="5"/>
3716 <text>%tw_sdext_size%</text>
3717 </text>
3718
3719 <button style="button_quarter_width">
3720 <placement x="%indent%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003721 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003722 <action function="addsubtract">tw_sdext_size-256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003723 </button>
3724
3725 <button style="button_quarter_width">
3726 <placement x="%btn4_col4_x%" y="%row6_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003727 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003728 <action function="addsubtract">tw_sdext_size+256</action>
z31s1g28f0a922015-11-07 18:50:22 +01003729 </button>
3730
3731 <text style="text_m_accent">
3732 <placement x="%center_x%" y="%row9_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003733 <text>{@part_sd_swap_sz=Swap Size:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003734 </text>
3735
3736 <text style="text_m">
3737 <placement x="%center_x%" y="%row10a_y%" placement="5"/>
3738 <text>%tw_swap_size%</text>
3739 </text>
3740
3741 <button style="button_quarter_width">
3742 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003743 <text>{@part_sd_m=-}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003744 <action function="addsubtract">tw_swap_size-64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003745 </button>
3746
3747 <button style="button_quarter_width">
3748 <placement x="%btn4_col4_x%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003749 <text>{@part_sd_p=+}</text>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003750 <action function="addsubtract">tw_swap_size+64</action>
z31s1g28f0a922015-11-07 18:50:22 +01003751 </button>
3752
3753 <text style="text_m_accent">
3754 <placement x="%center_x%" y="%row13_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003755 <text>{@file_system=File System:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003756 </text>
3757
3758 <text style="text_m">
3759 <placement x="%center_x%" y="%row14a_y%" placement="5"/>
3760 <text>%tw_sdpart_file_system%</text>
3761 </text>
3762
3763 <button style="button_quarter_width">
3764 <placement x="%indent%" y="%row14_y%"/>
3765 <text>EXT3</text>
3766 <action function="set">tw_sdpart_file_system=ext3</action>
3767 </button>
3768
3769 <button style="button_quarter_width">
3770 <placement x="%btn4_col4_x%" y="%row14_y%"/>
3771 <text>EXT4</text>
3772 <action function="set">tw_sdpart_file_system=ext4</action>
3773 </button>
3774
3775 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05003776 <text>{@swipe_part_sd=Swipe to Partition}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003777 <action function="page">partsdcardaction</action>
3778 <actions>
3779 <action function="set">tw_back=partsdcard</action>
3780 <action function="set">tw_action=partitionsd</action>
3781 <action function="set">tw_has_action2=1</action>
3782 <action function="set">tw_action2=set</action>
3783 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003784 <action function="set">tw_action_text1={@partitioning_sd=Partitioning SD Card...}</action>
3785 <action function="set">tw_action_text2={@partitioning_sd2=This will take a few minutes.}</action>
3786 <action function="set">tw_complete_text1={@part_sd_complete=Partitioning Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003787 <action function="page">action_page</action>
3788 </actions>
3789 </slider>
3790
3791 <action>
3792 <touch key="home"/>
3793 <action function="page">main</action>
3794 </action>
3795
3796 <action>
3797 <touch key="back"/>
Ethan Yonker483e9f42016-01-11 22:21:18 -06003798 <actions>
3799 <action function="set">partitionlisterror=0</action>
3800 <action function="page">partsdcardsel</action>
3801 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01003802 </action>
3803 </page>
3804
3805 <page name="htcdumlock">
3806 <template name="page"/>
3807
3808 <text style="text_l">
3809 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003810 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003811 </text>
3812
3813 <text style="text_m">
3814 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003815 <text>{@dumlock_hdr=HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003816 </text>
3817
3818 <button style="main_button_half_height_full_width">
3819 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003820 <text>{@dumlock_restore_btn=Restore Original Boot}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003821 <actions>
3822 <action function="set">tw_back=htcdumlock</action>
3823 <action function="set">tw_action=htcdumlockrestoreboot</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003824 <action function="set">tw_text1={@dumlock_restore_confirm=Restore original boot image?}</action>
3825 <action function="set">tw_action_text1={@dumlock_restoring=Restoring Original Boot...}</action>
3826 <action function="set">tw_complete_text1={@dumlock_restore_complete=Restore Original Boot Complete}</action>
3827 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003828 <action function="page">confirm_action</action>
3829 </actions>
3830 </button>
3831
3832 <button style="main_button_half_height_full_width">
3833 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003834 <text>{@dumlock_reflash_btn=Reflash Recovery}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003835 <actions>
3836 <action function="set">tw_back=htcdumlock</action>
3837 <action function="set">tw_action=htcdumlockreflashrecovery</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003838 <action function="set">tw_text1={@dumlock_reflash_confirm=Reflash recovery to boot?}</action>
3839 <action function="set">tw_action_text1={@dumlock_reflashing=Flashing recovery to boot...}</action>
3840 <action function="set">tw_complete_text1={@dumlock_reflash_complete=Recovery Flash to Boot Complete}</action>
3841 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003842 <action function="page">confirm_action</action>
3843 </actions>
3844 </button>
3845
3846 <button style="main_button_half_height_full_width">
3847 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05003848 <text>{@dumlock_install_btn=Install HTC Dumlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01003849 <actions>
3850 <action function="set">tw_back=htcdumlock</action>
3851 <action function="set">tw_action=installhtcdumlock</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05003852 <action function="set">tw_text1={@dumlock_install_confirm=Install HTC dumlock files to ROM?}</action>
3853 <action function="set">tw_action_text1={@dumlock_installing=Installing HTC Dumlock...}</action>
3854 <action function="set">tw_complete_text1={@dumlock_install_complete=HTC Dumlock Install Complete}</action>
3855 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01003856 <action function="page">confirm_action</action>
3857 </actions>
3858 </button>
3859
3860 <action>
3861 <touch key="home"/>
3862 <action function="page">main</action>
3863 </action>
3864
3865 <action>
3866 <touch key="back"/>
3867 <action function="page">advanced</action>
3868 </action>
3869 </page>
3870
Ethan Yonker53796e72019-01-11 22:49:52 -06003871 <page name="repackselect">
3872 <template name="page"/>
3873
3874 <text style="text_l">
3875 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3876 <text>{@repack_image_hdr=Select Image}</text>
3877 </text>
3878
3879 <text style="text_m">
3880 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3881 <text>{@select_file_from_storage=Select File from %tw_storage_display_name% (%tw_storage_free_size% MB)}</text>
3882 </text>
3883
3884 <template name="sort_options"/>
3885
3886 <fileselector>
3887 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_install_height%"/>
3888 <text>%tw_zip_location%</text>
3889 <filter extn=".img" folders="1" files="1"/>
3890 <path name="tw_zip_location" default="/sdcard"/>
3891 <data name="tw_filename"/>
3892 <selection name="tw_file"/>
3893 </fileselector>
3894
3895 <button style="main_button_half_height">
3896 <placement x="%indent%" y="%row21a_y%"/>
3897 <text>{@select_storage_btn=Select Storage}</text>
3898 <actions>
3899 <action function="set">tw_back=repackselect</action>
3900 <action function="overlay">select_storage</action>
3901 </actions>
3902 </button>
3903
3904 <action>
3905 <conditions>
3906 <condition var1="tw_filename" op="modified"/>
3907 </conditions>
3908 <action function="page">repackconfirm</action>
3909 </action>
3910
3911 <action>
3912 <touch key="back"/>
3913 <action function="page">advanced</action>
3914 </action>
3915
3916 <action>
3917 <touch key="home"/>
3918 <action function="page">main</action>
3919 </action>
3920 </page>
3921
3922 <page name="repackconfirm">
3923 <template name="page"/>
3924
3925 <text style="text_l">
3926 <condition var1="tw_repack_kernel" var2="1"/>
3927 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3928 <text>{@repack_kernel_confirm_hdr=Install Kernel}</text>
3929 </text>
3930
3931 <text style="text_l">
3932 <condition var1="tw_repack_kernel" var2="0"/>
3933 <placement x="%col1_x_header%" y="%row3_header_y%"/>
3934 <text>{@repack_ramdisk_confirm_hdr=Install Recovery}</text>
3935 </text>
3936
3937 <text style="text_m">
3938 <condition var1="tw_repack_kernel" var2="1"/>
3939 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3940 <text>{@repack_kernel_confirm=Install Kernel?}</text>
3941 </text>
3942
3943 <text style="text_m">
3944 <condition var1="tw_repack_kernel" var2="0"/>
3945 <placement x="%col1_x_header%" y="%row4_header_y%"/>
3946 <text>{@repack_ramdisk_confirm=Install Recovery?}</text>
3947 </text>
3948
3949 <text style="text_m_accent">
3950 <placement x="%indent%" y="%row2_y%"/>
3951 <text>{@folder=Folder:}</text>
3952 </text>
3953
3954 <text style="text_m">
3955 <placement x="%indent%" y="%row3_y%"/>
3956 <text>%tw_zip_location%</text>
3957 </text>
3958
3959 <text style="text_m_accent">
3960 <placement x="%indent%" y="%row4_y%"/>
3961 <text>{@file=File:}</text>
3962 </text>
3963
3964 <text style="text_m">
3965 <placement x="%indent%" y="%row5_y%"/>
3966 <text>%tw_file%</text>
3967 </text>
3968
3969 <checkbox>
3970 <placement x="%indent%" y="%row7_y%"/>
3971 <text>{@repack_backup_first=Back up existing image first}</text>
3972 <data variable="tw_repack_backup_first"/>
3973 </checkbox>
3974
3975 <button style="main_button_half_height">
3976 <placement x="%indent%" y="%row16_y%"/>
3977 <text>{@install_cancel=Do not Install}</text>
3978 <action function="page">repackselect</action>
3979 </button>
3980
3981 <slider>
3982 <text>{@swipe_to_install=Swipe to Install}</text>
3983 <actions>
3984 <action function="set">tw_back=advanced</action>
3985 <action function="set">tw_action=repackimage</action>
3986 <action function="set">tw_action_param=/boot</action>
3987 <action function="set">tw_action_text1={@installing=Installing...}</action>
3988 <action function="set">tw_action_text2=</action>
3989 <action function="set">tw_complete_text1={@install_complete=Install Complete}</action>
3990 <action function="page">action_page</action>
3991 </actions>
3992 </slider>
3993
3994 <action>
3995 <touch key="back"/>
3996 <action function="page">repackselect</action>
3997 </action>
3998
3999 <action>
4000 <touch key="home"/>
4001 <action function="page">main</action>
4002 </action>
4003 </page>
4004
z31s1g28f0a922015-11-07 18:50:22 +01004005 <page name="lock">
4006 <background color="%semi_transparent%"/>
4007
4008 <image>
4009 <image resource="unlock_icon"/>
4010 <placement x="%center_x%" y="%row10_y%" placement="4"/>
4011 </image>
4012
4013 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004014 <text>{@swipe_to_unlock=Swipe to Unlock}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004015 <action function="overlay"/>
4016 </slider>
Matt Mower9472ba12016-01-20 18:12:47 -06004017
4018 <action>
4019 <touch key="power"/>
4020 <action function="togglebacklight"/>
4021 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004022 </page>
4023
4024 <page name="filemanagerlist">
4025 <template name="page"/>
4026
4027 <text style="text_l">
4028 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004029 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004030 </text>
4031
4032 <text style="text_m">
4033 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004034 <text>{@fm_sel_file=Select a File or Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004035 </text>
4036
4037 <template name="sort_options"/>
4038
4039 <fileselector>
4040 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4041 <text>%tw_file_location1%</text>
4042 <filter folders="1" files="1"/>
4043 <path name="tw_file_location1" default="/"/>
4044 <data name="tw_filename1"/>
4045 <selection name="tw_selection1"/>
4046 </fileselector>
4047
4048 <button style="fab">
4049 <image resource="fab_selectfolder"/>
4050 <actions>
4051 <action function="set">tw_filename1=tw_file_location1</action>
4052 <action function="set">tw_fm_isfolder=1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004053 <action function="set">tw_fm_type={@fm_type_folder=Folder}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004054 <action function="page">filemanageroptions</action>
4055 </actions>
4056 </button>
4057
4058 <action>
4059 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004060 <action function="set">tw_fm_type={@fm_type_file=File}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004061 <action function="set">tw_fm_isfolder=0</action>
4062 </actions>
4063 </action>
4064
4065 <action>
4066 <touch key="home"/>
4067 <action function="page">main</action>
4068 </action>
4069
4070 <action>
4071 <touch key="back"/>
4072 <action function="page">advanced</action>
4073 </action>
4074
4075 <action>
4076 <condition var1="tw_filename1" op="modified"/>
4077 <action function="page">filemanageroptions</action>
4078 </action>
4079 </page>
4080
4081 <page name="filemanageroptions">
4082 <template name="page"/>
4083
4084 <text style="text_l">
4085 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004086 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004087 </text>
4088
4089 <text style="text_m">
4090 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004091 <text>{@fm_choose_act=Choose Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004092 </text>
4093
4094 <text style="text_m_accent">
4095 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004096 <text>{@fm_selected=%tw_fm_type% selected:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004097 </text>
4098
4099 <text style="text_m">
4100 <placement x="%indent%" y="%row3_y%"/>
4101 <text>%tw_filename1%</text>
4102 </text>
4103
4104 <button style="main_button_half_height">
4105 <condition var1="tw_fm_isfolder" var2="0"/>
4106 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004107 <text>{@fm_copy_file_btn=Copy File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004108 <actions>
4109 <action function="set">tw_filemanager_command=cp</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004110 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004111 <action function="page">choosedestinationfolder</action>
4112 </actions>
4113 </button>
4114
4115 <button style="main_button_half_height">
4116 <condition var1="tw_fm_isfolder" var2="1"/>
4117 <placement x="%indent%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004118 <text>{@fm_copy_folder_btn=Copy Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004119 <actions>
4120 <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 -05004121 <action function="set">tw_fm_text1={@fm_copying=Copying}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004122 <action function="page">choosedestinationfolder</action>
4123 </actions>
4124 </button>
4125
4126 <button style="main_button_half_height">
4127 <placement x="%center_x%" y="%row15a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004128 <text>{@fm_move_btn=Move}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004129 <actions>
4130 <action function="set">tw_filemanager_command=mv</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004131 <action function="set">tw_fm_text1={@fm_moving=Moving}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004132 <action function="page">choosedestinationfolder</action>
4133 </actions>
4134 </button>
4135
4136 <button style="main_button_half_height">
4137 <placement x="%indent%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004138 <text>{@fm_chmod755_btn=chmod 755}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004139 <actions>
4140 <action function="set">tw_filemanager_command=chmod 755</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004141 <action function="set">tw_fm_text1={@fm_chmod755ing=chmod 755}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004142 <action function="set">tw_fm_text2=</action>
4143 <action function="set">tw_fm_text3=</action>
4144 <action function="set">tw_include_text3=0</action>
4145 <action function="set">tw_back=filemanageroptions</action>
4146 <action function="page">filemanagerconfirm</action>
4147 </actions>
4148 </button>
4149
4150 <button style="main_button_half_height">
4151 <placement x="%center_x%" y="%row18a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004152 <text>{@fm_chmod_btn=chmod}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004153 <actions>
4154 <action function="set">tw_filemanager_rename=0000</action>
4155 <action function="set">tw_fm_text2=</action>
4156 <action function="set">tw_fm_text3=</action>
4157 <action function="set">tw_include_text3=0</action>
4158 <action function="set">tw_back=filemanageroptions</action>
4159 <action function="page">filemanagerchmod</action>
4160 </actions>
4161 </button>
4162
4163 <button style="main_button_half_height">
4164 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004165 <text>{@fm_delete_btn=Delete}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004166 <actions>
4167 <action function="set">tw_filemanager_command=rm -rf</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004168 <action function="set">tw_fm_text1={@fm_deleting=Deleting}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004169 <action function="set">tw_fm_text2=</action>
4170 <action function="set">tw_fm_text3=</action>
4171 <action function="set">tw_include_text3=0</action>
4172 <action function="set">tw_back=filemanageroptions</action>
4173 <action function="page">filemanagerconfirm</action>
4174 </actions>
4175 </button>
4176
4177 <button style="main_button_half_height">
4178 <condition var1="tw_fm_isfolder" var2="0"/>
4179 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004180 <text>{@fm_rename_file_btn=Rename File}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004181 <actions>
4182 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004183 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004184 <action function="set">tw_filemanager_command=mv</action>
4185 <action function="page">filemanagerrenamefile</action>
4186 </actions>
4187 </button>
4188
4189 <button style="main_button_half_height">
4190 <condition var1="tw_fm_isfolder" var2="1"/>
4191 <placement x="%center_x%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004192 <text>{@fm_rename_folder_btn=Rename Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004193 <actions>
4194 <action function="set">tw_filemanager_rename=tw_selection1</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004195 <action function="set">tw_fm_text1={@fm_renaming=Renaming}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004196 <action function="set">tw_filemanager_command=cd "%tw_file_location1%" &amp;&amp; cd .. &amp;&amp; mv</action>
4197 <action function="page">filemanagerrenamefolder</action>
4198 </actions>
4199 </button>
4200
4201 <action>
4202 <touch key="home"/>
4203 <action function="page">main</action>
4204 </action>
4205
4206 <action>
4207 <touch key="back"/>
4208 <action function="page">filemanagerlist</action>
4209 </action>
4210 </page>
4211
4212 <page name="choosedestinationfolder">
4213 <template name="page"/>
4214
4215 <text style="text_l">
4216 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004217 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004218 </text>
4219
4220 <text style="text_m">
4221 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004222 <text>{@fm_sel_dest=Select Destination Folder}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004223 </text>
4224
4225 <template name="sort_options"/>
4226
4227 <fileselector>
4228 <placement x="%indent%" y="%row3_y%" w="%content_width%" h="%fileselector_filemanager_height%"/>
4229 <text>%tw_file_location2%</text>
4230 <filter folders="1" files="0"/>
4231 <path name="tw_file_location2" default="/"/>
4232 <data name="tw_filename2"/>
4233 <selection name="tw_selection2"/>
4234 </fileselector>
4235
4236 <button style="fab">
4237 <image resource="fab_selectfolder"/>
4238 <actions>
4239 <action function="set">tw_fm_text2=to</action>
4240 <action function="set">tw_fm_text3=%tw_file_location2%</action>
4241 <action function="set">tw_include_text3=1</action>
4242 <action function="set">tw_back=filemanageroptions</action>
4243 <action function="page">filemanagerconfirm</action>
4244 </actions>
4245 </button>
4246
4247 <action>
4248 <touch key="home"/>
4249 <action function="page">main</action>
4250 </action>
4251
4252 <action>
4253 <touch key="back"/>
4254 <action function="page">filemanageroptions</action>
4255 </action>
4256 </page>
4257
4258 <page name="filemanagerrenamefile">
4259 <template name="page"/>
4260
4261 <text style="text_l">
4262 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004263 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004264 </text>
4265
4266 <text style="text_m">
4267 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004268 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004269 </text>
4270
4271 <text style="text_m_accent">
4272 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004273 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004274 </text>
4275
4276 <input>
4277 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4278 <text>%tw_filemanager_rename%</text>
4279 <data name="tw_filemanager_rename"/>
4280 <restrict minlen="1" maxlen="128"/>
4281 <actions>
4282 <action function="set">tw_fm_text2=to</action>
4283 <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action>
4284 <action function="set">tw_include_text3=1</action>
4285 <action function="set">tw_back=filemanageroptions</action>
4286 <action function="page">filemanagerconfirm</action>
4287 </actions>
4288 </input>
4289
4290 <fill color="%accent_color%">
4291 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4292 </fill>
4293
4294 <button style="main_button_half_height">
4295 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004296 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004297 <action function="page">filemanageroptions</action>
4298 </button>
4299
4300 <template name="keyboardtemplate"/>
4301
4302 <action>
4303 <touch key="home"/>
4304 <action function="page">main</action>
4305 </action>
4306
4307 <action>
4308 <touch key="back"/>
4309 <action function="page">filemanageroptions</action>
4310 </action>
4311 </page>
4312
4313 <page name="filemanagerrenamefolder">
4314 <template name="page"/>
4315
4316 <text style="text_l">
4317 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004318 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004319 </text>
4320
4321 <text style="text_m">
4322 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004323 <text>{@fm_rename_hdr=Rename} %tw_fm_type%</text>
z31s1g28f0a922015-11-07 18:50:22 +01004324 </text>
4325
4326 <text style="text_m_accent">
4327 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004328 <text>{@name=Name:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004329 </text>
4330
4331 <input>
4332 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4333 <text>%tw_filemanager_rename%</text>
4334 <data name="tw_filemanager_rename"/>
4335 <restrict minlen="1" maxlen="128"/>
4336 <actions>
4337 <action function="set">tw_fm_text2=to</action>
4338 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
4339 <action function="set">tw_include_text3=1</action>
4340 <action function="set">tw_back=filemanageroptions</action>
4341 <action function="page">filemanagerconfirm</action>
4342 </actions>
4343 </input>
4344
4345 <fill color="%accent_color%">
4346 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4347 </fill>
4348
4349 <button style="main_button_half_height">
4350 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004351 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004352 <action function="page">filemanageroptions</action>
4353 </button>
4354
4355 <template name="keyboardtemplate"/>
4356
4357 <action>
4358 <touch key="home"/>
4359 <action function="page">main</action>
4360 </action>
4361
4362 <action>
4363 <touch key="back"/>
4364 <action function="page">filemanageroptions</action>
4365 </action>
4366 </page>
4367
4368 <page name="filemanagerchmod">
4369 <template name="page"/>
4370
4371 <text style="text_l">
4372 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004373 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004374 </text>
4375
4376 <text style="text_m">
4377 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004378 <text>{@fm_set_perms_hdr=Set Permissions}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004379 </text>
4380
4381 <text style="text_m_accent">
4382 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004383 <text>{@fm_perms=Permissions:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004384 </text>
4385
4386 <input>
4387 <placement x="%indent%" y="%row2_input_y%" w="%content_width%" h="%input_height%"/>
4388 <text>%tw_filemanager_rename%</text>
4389 <data name="tw_filemanager_rename"/>
4390 <restrict minlen="3" maxlen="4" allow="0123456789"/>
4391 <actions>
4392 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
4393 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
4394 <action function="set">tw_back=filemanageroptions</action>
4395 <action function="page">filemanagerconfirm</action>
4396 </actions>
4397 </input>
4398
4399 <fill color="%accent_color%">
4400 <placement x="%indent%" y="row4_y" w="%content_width%" h="input_line_width" placement="1"/>
4401 </fill>
4402
4403 <button style="main_button_half_height">
4404 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004405 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004406 <action function="page">filemanageroptions</action>
4407 </button>
4408
4409 <template name="keyboardtemplate"/>
4410
4411 <action>
4412 <touch key="home"/>
4413 <action function="page">main</action>
4414 </action>
4415
4416 <action>
4417 <touch key="back"/>
4418 <action function="page">filemanageroptions</action>
4419 </action>
4420 </page>
4421
4422 <page name="filemanagerconfirm">
4423 <template name="page"/>
4424
4425 <text style="text_l">
4426 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004427 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004428 </text>
4429
4430 <text style="text_m">
4431 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004432 <text>{@confirm_action=Confirm Action}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004433 </text>
4434
4435 <text style="text_m_accent">
4436 <placement x="%center_x%" y="%row2_y%" placement="5"/>
4437 <text>%tw_fm_text1%</text>
4438 </text>
4439
4440 <text style="text_m">
4441 <placement x="%center_x%" y="%row3_y%" placement="5"/>
4442 <text>%tw_filename1%</text>
4443 </text>
4444
4445 <text style="text_m_accent">
4446 <placement x="%center_x%" y="%row5_y%" placement="5"/>
4447 <text>%tw_fm_text2%</text>
4448 </text>
4449
4450 <text style="text_m">
4451 <placement x="%center_x%" y="%row6_y%" placement="5"/>
4452 <text>%tw_fm_text3%</text>
4453 </text>
4454
4455 <text style="text_m">
4456 <placement x="%center_x%" y="%row8_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004457 <text>{@back_cancel=Press back button to cancel.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004458 </text>
4459
4460 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004461 <text>{@swipe_to_confirm=Swipe to Confirm}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004462 <action function="page">filemanageraction</action>
4463 </slider>
4464
4465 <action>
4466 <touch key="back"/>
4467 <action function="page">%tw_back%</action>
4468 </action>
4469
4470 <action>
4471 <touch key="home"/>
4472 <action function="page">main</action>
4473 </action>
4474 </page>
4475
4476 <page name="filemanageraction">
4477 <template name="page"/>
4478
4479 <text style="text_l">
4480 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004481 <text>{@fm_hdr=File Manager}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004482 </text>
4483
4484 <text style="text_m">
4485 <placement x="%col1_x_header%" y="%row4_header_y%"/>
4486 <text>%tw_fm_text1%</text>
4487 </text>
4488
4489 <template name="console"/>
4490
4491 <template name="progress_bar"/>
4492
4493 <action>
4494 <conditions>
4495 <condition var1="tw_operation_state" var2="1"/>
4496 <condition var1="tw_operation_status" var2="0"/>
4497 </conditions>
4498 <actions>
4499 <action function="set">tw_back=filemanagerlist</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004500 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004501 <action function="page">action_complete</action>
4502 </actions>
4503 </action>
4504
4505 <action>
4506 <conditions>
4507 <condition var1="tw_operation_state" var2="1"/>
4508 <condition var1="tw_operation_status" op="!=" var2="0"/>
4509 </conditions>
4510 <actions>
Ethan Yonker74db1572015-10-28 12:44:49 -05004511 <action function="set">tw_complete_text1={@fm_complete=File Operation Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004512 <action function="page">action_complete</action>
4513 </actions>
4514 </action>
4515
4516 <action>
4517 <condition var1="tw_include_text3" var2="0"/>
4518 <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action>
4519 </action>
4520
4521 <action>
4522 <condition var1="tw_include_text3" var2="1"/>
4523 <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action>
4524 </action>
4525 </page>
4526
4527 <page name="decrypt">
4528 <template name="page"/>
4529
4530 <action>
4531 <condition var1="tw_crypto_pwtype" var2="2"/>
4532 <action function="page">decrypt_pattern</action>
4533 </action>
4534
4535 <text style="text_l">
4536 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004537 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004538 </text>
4539
4540 <text style="text_m">
4541 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004542 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004543 </text>
4544
4545 <text style="text_m_accent">
4546 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004547 <text>{@decrypt_data_enter_pass=Enter Password:}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004548 </text>
4549
4550 <input>
4551 <placement x="%indent%" y="%row3_input_y%" w="%content_width%" h="%input_height%"/>
4552 <text>%tw_crypto_display%</text>
4553 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display"/>
4554 <restrict minlen="1" maxlen="254"/>
4555 <action function="page">trydecrypt</action>
4556 </input>
4557
4558 <fill color="%accent_color%">
4559 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4560 </fill>
4561
4562 <fill color="%text_fail_color%">
4563 <condition var1="tw_password_fail" var2="1"/>
4564 <placement x="%indent%" y="row4a_y" w="%content_width%" h="input_line_width" placement="1"/>
4565 </fill>
4566
4567 <text style="text_m_fail">
4568 <condition var1="tw_password_fail" var2="1"/>
4569 <placement x="%indent%" y="%row5_y%"/>
sndnvaps793ec582016-01-28 19:41:44 +08004570 <text>{@decrypt_data_failed=Password failed, please try again!}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004571 </text>
4572
4573 <button style="main_button_half_height">
4574 <placement x="%indent%" y="%row10_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004575 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004576 <actions>
4577 <action function="set">tw_page_done=1</action>
4578 <action function="page">main</action>
4579 </actions>
4580 </button>
4581
z31s1g608d7ff2016-01-18 19:47:25 +01004582 <button style="main_button_half_height">
4583 <placement x="%center_x%" y="%row10_y%"/>
4584 <text>{@sel_lang_btn=Select Language}</text>
4585 <action function="overlay">select_language</action>
4586 </button>
4587
z31s1g28f0a922015-11-07 18:50:22 +01004588 <template name="keyboardtemplate"/>
4589 </page>
4590
4591 <page name="decrypt_pattern">
4592 <template name="page"/>
4593
4594 <text style="text_l">
4595 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004596 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004597 </text>
4598
4599 <text style="text_m">
4600 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004601 <text>{@decrypt_data_hdr=Decrypt Data}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004602 </text>
4603
4604 <text style="text_m_accent">
4605 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004606 <text>{@decrypt_data_enter_pattern=Enter Pattern.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004607 </text>
4608
Aleksa Saraib25a1832015-12-31 17:36:00 +01004609 <text style="text_m_fail">
4610 <condition var1="tw_password_fail" var2="1"/>
4611 <placement x="%center_x%" y="%row3_y%" placement="5"/>
sndnvaps793ec582016-01-28 19:41:44 +08004612 <text>{@decrypt_data_failed_pattern=Pattern failed, please try again!}</text>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004613 </text>
4614
z31s1g28f0a922015-11-07 18:50:22 +01004615 <patternpassword>
Aleksa Saraib25a1832015-12-31 17:36:00 +01004616 <placement x="%pattern_x%" y="%row5_y%" w="%pattern_size%" h="%pattern_size%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004617 <dot color="%fileselector_linecolor%" activecolor="%accent_color%" radius="%pattern_dot_dia%"/>
4618 <line color="%fileselector_linecolor%" width="%pattern_line_w%"/>
4619 <data name="tw_crypto_password"/>
4620 <action function="page">trydecrypt</action>
4621 </patternpassword>
4622
Aleksa Saraib25a1832015-12-31 17:36:00 +01004623 <button style="button_quarter_width">
4624 <placement x="%indent%" y="%row19a_y%"/>
4625 <text>3x3</text>
4626 <action function="set">tw_gui_pattern_grid_size=3</action>
4627 </button>
4628
4629 <button style="button_quarter_width">
4630 <placement x="%btn4_col2_x%" y="%row19a_y%"/>
4631 <text>4x4</text>
4632 <action function="set">tw_gui_pattern_grid_size=4</action>
4633 </button>
4634
4635 <button style="button_quarter_width">
4636 <placement x="%btn4_col3_x%" y="%row19a_y%"/>
4637 <text>5x5</text>
4638 <action function="set">tw_gui_pattern_grid_size=5</action>
4639 </button>
4640
4641 <button style="button_quarter_width">
4642 <placement x="%btn4_col4_x%" y="%row19a_y%"/>
4643 <text>6x6</text>
4644 <action function="set">tw_gui_pattern_grid_size=6</action>
4645 </button>
4646
z31s1g28f0a922015-11-07 18:50:22 +01004647 <button style="main_button_half_height">
4648 <placement x="%indent%" y="%row21a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004649 <text>{@cancel_btn=Cancel}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004650 <actions>
4651 <action function="set">tw_page_done=1</action>
4652 <action function="page">main</action>
4653 </actions>
4654 </button>
z31s1g608d7ff2016-01-18 19:47:25 +01004655
4656 <button style="main_button_half_height">
4657 <placement x="%center_x%" y="%row21a_y%"/>
4658 <text>{@sel_lang_btn=Select Language}</text>
4659 <action function="overlay">select_language</action>
4660 </button>
z31s1g28f0a922015-11-07 18:50:22 +01004661 </page>
4662
4663 <page name="trydecrypt">
4664 <template name="page"/>
4665
4666 <text style="text_l">
4667 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004668 <text>{@mount_hdr=Mount}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004669 </text>
4670
4671 <text style="text_m">
4672 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004673 <text>{@decrypt_data_trying=Trying Decryption}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004674 </text>
4675
4676 <template name="console"/>
4677
4678 <template name="progress_bar"/>
4679
4680 <action>
4681 <action function="decrypt"/>
4682 </action>
4683
4684 <action>
4685 <conditions>
4686 <condition var1="tw_operation_state" var2="1"/>
4687 <condition var1="tw_operation_status" op="!=" var2="0"/>
4688 </conditions>
4689 <actions>
4690 <action function="set">tw_password_fail=1</action>
4691 <action function="page">decrypt</action>
4692 </actions>
4693 </action>
4694
4695 <action>
4696 <conditions>
4697 <condition var1="tw_operation_state" var2="1"/>
4698 <condition var1="tw_operation_status" op="=" var2="0"/>
4699 </conditions>
4700 <actions>
4701 <action function="set">tw_page_done=1</action>
4702 <action function="page">main</action>
4703 </actions>
4704 </action>
4705 </page>
4706
z31s1g28f0a922015-11-07 18:50:22 +01004707 <page name="terminalcommand">
4708 <template name="page"/>
4709
z31s1g56189522016-01-13 19:12:40 +01004710 <fill color="%background_color%">
4711 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
z31s1g28f0a922015-11-07 18:50:22 +01004712 </fill>
4713
z31s1g56189522016-01-13 19:12:40 +01004714 <terminal>
4715 <condition var1="tw_hide_kb" var2="0"/>
4716 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%console_terminal_height%"/>
4717 </terminal>
4718
4719 <terminal>
4720 <condition var1="tw_hide_kb" var2="1"/>
4721 <placement x="0" y="%row3_header_y%" w="%screen_width%" h="%slideout_height%"/>
4722 </terminal>
4723
4724 <template name="keyboardterminaltemplate"/>
z31s1g28f0a922015-11-07 18:50:22 +01004725
4726 <template name="keyboardtemplate"/>
4727
z31s1g608d7ff2016-01-18 19:47:25 +01004728 <fill color="#000000">
z31s1g56189522016-01-13 19:12:40 +01004729 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%" />
z31s1g608d7ff2016-01-18 19:47:25 +01004730 </fill>
z31s1g56189522016-01-13 19:12:40 +01004731
z31s1g608d7ff2016-01-18 19:47:25 +01004732 <button>
z31s1g56189522016-01-13 19:12:40 +01004733 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4734 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4735 <image resource="back" />
4736 <condition var1="tw_busy" var2="0" />
4737 <actions>
4738 <action function="set">tw_hide_kb=0</action>
4739 <action function="key">back</action>
4740 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004741 </button>
z31s1g56189522016-01-13 19:12:40 +01004742
z31s1g608d7ff2016-01-18 19:47:25 +01004743 <button>
z31s1g56189522016-01-13 19:12:40 +01004744 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4745 <condition var1="tw_hide_kb" op="=" var2="0" />
4746 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4747 <image resource="kb_hide" />
4748 <condition var1="tw_busy" var2="0" />
4749 <actions>
4750 <action function="set">tw_hide_kb=1</action>
4751 <action function="page">terminalcommand</action>
4752 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004753 </button>
z31s1g56189522016-01-13 19:12:40 +01004754
z31s1g608d7ff2016-01-18 19:47:25 +01004755 <button>
z31s1g56189522016-01-13 19:12:40 +01004756 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4757 <condition var1="tw_hide_kb" op="=" var2="1" />
4758 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4" />
4759 <image resource="kb_show" />
4760 <condition var1="tw_busy" var2="0" />
4761 <actions>
4762 <action function="set">tw_hide_kb=0</action>
4763 <action function="page">terminalcommand</action>
4764 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004765 </button>
z31s1g56189522016-01-13 19:12:40 +01004766
z31s1g608d7ff2016-01-18 19:47:25 +01004767 <button>
z31s1g56189522016-01-13 19:12:40 +01004768 <placement x="%center_x%" y="%navbar_btn_y%" placement="4" />
4769 <image resource="home" />
4770 <condition var1="tw_busy" var2="0" />
4771 <actions>
4772 <action function="set">tw_hide_kb=0</action>
4773 <action function="key">home</action>
4774 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004775 </button>
z31s1g56189522016-01-13 19:12:40 +01004776
z31s1g608d7ff2016-01-18 19:47:25 +01004777 <button>
z31s1g56189522016-01-13 19:12:40 +01004778 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4779 <condition var1="tw_hide_kb" op="=" var2="0" />
4780 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4781 <image resource="kb_hide" />
4782 <condition var1="tw_busy" var2="0" />
4783 <actions>
4784 <action function="set">tw_hide_kb=1</action>
4785 <action function="page">terminalcommand</action>
4786 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004787 </button>
z31s1g56189522016-01-13 19:12:40 +01004788
z31s1g608d7ff2016-01-18 19:47:25 +01004789 <button>
z31s1g56189522016-01-13 19:12:40 +01004790 <condition var1="tw_samsung_navbar" op="!=" var2="1" />
4791 <condition var1="tw_hide_kb" op="=" var2="1" />
4792 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4793 <image resource="kb_show" />
4794 <condition var1="tw_busy" var2="0" />
4795 <actions>
4796 <action function="set">tw_hide_kb=0</action>
4797 <action function="page">terminalcommand</action>
4798 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004799 </button>
z31s1g56189522016-01-13 19:12:40 +01004800
z31s1g608d7ff2016-01-18 19:47:25 +01004801 <button>
z31s1g56189522016-01-13 19:12:40 +01004802 <condition var1="tw_samsung_navbar" op="=" var2="1" />
4803 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4" />
4804 <image resource="back" />
4805 <condition var1="tw_busy" var2="0" />
4806 <actions>
4807 <action function="set">tw_hide_kb=0</action>
4808 <action function="key">back</action>
4809 </actions>
z31s1g608d7ff2016-01-18 19:47:25 +01004810 </button>
z31s1g56189522016-01-13 19:12:40 +01004811
z31s1g28f0a922015-11-07 18:50:22 +01004812 <action>
4813 <touch key="home"/>
z31s1g56189522016-01-13 19:12:40 +01004814 <actions>
4815 <action function="set">tw_hide_kb=0</action>
4816 <action function="page">main</action>
4817 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004818 </action>
4819
4820 <action>
4821 <touch key="back"/>
z31s1g56189522016-01-13 19:12:40 +01004822 <actions>
4823 <action function="set">tw_hide_kb=0</action>
4824 <action function="page">advanced</action>
4825 </actions>
z31s1g28f0a922015-11-07 18:50:22 +01004826 </action>
z31s1g56189522016-01-13 19:12:40 +01004827
z31s1g608d7ff2016-01-18 19:47:25 +01004828 <action>
z31s1g56189522016-01-13 19:12:40 +01004829 <touch key="power+voldown" />
4830 <action function="screenshot" />
z31s1g608d7ff2016-01-18 19:47:25 +01004831 </action>
z31s1g28f0a922015-11-07 18:50:22 +01004832 </page>
4833
4834 <page name="sideload">
4835 <template name="page"/>
4836
4837 <text style="text_l">
4838 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004839 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004840 </text>
4841
4842 <text style="text_m">
4843 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004844 <text>{@adb_sideload_hdr=ADB Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004845 </text>
4846
4847 <checkbox>
4848 <placement x="%indent%" y="%row2_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004849 <text>{@sideload_wipe_dalvik_chk=Wipe Dalvik Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004850 <data variable="tw_wipe_dalvik"/>
4851 </checkbox>
4852
4853 <checkbox>
4854 <placement x="%indent%" y="%row3a_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004855 <text>{@sideload_wipe_cache_chk=Wipe Cache}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004856 <data variable="tw_wipe_cache"/>
4857 </checkbox>
4858
4859 <slider>
Ethan Yonker74db1572015-10-28 12:44:49 -05004860 <text>{@swipe_to_sideload=Swipe to Start Sideload}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004861 <actions>
4862 <action function="set">tw_back=advanced</action>
4863 <action function="set">tw_action=adbsideload</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004864 <action function="set">tw_action_text1={@sideload_confirm=ADB Sideload}</action>
4865 <action function="set">tw_action_text2={@sideload_usage=Usage: adb sideload filename.zip}</action>
4866 <action function="set">tw_complete_text1={@sideload_complete=ADB Sideload Complete}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004867 <action function="set">tw_has_cancel=1</action>
4868 <action function="set">tw_show_reboot=1</action>
4869 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4870 <action function="page">action_page</action>
4871 </actions>
4872 </slider>
4873
4874 <action>
4875 <touch key="home"/>
4876 <action function="page">main</action>
4877 </action>
4878
4879 <action>
4880 <touch key="back"/>
4881 <action function="page">advanced</action>
4882 </action>
4883 </page>
4884
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004885 <page name="fixcontexts">
z31s1g28f0a922015-11-07 18:50:22 +01004886 <template name="page"/>
4887
4888 <text style="text_l">
4889 <placement x="%col1_x_header%" y="%row3_header_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004890 <text>{@advanced_hdr=Advanced}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004891 </text>
4892
4893 <text style="text_m">
4894 <placement x="%col1_x_header%" y="%row4_header_y%"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004895 <text>{@fix_contexts_hdr=Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004896 </text>
4897
4898 <text style="text_m_accent">
4899 <placement x="%center_x%" y="%row2_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004900 <text>{@fix_contexts_note1=Note: Fixing contexts is rarely needed.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004901 </text>
4902
z31s1g28f0a922015-11-07 18:50:22 +01004903 <text style="text_m_fail">
4904 <placement x="%center_x%" y="%row6_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004905 <text>{@fix_contexts_note2=Fixing SELinux Contexts may cause}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004906 </text>
4907
4908 <text style="text_m_fail">
4909 <placement x="%center_x%" y="%row7_y%" placement="5"/>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004910 <text>{@fix_contexts_note3=your device to not boot properly.}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004911 </text>
4912
4913 <slider>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004914 <text>{@swipe_to_fix_contexts=Swipe to Fix Contexts}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004915 <actions>
4916 <action function="set">tw_back=advanced</action>
Ethan Yonkerb5fab762016-01-28 14:03:33 -06004917 <action function="set">tw_action=fixcontexts</action>
4918 <action function="set">tw_action_text1={@fixing_contexts=Fixing Contexts...}</action>
4919 <action function="set">tw_complete_text1={@fix_contexts_complete=Fix Contexts Complete}</action>
Ethan Yonker74db1572015-10-28 12:44:49 -05004920 <action function="set">tw_slider_text={@swipe_to_confirm=Swipe to Confirm}</action>
z31s1g28f0a922015-11-07 18:50:22 +01004921 <action function="set">tw_show_reboot=1</action>
4922 <action function="page">action_page</action>
4923 </actions>
4924 </slider>
4925
4926 <action>
4927 <touch key="home"/>
4928 <action function="page">main</action>
4929 </action>
4930
4931 <action>
4932 <touch key="back"/>
4933 <action function="page">advanced</action>
4934 </action>
4935 </page>
4936
z31s1g28f0a922015-11-07 18:50:22 +01004937 <page name="slideout">
4938 <fill color="%background_color%">
4939 <placement x="0" y="%row2_header_y%" w="%screen_width%" h="%slideout_bg_height%"/>
4940 </fill>
4941
4942 <console>
4943 <placement x="%indent%" y="%row3_header_y%" w="%content_width%" h="%slideout_height%"/>
4944 </console>
4945
4946 <button>
4947 <fill color="%transparent%"/>
4948 <placement x="0" y="%navbar_y%" w="%screen_width%" h="%navbar_height%"/>
4949 <action function="overlay"/>
4950 </button>
4951
4952 <action>
Matt Mower0c347d52016-01-21 23:14:39 -06004953 <touch key="power"/>
4954 <action function="togglebacklight"/>
4955 </action>
4956
4957 <action>
z31s1g28f0a922015-11-07 18:50:22 +01004958 <touch key="power+voldown"/>
4959 <action function="screenshot"/>
4960 </action>
4961 </page>
4962
4963 <page name="select_storage">
4964 <fill color="%semi_transparent%">
4965 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
4966 </fill>
4967
4968 <fill color="%background_color%">
4969 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
4970 </fill>
4971
4972 <partitionlist style="partitionlist_storage">
Ethan Yonker74db1572015-10-28 12:44:49 -05004973 <text>{@sel_storage_list=Select Storage}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004974 <data name="tw_storage_path"/>
4975 <listtype name="storage"/>
4976 </partitionlist>
4977
4978 <button style="button_third_width">
4979 <placement x="%dialog_button_x%" y="%row14_y%"/>
Ethan Yonker74db1572015-10-28 12:44:49 -05004980 <text>{@ok_btn=OK}</text>
z31s1g28f0a922015-11-07 18:50:22 +01004981 <actions>
4982 <action function="set">tw_clear_destination=%tw_back%</action>
4983 <action function="overlay"/>
4984 <action function="page">clear_vars</action>
4985 </actions>
4986 </button>
4987
4988 <fill color="#000000">
4989 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
4990 </fill>
4991
4992 <button>
4993 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
4994 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
4995 <image resource="back"/>
4996 <condition var1="tw_busy" var2="0"/>
4997 <actions>
4998 <action function="overlay"/>
4999 <action function="key">%tw_back%</action>
5000 </actions>
5001 </button>
5002
5003 <button>
5004 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5005 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5006 <image resource="console"/>
5007 <condition var1="tw_busy" var2="0"/>
5008 <action function="overlay">slideout</action>
5009 </button>
5010
5011 <button>
5012 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5013 <image resource="home"/>
5014 <condition var1="tw_busy" var2="0"/>
5015 <actions>
5016 <action function="overlay"/>
5017 <action function="key">home</action>
5018 </actions>
5019 </button>
5020
5021 <button>
5022 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5023 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5024 <image resource="console"/>
5025 <condition var1="tw_busy" var2="0"/>
5026 <action function="overlay">slideout</action>
5027 </button>
5028
5029 <button>
5030 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5031 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5032 <image resource="back"/>
5033 <condition var1="tw_busy" var2="0"/>
5034 <actions>
5035 <action function="overlay"/>
5036 <action function="key">%tw_back%</action>
5037 </actions>
5038 </button>
5039
5040 <action>
5041 <touch key="power+voldown"/>
5042 <action function="screenshot"/>
5043 </action>
5044 </page>
z31s1g608d7ff2016-01-18 19:47:25 +01005045
5046 <page name="select_language">
5047 <fill color="%semi_transparent%">
5048 <placement x="0" y="0" w="%screen_width%" h="%screen_height%"/>
5049 </fill>
5050
5051 <fill color="%background_color%">
5052 <placement x="%indent%" y="row5_y" w="%content_width%" h="%dialog_height%"/>
5053 </fill>
5054
5055 <listbox>
5056 <placement x="%col1_x_left%" y="%row5_y%" w="%content_overlay_width%" h="%partitionlist_storage_height%"/>
5057 <text>{@select_language=Select Language:}</text>
5058 <icon selected="radio_true" unselected="radio_false" />
5059 <data name="tw_language" />
5060 </listbox>
5061
5062 <button style="button_third_width">
5063 <placement x="%dialog_button_x%" y="%row14_y%"/>
5064 <text>{@ok_btn=OK}</text>
5065 <actions>
5066 <action function="overlay"/>
5067 <action function="setlanguage"></action>
5068 </actions>
5069 </button>
5070
5071 <fill color="#000000">
5072 <placement x="0" y="row25_y" w="%screen_width%" h="%navbar_height"/>
5073 </fill>
5074
5075 <button>
5076 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5077 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5078 <image resource="back"/>
5079 <condition var1="tw_busy" var2="0"/>
5080 <actions>
5081 <action function="overlay"/>
5082 <action function="key">%tw_back%</action>
5083 </actions>
5084 </button>
5085
5086 <button>
5087 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5088 <placement x="%back_button_x%" y="%navbar_btn_y%" placement="4"/>
5089 <image resource="console"/>
5090 <condition var1="tw_busy" var2="0"/>
5091 <action function="overlay">slideout</action>
5092 </button>
5093
5094 <button>
5095 <placement x="%center_x%" y="%navbar_btn_y%" placement="4"/>
5096 <image resource="home"/>
5097 <condition var1="tw_busy" var2="0"/>
5098 <actions>
5099 <action function="overlay"/>
5100 <action function="key">home</action>
5101 </actions>
5102 </button>
5103
5104 <button>
5105 <condition var1="tw_samsung_navbar" op="!=" var2="1"/>
5106 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5107 <image resource="console"/>
5108 <condition var1="tw_busy" var2="0"/>
5109 <action function="overlay">slideout</action>
5110 </button>
5111
5112 <button>
5113 <condition var1="tw_samsung_navbar" op="=" var2="1"/>
5114 <placement x="%console_button_x%" y="%navbar_btn_y%" placement="4"/>
5115 <image resource="back"/>
5116 <condition var1="tw_busy" var2="0"/>
5117 <actions>
5118 <action function="overlay"/>
5119 <action function="key">%tw_back%</action>
5120 </actions>
5121 </button>
5122
5123 <action>
5124 <touch key="power+voldown"/>
5125 <action function="screenshot"/>
5126 </action>
5127 </page>
z31s1g28f0a922015-11-07 18:50:22 +01005128 </pages>
5129</recovery>